NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/57695: ure(4) hang



>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.



Home | Main Index | Thread Index | Old Index