raspberry pi 5 usb 2.5g NIC and OMV 7 - USB NIC is not persistent

  • If you can revert to PRIOR those updates, maybe it's possible to check a diff somewhere/somehow, specially the first one

    I thought about doing this but unsure how to go about it, especially since I have installed additional updates since Mar 11th. I continued to update in case one of them fixed the issue.. Is there some sort of tool or plugin that enabled one to pick and choose which items to revert? I guess that wouldn't be possible without having some sort of imaging built into OMV that stores prior releases.


    I will volunteer to break one of my NAS to get this sorted out. It's considered a test bed anyway.

    7.0.5-1 (Sandworm)

    Processor Raspberry Pi 4 Model B Rev 1.5

    Linux 6.6.20+rpt-rpi-v8

  • Is there some sort of tool or plugin that enabled one to pick and choose which items to revert?

    I was thinking more if you had a OS backup before that date.


    Force install prior versions might not be the best way to test it.

  • That scheduled task should reboot the USB NIC a minute after starting the server, that should avoid the manual disconnect and reconnect dance.

    ok after testing i could not get the PI 5 to unbind the device because it could not see it ,, although i am connected to the ssh through that USB NIC and it shows in the command below ...


    long story short i targeted the whole port 4 ( in my case usb4) and it worked , now in the GUI scheduler i have the command below .. and i managed to reboot multiple times with no problem ( decreased the sleep time to 10 seconds )


    Code
    sleep 10;  echo 'usb4' | tee /sys/bus/usb/drivers/usb/unbind; echo 'usb4' | tee /sys/bus/usb/drivers/usb/bind
  • long story short i targeted the whole port 4 ( in my case usb4) and it worked , now in the GUI scheduler i have the command below .. and i managed to reboot multiple times with no problem ( decreased the sleep time to 10 seconds )

    OK it seems, we have a winner, :)

  • Can the "winner" be put into a release that does this automatically? Otherwise there will need to be some sort of documented process that people with USB NICs will have to follow.

    7.0.5-1 (Sandworm)

    Processor Raspberry Pi 4 Model B Rev 1.5

    Linux 6.6.20+rpt-rpi-v8

    • Official Post

    Can the "winner" be put into a release that does this automatically?

    Release of what? While it may "work", this is not an optimal fix. It sounds like a driver issue that should be fixed in the RPi kernel. But I need one to try first.

    omv 7.4.10-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.14 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Can the "winner" be put into a release that does this automatically? Otherwise there will need to be some sort of documented process that people with USB NICs will have to follow.

    If this was a general case, I would agree.

    But this was only mentioned by you both and with a Pi 5 which not many people are using.

    This is a "winner" for the current situation.

    If you can deal with it, there's no harm in having that job running. OMV won't delete it in any update.

    IMHO, using a USB NIC (even if 2.5G) on a Pi is a waiste of a USB port.

    The internal 1G NIC will always be able to be saturated. Don't know if the 2.5G will

  • Release of what? While it may "work", this is not an optimal fix. It sounds like a driver issue that should be fixed in the RPi kernel. But I need one to try first.

    How would a driver lead to the need for a delayed NIC initialization? The driver itself wasn't updated when something broke the NIC boot.

    7.0.5-1 (Sandworm)

    Processor Raspberry Pi 4 Model B Rev 1.5

    Linux 6.6.20+rpt-rpi-v8

    • Official Post

    long story short i targeted the whole port 4 ( in my case usb4) and it worked , now in the GUI scheduler i have the command below .. and i managed to reboot multiple times with no problem ( decreased the sleep time to 10 seconds )

    Well, at least it seems that there is already a provisional solution until the definitive one arrives. I celebrate it. :thumbup:

  • If this was a general case, I would agree.

    But this was only mentioned by you both and with a Pi 5 which not many people are using.

    This is a "winner" for the current situation.

    If you can deal with it, there's no harm in having that job running. OMV won't delete it in any update.

    IMHO, using a USB NIC (even if 2.5G) on a Pi is a waiste of a USB port.

    The internal 1G NIC will always be able to be saturated. Don't know if the 2.5G will

    I am running RPI4. Not that it really matters.


    "Waste" is in the eyes of the beholder. I am not using the second USB3 port for anything else and I am getting the full 2.5 Ghz BW when transferring files (280 MB/s) so the USB is clearly not handicapping it.

    7.0.5-1 (Sandworm)

    Processor Raspberry Pi 4 Model B Rev 1.5

    Linux 6.6.20+rpt-rpi-v8

  • Well, at least it seems that there is already a provisional solution until the definitive one arrives. I celebrate it. :thumbup:

    Yes, thanks to the both of you for the workaround! Didn't mean to get ahead of this and it's best to still figure out what changed.

    7.0.5-1 (Sandworm)

    Processor Raspberry Pi 4 Model B Rev 1.5

    Linux 6.6.20+rpt-rpi-v8

    • Official Post

    How would a driver lead to the need for a delayed NIC initialization? The driver itself wasn't updated when something broke the NIC boot.

    It doesn't have to be the usb nic driver necessarily. It could be firmware causing another driver to have a conflict with the usb nic driver. It was just a guess. My main point was that the fix is not a fix. It is workaround and not something that I would implement in OMV.

    omv 7.4.10-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.14 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    A simple comment related to the topic for anyone reading this thread. If you can choose, always prioritize a PCIe NIC over a USB NIC. This doesn't work for a Raspberry PI4, of course, but it does for a PI5.

    I've been reading on the OpenWRT forum for a few days now (for an idea that's been on my mind) and everything they say there about USB NICs is that they are little more than garbage.

    • Official Post

    everything they say there about USB NICs is that they are little more than garbage.

    I agree 100%. I avoid them whenever possible.

    omv 7.4.10-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.14 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I've been reading on the OpenWRT forum for a few days now (for an idea that's been on my mind) and everything they say there about USB NICs is that they are little more than garbage.

    Well up until Bookworm/OMV7, I can agree mostly with this. The 2.5G just didn't work right but 1G did just fine. Once I did get them working with the Bookworm/OMV7, I ran a file compare on 10 Terabytes between the two NAS running the USB NICs to check robustness and they passed. I figured if they didn't have any errors over the 3-4 days it took to compare the 10T, they are fine. Now this is with RPI4 so I can't speak for any other host equipment. BTW, they are both ASUS USB-C2500 and I cannot speak for any other NIC.

    7.0.5-1 (Sandworm)

    Processor Raspberry Pi 4 Model B Rev 1.5

    Linux 6.6.20+rpt-rpi-v8

  • Barney

    Did you try the "bypass" (better not call it a solution) from Ghazzawi and does it work?
    Wonder if it work's the same on the Pi4 since that's what you're running

  • Barney

    Did you try the "bypass" (better not call it a solution) from Ghazzawi and does it work?
    Wonder if it work's the same on the Pi4 since that's what you're running

    Not yet. I'm still at my day job, will try it this evening. ;)


    OBTW, this will be my first exposure to Task Scheduler. I'm sure it's intuitive just like the rest of OMV, but there is a chance I'll be spinning my wheels on something dumb (of my making.)

    7.0.5-1 (Sandworm)

    Processor Raspberry Pi 4 Model B Rev 1.5

    Linux 6.6.20+rpt-rpi-v8

    Edited once, last by Barney ().

  • I am please to report that Chente's suggestion to unbind/bind the NIC worked on one my RPI4s (haven't tried the second yet)! I feel better knowing there is now a second person who experienced the exact issue. I am noticing it's taking 4-5 minutes to get to the UI. Ordinarily it takes 1-2 minutes. I have the SLEEP set to 10 seconds. But at least I don't need to get off the recliner so much.

    7.0.5-1 (Sandworm)

    Processor Raspberry Pi 4 Model B Rev 1.5

    Linux 6.6.20+rpt-rpi-v8

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!