在最新更新到 Ubuntu Studio 20.04.1 后,我的桌面系统无法访问以太网卡(没有 LED 亮起),也没有互联网连接。我的系统中最新安装的内核是 5.4.0-56-lowlatency。我能够使用之前的内核 5.4.0-54-lowlatency 启动系统,然后以太网卡工作正常,我可以连接。我读到这个错误可能已在内核 5.4.0.56.62 中修复,但我猜这不是一个低延迟错误。
- 如何才能在最新内核上正常启动并使以太网正常工作?
- 我怎样才能将当前内核更新为修复以太网错误的内核
?
编辑1:我刚刚将内核更新到版本5.4.0-58-lowlatency,但问题仍然存在。
修改 2:这个问题在最新的 5.8.0-33.36 内核中存在。查看此错误了解更多信息:https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1906655
谢谢。
编辑:以下输出dpkg -l | grep linux
:
ii binutils-x86-64-linux-gnu 2.34-6ubuntu1 amd64 GNU binary utilities, for x86-64-linux-gnu target
ii console-setup-linux 1.194ubuntu3 all Linux specific part of console-setup
ii fonts-linuxlibertine 5.3.0-4 all Linux Libertine family of fonts
ii ladspa-sdk 1.15-2build1 amd64 sample tools for linux-audio-dev plugin architecture
ii liblinux-epoll-perl 0.017-1 amd64 perl epoll module for O(1) multiplexing
ii libselinux1:amd64 3.0-1build2 amd64 SELinux runtime shared libraries
ii libselinux1:i386 3.0-1build2 i386 SELinux runtime shared libraries
ii libv4l-0:amd64 1.18.0-2build1 amd64 Collection of video4linux support libraries
ii libv4lconvert0:amd64 1.18.0-2build1 amd64 Video4linux frame format conversion library
ii linux-base 4.5ubuntu3.1 all Linux image base package
ii linux-firmware 1.187.4 all Firmware for Linux kernel drivers
ii linux-headers-5.4.0-54 5.4.0-54.60 all Header files related to Linux kernel version 5.4.0
ii linux-headers-5.4.0-54-lowlatency 5.4.0-54.60 amd64 Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
ii linux-headers-5.4.0-56 5.4.0-56.62 all Header files related to Linux kernel version 5.4.0
ii linux-headers-5.4.0-56-lowlatency 5.4.0-56.62 amd64 Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
ii linux-headers-lowlatency 5.4.0.56.59 amd64 lowlatency Linux kernel headers
rc linux-image-4.15.0-112-lowlatency 4.15.0-112.113 amd64 Signed kernel image lowlatency
rc linux-image-4.15.0-115-lowlatency 4.15.0-115.116 amd64 Signed kernel image lowlatency
rc linux-image-4.15.0-117-lowlatency 4.15.0-117.118 amd64 Signed kernel image lowlatency
rc linux-image-4.15.0-118-lowlatency 4.15.0-118.119 amd64 Signed kernel image lowlatency
rc linux-image-5.4.0-48-lowlatency 5.4.0-48.52 amd64 Signed kernel image lowlatency
rc linux-image-5.4.0-51-lowlatency 5.4.0-51.56 amd64 Signed kernel image lowlatency
rc linux-image-5.4.0-52-lowlatency 5.4.0-52.57 amd64 Signed kernel image lowlatency
rc linux-image-5.4.0-53-lowlatency 5.4.0-53.59 amd64 Signed kernel image lowlatency
ii linux-image-5.4.0-54-lowlatency 5.4.0-54.60 amd64 Signed kernel image lowlatency
ii linux-image-5.4.0-56-lowlatency 5.4.0-56.62 amd64 Signed kernel image lowlatency
ii linux-image-lowlatency 5.4.0.56.59 amd64 lowlatency Linux kernel image
ii linux-libc-dev:amd64 5.4.0-56.62 amd64 Linux Kernel Headers for development
ii linux-lowlatency 5.4.0.56.59 amd64 Complete lowlatency Linux kernel
rc linux-modules-4.15.0-112-lowlatency 4.15.0-112.113 amd64 Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
rc linux-modules-4.15.0-115-lowlatency 4.15.0-115.116 amd64 Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
rc linux-modules-4.15.0-117-lowlatency 4.15.0-117.118 amd64 Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
rc linux-modules-4.15.0-118-lowlatency 4.15.0-118.119 amd64 Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-48-lowlatency 5.4.0-48.52 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-51-lowlatency 5.4.0-51.56 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-52-lowlatency 5.4.0-52.57 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-53-lowlatency 5.4.0-53.59 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
ii linux-modules-5.4.0-54-lowlatency 5.4.0-54.60 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
ii linux-modules-5.4.0-56-lowlatency 5.4.0-56.62 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
ii linux-sound-base 1.0.25+dfsg-0ubuntu5 all base package for ALSA and OSS sound systems
ii pptp-linux 1.10.0-1build1 amd64 Point-to-Point Tunneling Protocol (PPTP) Client
ii util-linux 2.34-0.1ubuntu9.1 amd64 miscellaneous system utilities
答案1
我找到了解决方案。缺少的是linux-modules-extra-5.4.0-58-?
我使用之前的 5.4.0-54 启动了 Linux,然后为内核映像安装了最新版本的 linux-modules-extra,然后重新启动。它在我的通用内核映像上运行良好。
由于某种原因,当我运行时apt upgraded
,它没有安装额外的包。我不知道为什么。
答案2
我遇到了同样的问题:使用 Realtek 网卡时,最新的低延迟内核无法正常工作,导致以太网卡与其他设备之间的 irq 不匹配(在我的情况下是 ahci:您可以使用“dmesg | tail”进行检查);就我而言:
[ 4.636432] genirq: 标志不匹配 irq 19。00010080(enp2s0)与 00002080(ahci[0000:00:1f.2])
我只能通过加载非低延迟内核来使用网络:为了做到这一点,请在初始 BIOS 屏幕之后按住 Shift 按钮:这样您将进入 grub2 菜单,选择“高级选项”,然后选择您要使用的内核(非低延迟)。
这样我就能再次上网了。缺点是:
- 每次启动后都必须手动完成该过程
- 低延迟内核的功能将不可用。
希望他们能尽快解决这个问题!
答案3
最近将内核更新至版本 5.4.0-59 解决了该问题。以太网工作正常。感谢大家的回答和评论。
答案4
您有专有驱动程序吗?
检查你的 /etc/apt/sources.list 中是否有这一行
deb http:/YOURREPOSITORYADRESS YOURUBUTUVERSION main contrib non-free
或者
deb http://YOURREPOSITORYADRESS/ubuntu/ YOURUBUNTUVERSION main restricted universe multiverse
之后,给我们输出dmesg -l err