На моем сервере встроенная карта Ethernet Realtek не обнаруживается после обновления ядра с 5.4.0-48-generic
до 5.4.0-52
(и 5.4.0-51
). Как ни странно, на игровой установке с идентичной материнской платой, версией сетевой карты и версией BIOS, работающей под управлением KDE Neon с тем же ядром ubuntu ( 5.4.0-52-generic
), все работает нормально.
lshw:
описание: Материнская плата
продукт: X470 GAMING PLUS (MS-7B79)
поставщик: Micro-Star International Co., Ltd
dmidecode -s bios-version: A.50
lspci -nnv:
18: 00.0 Контроллер Ethernet [0200]: Realtek Semiconductor Co., Ltd. RTL8111 / 8168/8411 PCI Express Gigabit Ethernet Controller [10ec: 8168] (rev 15)
Драйвер ядра используется: r8169
lsb_release: Ubuntu 20.04.1, фокус LTS
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, но не в 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): Нет такого файла или каталога
r8168
Попробуйте драйвер r8168-dkms
.
BIOS
MSI X470 GAMING PLUS
У вас версия BIOS A.50.
Доступна более новая версия BIOS, версия A.H0, от 16.06.2020, которую можно скачать здесь.
Примечание. Убедитесь, что у меня есть правильная веб-страница для вашей модели #.
Примечание. Сделайте хорошие резервные копии перед обновлением BIOS.