![自上次内核更新(5.15.0-52-generic)以来,屏幕分辨率损坏,网络无法正常工作](https://linux22.com/image/949819/%E8%87%AA%E4%B8%8A%E6%AC%A1%E5%86%85%E6%A0%B8%E6%9B%B4%E6%96%B0%EF%BC%885.15.0-52-generic%EF%BC%89%E4%BB%A5%E6%9D%A5%EF%BC%8C%E5%B1%8F%E5%B9%95%E5%88%86%E8%BE%A8%E7%8E%87%E6%8D%9F%E5%9D%8F%EF%BC%8C%E7%BD%91%E7%BB%9C%E6%97%A0%E6%B3%95%E6%AD%A3%E5%B8%B8%E5%B7%A5%E4%BD%9C.png)
其他内核模块可能也无法正常工作。尚未确认,但如果 USB 等模块也无法正常工作,我也不会感到惊讶。
进入 GRUB 菜单并加载上一个版本 (5.15.0-47-generic) 可以正常工作。自从我升级到 22.04.1 LTS 以来,我一直在思考这个问题。当我第一次在 IRC 中的 #ubuntu 中提问时,我被要求卸载上linux-generic-hwe-20.04
一个版本中遗留的程序,我注意到的一件事是,我没有相应的 22.04 包,但由于它可以与旧内核版本配合使用,我想这可能不是问题所在?
此外,可能不相关,但我有一堆乱七八糟的 nvidia 驱动程序,安装nvidia-515
后又删除了其他所有东西,从那以后我就一直有视频故障。
这是我做的一些检查。我没有发现任何明显问题,但说实话我了解的不多。
❯ apt list --installed | grep '^linux' | less
linux-base/jammy,jammy,now 4.5ubuntu9 all [installed,automatic]
linux-firmware/jammy-updates,jammy-updates,now 20220329.git681281e4-0ubuntu3.6 all [installed,automatic]
linux-headers-5.11.0-40-generic/now 5.11.0-40.44 amd64 [installed,local]
linux-headers-5.11.0-40/now 5.11.0-40.44 all [installed,local]
linux-headers-5.15.0-47-generic/jammy-updates,jammy-security,jammy-security,now 5.15.0-47.51 amd64 [installed,automatic]
linux-headers-5.15.0-47/jammy-updates,jammy-updates,jammy-security,jammy-security,jammy-security,jammy-security,now 5.15.0-47.51 all [installed,automatic]
linux-image-5.11.0-40-generic/now 5.11.0-40.44 amd64 [installed,local]
linux-image-5.15.0-47-generic/jammy-updates,jammy-security,jammy-security,now 5.15.0-47.51 amd64 [installed,automatic]
linux-image-5.15.0-52-generic/jammy-updates,jammy-security,jammy-security,now 5.15.0-52.58 amd64 [installed,automatic]
linux-libc-dev/jammy-updates,jammy-security,jammy-security,now 5.15.0-52.58 amd64 [installed]
linux-modules-5.11.0-40-generic/now 5.11.0-40.44 amd64 [installed,local]
linux-modules-5.15.0-47-generic/jammy-updates,jammy-security,jammy-security,now 5.15.0-47.51 amd64 [installed,automatic]
linux-modules-5.15.0-52-generic/jammy-updates,jammy-security,jammy-security,now 5.15.0-52.58 amd64 [installed,automatic]
linux-modules-extra-5.11.0-40-generic/now 5.11.0-40.44 amd64 [installed,local]
linux-modules-extra-5.15.0-47-generic/jammy-updates,jammy-security,jammy-security,now 5.15.0-47.51 amd64 [installed,automatic]
linux-objects-nvidia-470-5.11.0-40-generic/now 5.11.0-40.44+1 amd64 [installed,local]
linux-objects-nvidia-470-5.15.0-47-generic/jammy-updates,jammy-security,jammy-security,now 5.15.0-47.51 amd64 [installed,automatic]
linux-objects-nvidia-470-5.15.0-52-generic/jammy-updates,jammy-security,jammy-security,now 5.15.0-52.58+1 amd64 [installed,automatic]
linux-signatures-nvidia-5.11.0-40-generic/now 5.11.0-40.44+1 amd64 [installed,local]
linux-signatures-nvidia-5.15.0-47-generic/jammy-updates,jammy-security,jammy-security,now 5.15.0-47.51 amd64 [installed,automatic]
linux-signatures-nvidia-5.15.0-52-generic/jammy-updates,jammy-security,jammy-security,now 5.15.0-52.58+1 amd64 [installed,automatic]
linux-sound-base/jammy,jammy,now 1.0.25+dfsg-0ubuntu7 all [installed,automatic]
❯ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
非工作内核运行时的 dkms 状态输出:
$ dkms status
nvidia/510.85.02, 5.15.0-47-generic, x86_64: installed
对于较旧、可运行的内核,情况完全相同:
$ dkms status
nvidia/510.85.02, 5.15.0-47-generic, x86_64: installed
显然,在新内核上运行的旧内核版本看起来可疑