**NOTE** January 2022 - Changes to Gstreamer and Pipewire packages from PackmanPlease read the following thread about the current changes
-
Kernel panic after online upgrade to openSUSE Leap 15.4
After upgrading to openSUSE Leap 15.4 with the command "zypper --releasever=15.4 dup" the computer hangs when booting with the error message "Kernel panic - not syncing: no working init found".
How can this be fixed?
-
Re: Kernel panic after online upgrade to openSUSE Leap 15.4
 Originally Posted by amadrits
the computer hangs when booting with the error message "Kernel panic - not syncing: no working init found".
Are you certain that, you followed all the steps listed in the SDB?
- Did you update the repositories?
- Did you refresh before performing the distribution update?
- Were you attempting to perform the distribution update from a Graphical User Interface?
Warning: It is strongly recommended that you run the upgrade outside the X-window graphical mode.
If you did the above dist upgrade before the official release date (e.g. 2022-06-08 for Leap 15.4), you may have installed a Release Candidate (RC) or a milestone version and will need to repeat the final zypper dup step now to receive the final release.
-
Re: Kernel panic after online upgrade to openSUSE Leap 15.4
 Originally Posted by amadrits
How can this be fixed?
Perhaps a clean install of Leap 15.4.
You have not told us much, so we cannot guess what went wrong.
openSUSE Leap 15.4; KDE Plasma 5.24.4;
testing Tumbleweed.
-
Re: Kernel panic after online upgrade to openSUSE Leap 15.4
First I created a snapshot.
Then I updated the repositories by typing "zypper --releasever=15.4 ref".
Before that I logged out from the GUI and changed to a virtual terminal by typing "Ctl-Alt-F1".
I am able to boot into rescue system and:
mount /dev/md126p6 /mnt
mount --rbind /dev /mnt/dev
mount --rbind /sys /mnt/sys
mount --rbind /proc /mnt/proc
chroot /mnt
But I can not rollback. The .snapshots directory is empty.
In /boot I can find the kernel and initrd as shown in grub. When trying to install grub in YaST I get the error: "failed to lookup root id: inappropriate ioctl for device". The command "mkinitrd" fails too with many errors.
-
Re: Kernel panic after online upgrade to openSUSE Leap 15.4
 Originally Posted by amadrits
The .snapshots directory is empty.
You need to mount all btrfs subvolumes. In chrootIf on EFI, you need to mount /boot/efi as well.
-
Re: Kernel panic after online upgrade to openSUSE Leap 15.4
 Originally Posted by amadrits
After upgrading to openSUSE Leap 15.4 with the command "zypper --releasever=15.4 dup" the computer hangs when booting with the error message "Kernel panic - not syncing: no working init found".
Wise users may anticipate that anything can go wrong. They may devise a procedure for reinstalling grub and test whether the procedure actually works:
Three years ago, repairing Grub was already an important issue. Since then, the computers have been switched to EFI and the system partition now uses btrfs instead of ext4. Reason enough to revise and test the procedure
Grub – EFI – Btrfs
i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), 5600X (2022) openSUSE Tumbleweed, KDE Plasma
-
Re: Kernel panic after online upgrade to openSUSE Leap 15.4
 Originally Posted by amadrits
First I created a snapshot.
Then I updated the repositories by typing "zypper --releasever=15.4 ref".
Yes, but, did you edit the Repository entries as detailed in the SDB before you refreshed the Repositories?
- And, were there any Network problems and/or issues during the execution of the Upgrade?
Which doesn't help with the recovery from the failed Upgrade –
- At a guess, there were some issues with the Network during the On-Line Upgrade.
- Therefore, the only way to recover is, to install from a bootable Leap 15.4 Installation image using the system information available on the System Disk.
- If, you suffered Network problems and/or issues during the failed Upgrade then, you're advised to re-install using the Offline Leap 15.4 image.
- Please, after downloading the image, check the Checksum of the Leap 15.4 Offline image before booting from that image.
-
Re: Kernel panic after online upgrade to openSUSE Leap 15.4
After typing "mount -a -t btrfs in chroot environment I could see the snapshots with "snapper --no-dbus list".
"mkinitrd" gives me the following output:
Code:
Creating initrd: /boot/initrd-5.14.21-150400.22-default
dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force /boot/initrd-5.14.21-150400.22-default 5.14.21-150400.22-default
dracut: dracut module 'systemd-coredump' will not be installed, because command 'coredumpctl' could not be found!
dracut: dracut module 'systemd-coredump' will not be installed, because command '/usr/lib/systemd/systemd-coredump' could not be found!
dracut: dracut module 'systemd-repart' will not be installed, because command 'systemd-repart' could not be found!
dracut: dracut module 'dbus-broker' will not be installed, because command 'dbus-broker' could not be found!
dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found!
dracut: dracut module 'tpm2-tss' will not be installed, because command 'tpm2' could not be found!
dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut: dracut module 'memstrack' will not be installed, because command 'memstrack' could not be found!
dracut: memstrack is not available
dracut: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
dracut: dracut module 'squash' will not be installed, because command 'mksquashfs' could not be found!
dracut: dracut module 'squash' will not be installed, because command 'unsquashfs' could not be found!
dracut: dracut module 'systemd-coredump' will not be installed, because command 'coredumpctl' could not be found!
dracut: dracut module 'systemd-coredump' will not be installed, because command '/usr/lib/systemd/systemd-coredump' could not be found!
dracut: dracut module 'systemd-repart' will not be installed, because command 'systemd-repart' could not be found!
dracut: dracut module 'dbus-broker' will not be installed, because command 'dbus-broker' could not be found!
dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found!
dracut: dracut module 'tpm2-tss' will not be installed, because command 'tpm2' could not be found!
dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut: dracut module 'memstrack' will not be installed, because command 'memstrack' could not be found!
dracut: memstrack is not available
dracut: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
dracut: dracut module 'squash' will not be installed, because command 'mksquashfs' could not be found!
dracut: dracut module 'squash' will not be installed, because command 'unsquashfs' could not be found!
dracut: *** Including module: systemd ***
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/lib/systemd/systemd'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/lib/systemd/systemd-cgroups-agent'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/lib/systemd/systemd-shutdown'
...
dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/mount'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/mount'
dracut-install: ERROR: installing 'mount'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/mknod'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/mknod'
dracut-install: ERROR: installing 'mknod'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/mkdir'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/mkdir'
dracut-install: ERROR: installing 'mkdir'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/sleep'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/sleep'
dracut-install: ERROR: installing 'sleep'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/chroot'
dracut-install: ERROR: installing 'chroot'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/chown'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/chown'
dracut-install: ERROR: installing 'chown'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/sed'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/sed'
dracut-install: ERROR: installing 'sed'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/ls'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/ls'
dracut-install: ERROR: installing 'ls'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/flock'
dracut-install: ERROR: installing 'flock'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/cp'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/cp'
dracut-install: ERROR: installing 'cp'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/mv'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/mv'
dracut-install: ERROR: installing 'mv'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/dmesg'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/dmesg'
dracut-install: ERROR: installing 'dmesg'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/rm'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/rm'
dracut-install: ERROR: installing 'rm'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/ln'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/ln'
dracut-install: ERROR: installing 'ln'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/kmod'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/sbin/../bin/kmod'
dracut-install: ERROR: installing 'rmmod'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/mkfifo'
dracut-install: ERROR: installing 'mkfifo'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/umount'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/umount'
dracut-install: ERROR: installing 'umount'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/readlink'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/readlink'
dracut-install: ERROR: installing 'readlink'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/setsid'
dracut-install: ERROR: installing 'setsid'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/kmod'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/sbin/../bin/kmod'
dracut-install: ERROR: installing 'modprobe'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/chmod'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/chmod'
dracut-install: ERROR: installing 'chmod'
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.gXqM43/initramfs -a -l mount mknod mkdir sleep chroot chown sed ls flock cp mv dmesg rm ln rmmod mkfifo umount readlink setsid modprobe chmod
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/findmnt'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/findmnt'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/less'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/kmod'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/lib/dracut/dracut-util'
dracut-install: ERROR: installing '/usr/lib/dracut/dracut-util' to '/usr/bin/dracut-util'
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.gXqM43/initramfs -l /usr/lib/dracut/dracut-util /usr/bin/dracut-util
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/bin/bash'
dracut-install: ERROR: installing 'bash'
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.gXqM43/initramfs -a -l bash
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/bin/sh'
dracut-install: ERROR: failed to install '/bin/sh'
dracut-install: ERROR: installing '/usr/lib/dracut/modules.d/99base/init.sh' to '/init'
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.gXqM43/initramfs -l /usr/lib/dracut/modules.d/99base/init.sh /init
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/bin/sh'
dracut-install: ERROR: failed to install '/bin/sh'
dracut-install: ERROR: installing '/usr/lib/dracut/modules.d/99base/initqueue.sh' to '/sbin/initqueue'
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.gXqM43/initramfs -l /usr/lib/dracut/modules.d/99base/initqueue.sh /sbin/initqueue
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/bin/sh'
dracut-install: ERROR: failed to install '/bin/sh'
dracut-install: ERROR: installing '/usr/lib/dracut/modules.d/99base/loginit.sh' to '/sbin/loginit'
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.gXqM43/initramfs -l /usr/lib/dracut/modules.d/99base/loginit.sh /sbin/loginit
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/bin/sh'
dracut-install: ERROR: failed to install '/bin/sh'
dracut-install: ERROR: installing '/usr/lib/dracut/modules.d/99base/rdsosreport.sh' to '/sbin/rdsosreport'
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.gXqM43/initramfs -l /usr/lib/dracut/modules.d/99base/rdsosreport.sh /sbin/rdsosreport
dracut: *** Including module: fs-lib ***
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/bin/sh'
dracut-install: ERROR: failed to install '/bin/sh'
dracut-install: ERROR: installing '/usr/lib/dracut/modules.d/99fs-lib/fs-lib.sh' to '/lib/fs-lib.sh'
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.gXqM43/initramfs -l /usr/lib/dracut/modules.d/99fs-lib/fs-lib.sh /lib/fs-lib.sh
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/sbin/btrfs'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/sbin/btrfs'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/bin/sh'
dracut-install: ERROR: failed to install '/bin/sh'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/bin/sh'
dracut-install: ERROR: failed to install '/bin/sh'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/umount'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/umount'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/mount'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/mount'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/sbin/fsck'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/sbin/fsck'
dracut: *** Including module: shutdown ***
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/umount'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/umount'
dracut-install: ERROR: installing 'umount'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/systemctl'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/sbin/../bin/systemctl'
dracut-install: ERROR: installing 'poweroff'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/systemctl'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/sbin/../bin/systemctl'
dracut-install: ERROR: installing 'reboot'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/systemctl'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/sbin/../bin/systemctl'
dracut-install: ERROR: installing 'halt'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/sbin/losetup'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/sbin/losetup'
dracut-install: ERROR: installing 'losetup'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/stat'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/stat'
dracut-install: ERROR: installing 'stat'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/sleep'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/sleep'
dracut-install: ERROR: installing 'sleep'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/bin/timeout'
dracut-install: ERROR: installing 'timeout'
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.gXqM43/initramfs -a -l umount poweroff reboot halt losetup stat sleep timeout
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/sbin/kexec'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/sbin/kexec'
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/bin/sh'
dracut-install: ERROR: failed to install '/bin/sh'
dracut-install: ERROR: installing '/usr/lib/dracut/modules.d/99shutdown/shutdown.sh' to '/shutdown'
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.gXqM43/initramfs -l /usr/lib/dracut/modules.d/99shutdown/shutdown.sh /shutdown
dracut: *** Including module: suse ***
dracut: *** Including module: suse-initrd ***
dracut: *** Including modules done ***
dracut: *** Installing kernel module dependencies ***
dracut: *** Installing kernel module dependencies done ***
dracut: *** Hardlinking files ***
dracut: Mode: real
dracut: Files: 705
dracut: Linked: 2 files
dracut: Compared: 0 xattrs
dracut: Compared: 84 files
dracut: Saved: 114,93 KiB
dracut: Duration: 0.007090 seconds
dracut: *** Hardlinking files done ***
dracut: *** Generating early-microcode cpio image ***
dracut: *** Constructing GenuineIntel.bin ***
dracut: *** Store current command line parameters ***
dracut: Stored kernel commandline:
dracut: rd.driver.pre=btrfs
dracut: rd.md.uuid=c2f544b8:a61e9d04:206a5ad1:990a977e
dracut: root=UUID=7f15eb88-c43e-4529-b681-625323e2e67b rootfstype=btrfs rootflags=rw,relatime,space_cache,subvolid=925,subvol=/@/.snapshots/134/snapshot,subvol=@/.snapshots/134/snapshot
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/lib/libgcc_s.so.1'
dracut-install: ERROR: installing '/lib/libgcc_s.so.1'
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.gXqM43/initramfs -a -l /lib/libgcc_s.so.1
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Creating image file '/boot/initrd-5.14.21-150400.22-default' ***
dracut: *** Creating initramfs image file '/boot/initrd-5.14.21-150400.22-default' done ***
I checked the install media and no errors were tetected. When trying to install from the install media I get the error: "device not found, name:/dev/md1p6". This is my root partition and is listed with fdisk in install system with Id 83.
-
Re: Kernel panic after online upgrade to openSUSE Leap 15.4
 Originally Posted by dcurtisfra
Yes, but, did you edit the Repository entries as detailed in the SDB before you refreshed the Repositories?
- And, were there any Network problems and/or issues during the execution of the Upgrade?
Which doesn't help with the recovery from the failed Upgrade –
- At a guess, there were some issues with the Network during the On-Line Upgrade.
- Therefore, the only way to recover is, to install from a bootable Leap 15.4 Installation image using the system information available on the System Disk.
- If, you suffered Network problems and/or issues during the failed Upgrade then, you're advised to re-install using the Offline Leap 15.4 image.
- Please, after downloading the image, check the Checksum of the Leap 15.4 Offline image before booting from that image.
What exactly I had to edit in the repository entries?
-
Re: Kernel panic after online upgrade to openSUSE Leap 15.4
 Originally Posted by amadrits
Code:
dracut-install: ERROR: failed to install '/usr/bin/ldd:' for '/usr/lib/systemd/systemd'
dracut runs "ldd /path/to/binary" and gets line that starts with "/usr/bin/ldd:" which is normally not present. It misinterprets this line for library name.
Run
Code:
/usr/bin/dracut --debug --force /boot/initrd-5.14.21-150400.22-default 5.14.21-150400.22-default
and provide full output. It will be long, so run it under script:
Code:
script
/usr/bin/dracut --debug --force /boot/initrd-5.14.21-150400.22-default 5.14.21-150400.22-default
exit
and upload file typescript in the current directory to https://susepaste.org/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|