Beermedlar Posted April 8, 2021 Share Posted April 8, 2021 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. Quote Link to comment
M0rEm0rE Posted October 27, 2021 Share Posted October 27, 2021 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 Quote Link to comment
ThatDude Posted October 27, 2021 Share Posted October 27, 2021 (edited) 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, 2021 by ThatDude Quote Link to comment
ThatDude Posted October 28, 2021 Share Posted October 28, 2021 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 1 Quote Link to comment
ThatDude Posted November 3, 2021 Share Posted November 3, 2021 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. Quote Link to comment
dannygreg Posted May 30, 2022 Share Posted May 30, 2022 (edited) 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, 2022 by dannygreg Formatting Quote Link to comment
ThatDude Posted May 30, 2022 Share Posted May 30, 2022 (edited) 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, 2022 by ThatDude Quote Link to comment
dannygreg Posted May 31, 2022 Share Posted May 31, 2022 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. Quote Link to comment
ThatDude Posted June 1, 2022 Share Posted June 1, 2022 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. Quote Link to comment
Recommended Posts
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.