Kubuntu 23.04 无法使用 6.2 内核启动

Kubuntu 23.04 无法使用 6.2 内核启动

升级到 Kubuntu 23.04 后,Kubuntu 卡在这里:

在此处输入图片描述

如果我通过 grub 切换到 5.19 内核,它可以完美启动到 Kubuntu 23.04,但如果我将其保留在默认的 6.2 内核上,它就会挂在这里。

自从我之前看到hid-generic item 0 0 0 12 parsing failed并重新启动以来,我已经从笔记本电脑上拔下了所有设备,但它仍然挂在 6.2 内核上。

该笔记本电脑配有 Quadro P2000 和英特尔显卡;出于某种原因,在使用时它也不会再切换到 Quadro sudo prime-select nvidia。不确定这是否与 6.2 内核无法启动有关。

在此处输入图片描述

我已经做了

sudo ubuntu-drivers autoinstall
All the available drivers are already installed.

切换到 Nouveau 驱动程序而不是 Nvidia 驱动程序没有任何区别,它仍然在启动时挂起。

该链接建议添加loglevel=3到 grub,尽管这并没有做任何重要的事情 - 相反现在我挂在一个空白屏幕上,而不是上面发布的错误: Ubuntu 22.04 在 Asus X705UA 上出现“ACPI BIOS 错误(错误):无法解析符号”错误

boot.log显示以下内容(我不确定这是否是挂起时的日志,尽管我重启了两次,但我今天早上只看到一个条目,第一次进入没有启动的 6.2 内核,然后再次进入正在运行的内核)

------------ Fri Apr 28 08:18:45 CEST 2023 ------------
/dev/mapper/kubuntu--vg-root: clean, 2977642/31162368 files, 110015678/124644352 blocks
[  OK  ] Reached target network-pre.target - Preparation for Network.
         Mounting proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System...
[  OK  ] Finished systemd-tmpfiles-setup.service - Create Volatile Files and Directories.
         Starting systemd-resolved.service - Network Name Resolution...
         Starting systemd-timesyncd.service - Network Time Synchronization...
         Starting systemd-update-utmp.service - Record System Boot/Shutdown in UTMP...
[  OK  ] Mounted proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System.
[  OK  ] Finished systemd-binfmt.service - Set Up Additional Binary Formats.
[  OK  ] Finished systemd-update-utmp.service - Record System Boot/Shutdown in UTMP.
[  OK  ] Finished apparmor.service - Load AppArmor profiles.
[  OK  ] Started haveged.service - Entropy Daemon based on the HAVEGE algorithm.
         Starting snapd.apparmor.service - Load AppArmor profiles managed internally by snapd...
[  OK  ] Started systemd-timesyncd.service - Network Time Synchronization.
[  OK  ] Reached target time-set.target - System Time Set.
[  OK  ] Finished snapd.apparmor.service - Load AppArmor profiles managed internally by snapd.
[  OK  ] Started systemd-resolved.service - Network Name Resolution.
[  OK  ] Reached target nss-lookup.target - Host and Network Name Lookups.
[  OK  ] Reached target sysinit.target - System Initialization.
[  OK  ] Started acpid.path - ACPI Events Check.
[  OK  ] Started cups.path - CUPS Scheduler.
[  OK  ] Started whoopsie.path - Start whoopsie on modification of the /var/crash directory.
[  OK  ] Started anacron.timer - Trigger anacron every hour.
[  OK  ] Started apt-daily.timer - Daily apt download activities.
[  OK  ] Started apt-daily-upgrade.timer - Daily apt upgrade and clean activities.
[  OK  ] Started dpkg-db-backup.timer - Daily dpkg database backup timer.
[  OK  ] Started e2scrub_all.timer - Periodic ext4 Online Metadata Check for All Filesystems.
[  OK  ] Started fstrim.timer - Discard unused blocks once a week.
[  OK  ] Started fwupd-refresh.timer - Refresh fwupd metadata regularly.
[  OK  ] Started logrotate.timer - Daily rotation of log files.
[  OK  ] Started man-db.timer - Daily man-db regeneration.
[  OK  ] Started motd-news.timer - Message of the Day.
[  OK  ] Started plocate-updatedb.timer - Update the plocate database daily.
[  OK  ] Started systemd-tmpfiles-clean.timer - Daily Cleanup of Temporary Directories.
[  OK  ] Started ua-timer.timer - Ubuntu Advantage Timer for running repeated jobs.
[  OK  ] Reached target paths.target - Path Units.
[  OK  ] Listening on acpid.socket - ACPID Listen Socket.
[  OK  ] Listening on avahi-daemon.socket - Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on cups.socket - CUPS Scheduler.
[  OK  ] Listening on dbus.socket - D-Bus System Message Bus Socket.
         Starting docker.socket - Docker Socket for the API...
         Starting snapd.socket - Socket activation for snappy daemon...
[  OK  ] Listening on spice-vdagentd.socket - Activation socket for spice guest agent daemon.
[  OK  ] Listening on ssh.socket - OpenBSD Secure Shell server socket.
[  OK  ] Listening on uuidd.socket - UUID daemon activation socket.
[  OK  ] Listening on docker.socket - Docker Socket for the API.
[  OK  ] Listening on snapd.socket - Socket activation for snappy daemon.
[  OK  ] Reached target sockets.target - Socket Units.
[  OK  ] Reached target basic.target - Basic System.
[  OK  ] Started acpid.service - ACPI event daemon.
[  OK  ] Started anacron.service - Run anacron jobs.
         Starting apport.service - automatic crash report generation...
         Starting avahi-daemon.service - Avahi mDNS/DNS-SD Stack...
         Starting dbus.service - D-Bus System Message Bus...
[  OK  ] Started dmesg.service - Save initial kernel messages after boot.
         Starting e2scrub_reap.service - Remove Stale Online ext4 Metadata Check Snapshots...
[  OK  ] Reached target getty.target - Login Prompts.
         Starting gpu-manager.service - Detect the available GPUs and deal with any system changes...
         Starting grub-common.service - Record successful boot for GRUB...
[  OK  ] Started irqbalance.service - irqbalance daemon.
         Starting lm-sensors.service - Initialize hardware monitoring sensors...
         Starting nvidia-persistenced.service - NVIDIA Persistence Daemon...
         Starting polkit.service - Authorization Manager...
         Starting power-profiles-daemon.service - Power Profiles daemon...
         Starting rsyslog.service - System Logging Service...
         Starting secureboot-db.service - Secure Boot updates for DB and DBX...
         Starting smartmontools.service - Self Monitoring and Reporting Technology (SMART) Daemon...
[  OK  ] Started snapd.aa-prompt-listener.service - Userspace listener for prompt events.
[  OK  ] Reached target getty-pre.target - Preparation for Logins.
         Starting snapd.service - Snap Daemon...
[  OK  ] Reached target nss-user-lookup.target - User and Group Name Lookups.
[DEPEND] Dependency failed for sssd-nss.socket - SSSD NSS Service responder socket.
[DEPEND] Dependency failed for sssd-autofs.socket - SSSD AutoFS Service responder socket.
[DEPEND] Dependency failed for sssd-pac.socket - SSSD PAC Service responder socket.
[DEPEND] Dependency failed for sssd-pam-priv.socket - SSSD PAM Service responder private socket.
[DEPEND] Dependency failed for sssd-pam.socket - SSSD PAM Service responder socket.
[DEPEND] Dependency failed for sssd-ssh.socket - SSSD SSH Service responder socket.
[DEPEND] Dependency failed for sssd-sudo.socket - SSSD Sudo Service responder socket.
         Starting accounts-daemon.service - Accounts Service...
[  OK  ] Started cron.service - Regular background program processing daemon.
         Starting systemd-logind.service - User Login Management...
         Starting udisks2.service - Disk Manager...
[  OK  ] Finished e2scrub_reap.service - Remove Stale Online ext4 Metadata Check Snapshots.
[  OK  ] Started dbus.service - D-Bus System Message Bus.
[  OK  ] Finished gpu-manager.service - Detect the available GPUs and deal with any system changes.
[  OK  ] Started nvidia-persistenced.service - NVIDIA Persistence Daemon.
[  OK  ] Started polkit.service - Authorization Manager.
         Starting ModemManager.service - Modem Manager...
         Starting NetworkManager.service - Network Manager...
         Starting gdm3.service - LSB: GNOME Display Manager...
         Starting wpa_supplicant.service - WPA supplicant...
[  OK  ] Started smartmontools.service - Self Monitoring and Reporting Technology (SMART) Daemon.
[  OK  ] Finished lm-sensors.service - Initialize hardware monitoring sensors.
[  OK  ] Started gdm3.service - LSB: GNOME Display Manager.
[  OK  ] Started avahi-daemon.service - Avahi mDNS/DNS-SD Stack.
[  OK  ] Finished grub-common.service - Record successful boot for GRUB.
[  OK  ] Started power-profiles-daemon.service - Power Profiles daemon.
         Starting grub-initrd-fallback.service - GRUB failed boot detection...
         Starting [email protected] - Load Kernel Module drm...
[  OK  ] Finished [email protected] - Load Kernel Module drm.
[  OK  ] Started wpa_supplicant.service - WPA supplicant.
[  OK  ] Finished secureboot-db.service - Secure Boot updates for DB and DBX.
[  OK  ] Finished grub-initrd-fallback.service - GRUB failed boot detection.
[  OK  ] Started NetworkManager.service - Network Manager.
[  OK  ] Reached target network.target - Network.
         Starting NetworkManager-wait-online.service - Network Manager Wait Online...
         Starting containerd.service - containerd container runtime...
         Starting cups.service - CUPS Scheduler...
         Starting nginx.service - A high performance web server and a reverse proxy server...
         Starting openvpn.service - OpenVPN service...
         Starting [email protected] - PostgreSQL Cluster 11-main...
         Starting [email protected] - PostgreSQL Cluster 12-main...
         Starting [email protected] - PostgreSQL Cluster 13-main...
         Starting [email protected] - PostgreSQL Cluster 14-main...
         Starting [email protected] - PostgreSQL Cluster 15-main...
[  OK  ] Started snap.cups.cups-browsed.service - Service for snap application cups.cups-browsed.
[  OK  ] Started snap.cups.cupsd.service - Service for snap application cups.cupsd.
         Starting systemd-user-sessions.service - Permit User Sessions...
[  OK  ] Started containerd.service - containerd container runtime.
[  OK  ] Finished openvpn.service - OpenVPN service.
ket activation for snappy daemon.
[  OK  ] Reached target sockets.target - Socket Units.
[  OK  ] Reached target basic.target - Basic System.
[  OK  ] Started acpid.service - ACPI event daemon.
[  OK  ] Started anacron.service - Run anacron jobs.
         Starting apport.serviceomatic crash report generation...
         Starting avahi-daemon.serv…e - Avahi mDNS/DNS-SD Stack...
         Starting dbus.service - D-Bus System Message Bus...
[  OK  ] Started dmesg.service …nitial kernel messages after boot.
         Starting e2scrub_reap.serv…e ext4 Metadata Check Snapshots...
[  OK  ] Reached target getty.target - Login Prompts.
         Starting gpu-manager.servi…nd deal with any system changes...
         Starting grub-common.servi…Record successful boot for GRUB...
[  OK  ] Started irqbalance.service - irqbalance daemon.
         Starting lm-sensors.servic…ize hardware monitoring sensors...
         Starting nvidia-persistenc…[0m - NVIDIA Persistence Daemon...
         Starting polkit.service - Authorization Manager...
         Starting power-profiles-da…ice - Power Profiles daemon...
         Starting rsyslog.service - System Logging Service...
         Starting secureboot-db.ser…ure Boot updates for DB and DBX...
         Starting smartmontools.ser…rting Technology (SMART) Daemon...
[  OK  ] Started snapd.aa-prompt-li…rspace listener for prompt events.
[  OK  ] Reached target getty-pre.target - Preparation for Logins.
         Starting snapd.service - Snap Daemon...
[  OK  ] Reached target nss-user-lo…[0m - User and Group Name Lookups.
[DEPEND] Dependency failed for sssd…SSSD NSS Service responder socket.
[DEPEND] Dependency failed for sssd…D AutoFS Service responder socket.
[DEPEND] Dependency failed for sssd…SSSD PAC Service responder socket.
[DEPEND] Dependency failed for sssd… Service responder private socket.
[DEPEND] Dependency failed for sssd…SSSD PAM Service responder socket.
[DEPEND] Dependency failed for sssd…SSSD SSH Service responder socket.
[DEPEND] Dependency failed for sssd…SSD Sudo Service responder socket.
         Starting accounts-daemon.service - Accounts Service...
[  OK  ] Started cron.service -…kground program processing daemon.
         Starting systemd-logind.se…ice - User Login Management...
         Starting udisks2.service - Disk Manager...
[  OK  ] Finished e2scrub_reap.serv…ine ext4 Metadata Check Snapshots.
[  OK  ] Started dbus.service - D-Bus System Message Bus.
[  OK  ] Finished gpu-manager.servi… and deal with any system changes.
[  OK  ] Started nvidia-persistence…e - NVIDIA Persistence Daemon.
         Starting NetworkManager.service - Network Manager...
         Starting gdm3.service - LSB: GNOME Display Manager...
         Starting wpa_supplicant.service - WPA supplicant...
[  OK  ] Started smartmontools.serv…porting Technology (SMART) Daemon.
[  OK  ] Started gdm3.service - LSB: GNOME Display Manager.
[  OK  ] Started polkit.service - Authorization Manager.
[  OK  ] Started avahi-daemon.service - Avahi mDNS/DNS-SD Stack.
[  OK  ] Finished lm-sensors.servic…alize hardware monitoring sensors.
[  OK  ] Started power-profiles-dae…rvice - Power Profiles daemon.
[  OK  ] Finished grub-common.servi…- Record successful boot for GRUB.
         Starting ModemManager.service - Modem Manager...
         Starting grub-initrd-fallb…0m - GRUB failed boot detection...
         Starting [email protected] - Load Kernel Module drm...
[  OK  ] Started wpa_supplicant.service - WPA supplicant.
[  OK  ] Finished secureboot-db.ser…ecure Boot updates for DB and DBX.
[  OK  ] Finished [email protected] - Load Kernel Module drm.
[  OK  ] Finished grub-initrd-fallb… - GRUB failed boot detection.
[  OK  ] Started NetworkManager.service - Network Manager.
[  OK  ] Reached target network.target - Network.
         Starting NetworkManager-wa…m - Network Manager Wait Online...
         Starting containerd.servic… - containerd container runtime...
         Starting cups.service - CUPS Scheduler...
         Starting nginx.service…rver and a reverse proxy server...
         Starting openvpn.service - OpenVPN service...
         Starting postgresql@11-mai…0m - PostgreSQL Cluster 11-main...
         Starting postgresql@12-mai…0m - PostgreSQL Cluster 12-main...
         Starting postgresql@13-mai…0m - PostgreSQL Cluster 13-main...
         Starting postgresql@14-mai…0m - PostgreSQL Cluster 14-main...
         Starting postgresql@15-mai…0m - PostgreSQL Cluster 15-main...
[  OK  ] Started snap.cups.cups-bro…nap application cups.cups-browsed.
[  OK  ] Started snap.cups.cupsd.se…e for snap application cups.cupsd.
         Starting systemd-user-sess…vice - Permit User Sessions...
[  OK  ] Started containerd.service…0m - containerd container runtime.
[  OK  ] Finished openvpn.service - OpenVPN service.
ket activation for snappy daemon.
[  OK  ] Reached target sockets.target - Socket Units.
[  OK  ] Reached target basic.target - Basic System.
[  OK  ] Started acpid.service - ACPI event daemon.
         Starting alsa-restore.serv…- Save/Restore Sound Card State...
[  OK  ] Started anacron.service - Run anacron jobs.
         Starting apport.serviceomatic crash report generation...
         Starting avahi-daemon.serv…e - Avahi mDNS/DNS-SD Stack...
         Starting bluetooth.service - Bluetooth service...
         Starting dbus.service - D-Bus System Message Bus...
[  OK  ] Started dmesg.service …nitial kernel messages after boot.
         Starting e2scrub_reap.serv…e ext4 Metadata Check Snapshots...
[  OK  ] Reached target getty.target - Login Prompts.
         Starting gpu-manager.servi…nd deal with any system changes...
         Starting grub-common.servi…Record successful boot for GRUB...
[  OK  ] Started irqbalance.service - irqbalance daemon.
         Starting lm-sensors.servic…ize hardware monitoring sensors...
         Starting polkit.service - Authorization Manager...
         Starting power-profiles-da…ice - Power Profiles daemon...
         Starting rsyslog.service - System Logging Service...
         Starting secureboot-db.ser…ure Boot updates for DB and DBX...
         Starting smartmontools.ser…rting Technology (SMART) Daemon...
[  OK  ] Reached target getty-pre.target - Preparation for Logins.
         Starting snapd.service - Snap Daemon...
[  OK  ] Reached target nss-user-lo…[0m - User and Group Name Lookups.
[DEPEND] Dependency failed for sssd…SSSD NSS Service responder socket.
[DEPEND] Dependency failed for sssd…D AutoFS Service responder socket.
[DEPEND] Dependency failed for sssd…SSSD PAC Service responder socket.
[DEPEND] Dependency failed for sssd… Service responder private socket.
[DEPEND] Dependency failed for sssd…SSSD PAM Service responder socket.
[DEPEND] Dependency failed for sssd…SSSD SSH Service responder socket.
[DEPEND] Dependency failed for sssd…SSD Sudo Service responder socket.
         Starting accounts-daemon.service - Accounts Service...
[  OK  ] Started cron.service -…kground program processing daemon.
         Starting systemd-logind.se…ice - User Login Management...
         Starting udisks2.service - Disk Manager...
[  OK  ] Started systemd-rfkill.ser…- Load/Save RF Kill Switch Status.
         Starting systemd-backlight…ess of leds:dell::kbd_backlight...
[  OK  ] Finished alsa-restore.serv…m - Save/Restore Sound Card State.
[  OK  ] Reached target sound.target - Sound Card.
[  OK  ] Finished grub-common.servi…- Record successful boot for GRUB.
         Starting grub-initrd-fallb…0m - GRUB failed boot detection...
[  OK  ] Finished e2scrub_reap.serv…ine ext4 Metadata Check Snapshots.
[  OK  ] Finished lm-sensors.servic…alize hardware monitoring sensors.
[  OK  ] Finished secureboot-db.ser…ecure Boot updates for DB and DBX.
[  OK  ] Started dbus.service - D-Bus System Message Bus.
[  OK  ] Started smartmontools.serv…porting Technology (SMART) Daemon.
         Starting NetworkManager.service - Network Manager...
         Starting gdm3.service - LSB: GNOME Display Manager...
         Starting wpa_supplicant.service - WPA supplicant...
[  OK  ] Finished grub-initrd-fallb… - GRUB failed boot detection.
[  OK  ] Started gdm3.service - LSB: GNOME Display Manager.
[  OK  ] Started avahi-daemon.service - Avahi mDNS/DNS-SD Stack.
[  OK  ] Started polkit.service - Authorization Manager.
         Starting ModemManager.service - Modem Manager...
[  OK  ] Started power-profiles-dae…rvice - Power Profiles daemon.
         Starting [email protected] - Load Kernel Module drm...
[  OK  ] Started wpa_supplicant.service - WPA supplicant.
[  OK  ] Finished [email protected] - Load Kernel Module drm.
[  OK  ] Started bluetooth.service - Bluetooth service.
[  OK  ] Reached target bluetooth.target - Bluetooth Support.
[  OK  ] Stopped target bluetooth.target - Bluetooth Support.
         Starting systemd-hostnamed.service - Hostname Service...
[  OK  ] Started NetworkManager.service - Network Manager.
[  OK  ] Reached target network.target - Network.
         Starting NetworkManager-wa…m - Network Manager Wait Online...
         Starting containerd.servic… - containerd container runtime...
         Starting cups.service - CUPS Scheduler...
         Starting nginx.service…rver and a reverse proxy server...
         Starting openvpn.service - OpenVPN service...
         Starting postgresql@11-mai…0m - PostgreSQL Cluster 11-main...
         Starting postgresql@12-mai…0m - PostgreSQL Cluster 12-main...
         Starting postgresql@13-mai…0m - PostgreSQL Cluster 13-main...
         Starting postgresql@14-mai…0m - PostgreSQL Cluster 14-main...
         Starting postgresql@15-mai…0m - PostgreSQL Cluster 15-main...
[  OK  ] Started snap.cups.cups-bro…nap application cups.cups-browsed.
[  OK  ] Started snap.cups.cupsd.se…e for snap application cups.cupsd.
         Starting systemd-user-sess…vice - Permit User Sessions...
[  OK  ] Finished systemd-backlight…tness of leds:dell::kbd_backlight.
[  OK  ] Started containerd.service…0m - containerd container runtime.
[  OK  ] Finished openvpn.service - OpenVPN service.
[  OK  ] Finished systemd-user-sess…ervice - Permit User Sessions.
[  OK  ] Started systemd-logind.service - User Login Management.
         Starting plymouth-quit.ser… Terminate Plymouth Boot Screen...
         Starting setvtrgb.service - Set console scheme...
[  OK  ] Started unattended-upgrade…0m - Unattended Upgrades Shutdown.
[  OK  ] Finished setvtrgb.service - Set console scheme.
[  OK  ] Created slice system-getty.slice - Slice /system/getty.

有什么想法我可以尝试使用 6.2 内核进行启动吗?

答案1

这是在配备 NVIDIA Quadro M1200 的联想 ThinkPad P51 上的 Ubuntu 23.04 上为我解决的问题:

sudo apt instal nvidia-driver-515

然后重启。这样内核 6.2 和专有图形驱动程序就可以正常工作了。

我最终按照以下评论进行了尝试:https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2012559

以前我有 510。如果我尝试安装 525,它也会崩溃,即使它在“附加驱动程序”中被标记为“已测试”,也会导致启动失败:

Finished apport-autoreport.service - Process error reports when automatic reporting is enabled.
nvidia-modeset: ERROR: GPU:0: Idling display engine timed out: 0x0000947d:0:0:407
(1 of 2) Job systemd-backlight@backlight: nvidia_e.service/start running (32s no limit)

这是一个雷区

答案2

我在一台同时配备英特尔高清和英伟达显卡的笔记本电脑上升级到 Ubuntu 23.04 时遇到了类似的问题。我发现删除英伟达驱动程序并安装开源 nouveau 驱动程序可以让系统正常启动。以下是我使用的命令:

sudo dpkg -P $(dpkg -l |grep nvidia-driver | awk '{print $2}')
sudo apt autoremove
sudo apt update 
sudo apt upgrade
sudo apt install xserver-xorg-video-nouveau
shutdown -r now

答案3

在较旧的笔记本电脑上使用 UBUNTU 从 22.10 到 23.04 时遇到同样的问题。升级前请始终使用此计算机验证升级

其他 PC。这台电脑在更新后从未出现过问题,并且已经使用了很多年。还配备了 NVIDIA 和 Intel 硬件。启动画面后,屏幕空白,错误闪烁。启动 gnome-desktop 后发生这种情况。尝试了这里发布的所有内容以及网络上的所有方法。没有任何效果。切换到使用 5.x 内核的 23.04 启动,问题相同。求助...

跑:

sudo apt install nouveau-firmware

因为它似乎丢失了但仍然没有修复它。startx。给出错误 - 未找到屏幕。(因为默认是 wayland?)

删除 NVIDA 驱动程序后终于回到我的桌面。猜想这可能会迫使它重新使用 nouveau 驱动程序。

sudo apt-get remove --purge '^nvidia-.*'
sudo apt-get remove ubuntu-desktop
sudo apt-get install ubuntu-desktop

现在它运行 6.2.0.20-通用版,带有 Gnome 桌面。

也许与 22.10 和 23.04 相比,视频驱动程序发生了重大变化,旧硬件现在受到影响。

不确定是否有更简单的命令行选项可以在驱动程序之间切换。

PS:X11 和 Wayland 似乎都运行良好。

相关内容