Upgrade to Leap 15.6 fails to initialize RAM drive

Leap 15.5 was working perfectly. Thankfully backed up.

Did the textbook in place zypper dup process including prior 15.5 update.

No scary error messages.

Leap 15.6 boots fine past the green bar stating “Leap 15.6” and states it is starting to initialize a RAM drive. Then nothing. No error message. Just hangs.

A few hardware specs, ping me if I am missing something relevant.
Motherboard = Asus Prim X399-A
CPU = AMD Ryzen Threadripper 1950X
Graphics EVGA Geforce GTX 1060

Thank you!

@Marvo22 If you add nomodeset to the grub boot options and see if that helps. At grub, press the ‘e’ key, use the arrow keys to get down to the line starting linux, press the end key and add here, press F10 to boot.

What does it mean? Post a photo of this screen.

1 Like

@Marvo22:

The openSUSE initramfs documentation is here – <Introduction to the boot process>


But, it could be that, you have a Nvidia issue – which driver are you using for your GeForce graphics card?

Earlier this year, there was this Tumbleweed discussion related to a GTX 1060 – <Boot hangs on loading nvidia driver when using two monitors>

I booted 15.6 again.

I must do ‘e’ fairly quickly after the ‘loading initial RAM disk …’ message appears.

Otherwise the AMD computer will be hung and permanently unresponsive to the keyboard.

With a quick ‘e’ I was able to do the nomodeset after a single space at the end of the indicated line as recommended.

nomodeset has no effect on boot. With ‘F10’ the AMD computer just goes on to hang.

I tried booting the 15.6 drive on my emergency backup computer. This is is an old Dell Optiplex 7050 Tower, Skylake Intel Core i7-6700, Intel HD graphics 510, notably not an NVIDIA card.

The Dell booted beautifully (and quickly) with no problem whatsoever.

In a different parallel attempt at upgrading (doomed due to a damaged drive, my fault) I was using the DVD install to upgrade to 15.6. There was a message along the way stating my settings had been changed to use the NVIDIA drivers. Thanks NVIDIA. Perhaps the same is done on the dup in-place upgrade with no noticeable/noticed message?

Many moons ago about 15.0 or 15.1 I had a long battle with upgraded NVIDIA proprietary drivers that suddenly completely failed after the older versions worked.

I ended up choosing Nouveau over NVIDIA and that worked. Sadly I did not leave bread crumbs for my future self as to what I did. Bad old self, very bad.

So yes it could very well be an NVIDIA v. Nouveau issue.

The bad news is I can’t boot on the AMD to fix anything. The good news is I can boot on the Intel machine and reset stuff.

I read through the two monitor thread. There are many missing details and presumed implicit knowledge.

A picture of the hang point is attached. Apparently this is done after I post.

Thanks!

Edit kernel command line, add plymouth.enable=0, remove quiet. It may show more information.

Try Tumbleweed live image. Does it boot?

I tried to boot 15.6 with no ‘quiet’ and ++ plymouth.enable=0 in the linux command lline.
No result. Exactly the same hang. No new juicy error messages.

Several fails downloading Tumbleweed. But finally got it and am burning it to DVD right now. Might try USB too with ImageWriter. I presume there is a Live option.
Off to work and will try later.

I presume Tumbleweed will work because it does not use my settings. But we will see.

Thanks

Looks like initrd/initramfs is broken:

Boot your PC with an OpenSUSE Leap 15.6 boot media and check the initrd/initramfs. Alternative boot media: SLE-15-SP6-Online-x86_64-GM-Media1.iso . Follow (use a german to english translator like deepl.com):
Grub efi uefi Fehler bei der Installation - #4 by GrandDixence2

# ls -alh /boot/initrd
lrwxrwxrwx 1 root root 33 11. Okt 22:21 /boot/initrd -> initrd-6.4.0-150600.23.25-default

# ls -alh /boot/initrd-6.4.0-150600.23.25-default
-rw------- 1 root root 18M  6. Nov 17:40 /boot/initrd-6.4.0-150600.23.25-default
# lsinitrd |more

Image: /boot/initrd-6.4.0-150600.23.25-default: 18M
========================================================================
Early CPIO image
========================================================================
drwxr-xr-x   3 root     root            0 Nov  6 17:40 .
-rw-r--r--   1 root     root            2 Nov  6 17:40 early_cpio
drwxr-xr-x   3 root     root            0 Nov  6 17:40 kernel
drwxr-xr-x   3 root     root            0 Nov  6 17:40 kernel/x86
drwxr-xr-x   2 root     root            0 Nov  6 17:40 kernel/x86/microcode
-rw-r--r--   1 root     root       212992 Nov  6 17:40 kernel/x86/microcode/GenuineIntel.bin
========================================================================
Version: dracut-059+suse.541.g3c2df232-150600.3.11.2

Arguments:  --kver '6.4.0-150600.23.25-default' -f

dracut modules:
systemd
systemd-initrd
i18n
kernel-modules
kernel-modules-extra
resume
rootfs-block
suse-xfs
terminfo
udev-rules
biosdevname
dracut-systemd
usrmount
base
fs-lib
shutdown
suse
suse-initrd
========================================================================
drwxr-xr-x  16 root     root            0 Nov  6 17:40 .
crw-r--r--   1 root     root       5,   1 Nov  6 17:40 dev/console
...

Try to start your OpenSUSE Leap 15.6 installation with “grub normal shell”. Press key “c” in grub boot menu. Follow:

https://wiki.archlinux.org/title/GRUB#Using_the_command_shell

Use tab completion in “grub normal mode” for all grub commands with path or file names entries.

In case of a broken initrd/initramfs:

1.) Read # man dracut
2.) Boot your PC with an OpenSUSE Leap 15.6 boot media or a SLE-15-SP6 boot media.
3.) Chroot into your Leap 15.6 installation from rescue mode on this media. Follow:

4.) Rebuild all initrd/initramfs under /boot:

# dracut -f --regenerate-all

Good luck!

Did you read the OpenSUSE Leap 15.x release notes:
https://en.opensuse.org/openSUSE:Release_Notes

OpenSUSE Leap 15.6 release notes has some hints for machines with NVIDIA gpu in chapter 3.3, 4.2 and 5.2.

No I did not read the release notes. Now I did, but what the means to me as a normal person desktop user is not clear.

I just followed instructions to upgrade. I want reliable function. I am a Physics Ph.D. and have technical interests. But in the end I am a computer user not a computer professional or a computer hobbyist. I just want it to work so I can get on with life.

The prior instructions (requiring German translation) are a bit daunting. But I might piece my way through it.

I am wondering if replacing the Nvidia card with something else might be a better answer. This is my second round of Nvidia problems. I really dislike being in yet another computer crisis apparently over Nvidia v. Linux. Life is too short for that.

I am not invested in Nvidia, not a power graphics user/gamer and at this point not a power parallel processor. If Nouveau works to display videos and charts etc. I am a happy user. But I want smooth reliable operation not crises and disruptions.

Extended work will require my weekend.

Thanks so much for the inputs on this thread.

Related question, what are the uncontroversial reliable graphics cards that work well with openSUSE?

As noted my Dell backup computer boots 15.6 beautifully and reliably. It uses an Intel HD Graphics 510 graphics card.

My main workstation computer has motherboard Asus Prime X399-A with AMD Ryzen Threadripper 1950X.

Thanks

@Marvo22 Hi, so seems you had issues with Leap 15.4 upgrade on this hardware…
https://forums.opensuse.org/t/leap-15-4-upgrade-failure-login-hangs-up/151875

I do wonder if it’s kernel and cpu related rather than graphics.

Is this system booting from a SSD or M.2 NVMe device?

The last Nvidia problem was about 15.1 so not recent but all too painfully memorable.

The upgrade from 15.4 to 15.5 was also dup in place and had no problems. So why now.

Would DVD upgrade make any difference?

I boot from SSD. Unlike NVMe SSD is amenable to hardware cloning backups which are extremely convenient and useful. Hot clones reduce the terror factor considerably.

@Marvo22 an offline upgrade? Likely kernel since it moved to the 6.4 series.

Can you show what is in the grub command line kernel options, if you have any tweaks there, or just default?

Is fTPM enabled in the BIOS? https://www.theregister.com/2023/07/31/linus_torvalds_ftpm/?td=rt-3a

A couple of years ago I added some customized commands as the machine was having trouble sleeping.

from /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT=“splash=silent mitigations=auto quiet resume=/dev/sda3 apci_osi=Linux pci=nomsi,noaer”

@Marvo22 Can you remove these above at boot by editing grub and see if that makes a difference?

Tried booting 15.6 system drive with Tumbleweed image on USB then chose boot from hard drive. Same hang while initializing RAM disk.

Booted 15.6, ‘e’ to edit Linux command line, removed the ‘bad commands’:
resume=/dev/sda3 apci_osi=Linux pci=nomsi,noaer

That worked!!! Nice boot. 15.6 even found the splash page first time every time. (15.5 sometimes requires multiple boots to connect to the splash page.)

I am using 15.6 right now.

I went to /etc/default/grub and removed the ‘bad commands’:
resume=/dev/sda3 apci_osi=Linux pci=nomsi,noaer
from the Linux command line.

I saved the rewritten grub file (with a backup version with a different name).

Despite this the bad commands still persist and show up on every 15.6 boot so I have to manually remove the ‘bad’ commands or 15.6 hangs again.

Thanks!

@Marvo22 Use YaST Bootloader to modify the kernel options as it will rebuild grub for you. So do you suspend/hibernate, if so I assume swap is on sda3, so you will need to leave…

Duh yes I forgot to update the configuration in /etc/default/boot via:

$ grub2-mkconfig -o /boot/grub2/grub.cfg

or via YaST → Boot Loader

Did the configuration now booting is perfect. 15.6 boots more reliably than 15.5 (has not failed to load the splash page yet) so that is an additional joy.

Sleep works quickly and well on Leap 15.6. I apparently do not need the extra Linux command line statements that were added in 2022 for Leap 15.3

I could never get hibernate to work but I don’t really use it.

“need to leave…” = what?

Thanks so much.