Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: New kernel will not boot.

  1. #1
    Join Date
    Jul 2011
    Location
    Alpharetta, Georgia, USA
    Posts
    296

    Default New kernel will not boot.

    Hello everybody,

    I just upgraded my laptop running Leap 15.2 with a mundane "sudo zypper up", however, afterwards it will not boot the kernel that was upgraded and which is kernel-default version 5.3.18-lp152.69.1. Also, after I restarted the computer following the "sudo zypper up" upgrade, after posting BIOS, it immediately goes into a "Perform MOK management" screen and the computer simply will not boot. I do not have secure boot enabled and so I do not understand why the MOK management screen is being presented. In any event, I am able to continue to run the previous kernel-default version 5.3.18-lp152.66.1 by selecting it in the grub boot menu. So, my questions are:

    1. kernal-default version 5.3.18-lp152.69.1 will not boot and, instead, simply stalls in the initial boot screen, eventually times out and then restarts the boot process. Why won't it boot?
    2. Where did the MOK management screen come from and why is it being presented immediately after BIOS posts?

    Thanks in advance for your suggestions.

    Gordon
    Laptop #1: OpenSUSE Leap 15.2 (x86_64) | HP ZBook Fury 17 G7 (17")
    Laptop #2: OpenSUSE Leap 15.2 (x86_64) | System76 Darter (14")

  2. #2
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    5,694

    Default AW: New kernel will not boot.

    Do you use any kernel-kmp such as nvidia?

    Please post:
    Code:
    rpm -qa | grep -Ei 'kernel|virtualbox|nvidia'

  3. #3
    Join Date
    Jul 2011
    Location
    Alpharetta, Georgia, USA
    Posts
    296

    Default Re: New kernel will not boot.

    Hello Sauerland,

    Yes, I am running virtualbox-kmp-default. Here is the result of "rpm -qa | grep -Ei 'kernel|virtualbox|nvidia'":

    virtualbox-kmp-default-6.1.18_k5.3.18_lp152.69-lp152.2.16.1.x86_64
    kernel-devel-5.3.18-lp152.66.2.noarch
    kernel-default-devel-5.3.18-lp152.66.2.x86_64
    kernel-macros-5.3.18-lp152.69.1.noarch
    kernel-firmware-20200107-lp152.2.6.1.noarch
    kernel-default-5.3.18-lp152.63.1.x86_64
    virtualbox-qt-6.1.18-lp152.2.16.1.x86_64
    virtualbox-6.1.18-lp152.2.16.1.x86_64
    purge-kernels-service-0-lp152.4.1.noarch
    kernel-default-devel-5.3.18-lp152.63.1.x86_64
    kernel-default-5.3.18-lp152.66.2.x86_64
    kernel-devel-5.3.18-lp152.63.1.noarch
    virtualbox-kmp-default-6.1.18_k5.3.18_lp152.63-lp152.2.14.1.x86_64
    virtualbox-host-source-6.1.18-lp152.2.16.1.noarch

    Please keep in mind that, since the new kernel would not boot, that I am now running the previous kernel, 5.3.18-lp152.66.2.

    Please let me know your recommendations.

    Thanks,

    Gordon
    Laptop #1: OpenSUSE Leap 15.2 (x86_64) | HP ZBook Fury 17 G7 (17")
    Laptop #2: OpenSUSE Leap 15.2 (x86_64) | System76 Darter (14")

  4. #4
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    5,694

    Default AW: New kernel will not boot.

    There is no kernel-default.xxx.69. installed.

    Please post:
    Code:
    zypper up
    You can break it.

    Are you running amd-gpu or nvidia with the run File?

  5. #5
    Join Date
    Jul 2011
    Location
    Alpharetta, Georgia, USA
    Posts
    296

    Default Re: New kernel will not boot.

    I removed kernel-default.xxx.69 since it would not boot and then locked kernel-default. Do you want me to unlock it and reinstall kernel-default.xxx.69?

    Thanks,

    Gordon
    Laptop #1: OpenSUSE Leap 15.2 (x86_64) | HP ZBook Fury 17 G7 (17")
    Laptop #2: OpenSUSE Leap 15.2 (x86_64) | System76 Darter (14")

  6. #6
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    5,694

    Default AW: Re: New kernel will not boot.

    Quote Originally Posted by gldickens3 View Post
    I removed kernel-default.xxx.69 since it would not boot and then locked kernel-default. Do you want me to unlock it and reinstall kernel-default.xxx.69?

    Thanks,

    Gordon
    Yes I would do so.

    Here the kernel 5.3.18-lp152.69.1 is starting, but i use kernel 5.11 and have installed kernel 5.12 after the Update from kernel 5.3.18-lp152.69.1.

    What I would do:
    update the system, restart the system and use the new kernel, if that will not work restart with an older kernel and as root:
    Code:
    dracut -f
    and
    Code:
    grub2-mkconfig -o /boot/grub2/grub.cfg
    Restart and start once more with the new kernel to see, if it has to do with not building initrd or grub.
    If it does not work, reboot with the older kernel and post here.

    There is a bugreport about not starting:
    https://bugzilla.opensuse.org/show_bug.cgi?id=1184575
    Maybe it depends on the initrd?

  7. #7
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,084
    Blog Entries
    3

    Default Re: New kernel will not boot.

    Quote Originally Posted by gldickens3 View Post
    ]kernal-default version 5.3.18-lp152.69.1 will not boot and, instead, simply stalls in the initial boot screen, eventually times out and then restarts the boot process. Why won't it boot?
    Perhaps a kernel bug or an incompatibility with your BIOS or hardware.

    My advice would be to open a bug report on this.

    I have installed in one KVM virtual machine, and that is booting just fine with the new kernel.

    Where did the MOK management screen come from and why is it being presented immediately after BIOS posts?
    The BIOS loads "shim.efi" to handle the booting. And "shim.efi" checks for any pending MOK requests.

    This new kernel did install a new certificate "/etc/uefi/certs/BDD31A9E.crt".

    I am a bit surprised that I did not get a MOK screen on reboot. Perhaps that's another bug.
    openSUSE Leap 15.2; KDE Plasma 5.18.5;

  8. #8
    Join Date
    Jul 2011
    Location
    Alpharetta, Georgia, USA
    Posts
    296

    Default Re: New kernel will not boot.

    I did as you suggested and updated the system whereby re-installing the new kernel, however, again it would not boot. So, I booted to the older kernel and ran "dracut -f" followed by "grub2-mkconfig -o /boot/grub2/grub.cfg". Nevertheless, the new kernel still would not boot and hangs in an early window immediately after the grub screen with:

    Loading Linux 5.3.18-lp152.69-default ...
    Loading initial ramdisk ...
    So, I am back on the older kernel again....

    Please let me know what you recommend.

    Thanks,

    Gordon
    Laptop #1: OpenSUSE Leap 15.2 (x86_64) | HP ZBook Fury 17 G7 (17")
    Laptop #2: OpenSUSE Leap 15.2 (x86_64) | System76 Darter (14")

  9. #9
    Join Date
    Jul 2011
    Location
    Alpharetta, Georgia, USA
    Posts
    296

    Default Re: AW: Re: New kernel will not boot.

    Quote Originally Posted by Sauerland View Post
    There is a bugreport about not starting:
    https://bugzilla.opensuse.org/show_bug.cgi?id=1184575
    Maybe it depends on the initrd?
    This bug report describes exactly what I am seeing...
    Laptop #1: OpenSUSE Leap 15.2 (x86_64) | HP ZBook Fury 17 G7 (17")
    Laptop #2: OpenSUSE Leap 15.2 (x86_64) | System76 Darter (14")

  10. #10
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    5,694

    Default AW: New kernel will not boot.

    Can you show the complete log as root:
    Code:
    journalctl -b-1
    That should show the boot before.
    Showing in the 3rd line your booting kernel version:
    Apr 10 20:59:13 linux64 kernel: Linux version 5.3.18-lp152.69-default (geeko@buildhost) (gcc version 7.5.0 (SUSE Linux)) #1 SMP Tue Apr 6 11:41:13 UTC 2021 (d532e33)
    We need the complete log from kernel 5.3.18-lp152.69.1

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •