xyzeratul Posted April 29 Share Posted April 29 2 minutes ago, ich777 said: Can be a bit more specific? What did auto uninstall the driver? Are you sure that you don't have a new tab in the Plugins tab that is named "Plugins Error"? Did you wait until your server sent you a notification that it is safe to reboot when doing the upgrade? If you don't have any issues with the built in driver then the answer is: no. during the upgrade to 6.12.10, unraid shows it failed to install new version of this plugin(which I am sure it was already the lastest version), then it shows the uninstallation of this plugin somehow? Then I wait for the notice about upgrade finishing, reboot, the driver is gone, and everything still working. Quote Link to comment
ich777 Posted April 29 Share Posted April 29 8 minutes ago, xyzeratul said: during the upgrade to 6.12.10, unraid shows it failed to install new version of this plugin(which I am sure it was already the lastest version), then it shows the uninstallation of this plugin somehow? Through a notification in the top right corner correct? Are you sure that you don't have a "Plugins Error" tab in the Plugins section from Unraid? 9 minutes ago, xyzeratul said: Then I wait for the notice about upgrade finishing, reboot, the driver is gone, and everything still working. If everything is working then leave it as it is, if you got issues then I would recommend installing this plugin again. Quote Link to comment
xyzeratul Posted April 29 Share Posted April 29 1 minute ago, ich777 said: Through a notification in the top right corner correct? Are you sure that you don't have a "Plugins Error" tab in the Plugins section from Unraid? If everything is working then leave it as it is, if you got issues then I would recommend installing this plugin again. Yes I am sure, I don't have "Plugins Error", only notifications. OK I will test the new version for a few days see how it goes, Thank you Quote Link to comment
jacobbraeutigam Posted June 8 Share Posted June 8 Is it possible to add the Realtek 8126 drivers to this driver plugin? The source is available on the realtek page. Quote Link to comment
jinlife Posted June 13 Author Share Posted June 13 (edited) On 6/8/2024 at 8:59 PM, jacobbraeutigam said: Is it possible to add the Realtek 8126 drivers to this driver plugin? The source is available on the realtek page. Yes, it should be able to be supported, looks like a good 5G NIC. Hopefully the r8157 USB NIC will come out soon so it can be paired. The r8157 driver code is already there in r8152 plugin. @ich777 I have updated the source code for r8126, can you please add it to the build. Thank you. Edited June 13 by jinlife Quote Link to comment
ich777 Posted June 13 Share Posted June 13 1 minute ago, jinlife said: @ich777 I have updated the source code for r8126, can you please add it to the build. Thank you. This will take me probably one or two days since I'm not at home but I will do it ASAP and let you know! (Maybe I can free up some time later today) Quote Link to comment
jinlife Posted June 13 Author Share Posted June 13 1 minute ago, ich777 said: This will take me probably one or two days since I'm not at home but I will do it ASAP and let you know! (Maybe I can free up some time later today) Oh, no rush. Please enjoy your personal time. Quote Link to comment
ich777 Posted June 13 Share Posted June 13 Just now, jinlife said: Oh, no rush. Please enjoy your personal time. I changed your .plg files, you have to escape & with & Quote Link to comment
jinlife Posted June 13 Author Share Posted June 13 1 minute ago, ich777 said: I changed your .plg files, you have to escape & with & Thank you. You are the expert. Please feel free to change it. 1 Quote Link to comment
jinlife Posted June 13 Author Share Posted June 13 @ich777 I apologize for the additional request, but when you are performing the build, could you please trigger the compilation for version Unraid 6.12.10 with both r8126 and r8152. I have updated the r8152 version to 2.18.1 while integrating the r8126 code, which supports the r8157 5G network card. This update will enable support for both 5G PCI and USB network cards in the 6.12.10 release. Quote Link to comment
ich777 Posted June 13 Share Posted June 13 4 hours ago, jinlife said: I apologize for the additional request No worries, sure thing. EDIT: All updated and built! Quote Link to comment
jacobbraeutigam Posted June 15 Share Posted June 15 Thank's a lot! My first impressions after one day of usage: it runs stable package C-states can be reached power draw of the NIC approx. 0.6W above RTL8125 (as expected) for the most part the speed is as expected when transmitting many small packets, the RTL8126 is slower than an RTL8125 (without any noticeable impact of the MTU) 2 Quote Link to comment
Szene Posted June 19 Share Posted June 19 (edited) Hi, it there currently an issue with r8125 and 6.12.10? If I install it I'm only seeing half the speed of an GbE connection even if I'm connected to an 2.5GbE connection. It doen't matter if I turn ASPM on or leave it off. When I uninstall the driver it defaults back to the r8169 and I get my 2.5GbE connections speeds just fine, but then I can't enable ASPM. I can see the last version for r8125 is from the 4th of April 2024, is there a potential newer version? Currently I can decide between 2 option: No Plugin: C3 but 2.5GbE speeds With Plugin: C8 but around 300-450Mb/s Both aren't great. I also tried to disable EEE, but that didn't change anything. Edited June 19 by Szene Added information Quote Link to comment
ich777 Posted June 19 Share Posted June 19 6 minutes ago, Szene said: I can see the last version for r8125 is from the 4th of April 2024, is there a potential newer version? Please note that the plugin version does not reflect the driver version! The drivers for Unraid 6.12.10 (Kernel version 6.1.79) are actually from 2024-06-13: 6 minutes ago, Szene said: With Plugin: C8 but around 300-450Mb/s I think you mean 300-450Mbit/s...? 300MB/s would be about 2.5Gbit/s Quote Link to comment
Szene Posted June 19 Share Posted June 19 (edited) 19 minutes ago, ich777 said: Please note that the plugin version does not reflect the driver version! The drivers for Unraid 6.12.10 (Kernel version 6.1.79) are actually from 2024-06-13: Sorry, I didn't knew that. Thanks for the clarification. Sadly my issue still persist. Any idea what could cause the significant speed drop when the drivers are installed? My goal would be for the speed not to drop and to keep the higher C-states. Or is this just not possible? 19 minutes ago, ich777 said: I think you mean 300-450Mbit/s...? 300MB/s would be about 2.5Gbit/s Yeah, Mbit/s With (C8) [ 4] 0.00-1.00 sec 45.6 MBytes 383 Mbits/sec [ 4] 1.00-2.00 sec 46.5 MBytes 390 Mbits/sec [ 4] 2.00-3.00 sec 45.9 MBytes 385 Mbits/sec [ 4] 3.00-4.00 sec 47.8 MBytes 401 Mbits/sec [ 4] 4.00-5.00 sec 49.8 MBytes 417 Mbits/sec [ 4] 5.00-6.00 sec 46.4 MBytes 389 Mbits/sec [ 4] 6.00-7.00 sec 47.4 MBytes 397 Mbits/sec [ 4] 7.00-8.00 sec 47.2 MBytes 396 Mbits/sec [ 4] 8.00-9.00 sec 45.5 MBytes 382 Mbits/sec [ 4] 9.00-10.00 sec 47.8 MBytes 401 Mbits/sec Without (C3) [ 4] 0.00-1.00 sec 269 MBytes 2.26 Gbits/sec [ 4] 1.00-2.00 sec 278 MBytes 2.33 Gbits/sec [ 4] 2.00-3.00 sec 281 MBytes 2.36 Gbits/sec [ 4] 3.00-4.00 sec 280 MBytes 2.35 Gbits/sec [ 4] 4.00-5.00 sec 282 MBytes 2.36 Gbits/sec [ 4] 5.00-6.00 sec 282 MBytes 2.37 Gbits/sec [ 4] 6.00-7.00 sec 281 MBytes 2.36 Gbits/sec [ 4] 7.00-7.71 sec 199 MBytes 2.37 Gbits/sec Same connection, just with and without drivers. Edit: I just saw that 6.12.10 reverted the kernel back to v6.1.79 and the newest release from this plugin was compiled for version v6.8.12. Could that be the issue? Edited June 19 by Szene Quote Link to comment
jinlife Posted June 23 Author Share Posted June 23 (edited) On 6/20/2024 at 1:56 AM, Szene said: Sorry, I didn't knew that. Thanks for the clarification. Sadly my issue still persist. Any idea what could cause the significant speed drop when the drivers are installed? My goal would be for the speed not to drop and to keep the higher C-states. Or is this just not possible? Yeah, Mbit/s With (C8) [ 4] 0.00-1.00 sec 45.6 MBytes 383 Mbits/sec [ 4] 1.00-2.00 sec 46.5 MBytes 390 Mbits/sec [ 4] 2.00-3.00 sec 45.9 MBytes 385 Mbits/sec [ 4] 3.00-4.00 sec 47.8 MBytes 401 Mbits/sec [ 4] 4.00-5.00 sec 49.8 MBytes 417 Mbits/sec [ 4] 5.00-6.00 sec 46.4 MBytes 389 Mbits/sec [ 4] 6.00-7.00 sec 47.4 MBytes 397 Mbits/sec [ 4] 7.00-8.00 sec 47.2 MBytes 396 Mbits/sec [ 4] 8.00-9.00 sec 45.5 MBytes 382 Mbits/sec [ 4] 9.00-10.00 sec 47.8 MBytes 401 Mbits/sec Without (C3) [ 4] 0.00-1.00 sec 269 MBytes 2.26 Gbits/sec [ 4] 1.00-2.00 sec 278 MBytes 2.33 Gbits/sec [ 4] 2.00-3.00 sec 281 MBytes 2.36 Gbits/sec [ 4] 3.00-4.00 sec 280 MBytes 2.35 Gbits/sec [ 4] 4.00-5.00 sec 282 MBytes 2.36 Gbits/sec [ 4] 5.00-6.00 sec 282 MBytes 2.37 Gbits/sec [ 4] 6.00-7.00 sec 281 MBytes 2.36 Gbits/sec [ 4] 7.00-7.71 sec 199 MBytes 2.37 Gbits/sec Same connection, just with and without drivers. Edit: I just saw that 6.12.10 reverted the kernel back to v6.1.79 and the newest release from this plugin was compiled for version v6.8.12. Could that be the issue? This is the latest driver from realtek, we just compiled it for unraid. I may not know the reason for the performance problem, maybe it is related to the CPU or ASPM, maybe it is related to the hardware. It is recommended to use the r8169 driver directly, at least the speed is full. Edited June 23 by jinlife 1 Quote Link to comment
oliver Posted July 7 Share Posted July 7 When updating to 6.12.10, usually within 30 minutes I get a kernel panic related to what appears to be the Realtek 8152 driver. Reverting back to 6.12.8 everything works fine. I know unraid included new drivers - do they work in conjunction with this? Should I uninstall this before upgrading? I have a USB 8156 USB NIC. Panic logs: ? tun_do_read+0x4f4/0x51f [tun] ? sock_sendmsg_nosec+0x2b/0x40 sock_sendmsg_nosec+0x2b/0x40 sys_sendto+0x2/0x111 ? timespec64_add_safe+0x36/0x83 ? fpregs_assert_state_consistent+0x20/0x44 x64_sys_sendto+0x20/0x2? do_syscall_64+0x68/0x81 entry_SYSCALL_64_after_hwframe+0x64/0xce RIP: 0033:0x14d83dd2781a Code: d8 64 89 02 48 c7 c0 ff ff ff ff 0f 1f 44 00 00 41 54 48 83 ec b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e ca RSP: 002b:00007ffd66e229f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000014d83dd2781a RDX: 0000000000000546 RSI: 0000556b7384f3d4 RDI: 00007ffd66e23558 RBP: 00007ffd66e22a90 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd66e22bc0 R13: 0000000000000000 R14: 0000556673808660 R15: 0000000000000002 </TASK> Modules linked in: xt_CHECKSUM ipt_REJECT nf_reject_ipv4 iptable_mangle iptable_nat iptable_mangle host_net tun vhost vhost_iotlb tap veth xt_nat xt_tcpudp xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_addrtype br_netfilter xfs dm_crypt dm_mod nd_mod zfs(PO) zunicode(PO) zzstd(PO) zlua(PO) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(PO) tcp_diag inet_diag ip6table_filter ip6_tables iptable_filter ip_tables x_tables efivarfs bridge stp llc bonding tls e1000e r8152(PO) igb intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel i915 kvm crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel sha512_ssse3 iosf_mbi sha256_ssse3 drm_buddy sha1_ssse3 ttm aesni_intel crypto_simd drm_display_helper cryptd btusb drm_kms_helper rapl btrtl btqca btintel intel_cstate mei_hdcp mei_pxp drm nvme i2c_i801 intel_gtt bluetooth intel_uncore mptsas i2c_algo_bit agpgart i2c_smbus mei_me sr_mod syscopyarea input_leds ahci nvme_core sysfillrect i2c_core mei libahci ecdh_generic raid_class cdrom sysimgblt joydev ecc scsi_transport_sas fb_sys_fops fan -[ end trace 0000000000000000 ]- thermal video wmi backlight intel_pmc_core button acpi_pad unix [last unloaded: e1000e] RIP: 0010:netdev_tx_sent_queue+0x8/0x51 [r8152] Code: 74 04 48 8d 42 ff c3 cc cc cc cc 0f 1f 44 00 00 8a 87 e1 0e 00 00 f6 d8 19 c0 83 e0 f0 c3 cc cc cc cc 81 fe ff ff ff ff 0f 76 02 <0f> 0b 89 b7 c8 00 00 00 01 b7 c0 00 00 00 8b 97 c4 00 00 00 86 87 RSP: 0018:ffffc9000028c5b0 EFLAGS: 00010292 RAX: 0000000080000702 RBX: ffff8881069a5000 RCX: 0000000000000000 RDX: 0000000000000703 RSI: ffff88810294c800 RDI: 0000000000000570 RBP: ffff8881b16b4f00 R08: 0000000016b4b000 R09: 0000000000000001 R10: 86815736d9a21d85 R11: ffffc9000028c5f8 R12: ffff8881b16b4f00 R13: 0000000000000000 R14: ffffffffa077b1a0 R15: 0000000000000000 FS: 000014d83e4637c0(0000) GS:ffff88841edc0000(0000) knIGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000001366b210034 CR3: 00000001cbf9a004 CR4: 00000000003726e0 Kernel panic - not syncing: Fatal exception in interrupt Kernel Offset: disabled ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]--- Quote Link to comment
jinlife Posted July 8 Author Share Posted July 8 (edited) 19 hours ago, oliver said: When updating to 6.12.10, usually within 30 minutes I get a kernel panic related to what appears to be the Realtek 8152 driver. Reverting back to 6.12.8 everything works fine. I know unraid included new drivers - do they work in conjunction with this? Should I uninstall this before upgrading? I have a USB 8156 USB NIC. Panic logs: ? tun_do_read+0x4f4/0x51f [tun] ? sock_sendmsg_nosec+0x2b/0x40 sock_sendmsg_nosec+0x2b/0x40 sys_sendto+0x2/0x111 ? timespec64_add_safe+0x36/0x83 ? fpregs_assert_state_consistent+0x20/0x44 x64_sys_sendto+0x20/0x2? do_syscall_64+0x68/0x81 entry_SYSCALL_64_after_hwframe+0x64/0xce RIP: 0033:0x14d83dd2781a Code: d8 64 89 02 48 c7 c0 ff ff ff ff 0f 1f 44 00 00 41 54 48 83 ec b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e ca RSP: 002b:00007ffd66e229f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000014d83dd2781a RDX: 0000000000000546 RSI: 0000556b7384f3d4 RDI: 00007ffd66e23558 RBP: 00007ffd66e22a90 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd66e22bc0 R13: 0000000000000000 R14: 0000556673808660 R15: 0000000000000002 </TASK> Modules linked in: xt_CHECKSUM ipt_REJECT nf_reject_ipv4 iptable_mangle iptable_nat iptable_mangle host_net tun vhost vhost_iotlb tap veth xt_nat xt_tcpudp xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_addrtype br_netfilter xfs dm_crypt dm_mod nd_mod zfs(PO) zunicode(PO) zzstd(PO) zlua(PO) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(PO) tcp_diag inet_diag ip6table_filter ip6_tables iptable_filter ip_tables x_tables efivarfs bridge stp llc bonding tls e1000e r8152(PO) igb intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel i915 kvm crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel sha512_ssse3 iosf_mbi sha256_ssse3 drm_buddy sha1_ssse3 ttm aesni_intel crypto_simd drm_display_helper cryptd btusb drm_kms_helper rapl btrtl btqca btintel intel_cstate mei_hdcp mei_pxp drm nvme i2c_i801 intel_gtt bluetooth intel_uncore mptsas i2c_algo_bit agpgart i2c_smbus mei_me sr_mod syscopyarea input_leds ahci nvme_core sysfillrect i2c_core mei libahci ecdh_generic raid_class cdrom sysimgblt joydev ecc scsi_transport_sas fb_sys_fops fan -[ end trace 0000000000000000 ]- thermal video wmi backlight intel_pmc_core button acpi_pad unix [last unloaded: e1000e] RIP: 0010:netdev_tx_sent_queue+0x8/0x51 [r8152] Code: 74 04 48 8d 42 ff c3 cc cc cc cc 0f 1f 44 00 00 8a 87 e1 0e 00 00 f6 d8 19 c0 83 e0 f0 c3 cc cc cc cc 81 fe ff ff ff ff 0f 76 02 <0f> 0b 89 b7 c8 00 00 00 01 b7 c0 00 00 00 8b 97 c4 00 00 00 86 87 RSP: 0018:ffffc9000028c5b0 EFLAGS: 00010292 RAX: 0000000080000702 RBX: ffff8881069a5000 RCX: 0000000000000000 RDX: 0000000000000703 RSI: ffff88810294c800 RDI: 0000000000000570 RBP: ffff8881b16b4f00 R08: 0000000016b4b000 R09: 0000000000000001 R10: 86815736d9a21d85 R11: ffffc9000028c5f8 R12: ffff8881b16b4f00 R13: 0000000000000000 R14: ffffffffa077b1a0 R15: 0000000000000000 FS: 000014d83e4637c0(0000) GS:ffff88841edc0000(0000) knIGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000001366b210034 CR3: 00000001cbf9a004 CR4: 00000000003726e0 Kernel panic - not syncing: Fatal exception in interrupt Kernel Offset: disabled ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]--- 6.12.8 and 6.12.10 use different kernels and so there are different plugin compilations. It is best to reinstall the plugin. In addition, you can uninstall the plugin to see where the problem is in 6.12.10. Edited July 8 by jinlife Quote Link to comment
obowan Posted July 15 Share Posted July 15 (edited) @SzeneI'm having a similar issue but the weird thing is my iperf tests show full speed. With the stock driver, I get no ASPM and am stuck at C3 but get full speed in my docker containers. When I enable the driver, I get ASPM and can hit higher C states but my speed drops drastically in my containers. I even tried enabling ASPM on the stock r8169 driver but see the same issue. Edited July 15 by obowan Quote Link to comment
ich777 Posted July 16 Share Posted July 16 6 hours ago, obowan said: @SzeneI'm having a similar issue but the weird thing is my iperf tests show full speed. With the stock driver, I get no ASPM and am stuck at C3 but get full speed in my docker containers. When I enable the driver, I get ASPM and can hit higher C states but my speed drops drastically in my containers. I even tried enabling ASPM on the stock r8169 driver but see the same issue. Then it seems that ASPM is not properly working and you either have to choose between speed or power efficiency. Realtek has a long history of relying completely on the community for their Linux drivers (granted, I don't know how big their Linux driver team is) and that the drivers for Linux are a bit buggy is no secret. Quote Link to comment
obowan Posted July 16 Share Posted July 16 11 hours ago, ich777 said: Then it seems that ASPM is not properly working and you either have to choose between speed or power efficiency. Realtek has a long history of relying completely on the community for their Linux drivers (granted, I don't know how big their Linux driver team is) and that the drivers for Linux are a bit buggy is no secret. I think you are right, it's just odd to me that iperf shows full performance while in practice, speeds are reduced. I'm wondering if it's similar to this Bridge issue, just without the issue visible in iperf tests? Quote Link to comment
obowan Posted July 17 Share Posted July 17 @PeeFeSwhen you implemented the r8125.conf fix, did you notice any speed issues? Any information you can share is appreciated. Quote Link to comment
Masterwishx Posted July 18 Share Posted July 18 I have a lot of lost packets every second, on macvtap vhost0 and bond0, from when macvlan issue was fixed in Unraid. I goes back to bond0 then using no bridge in docker network. Having two nics RTL-8169. One is built, other external. Tryed install driver but not helping. 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.