December 7, 20241 yr I'm curious if anyone can explain the reason from a technical perspective or a workaround. I have a usb nic that is faster than my motherboards built in nic. I know this is not recommended but until I can upgrade my hardware, it's a good way to get 2.5G over 1G. I am running unraid 6.12.8 and once every I get a USB disconnect event and my USB nic will no longer work until the entire server is restarted. I use active-backup so it's not like the array is unresponsive, it just will not use the 2.5G again, even though it correctly shows up in network settings and hardware. This is the log output from whenever this event happens: Dec 6 21:17:20 nas kernel: r8152-cfgselector 2-4: USB disconnect, device number 2 Dec 6 21:17:20 nas kernel: xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state. Dec 6 21:17:20 nas kernel: r8152 2-4:1.0 eth2: Tx status -108 Dec 6 21:17:20 nas kernel: r8152 2-4:1.0 eth2: Tx status -108 Dec 6 21:17:20 nas kernel: xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state. Dec 6 21:17:20 nas kernel: bond0: (slave eth2): Releasing backup interface Dec 6 21:17:20 nas kernel: device eth2 left promiscuous mode Dec 6 21:17:20 nas kernel: br0: port 1(bond0) entered disabled state Dec 6 21:17:20 nas kernel: usb 2-4: new SuperSpeed USB device number 4 using xhci_hcd Dec 6 21:17:20 nas kernel: r8152-cfgselector 2-4: reset SuperSpeed USB device number 4 using xhci_hcd Dec 6 21:17:21 nas kernel: r8152 2-4:1.0 eth2: v2.17.1 (2023/06/13) Dec 6 21:17:21 nas kernel: r8152 2-4:1.0 eth2: This product is covered by one or more of the following patents: Dec 6 21:17:21 nas kernel: US6,570,884, US6,115,776, and US6,327,625. Dec 6 21:17:21 nas kernel: Is there any way to make the network use it again on the reconnect event? EDIT: I think this may be related to autosuspend: cat /sys/module/usbcore/parameters/autosuspend 2 How would I change this to -1 (to disable autosuspend) on boot? is it save to run this against a running system first to check for stability? Edited December 7, 20241 yr by oliver
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.