NetBSD Problem Report #57695
From wiz@exadelic.gatalith.at Sun Nov 12 21:02:20 2023
Return-Path: <wiz@exadelic.gatalith.at>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 6DE1C1A9238
for <gnats-bugs@gnats.NetBSD.org>; Sun, 12 Nov 2023 21:02:20 +0000 (UTC)
Message-Id: <20231112194701.3275F2EBBAD3@exadelic.gatalith.at>
Date: Sun, 12 Nov 2023 20:47:01 +0100 (CET)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Subject: ure(4) hang
X-Send-Pr-Version: 3.95
>Number: 57695
>Category: kern
>Synopsis: ure(4) hang
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 12 21:05:01 +0000 2023
>Originator: Thomas Klausner
>Release: NetBSD 10.99.10
>Organization:
>Environment:
Architecture: x86_64
Machine: amd64
>Description:
On a NetBSD from end of October after about 1.5 days of uptime I saw
xhci2: xhci_set_dequeue: endpoint 0x0: timed out
xhci2: endpoint 0x2 failed to stop
xhci2: xhci_set_dequeue: endpoint 0x2: timed out
ure0: usb error on tx: TIMEOUT
ure0: usb error on tx: IOERROR
ure0: watchdog timeout
xhci2: xhci_set_dequeue: endpoint 0x2: timed out
ure0: usb error on tx: IOERROR
ure0: watchdog timeout
xhci2: xhci_set_dequeue: endpoint 0x2: timed out
ure0: usb error on tx: IOERROR
ure0: watchdog timeout
ure0: usb error on tx: IOERROR
ure0: watchdog timeout
xhci2: xhci_reset_endpoint: endpoint 0x2: timed out
xhci2: endpoint 0x2 failed to stop
xhci2: xhci_set_dequeue: endpoint 0x2: timed out
ure0: usb error on tx: IOERROR
ure0: watchdog timeout
xhci2: xhci_reset_endpoint: endpoint 0x2: timed out
xhci2: endpoint 0x2 failed to stop
xhci2: xhci_set_dequeue: endpoint 0x2: timed out
ure0: usb error on tx: IOERROR
ure0: watchdog timeout
xhci2: xhci_reset_endpoint: endpoint 0x2: timed out
xhci2: endpoint 0x2 failed to stop
xhci2: xhci_set_dequeue: endpoint 0x2: timed out
and the device stopped being useful.
dmesg:
ure0 at uhub4 port 2
ure0: Realtek (0x0bda) USB 10/100/1000 LAN (0x8153), rev 3.00/30.00, addr 1
ure0: RTL8153 ver 5c20
rgephy0 at ure0 phy 0: RTL8251 1000BASE-T media interface, rev. 0
ure0: Ethernet address xx.xx.xx.xx.xx.xx
Not sure if it's relevant, but I use the following sysctls:
kern.sbmax=16777216
net.inet.tcp.recvbuf_max=16777216
net.inet.tcp.sendbuf_max=16777216
net.inet.tcp.recvspace=262144
net.inet.tcp.sendspace=262144
because of
https://mail-index.netbsd.org/current-users/2017/09/21/msg032369.html
>How-To-Repeat:
Heavy traffic on an ure(4) device in 1Gb mode.
>Fix:
Yes, please.
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.