[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#995125: linux: Realtek ethernet driver r8169 lacks support for chip chip XID 54b



I am pleased to report that commit e6d6ca6e12049dfbff6ac8b029678d2d2c55c34f does provide the
support for chip XID 54b.   However, I had to apply two other patches, and temporarily revert and
then re-apply a third patch to apply to the linux-source-5.10 kernel version  5.10.46-5.

Attached is the bash script I used to apply the patches, which are the following:

389cb1ecc86e6c6f210424017cf930a81ddfbf2d..e6d6ca6e12049dfbff6ac8b029678d2d2c55c34f.patch
e6e918d4eb93f43e770fbc2a0881686e350e1a1f..c6cff9dfebb3387fa72570af70c9ea34b9e24550.patch
0a7e0c3b5702a6a76cf7e5b8cc10a73e51dc221e..abbf9a0ef8848dca58c5b97750c1c59bbee45637.patch
206a75e003e17aad4fd60047deee2252fdc3df38..e0d38b5880758432f74fe17fea8281691d1eb3c0.patch

With the patch built in, success is seen in dmesg logs, and NetworkManager uses the nic with no problems.
[    0.000000] Linux version 5.10.46-rfw (rfw@pd400) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP Sat Oct 2 10:35:02 MDT 2021
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.10.46-rfw root=UUID=85ed9906-0d36-41ca-bfdf-9434fe5ecd2c ro loglevel=9 efi=debug nohibernate noresume panic=30 systemd.unit=multi-user.target
[    0.015860] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.10.46-rfw root=UUID=85ed9906-0d36-41ca-bfdf-9434fe5ecd2c ro loglevel=9 efi=debug nohibernate noresume panic=30 systemd.unit=multi-user.target
[    2.056883]     BOOT_IMAGE=/boot/vmlinuz-5.10.46-rfw
[    2.464025] usb usb1: Manufacturer: Linux 5.10.46-rfw ehci_hcd
[    6.670346] r8169 0000:04:00.1: can't disable ASPM; OS doesn't have ASPM control
[    6.690573] libphy: r8169: probed
[    6.695550] r8169 0000:04:00.1 eth0: RTL8168fp/RTL8117, b0:22:7a:22:c7:e7, XID 54b, IRQ 85
[    6.698093] r8169 0000:04:00.1 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[    7.056330] r8169 0000:04:00.1 eno1: renamed from eth0
[    7.912710] Generic FE-GE Realtek PHY r8169-401:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-401:00, irq=IGNORE)
[    8.042714] r8169 0000:04:00.1 eno1: Link is Down
[   10.467835] r8169 0000:04:00.1 eno1: Link is Up - 1Gbps/Full - flow control rx/tx

- Randy Wright   rwright@hpe.com

Attachment: patchit.sh
Description: patchit.sh


Reply to: