May 3, 20242 yr I would like to see Unraid supporting USB network devices better. Right now, it is possible to use an USB NIC, but no plug&play / hotplug is supported. This can lead to huge problems: When the USB connection drops out (for any reason) it is not possible to regain a network connection (even with manually re-plugging the NIC) without doing a server reboot. This makes USB NICs more or less unusable. Also see discussion here:
May 12, 20242 yr On 5/3/2024 at 11:32 AM, ArdNsc said: I would like to see Unraid supporting USB network devices better. Right now, it is possible to use an USB NIC, but no plug&play / hotplug is supported. This can lead to huge problems: When the USB connection drops out (for any reason) it is not possible to regain a network connection (even with manually re-plugging the NIC) without doing a server reboot. This makes USB NICs more or less unusable. Also see discussion here: Are you looking for the IP stack to reload/pickup the USB device from a hotplug event?
May 12, 20242 yr Author 14 minutes ago, SimonF said: Are you looking for the IP stack to reload/pickup the USB device from a hotplug event? Uhm, maybe? I am sorry, my understanding of computer networking is too vague to properly answer to your question. All I can tell is that re-plugging a USB-NIC in Unraid does not happen to regain any network connection unless you reboot. ((To me it seems like this event usbcore: registered new interface driver r8152 only occours during booting, but not after (re)plugging any usb nic device. Could that be the problem?)) Feel free to have a look at the topic i linked above (also scroll up a little bit), there was at least some discussion about the problem, leading to the conclusion that unraid simply does not support usb nic hotplugging. Hence my feature request here. It seems to be pretty common for USB devices to drop out from time to time (I belive this is why it is strongly suggested not to use usb devices in arrays with parity); if the drop happens to your NIC USB device, you are left with no other option than to manually reboot. This is what I would like to see fixed. Edited May 12, 20242 yr by ArdNsc
December 7, 20241 yr On 5/12/2024 at 12:09 PM, SimonF said: Are you looking for the IP stack to reload/pickup the USB device from a hotplug event? bumping this older thread but yeah i think that's the ask. usb devices will sporadically reset due to an abundance of reasons but i've noticed unraid will no longer function with the usb nic until the entire server is restarted, even though it still detects the usb nic. see below example disconnect: 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:
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.