Posted April 8, 20214 yr If you are using the 8125/8125B NIC in unraid 6.9.2. Please manually block the r8169 driver, otherwise it will not use the r8125 9.005.01 driver.
October 27, 20213 yr I`m wandering how to block the R8165 driver in use switch to r8125 driver. Capabilities: [20c v1] L1 PM Substates L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+ PortCommonModeRestoreTime=150us PortTPowerOnTime=150us L1SubCtl1: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2- ASPM_L1.1- T_CommonMode=0us LTR1.2_Threshold=294912ns L1SubCtl2: T_PwrOn=150us Capabilities: [21c v1] Vendor Specific Information: ID=0002 Rev=4 Len=100 <?> Kernel driver in use: r8169 Kernel modules: r8169, r8125
October 27, 20213 yr WARNING: I don't know if this is the correct way to block the r8169 driver Slackware seems to block drivers via a file created in: /boot/config/modprobe.d Depending on what you read, the file should be called either "blacklist" or "blacklist.conf" - I created both just to be sure. The file contains a single line: blacklist r8169 It seems to have works and I now see this line in the log: Oct 27 18:45:03 kernel: r8125 2.5Gigabit Ethernet driver 9.005.01-NAPI loaded Edited October 27, 20213 yr by ThatDude
October 28, 20213 yr Update: After 14 hours of uptime my network remains stable with no dropouts and a solid 2.5GB link. > iperf3 -c 192.168.100.250 -w 128k Connecting to host 192.168.100.250, port 5201 [ 5] local 192.168.100.30 port 49367 connected to 192.168.100.250 port 5201 [ ID] Interval Transfer Bitrate [ 5] 0.00-1.00 sec 274 MBytes 2.30 Gbits/sec [ 5] 1.00-2.00 sec 274 MBytes 2.30 Gbits/sec [ 5] 2.00-3.00 sec 275 MBytes 2.31 Gbits/sec [ 5] 3.00-4.00 sec 274 MBytes 2.30 Gbits/sec [ 5] 4.00-5.00 sec 274 MBytes 2.30 Gbits/sec [ 5] 5.00-6.00 sec 275 MBytes 2.30 Gbits/sec [ 5] 6.00-7.00 sec 273 MBytes 2.29 Gbits/sec [ 5] 7.00-8.00 sec 274 MBytes 2.30 Gbits/sec [ 5] 8.00-9.00 sec 275 MBytes 2.30 Gbits/sec [ 5] 9.00-10.00 sec 274 MBytes 2.30 Gbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate [ 5] 0.00-10.00 sec 2.68 GBytes 2.30 Gbits/sec sender [ 5] 0.00-10.00 sec 2.68 GBytes 2.30 Gbits/sec receiver
November 3, 20213 yr Upgraded to RC2 - seems to have the same problem. echo "blacklist r8169" > /boot/config/modprobe.d/r8169.conf Seems to have fixed it - still testing.
May 30, 20223 yr Hey folks - @ThatDude especially, I've blacklisted the r8169 driver as above, and looking at the logs appears to show the correct driver being loaded: r8125 2.5Gigabit Ethernet driver 9.005.01-NAPI loaded However, I'm only seeing a 1G link. Were there any other tweaks that were required? Edited May 30, 20223 yr by dannygreg Formatting
May 30, 20223 yr 4 hours ago, dannygreg said: Hey folks - @ThatDude especially, I've blacklisted the r8169 driver as above, and looking at the logs appears to show the correct driver being loaded: r8125 2.5Gigabit Ethernet driver 9.005.01-NAPI loaded However, I'm only seeing a 1G link. Were there any other tweaks that were required? I had so many seemingly random issues with that driver in subsequent beta versions of unRAID that I gave up and just bought a dual-port Intel 10Gb card from eBay, it was £30 ($35) and has been rock solid, it's 561FLR-T in case you're interested, note I searched for this card on the forum here before I bought it and found only 1 reference stated that it did not, but it has been fine for me - so YMMV. My takeaway is that Realtek just don't have reliable 2.5Gb drivers on Linux, I passed the 2.5Gb card through to a KVM Win11 gaming PC and it run's flawlessly at full speed 🤷♂️ Edited May 30, 20223 yr by ThatDude
May 31, 20223 yr Fair enough! Fwiw it turned out to be a negotiation issue on my switch rather than the NIC. Fixed it to 2.5G and have a solid link on the latest Unraid release.
June 1, 20223 yr 17 hours ago, dannygreg said: Fair enough! Fwiw it turned out to be a negotiation issue on my switch rather than the NIC. Fixed it to 2.5G and have a solid link on the latest Unraid release. Hopefully it's fixed! I found that mine would work for a couple of days before dropping out, requiring either a physical cable reset on the server or a switch reboot. This only happened on unRIAD, my Windows boxes have been solid for months.
October 23, 2024Oct 23 @ThatDude Can you give more exact instructions on how to do this blacklist ? I'm very new to this I think my unraid has choosen realtek drivers instead of intel igc drivers for my MB nic.
October 23, 2024Oct 23 1 hour ago, don_weasel said: @ThatDude Can you give more exact instructions on how to do this blacklist ? I'm very new to this I think my unraid has choosen realtek drivers instead of intel igc drivers for my MB nic. Hi don Open the terminal and type: echo "blacklist r8169" > /boot/config/modprobe.d/r8169.conf Then reboot. Please be aware that this was a old problem and may have been fixed natively in recent unraid builds. PS If for some reason your network doesn't work after the reboot you can login directly on the server and remove that file: rm /boot/config/modprobe.d/r8169.conf And reboot
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.