[kernel-bugs] [Bug 1173085] New: Realtek RTL8117 NIC not recognized by Leap 15.2 RC
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085 Bug ID: 1173085 Summary: Realtek RTL8117 NIC not recognized by Leap 15.2 RC Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: seroton10@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 838907 --> http://bugzilla.opensuse.org/attachment.cgi?id=838907&action=edit Hardware info On my motherboard (Asus Pro WS X570-ACE) there are two NICs present: * Realtek RTL8117 * Intel I211-AT Gigabit LAN Leap 15.1 recognizes both, but on a fresh install of Leap 15.2 RC only the Intel NIC is recognized. That is, the command "ip a" lists only one Ethernet adapter on 15.2 RC, whereas it lists two on 15.1. In dmesg I find the following error which I think is relevant: [ 6.650810] r8169 0000:06:00.1: unknown chip XID 54a Please add support for the Realtek RTL8117 NIC in the 15.2 kernel. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c1
--- Comment #1 from Olav Reinert
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
Olav Reinert
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c2
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c3
Olav Reinert
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c4
--- Comment #4 from Olav Reinert
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c5
--- Comment #5 from Olav Reinert
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c6
--- Comment #6 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c7
--- Comment #7 from Olav Reinert
/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:04.0/0000:06:00.1/remove
Jun 18 17:34:57 bb kernel: pci 0000:06:00.1: Removing from iommu group 27 bb:~ # echo 1
/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:04.0/rescan
Jun 18 17:36:47 bb kernel: pci 0000:06:00.1: [10ec:8168] type 00 class 0x020000 Jun 18 17:36:47 bb kernel: pci 0000:06:00.1: reg 0x10: [io 0xd800-0xd8ff] Jun 18 17:36:47 bb kernel: pci 0000:06:00.1: reg 0x18: [mem 0xfc514000-0xfc514fff 64bit] Jun 18 17:36:47 bb kernel: pci 0000:06:00.1: reg 0x20: [mem 0xfc508000-0xfc50bfff 64bit] Jun 18 17:36:47 bb kernel: pci 0000:06:00.1: supports D1 D2 Jun 18 17:36:47 bb kernel: pci 0000:06:00.1: PME# supported from D0 D1 D2 D3hot D3cold Jun 18 17:36:47 bb kernel: pci 0000:06:00.1: Adding to iommu group 27 Jun 18 17:36:47 bb kernel: pci 0000:06:00.1: BAR 4: assigned [mem 0xfc508000-0xfc50bfff 64bit] Jun 18 17:36:47 bb kernel: pci 0000:06:00.1: BAR 2: assigned [mem 0xfc514000-0xfc514fff 64bit] Jun 18 17:36:47 bb kernel: pci 0000:06:00.1: BAR 0: assigned [io 0xd800-0xd8ff] Jun 18 17:36:47 bb kernel: r8169 0000:06:00.1: unknown chip XID 54a Conclusion: Rescan does not help, it just reproduces the "unknown chip" error I mentioned earlier. I also verified that I am in fact operating on the correct device: bb:~ # lspci|grep RTL811 06:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 1a) -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c8
--- Comment #8 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c10
Olav Reinert
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c14
--- Comment #14 from Olav Reinert
You might need to unload realtek kernel module (it's phy driver) beforehand.
The "realtek" module isn't loaded at any time, neither before nor after the remove+rescan (for which I don't show log entries here, they are the same as reported earlier): bb:~ # modinfo realtek filename: /lib/modules/5.3.18-lp152.1.gd4f520d-default/kernel/drivers/net/phy/realtek.ko license: GPL author: Johnson Leung description: Realtek PHY driver suserelease: openSUSE Leap 15.2 srcversion: 115992CBFCAF74B6BF13EE3 alias: mdio:0000000000011100110010?????????? depends: libphy retpoline: Y intree: Y name: realtek vermagic: 5.3.18-lp152.1.gd4f520d-default SMP mod_unload modversions sig_id: PKCS#7 signer: home:tiwai OBS Project sig_key: 30:4F:31:1F:30:1D:06:03:55:04:03:0C:16:68:6F:6D:65:3A:74:69: 77:61:69:20:4F:42:53:20:50:72:6F:6A:65:63:74:31:2C:30:2A:06: 09:2A:86:48:86:F7:0D:01:09:01:16:1D:68:6F:6D:65:3A:74:69:77: 61:69:40:62:75:69:6C:64:2E:6F:70:65:6E:73:75:73:65:2E:6F:72: 67:02:09:00:87:F7:87:C1:D0:A0:DB:59 sig_hashalgo: sha256 signature: 40:38:CF:C4:35:23:DF:DB:54:DE:52:61:0B:04:46:5A:FB:5F:37:02: 1E:80:0B:3A:D5:95:99:94:7B:FE:35:4F:B3:1B:BA:55:86:A0:4C:3D: 62:B9:8A:5C:2D:C8:3B:C6:15:67:E1:4D:9A:C2:6E:C2:6C:6A:2A:58: 8C:F8:8A:97:C7:9D:39:0C:40:11:8E:B2:CC:FC:C2:E2:65:CF:0E:4B: 3A:83:F5:6B:A6:70:D5:65:BA:28:55:9B:88:5C:F9:33:4A:36:55:FE: EC:09:E4:9D:1E:96:B7:CC:06:4C:5D:E6:F2:D4:19:97:AC:1D:8D:EF: D5:16:28:4E:DF:37:ED:3C:91:72:B9:2F:FD:82:F1:DA:10:6C:D0:CD: 80:41:31:B2:04:76:7D:6E:3B:6E:EE:E9:68:3E:7E:14:73:06:E2:AA: 67:0E:8E:14:F5:E9:67:CC:BA:5F:D4:2B:6C:3F:1D:05:5E:EE:1F:F3: 99:A7:64:96:41:4D:2E:EE:85:DB:50:F9:62:C4:55:7A:F9:24:63:D1: 28:CF:C6:AA:84:0A:99:29:8A:44:3E:11:0B:A8:E3:FB:DB:88:F6:B8: F2:A0:4F:11:A3:45:0A:99:46:8E:BA:B3:A7:A0:B0:24:8A:0A:9E:9A: E8:0B:84:E4:C8:46:4A:60:03:35:D0:17:3E:13:CB:48 bb:~ # rmmod realtek rmmod: ERROR: Module realtek is not currently loaded bb:~ # echo 1
/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:04.0/0000:06:00.1/remove bb:~ # rmmod realtek rmmod: ERROR: Module realtek is not currently loaded bb:~ # echo 1 /sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:04.0/rescan bb:~ # rmmod realtek rmmod: ERROR: Module realtek is not currently loaded
-- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c15
--- Comment #15 from Olav Reinert
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c16
--- Comment #16 from Olav Reinert
Also, could you confirm that 5.7.x kernel in OBS Kernel:stable works? If that's confirmed, I can try to backport up to 5.7.
It works With kernel-default-5.7.3-1.1.g44c4af0.x86_64 from OBS Kernel:stable. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c17
--- Comment #17 from Olav Reinert
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c18
--- Comment #18 from Olav Reinert
FYI, I created another test kernel in OBS home:tiwai:bsc1173085-2 repo containing more backports. If 5.7 kernel worked, please give this a try.
This kernel boots just fine, but doesn't solve the problem with the Realtek NIC. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c19
Olav Reinert
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c20
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c21
--- Comment #21 from Olav Reinert
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c22
Olav Reinert
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c23
--- Comment #23 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c25
Olav Reinert
Thanks, finally good to hear :)
The only slight concern is that the new kernel shows an error at probe: [ 6.526867] r8169 0000:06:00.1 (unnamed net_device) (uninitialized): rtl_txcfg_empty_cond == 0 (loop: 42, delay: 100).
while it isn't shown in 5.7.1 kernel. But it seems like a one-off thing, so maybe not too serious.
It seems I was too quick to declare success, unfortunately. With your kernel-default-5.3.18-lp152.1.1.g4cce4f9, the Realtek interface is indeed detected, but because wicked fails to assign an IP-address to it, it remains in state DOWN: # ifstatus eth1 eth1 setup-in-progress link: #2, state device-up, mtu 1500 type: ethernet, hwaddr 34:97:f6:32:81:3f config: compat:suse:/etc/sysconfig/network/ifcfg-eth1 Please let me know what other debug information you need to diagnose this. (In contrast, with kernel-default-5.7.3-1.1.g44c4af0 from OBS Kernel:stable, eth1 is initialized correctly, and the system is able to send and receive network traffic with it.) -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.
Olav Reinert
Thanks, finally good to hear :)
The only slight concern is that the new kernel shows an error at probe: [ 6.526867] r8169 0000:06:00.1 (unnamed net_device) (uninitialized): rtl_txcfg_empty_cond == 0 (loop: 42, delay: 100).
while it isn't shown in 5.7.1 kernel. But it seems like a one-off thing, so maybe not too serious.
It seems I was too quick to declare success, unfortunately. With your kernel-default-5.3.18-lp152.1.1.g4cce4f9, the Realtek interface is indeed detected, but because wicked fails to assign an IP-address to it, it remains in state DOWN: # ifstatus eth1 eth1 setup-in-progress link: #2, state device-up, mtu 1500 type: ethernet, hwaddr 34:97:f6:32:81:3f config: compat:suse:/etc/sysconfig/network/ifcfg-eth1 Please let me know what other debug information you need to diagnose this. (In contrast, with kernel-default-5.7.3-1.1.g44c4af0 from OBS Kernel:stable, eth1 is initialized correctly, and the system is able to send and receive network traffic with it.)-- To unsubscribe, e-mail: kernel-bugs+unsubscribe@opensuse.org To contact the owner, e-mail: kernel-bugs+owner@opensuse.org
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c26
--- Comment #26 from Takashi Iwai
It seems I was too quick to declare success, unfortunately.
It's a pity :-< Then we may try another approach. Instead of backport tons of patches, revert / work around the change that caused the probe failure. I'm building another test kernel in OBS home:tiwai:bsc1173085-3 repo with a downstream patch that allows the default MAC version assignment for your chip. It's a very small change and less intrusive. Let's see whether it works. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c27
Olav Reinert
Then we may try another approach. Instead of backport tons of patches, revert / work around the change that caused the probe failure.
I'm building another test kernel in OBS home:tiwai:bsc1173085-3 repo with a downstream patch that allows the default MAC version assignment for your chip. It's a very small change and less intrusive. Let's see whether it works.
This fix (in your kernel-default-5.3.18-8.1.g603a44a.x86_64 package) works! The Realtek NIC is detected, and wicked is able to bring it UP as expected. Even though the "unknown chip XID" error is still present in the kernel messages, I am satisfied with this solution. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c28
--- Comment #28 from Olav Reinert
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c29
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c30
--- Comment #30 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085
http://bugzilla.opensuse.org/show_bug.cgi?id=1173085#c31
--- Comment #31 from Olav Reinert
Thanks for the patient testing!
No problem - thanks for your hard work creating patches. It's good to know that my hardware will be supported by Leap 15.2, eventually. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com