在我的服务器上,从(和)内核升级后5.4.0-48-generic
,未检测到板载 realtek 以太网卡。奇怪的是,虽然在具有相同主板、网卡修订版和 bios 版本的游戏平台上,使用相同的 ubuntu 内核 ( ) 运行 KDE Neon,它工作正常。5.4.0-52
5.4.0-51
5.4.0-52-generic
lshw:
description: Motherboard
product: X470 GAMING PLUS (MS-7B79)
vendor: Micro-Star International Co., Ltd
dmidecode -s bios-version: A.50
lspci -nnv:
18:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Kernel driver in use: r8169
lsb_release: Ubuntu 20.04.1 LTS focal
uname:Linux 5.4.0-52-generic x86_64
dmesg |grep 8169
(5.4.0-48):
[ 0.000000] kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-48-generic root=UUID=b33c1eb8-59d7-479e-977c-cff95aff44e9 ro nomodeset
[ 0.000000] kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-48-generic root=UUID=b33c1eb8-59d7-479e-977c-cff95aff44e9 ro nomodeset
[ 0.703027] kernel: libphy: r8169: probed
[ 0.703613] kernel: r8169 0000:18:00.0 eth0: RTL8168h/8111h, 00:d8:61:10:37:54, XID 541, IRQ 65
[ 0.704030] kernel: r8169 0000:18:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 0.739820] kernel: r8169 0000:18:00.0 p1p1: renamed from eth0
[ 7.140575] kernel: Generic FE-GE Realtek PHY r8169-1800:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-1800:00, irq=IGNORE)
[ 7.253204] kernel: r8169 0000:18:00.0 p1p1: Link is Down
[ 10.768877] kernel: r8169 0000:18:00.0 p1p1: Link is Up - 1Gbps/Full - flow control rx/tx
dmesg |grep 8169
(5.4.0-52):
[ 0.000000] kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-52-generic root=UUID=b33c1eb8-59d7-479e-977c-cff95aff44e9 ro nomodeset
[ 0.000000] kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-52-generic root=UUID=b33c1eb8-59d7-479e-977c-cff95aff44e9 ro nomodeset
[ 0.705941] kernel: libphy: r8169: probed
[ 0.706490] kernel: r8169 0000:18:00.0 eth0: RTL8168h/8111h, 00:d8:61:10:37:54, XID 541, IRQ 62
[ 0.706876] kernel: r8169 0000:18:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
这次rmmod r8169 && modprobe r8169
realtek 解决方法不起作用。
我应该提交错误还是在 Ubuntu Server 中发生了发行版网络配置更改,但在 KDE Neon 中没有发生?
编辑:附加信息
r8168-dkms
如果我有机会再次关闭服务器,我也会尝试该软件包并使用结果更新问题。
# modinfo r8169 | grep -i 10ec
(5.4.0-48):
alias: pci:v000010ECd00003000sv*sd*bc*sc*i*
alias: pci:v000010ECd00008125sv*sd*bc*sc*i*
alias: pci:v000010ECd00008169sv*sd*bc*sc*i*
alias: pci:v000010ECd00008168sv*sd*bc*sc*i*
alias: pci:v000010ECd00008167sv*sd*bc*sc*i*
alias: pci:v000010ECd00008161sv*sd*bc*sc*i*
alias: pci:v000010ECd00008136sv*sd*bc*sc*i*
alias: pci:v000010ECd00008129sv*sd*bc*sc*i*
alias: pci:v000010ECd00002600sv*sd*bc*sc*i*
alias: pci:v000010ECd00002502sv*sd*bc*sc*i*
sudo lshw -C network
(5.4.0-48):
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:18:00.0
logical name: p1p1
version: 15
serial: 00:d8:61:10:37:54
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
resources: irq:34 ioport:f000(size=256) memory:fe604000-fe604fff memory:fe600000-fe603fff
*-network:0
description: Ethernet interface
physical id: 1
logical name: vnet0
serial: fe:54:00:cb:bd:03
size: 10Mbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=yes multicast=yes port=twisted pair speed=10Mbit/s
*-network:1
description: Ethernet interface
physical id: 2
logical name: virbr0
serial: 52:54:00:b3:57:96
capabilities: ethernet physical
configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=192.168.122.1 link=no multicast=yes
*-network:2
description: Ethernet interface
physical id: 3
logical name: br0
serial: 74:d4:35:53:6e:59
capabilities: ethernet physical
configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=192.168.16.11 link=yes multicast=yes
*-network:3 DISABLED
description: Ethernet interface
physical id: 4
logical name: virbr0-nic
serial: 52:54:00:b3:57:96
size: 10Mbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=no multicast=yes port=twisted pair speed=10Mbit/s
cat /etc/network/interfaces
(5.4.0-48):
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
auto lo
iface lo inet loopback
#auto eth0
#iface eth0 inet static
# address 192.168.16.10
# netmask 255.255.255.0
# gateway 192.168.16.2
#auto p1p1
iface p1p1 inet manual
auto br0
iface br0 inet static
address 192.168.16.11
netmask 255.255.255.0
broadcast 192.168.16.255
network 192.168.16.0
gateway 192.168.16.2
bridge_ports p1p1
bridge_stp off
bridge_fd 3
bridge_maxwait 0
post-up ip link set br0 address 74:d4:35:53:6e:59
up route add -net 192.168.1.0/24 gw 192.168.20.80
iface br0:0 inet static
address 192.168.16.10
netmask 255.255.255.0
cat /etc/netplan/*.yaml
(5.4.0-48):No such file or directory
r8168
试试
r8168-dkms
驱动。BIOS
微星 X470 游戏加
您的 BIOS 版本为 A.50。
有更新的 BIOS 可用,版本 A.H0,日期为 2020 年 6 月 16 日,可在此处下载。
注意:确认我有适合您的型号的正确网页#。
注意:在更新 BIOS 之前做好备份。
解决了
该问题不再出现在
5.4.0-65-generic
. 怀疑这是内核或 r8168 模块的更改,可能已修复或恢复。现在唯一的区别是
eth0
再次调用设备而不是p1p1