Asus ROG Crosshair VIII Dark Hero 以太网驱动程序

Asus ROG Crosshair VIII Dark Hero 以太网驱动程序

清理以提高清晰度

问题 - Ubuntu 无法识别使用 2.5 gb 以太网端口的有线网络。

注意事项 - Wifi 可用、常规千兆端口可用、已知良好的电缆、插入电缆时 2.5gb 端口 LED 亮起(在 Windows 10 上也可用)

系统设置 -

Ubuntu 20.04.02 LTS
64bit
dual booting with win 10
ryzen 9 5900x
crosshair viii dark hero x570 asus ROG
amd radeon rx 6800xt
gskill trident z royal 64gb (16x4)
galahad aio 360

终端说-


     lspci -nnk | grep 0200 -A3
    04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 04)
        Subsystem: ASUSTeK Computer Inc. RTL8125 2.5GbE Controller [1043:87d7]
        Kernel modules: r8169
    05:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)
        Subsystem: ASUSTeK Computer Inc. I211 Gigabit Network Connection [1043:85f0]
        Kernel driver in use: igb
        Kernel modules: igb

终端显示仅插入了 2.5G 以太网线,且以太网线已知良好,并且 Wi-Fi 已关闭 -


$ sudo dmesg | grep igb
[    0.999385] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    0.999386] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.030784] igb 0000:05:00.0: added PHC on eth0
[    1.030784] igb 0000:05:00.0: Intel(R) Gigabit Ethernet Network Connection
[    1.030785] igb 0000:05:00.0: eth0: (PCIe:2.5Gb/s:Width x1) fc:34:97:a2:99:d5
[    1.030786] igb 0000:05:00.0: eth0: PBA No: FFFFFF-0FF
[    1.030787] igb 0000:05:00.0: Using MSI-X interrupts. 2 rx queue(s), 2 tx queue(s)
[    1.031419] igb 0000:05:00.0 enp5s0: renamed from eth0
[  405.260371] igb 0000:05:00.0 enp5s0: igb: enp5s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[ 1904.635074] igb 0000:05:00.0 enp5s0: igb: enp5s0 NIC Link is Down

$ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp5s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether fc:34:97:a2:99:d5 brd ff:ff:ff:ff:ff:ff
3: wlp6s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether e0:d4:64:dc:7f:4e brd ff:ff:ff:ff:ff:ff


终端说-


$ lshw -C network
WARNING: you should run this program as super-user.
  *-network UNCLAIMED       
       description: Ethernet controller
       product: RTL8125 2.5GbE Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:04:00.0
       version: 04
       width: 64 bits
       clock: 33MHz
       capabilities: cap_list
       configuration: latency=0
       resources: ioport:e000(size=256) memory:fc800000-fc80ffff memory:fc810000-fc813fff
  *-network
       description: Ethernet interface
       product: I211 Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:05:00.0
       logical name: enp5s0
       version: 03
       serial: fc:34:97:a2:99:d5
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=igb driverversion=5.6.0-k firmware=0. 6-1 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:37 memory:fc700000-fc71ffff ioport:d000(size=32) memory:fc720000-fc723fff

问题在于“无人认领”吗?

终端说-


$ sudo dmesg | grep enp
[    1.031419] igb 0000:05:00.0 enp5s0: renamed from eth0
[  405.260371] igb 0000:05:00.0 enp5s0: igb: enp5s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[  405.368054] IPv6: ADDRCONF(NETDEV_CHANGE): enp5s0: link becomes ready
[ 1904.635074] igb 0000:05:00.0 enp5s0: igb: enp5s0 NIC Link is Down

终端说-

uname -r
5.8.0-55-generic
$ ls /usr/lib/modules/5.8.0-55-generic/kernel/drivers/net/ethernet/realtek/
8139cp.ko  8139too.ko  atp.ko  r8169.ko
~$ modinfo r8169 | grep 8125
firmware:       rtl_nic/rtl8125a-3.fw
alias:          pci:v000010ECd00008125sv*sd*bc*sc*i*
$ sudo modprobe r8169 && sudo dmesg | grep r81
[    0.059668] percpu: Embedded 56 pages/cpu s192512 r8192 d28672 u262144
[    0.059672] pcpu-alloc: s192512 r8192 d28672 u262144 alloc=1*2097152
[    0.997443] r8169 0000:04:00.0: unknown chip XID 641

相关内容