AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-27606

codywohlers's questions

Martin Hope
codywohlers
Asked: 2020-10-21 10:37:42 +0800 CST

r8169 Realtek 以太网模块在内核升级后未检测到设备 >5.4.0-48-generic 是错误吗?

  • 1

在我的服务器上,从(和)内核升级后5.4.0-48-generic,未检测到板载 realtek 以太网卡。奇怪的是,虽然在具有相同主板、网卡修订版和 bios 版本的游戏平台上,使用相同的 ubuntu 内核 ( ) 运行 KDE Neon,它工作正常。5.4.0-525.4.0-515.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 r8169realtek 解决方法不起作用。

我应该提交错误还是在 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

networking kernel realtek 20.04
  • 2 个回答
  • 3567 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve