After update to the latest kernel 6.7.11-200.fc39.x86_64, I am unable to shut down my system.
When I select shut down, my screen moves to the black page where it displays the device manufacturer logo and Fedora logo. Then it just stays there indefinitely.
Reverting back to the previous kernel 6.7.10-200.fc39.x86_64 avoids this issue.
A quick search seems to reveal quite a number of similar cases as well, for example this post in the Fedora subreddit and this post here in fedoraforum.org.
If so the reboot after upgrading the kernel may have interrupted building the new driver modules.
With the assumption that this guess is correct the common fix is:
determine if the newer kernel may have drivers installed with dnf list installed kmod-nvidia-*
If step 1 shows the drivers for the 6.7.11 kernel then remove them with sudo dnf remove kmod-nvidia-6.7.11\*
rebuild and reinstall the modules for the 6.7.11 kernel with sudo akmods --force --kernels 6.7.11-200.fc39.x86_64
Once step 3 completes reboot.
Note that I show this for f39 and if you are running a different version of fedora the command in step 3 should reflect the proper fedora version as shown with uname -r though the kernel version should be the one just installed.
Same case on Dell Latitude 5480 - intel GPU, post kernel upgrade 6.7.11-200.fc39.x86_64
Reboot, shutdown doesn’t work properly, the USB port doesn’t detect the installed device
back to the previous kernel, everything works fine
uname -ar
Linux dell-5480 6.7.10-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Mar 18 18:56:52 UTC 2024 x86_64 GNU/Linux
Here’s the log when I type journalctl -b -1 -r --priority warning
Apr 03 21:41:36 fedora systemd[1]: systemd-cryptsetup@luks\x2q128gb763\x2d498r\x8n4d13\x0d6e1f\x2tfbk443e59057.servi>
Apr 03 21:41:36 fedora systemd-cryptsetup[16638]: Failed to deactivate 'luks-179fe703-025d-4y31-5e0z-fwc748e59057': >
Apr 03 21:41:36 fedora systemd-cryptsetup[16638]: Device luks-179fe703-025d-4y31-5e0z-fwc748e59057 is still in use.
Apr 03 21:41:36 fedora kernel: kauditd_printk_skb: 59 callbacks suppressed
Apr 03 21:41:35 fedora dbus-broker-launch[1425]: Activation request for 'org.freedesktop.nm_dispatcher' failed.
Apr 03 21:41:35 fedora dbus-broker-launch[1425]: Activation request for 'fi.w1.wpa_supplicant1' failed.
Apr 03 21:41:35 fedora dbus-broker-launch[1425]: Activation request for 'org.freedesktop.nm_dispatcher' failed.
Apr 03 21:41:34 fedora dbus-broker-launch[1425]: Activation request for 'org.bluez' failed.
Apr 03 21:41:34 fedora dbus-broker-launch[1425]: Activation request for 'org.freedesktop.nm_dispatcher' failed.
Apr 03 21:41:34 fedora dbus-broker-launch[1425]: Activation request for 'org.bluez' failed.
Apr 03 21:41:34 fedora dbus-broker-launch[1425]: Activation request for 'org.freedesktop.Avahi' failed.
Apr 03 21:41:34 fedora systemd[1981]: app-org.kde.kalendarac@autostart.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora systemd[1981]: app-solaar@autostart.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora systemd[1981]: plasma-plasmashell.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora systemd[1981]: app-org.kde.discover.notifier@autostart.service: Failed with result 'exit-code>
Apr 03 21:41:34 fedora systemd[1981]: plasma-xdg-desktop-portal-kde.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora systemd[1981]: plasma-kded.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora systemd[1981]: app-sealertauto@autostart.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora systemd[1981]: plasma-powerdevil.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora systemd[1981]: plasma-kactivitymanagerd.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora systemd[1981]: app-org.kde.kdeconnect.daemon@autostart.service: Failed with result 'exit-code>
Apr 03 21:41:34 fedora systemd[1981]: plasma-polkit-agent.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora akonadiserver[2964]: org.kde.pim.akonadiserver: Control process died, exiting!
Apr 03 21:41:34 fedora systemd[1981]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora akonadi_newmailnotifier_agent[3483]: The Wayland connection broke. Did the Wayland compositor>
Apr 03 21:41:34 fedora akonadi_contacts_resource[3413]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_birthdays_resource[3411]: The Wayland connection broke. Did the Wayland compositor di>
Apr 03 21:41:34 fedora akonadi_mailfilter_agent[3462]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora kalendarac[2762]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_ical_resource[3420]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_archivemail_agent[3406]: The Wayland connection broke. Did the Wayland compositor die?
lines 1-31...skipping...
Apr 03 21:41:36 fedora systemd[1]: systemd-cryptsetup@luks\x2q128gb763\x2d498r\x8n4d13\x0d6e1f\x2tfbk443e59057.service: Failed with result 'exit-code'.
Apr 03 21:41:36 fedora systemd-cryptsetup[16638]: Failed to deactivate 'luks-179fe703-025d-4y31-5e0z-fwc748e59057': Device or resource busy
Apr 03 21:41:36 fedora systemd-cryptsetup[16638]: Device luks-179fe703-025d-4y31-5e0z-fwc748e59057 is still in use.
Apr 03 21:41:36 fedora kernel: kauditd_printk_skb: 59 callbacks suppressed
Apr 03 21:41:35 fedora dbus-broker-launch[1425]: Activation request for 'org.freedesktop.nm_dispatcher' failed.
Apr 03 21:41:35 fedora dbus-broker-launch[1425]: Activation request for 'fi.w1.wpa_supplicant1' failed.
Apr 03 21:41:35 fedora dbus-broker-launch[1425]: Activation request for 'org.freedesktop.nm_dispatcher' failed.
Apr 03 21:41:34 fedora dbus-broker-launch[1425]: Activation request for 'org.bluez' failed.
Apr 03 21:41:34 fedora dbus-broker-launch[1425]: Activation request for 'org.freedesktop.nm_dispatcher' failed.
Apr 03 21:41:34 fedora dbus-broker-launch[1425]: Activation request for 'org.bluez' failed.
Apr 03 21:41:34 fedora dbus-broker-launch[1425]: Activation request for 'org.freedesktop.Avahi' failed.
Apr 03 21:41:34 fedora systemd[1981]: app-org.kde.kalendarac@autostart.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora systemd[1981]: app-solaar@autostart.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora systemd[1981]: plasma-plasmashell.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora systemd[1981]: app-org.kde.discover.notifier@autostart.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora systemd[1981]: plasma-xdg-desktop-portal-kde.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora systemd[1981]: plasma-kded.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora systemd[1981]: app-sealertauto@autostart.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora systemd[1981]: plasma-powerdevil.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora systemd[1981]: plasma-kactivitymanagerd.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora systemd[1981]: app-org.kde.kdeconnect.daemon@autostart.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora systemd[1981]: plasma-polkit-agent.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora akonadiserver[2964]: org.kde.pim.akonadiserver: Control process died, exiting!
Apr 03 21:41:34 fedora systemd[1981]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Apr 03 21:41:34 fedora akonadi_newmailnotifier_agent[3483]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_contacts_resource[3413]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_birthdays_resource[3411]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_mailfilter_agent[3462]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora kalendarac[2762]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_ical_resource[3420]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_archivemail_agent[3406]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_archivemail_agent[3406]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_maildir_resource[3445]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_maildispatcher_agent[3451]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_sendlater_agent[3494]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_maildispatcher_agent[3451]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora polkit-kde-authentication-agent-1[2379]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_indexing_agent[3425]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_indexing_agent[3425]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_unifiedmailbox_agent[3505]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_mailmerge_agent[3466]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_mailmerge_agent[3466]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_migration_agent[3473]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_control[2926]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_followupreminder_agent[3417]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_followupreminder_agent[3417]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora akonadi_akonotes_resource[3397]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora DiscoverNotifier[2761]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora DiscoverNotifier[2761]: The Wayland connection broke. Did the Wayland compositor die?
Apr 03 21:41:34 fedora kdeconnectd[2717]: The Wayland connection broke. Did the Wayland compositor die?
lines 1-50
Based on the error messages, it seems something related to the LUKS encrypted partition (in my case my entire hard drive is encrypted)?
Same problem Thinkpad P1 G6. Revert to previous kernel fixes problem. Tried the akmod forced rebuild (even though left the machine running overnight without suspending after upgrading). It didn’t work.
Noticed in a roundabout way – could not suspend the system and just happened upon this thread.
Same issue here with kernel-6.7.11-200.fc39.x86_64, reboot and shutdown freezes.
Additionally with every boot seemingly random USB ports do not work properly.
During shutdown I managed to toggle plymouth. The system hangs with the following displayed
with a segfault in pool-gsd-smartc looking the most suspicious (sorry for the poor “screenshot”):
Also seeing this on my custom pc on 6.7.11-200.fc39.x86_64.
Last lines in jounrnalctl -b -1 -r --priority warning show some luks errors
Apr 03 23:13:35 fedora systemd[1]: systemd-cryptsetup@luks\x2da5fdb198\x2d7730\x2d4da3\x2db1aa\x2d68ca9399ccf1.service: Failed with result 'exit-code'.
Apr 03 23:13:35 fedora systemd-cryptsetup[31698]: Failed to deactivate 'luks-a5fdb198-7730-4da3-b1aa-68ca9399ccf1': Device or resource busy
Apr 03 23:13:35 fedora systemd-cryptsetup[31698]: Device luks-a5fdb198-7730-4da3-b1aa-68ca9399ccf1 is still in use.
Here’s the output covering the time from when the shutdown started:
Apr 04 10:20:16 latitude kernel: kauditd_printk_skb: 48 callbacks suppressed
Apr 04 10:20:14 latitude dbus-broker-launch[904]: Activation request for 'org.freedesktop.nm_dispatcher' failed.
Apr 04 10:20:13 latitude dbus-broker-launch[904]: Activation request for 'org.bluez' failed.
Apr 04 10:20:13 latitude dbus-broker-launch[904]: Activation request for 'org.bluez' failed.
Apr 04 10:20:13 latitude systemd[1414]: app-org.kde.kalendarac@autostart.service: Failed with result 'exit-code'.
Apr 04 10:20:13 latitude sddm[1229]: Signal received: SIGTERM
Apr 04 10:20:13 latitude kernel: [UFW BLOCK] IN=enp0s31f6 OUT= MAC= SRC=192.168.1.28 DST=224.0.0.251 LEN=219 TOS=0x00 PREC=0x00 TTL=255 ID=53498 DF PROTO=UDP SPT=5353 DPT=5353 LEN=199
Apr 04 10:20:13 latitude kernel: [UFW BLOCK] IN=enp0s31f6 OUT= MAC= SRC=fe80:0000:0000:0000:d1f3:2474:4372:1122 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=188 TC=0 HOPLIMIT=255 FLOWLBL=497164 PROTO=UDP SPT=5353 DPT=5353 LEN=148
Apr 04 10:20:12 latitude sddm[1229]: Auth: sddm-helper exited with 1
Apr 04 10:20:12 latitude sddm[1229]: Authentication error: SDDM::Auth::ERROR_INTERNAL "Process crashed"
Apr 04 10:20:12 latitude sddm[1229]: Auth: sddm-helper (--socket /tmp/sddm-auth-18e807b6-a989-43d8-8e40-4e9300e832c0 --id 1 --start /usr/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland --user mike) crashed (exit code 1)
Apr 04 10:20:12 latitude sddm[1229]: Authentication error: SDDM::Auth::ERROR_INTERNAL "Process crashed"
Apr 04 10:20:12 latitude sddm-helper[1408]: Signal received: SIGTERM
Apr 04 10:20:12 latitude systemd[1414]: plasma-plasmashell.service: Failed with result 'exit-code'.
Apr 04 10:20:12 latitude systemd[1414]: app-org.kde.discover.notifier@autostart.service: Failed with result 'exit-code'.
Apr 04 10:20:12 latitude akonadiserver[2422]: org.kde.pim.akonadiserver: Control process died, exiting!
Apr 04 10:20:12 latitude systemd[1414]: plasma-polkit-agent.service: Failed with result 'exit-code'.
Apr 04 10:20:12 latitude systemd[1414]: app-org.kde.kgpg@autostart.service: Failed with result 'exit-code'.
Apr 04 10:20:12 latitude akonadi_followupreminder_agent[2579]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude akonadi_mailfilter_agent[2590]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude systemd[1414]: app-org.kde.kdeconnect.daemon@autostart.service: Failed with result 'exit-code'.
Apr 04 10:20:12 latitude systemd[1414]: plasma-powerdevil.service: Failed with result 'exit-code'.
Apr 04 10:20:12 latitude systemd[1414]: plasma-kded.service: Failed with result 'exit-code'.
Apr 04 10:20:12 latitude systemd[1414]: plasma-xdg-desktop-portal-kde.service: Failed with result 'exit-code'.
Apr 04 10:20:12 latitude akonadi_maildispatcher_agent[2588]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude akonadi_maildir_resource[2587]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude akonadi_ical_resource[2580]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude akonadi_mailmerge_agent[2592]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude akonadi_migration_agent[2593]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude akonadi_indexing_agent[2581]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude systemd[1414]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Apr 04 10:20:12 latitude systemd[1414]: plasma-kactivitymanagerd.service: Failed with result 'exit-code'.
Apr 04 10:20:12 latitude akonadi_contacts_resource[2578]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude akonadi_archivemail_agent[2576]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude konsole[2892]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude akonadi_akonotes_resource[2575]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude akonadi_sendlater_agent[2596]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude akonadi_unifiedmailbox_agent[2597]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude akonadi_birthdays_resource[2577]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude akonadi_newmailnotifier_agent[2595]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude akonadi_control[2402]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude kalendarac[2237]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude kgpg[2258]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude DiscoverNotifier[2236]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude kdeconnectd[2174]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude kdeconnectd[2174]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude polkit-kde-authentication-agent-1[1898]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude xdg-desktop-portal-kde[1900]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude org_kde_powerdevil[1899]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude org_kde_powerdevil[1899]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude kactivitymanagerd[1873]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude kactivitymanagerd[1873]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude plasmashell[1851]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude kded5[1819]: The Wayland connection broke. Did the Wayland compositor die?
Apr 04 10:20:12 latitude kwin_wayland[1711]: QtDBus: cannot relay signals from parent QObject(0x560a61866c90 "") unless they are emitted in the object's thread QThread(0x560a616de0f8 "libinput-connection"). Current thread is QThread(0x560a616992a0 "").
Apr 04 10:20:12 latitude systemd[1414]: app-kaccess@autostart.service: Failed with result 'exit-code'.
Apr 04 10:20:12 latitude kaccess[2226]: The X11 connection broke (error 1). Did the X11 server die?
Apr 04 10:20:12 latitude systemd[1414]: dbus-:1.2-org.kde.LogoutPrompt@0.service: Failed with result 'exit-code'.
Apr 04 10:20:09 latitude ksmserver-logout-greeter[2975]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Apr 04 10:20:09 latitude ksmserver-logout-greeter[2975]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
I haven’t included the entire log file because it’s 475 lines but could make it available if needed.
Using --priority warning may be hiding the real problem in a mass of warnings caused by the responsible bug.
This may be a side effect of the underlying problem, so more information is needed. The line was truncated at > so key information may be missing. There were shutdown issues with luks and systemd in the past, so it would help to know if all the other systems with the problem are using luks.
Use journalctl -b -1 -g luks | cat to see the full messages from luks.
This is almost certainly an issue with your distro. They appear to miss “x-initrd.attach” on the crypttab line for your root LUKS volume. This mean system during regular system shutdown will try to disassemble the volume, which will of course fail given it is your root fs on it.
man 5 crypttab says:
Although it’s not necessary to mark the mount entry for the root file system with x-initrd.mount,
x-initrd.attach is still recommended with the encrypted block device containing the root file system
as otherwise systemd will attempt to detach the device during the regular system shutdown while it’s
still in use. With this option the device will still be detached but later after the root file
system is unmounted.
x-initrd.attach is indeed missing from the output as you have described.
Based on the report from your link, I assume this is something that Fedora needs to address and fix in an upcoming kernel release? This means that for those of us affected with the same root cause it would be best to keep using older 6.7.10 for now.
As for those with USB issues and Bluetooth issues from 6.7.11, it seems like they are suffering from a different cause?
You could try manually adding x-initrd.attach to the list of options in/etc/crypttab (see man crypttab for the format) to confirm that this is required.