lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 8 Apr 2024 21:35:04 +0300
From: Евгений <octobergun@...il.com>
To: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Fwd: r8169: unknown chip XID 6c0

Thank you for your answer.
Apply the patch, kernel 6.8.4, ethernet works.

dmesg | grep r8169
[    4.020210] r8169 0000:02:00.0: can't disable ASPM; OS doesn't have
ASPM control
[    4.033148] r8169 0000:02:00.0 eth0: RTL8168h/8111h,
00:e0:4c:08:93:00, XID 6c0, IRQ 130
[    4.033154] r8169 0000:02:00.0 eth0: jumbo features [frames: 9194
bytes, tx checksumming: ko]
[    4.048581] r8169 0000:02:00.0 enp2s0: renamed from eth0
[   12.854689] Generic FE-GE Realtek PHY r8169-0-200:00: attached PHY
driver (mii_bus:phy_addr=r8169-0-200:00, irq=MAC)
[   12.998007] r8169 0000:02:00.0 enp2s0: Link is Down
[   15.717414] r8169 0000:02:00.0 enp2s0: Link is Up - 1Gbps/Full -
flow control rx/tx

сб, 6 апр. 2024 г. в 23:15, Heiner Kallweit <hkallweit1@...il.com>:
>
> On 06.04.2024 12:15, Евгений wrote:
> > Hello.
> >
> > lspci -v
> > 2:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 2b)
> > Subsystem: Realtek Semiconductor Co., Ltd. Device 0123
> > Flags: fast devsel, IRQ 17
> > I/O ports at 3000 [size=256]
> > Memory at 80804000 (64-bit, non-prefetchable) [size=4K]
> > Memory at 80800000 (64-bit, non-prefetchable) [size=16K]
> > Capabilities: [40] Power Management version 3
> > Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
> > Capabilities: [70] Express Endpoint, IntMsgNum 1
> > Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
> > Capabilities: [100] Advanced Error Reporting
> > Capabilities: [140] Virtual Channel
> > Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
> > Capabilities: [170] Latency Tolerance Reporting
> > Capabilities: [178] L1 PM Substates
> > Kernel modules: r8169
> >
> > dmesg | grep r8169
> > [1.773646] r8169 0000:02:00.0: error -ENODEV: unknown chip XID 6c0, contact r8169 maintainers (see MAINTAINERS file)
>
> Thanks for the report. Realtek calls this chip version RTL8168M,
> but handling seems to be identical to RTL8168H. Could you please
> test whether ethernet on your system works with the following patch?
>
>
> diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c
> index fc8e6771e..2c91ce847 100644
> --- a/drivers/net/ethernet/realtek/r8169_main.c
> +++ b/drivers/net/ethernet/realtek/r8169_main.c
> @@ -2227,6 +2227,8 @@ static enum mac_version rtl8169_get_mac_version(u16 xid, bool gmii)
>                  * the wild. Let's disable detection.
>                  * { 0x7cf, 0x540,      RTL_GIGA_MAC_VER_45 },
>                  */
> +               /* Realtek calls it RTL8168M, but it's handled like RTL8168H */
> +               { 0x7cf, 0x6c0, RTL_GIGA_MAC_VER_46 },
>
>                 /* 8168G family. */
>                 { 0x7cf, 0x5c8, RTL_GIGA_MAC_VER_44 },
> --
> 2.44.0
>
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ