Stuck at boot after upgrade to Fedora 41

Hello.

PC:
c2d q6600, gf9800(G92), 4gb ram, ssd

All did according Fedora docs.
Update and upgrade competed good.
Usual booting stuck when i choose first entry at Fedora grub.
If i try boot to recovery i see only black screen with cursor.

What i tried.

  1. remove previously installed proprietary 340 nvidia driver(remove blacklist file and grub string also,)
    dnf remove \*nvidia\* --exclude nvidia-gpu-firmware
root@devuan:/# dnf list installed \*nvidia\*
Updating and loading repositories:
Repositories loaded.
Installed packages
nvidia-gpu-firmware.noarch                          20241210-1.fc41                  updates

Available packages
akmod-nvidia.x86_64                                 3:570.86.16-3.fc41               rpmfusion-nonfree-updates
akmod-nvidia-390xx.x86_64                           3:390.157-16.fc41                rpmfusion-nonfree-updates
akmod-nvidia-470xx.x86_64                           3:470.256.02-7.fc41              rpmfusion-nonfree-updates
...

2.dnf reinstall kernel-core
3.dnf reinstall xorg-x11-drv-nouveau \*mesa\*

nothing helps

video:

logs:
Xorg.0.log
http://0x0.st/8S6s.0.log

boot.log
http://0x0.st/8S6i.log

messages
http://0x0.st/8S6o.txt

lightdm.conf
http://0x0.st/XXU2.conf

lightdm.log
http://0x0.st/8S6-.log

i am having the same issue right now too so you are not alone… i edit grub config for recovery to remove rhgb quiet and i can enter my luks phrase and it shows boot info after i enter passphrase but then it is just stuck at the black screen. i really urgently need a solution to this…

1 Like

In case this is the known graphics renderer issue, after reaching a text console (with Ctrl+Alt+F3 or Ctrl+Alt+F2), you could try setting an environment variable as detailed here.

i think i found the issue . i followed the instructions here for ledgers usb trouble shooting and after i removed the file “20-hw1.rules” it all started working again … no idea why this may be the case as i really don’t see any corellation here but hey ho. hopefully this may be useful to somebody else in the future

1 Like

i have no 20-hw1.rules at /etc/udev/rules.d/

Are there any rules there that may affect graphics?

ok, i am try,
but when boot log is blinking i cant start new tty because it always return to main boot log tty when blink,
but i have several dualboot linux, i will try your suggestion at Fedora from another linux

no, directory /etc/udev/rules.d/ is empty

Also look in /usr/lib/udev/rules.d.

same
try

echo export GSK_RENDERER=gl | sudo tee /etc/profile.d/gsk_renderer.sh > /dev/null

and

echo export GSK_RENDERER=ngl | sudo tee /etc/profile.d/gsk_renderer.sh > /dev/null
1 Like

http://0x0.st/8SUr.d

Do you see anything relevant in the logs?

Also, are you able to start an X.org graphical session (with startx)?

What is that? I will not open a site with such a name without knowing if it is legitimate.

its list of files at /usr/lib/udev/rules.d

http://0x0.st/
do not afraid its txt share site like pastebin :slightly_smiling_face:

0x0.st

no, i cant get graphical desktop, boot stuck

@computersavvy @tqcharm
its seems something with nouveau, because its not loaded from begging of boot only at new kernel,
rescue entry at grub from fedora 37 working now,
how i can check is nouveau included in last kernel fedora 41 here?

Nouveau is always available unless the user has removed the drivers.
It must be disabled with a kernel option in order to allow the nvidia drivers to load, and that can be seen on the kernel cmdline with cat /proc/cmdline or cat /etc/default/grub and look for the line beginning with GRUB_CMDLINE_LINUX

To see if either the nouveau driver or the nvidia driver is currently loaded use
lsmod | grep -iE 'nouveau|nvidia' The list will show the loaded driver (if either).

It looks like you previously had the nvidia 340xx driver loaded. That driver is not supported with the latest kernels so if your hardware is old enough to require that driver you can only use the nouveau driver now.

To allow the nouveau driver to load you can edit the kernel parameters from the grub menu before booting. Press e to edit the grub commands, and on the line that begins with linux check and see if it contains rd.driver.blacklist=nouveau modprobe.blacklist=nouveau

If those parameters appear then delete them from the line and continue booting. The nouveau driver should load now.
If this is the case and it boots successfully then you should remove those parameters from the system. Using sudo grubby --update-kernel=ALL --remove-args="rd.driver.blacklist=nouveau modprobe.blacklist=nouveau should properly manage all the configs and then a reboot should work without editing the grub menu entry.

Thanks. I am already did all this, but same boot stuck at kernels from fedora 39,40,41 but booting good to recovery fedora 38 kernel.

Where is can be issue here?

hm, weird.
look at /proc/cmdline it has old data

root@devuan:/# cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-6.1.0-31-amd64 root=UUID=db80be11-947e-4bc9-9eb0-278894b401a4 ro quiet mitigations=off rd.driver.blacklist=nouveau nouveau.modeset=0
root@devuan:/#

how edit it?

sudo grub2-mkconfig -o "$(readlink -e /etc/grub2.conf)"

not help, its update only grub but not cmdline

but (via chroot)

root@devuan:/proc# cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT="saved"
GRUB_DISABLE_SUBMENU="false"
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rhgb quiet mitigations=off"
GRUB_DISABLE_RECOVERY="false"
GRUB_ENABLE_BLSCFG="true"
root@devuan:/proc#

may be its bug?

but here seem all good?

kernel-install
root@devuan:/boot# kernel-install -v add 6.13.5-200.fc41.x86_64 /lib/modules/6.13.5-200.fc41.x86_64/vmlinuz 
Loaded config.
MACHINE_ID=aed835fc09d941eaa03c2df902b1d24f set via /etc/machine-id.
No filesystem is currently mounted on /sys/fs/cgroup.
Failed to detect cgroup namespace: No medium found
Found container virtualization none.
Directory "/boot" is not the root of the file system.
Couldn't find an XBOOTLDR partition.
Failed to check file system type of "/efi": No such file or directory
File system "/boot" is not a FAT EFI System Partition (ESP) file system.
File system "/boot/efi" is not a FAT EFI System Partition (ESP) file system.
Couldn't find EFI system partition, ignoring.
KERNEL_INSTALL_BOOT_ROOT autodetection yielded no candidates, using "/boot".
Using entry token: aed835fc09d941eaa03c2df902b1d24f
kernel version (6.13.5-200.fc41.x86_64) set via command line.
kernel image file (/lib/modules/6.13.5-200.fc41.x86_64/vmlinuz) set via command line.
Entry-token directory not found, using layout=other.
Using ENTRY_DIR=/boot/aed835fc09d941eaa03c2df902b1d24f/6.13.5-200.fc41.x86_64
Using plugins: 
  /usr/lib/kernel/install.d/10-devicetree.install
  /usr/lib/kernel/install.d/20-grub.install
  /usr/lib/kernel/install.d/40-dkms.install
  /usr/lib/kernel/install.d/50-depmod.install
  /usr/lib/kernel/install.d/50-dracut.install
  /usr/lib/kernel/install.d/51-dracut-rescue.install
  /usr/lib/kernel/install.d/60-kdump.install
  /usr/lib/kernel/install.d/90-loaderentry.install
  /usr/lib/kernel/install.d/90-uki-copy.install
  /usr/lib/kernel/install.d/92-crashkernel.install
  /usr/lib/kernel/install.d/92-tuned.install
  /usr/lib/kernel/install.d/95-kernel-hooks.install
  /usr/lib/kernel/install.d/99-grub-mkconfig.install
Plugin environment: 
  LC_COLLATE=C.UTF-8
  KERNEL_INSTALL_VERBOSE=1
  KERNEL_INSTALL_IMAGE_TYPE=pe
  KERNEL_INSTALL_MACHINE_ID=aed835fc09d941eaa03c2df902b1d24f
  KERNEL_INSTALL_ENTRY_TOKEN=aed835fc09d941eaa03c2df902b1d24f
  KERNEL_INSTALL_BOOT_ROOT=/boot
  KERNEL_INSTALL_LAYOUT=other
  KERNEL_INSTALL_INITRD_GENERATOR=
  KERNEL_INSTALL_UKI_GENERATOR=
  KERNEL_INSTALL_STAGING_AREA=/tmp/kernel-install.staging.iXTdkP
Plugin arguments: add 6.13.5-200.fc41.x86_64 /boot/aed835fc09d941eaa03c2df902b1d24f/6.13.5-200.fc41.x86_64 /lib/modules/6.13.5-200.fc41.x86_64/vmlinuz
Successfully forked off '(sd-exec-strv)' as PID 9113.
About to execute /usr/lib/kernel/install.d/10-devicetree.install add 6.13.5-200.fc41.x86_64 /boot/aed835fc09d941eaa03c2df902b1d24f/6.13.5-200.fc41.x86_64 /lib/modules/6.13.5-200.fc41.x86_64/vmlinuz
Successfully forked off '(direxec)' as PID 9114.
/usr/lib/kernel/install.d/10-devicetree.install succeeded.
About to execute /usr/lib/kernel/install.d/20-grub.install add 6.13.5-200.fc41.x86_64 /boot/aed835fc09d941eaa03c2df902b1d24f/6.13.5-200.fc41.x86_64 /lib/modules/6.13.5-200.fc41.x86_64/vmlinuz
Successfully forked off '(direxec)' as PID 9118.
/usr/lib/kernel/install.d/20-grub.install succeeded.
About to execute /usr/lib/kernel/install.d/40-dkms.install add 6.13.5-200.fc41.x86_64 /boot/aed835fc09d941eaa03c2df902b1d24f/6.13.5-200.fc41.x86_64 /lib/modules/6.13.5-200.fc41.x86_64/vmlinuz
Successfully forked off '(direxec)' as PID 9153.
/usr/lib/kernel/install.d/40-dkms.install succeeded.
About to execute /usr/lib/kernel/install.d/50-depmod.install add 6.13.5-200.fc41.x86_64 /boot/aed835fc09d941eaa03c2df902b1d24f/6.13.5-200.fc41.x86_64 /lib/modules/6.13.5-200.fc41.x86_64/vmlinuz
Successfully forked off '(direxec)' as PID 9198.
+depmod -a 6.13.5-200.fc41.x86_64
/usr/lib/kernel/install.d/50-depmod.install succeeded.
About to execute /usr/lib/kernel/install.d/50-dracut.install add 6.13.5-200.fc41.x86_64 /boot/aed835fc09d941eaa03c2df902b1d24f/6.13.5-200.fc41.x86_64 /lib/modules/6.13.5-200.fc41.x86_64/vmlinuz
Successfully forked off '(direxec)' as PID 9206.
dracut[I]: Executing: /usr/bin/dracut -f --verbose --kernel-image /lib/modules/6.13.5-200.fc41.x86_64/vmlinuz  --kver 6.13.5-200.fc41.x86_64 /boot/initramfs-6.13.5-200.fc41.x86_64.img
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: fips ***
dracut[I]: *** Including module: fips-crypto-policies ***
dracut[I]: *** Including module: systemd-ask-password ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: systemd-journald ***
dracut[I]: *** Including module: systemd-modules-load ***
dracut[I]: *** Including module: systemd-sysctl ***
dracut[I]: *** Including module: systemd-sysusers ***
dracut[I]: *** Including module: systemd-tmpfiles ***
dracut[I]: *** Including module: systemd-udevd ***
dracut[I]: *** Including module: nss-softokn ***
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: drm ***
dracut[I]: *** Including module: plymouth ***
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[I]: *** Including module: pcmcia ***
dracut[I]: *** Including module: resume ***
dracut[I]: *** Including module: rootfs-block ***
dracut[I]: *** Including module: terminfo ***
dracut[I]: *** Including module: udev-rules ***
dracut[I]: *** Including module: dracut-systemd ***
dracut[I]: *** Including module: usrmount ***
dracut[I]: *** Including module: base ***
dracut[I]: *** Including module: fs-lib ***
dracut[I]: *** Including module: memstrack ***
dracut[I]: *** Including module: shutdown ***
dracut[I]: *** Including modules done ***
dracut[I]: *** Installing kernel module dependencies ***
dracut[I]: *** Installing kernel module dependencies done ***
dracut[I]: *** Resolving executable dependencies ***
dracut[I]: *** Resolving executable dependencies done ***
dracut[I]: *** Hardlinking files ***
dracut[I]: *** Hardlinking files done ***
dracut[I]: *** Generating early-microcode cpio image ***
dracut[I]: *** Constructing GenuineIntel.bin ***
dracut[I]: *** Store current command line parameters ***
dracut[I]: *** Creating image file '/boot/initramfs-6.13.5-200.fc41.x86_64.img' ***
dracut[I]: Using auto-determined compression method 'pigz'
dracut[I]: *** Creating initramfs image file '/boot/initramfs-6.13.5-200.fc41.x86_64.img' done ***
/usr/lib/kernel/install.d/50-dracut.install succeeded.
About to execute /usr/lib/kernel/install.d/51-dracut-rescue.install add 6.13.5-200.fc41.x86_64 /boot/aed835fc09d941eaa03c2df902b1d24f/6.13.5-200.fc41.x86_64 /lib/modules/6.13.5-200.fc41.x86_64/vmlinuz
Successfully forked off '(direxec)' as PID 23675.
Skipping, there is already a rescue image generated with the same input parameters
/usr/lib/kernel/install.d/51-dracut-rescue.install succeeded.
About to execute /usr/lib/kernel/install.d/60-kdump.install add 6.13.5-200.fc41.x86_64 /boot/aed835fc09d941eaa03c2df902b1d24f/6.13.5-200.fc41.x86_64 /lib/modules/6.13.5-200.fc41.x86_64/vmlinuz
Successfully forked off '(direxec)' as PID 23676.
/usr/lib/kernel/install.d/60-kdump.install succeeded.
About to execute /usr/lib/kernel/install.d/90-loaderentry.install add 6.13.5-200.fc41.x86_64 /boot/aed835fc09d941eaa03c2df902b1d24f/6.13.5-200.fc41.x86_64 /lib/modules/6.13.5-200.fc41.x86_64/vmlinuz
Successfully forked off '(direxec)' as PID 23677.
/usr/lib/kernel/install.d/90-loaderentry.install succeeded.
About to execute /usr/lib/kernel/install.d/90-uki-copy.install add 6.13.5-200.fc41.x86_64 /boot/aed835fc09d941eaa03c2df902b1d24f/6.13.5-200.fc41.x86_64 /lib/modules/6.13.5-200.fc41.x86_64/vmlinuz
Successfully forked off '(direxec)' as PID 23678.
/usr/lib/kernel/install.d/90-uki-copy.install succeeded.
About to execute /usr/lib/kernel/install.d/92-crashkernel.install add 6.13.5-200.fc41.x86_64 /boot/aed835fc09d941eaa03c2df902b1d24f/6.13.5-200.fc41.x86_64 /lib/modules/6.13.5-200.fc41.x86_64/vmlinuz
Successfully forked off '(direxec)' as PID 23679.
/usr/lib/kernel/install.d/92-crashkernel.install succeeded.
About to execute /usr/lib/kernel/install.d/92-tuned.install add 6.13.5-200.fc41.x86_64 /boot/aed835fc09d941eaa03c2df902b1d24f/6.13.5-200.fc41.x86_64 /lib/modules/6.13.5-200.fc41.x86_64/vmlinuz
Successfully forked off '(direxec)' as PID 23688.
/usr/lib/kernel/install.d/92-tuned.install succeeded.
About to execute /usr/lib/kernel/install.d/95-kernel-hooks.install add 6.13.5-200.fc41.x86_64 /boot/aed835fc09d941eaa03c2df902b1d24f/6.13.5-200.fc41.x86_64 /lib/modules/6.13.5-200.fc41.x86_64/vmlinuz
Successfully forked off '(direxec)' as PID 23704.
/usr/lib/kernel/install.d/95-kernel-hooks.install succeeded.
About to execute /usr/lib/kernel/install.d/99-grub-mkconfig.install add 6.13.5-200.fc41.x86_64 /boot/aed835fc09d941eaa03c2df902b1d24f/6.13.5-200.fc41.x86_64 /lib/modules/6.13.5-200.fc41.x86_64/vmlinuz
Successfully forked off '(direxec)' as PID 23705.
/usr/lib/kernel/install.d/99-grub-mkconfig.install succeeded.
(sd-exec-strv) succeeded.
root@devuan:/boot# 

but why here old kernel?

root@devuan:/boot# dracut -v -f
dracut[F]: Cannot find module directory /lib/modules/6.1.0-31-amd64/
dracut[F]: and --no-kernel was not specified
root@devuan:/boot#