Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest Kernel from current-testing causing boot loop #4997

Closed
Simon-Davies opened this issue Apr 24, 2019 · 12 comments
Closed

Latest Kernel from current-testing causing boot loop #4997

Simon-Davies opened this issue Apr 24, 2019 · 12 comments
Labels
C: kernel P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@Simon-Davies
Copy link

Simon-Davies commented Apr 24, 2019

Qubes OS version
The version of Qubes OS you're using (e.g., R4.0), available via the command cat /etc/qubes-release in a dom0 terminal.

4.0.1

I just installed the latest Kernel from current-testing and selected it in Qubes Manager. After performing a reboot my system keeps rebooting after entering the LUKS password.

How do I select an older Kernel to get the system working again?

@marmarek
Copy link
Member

Which kernel package? "kernel" (at 4.19.x), or "kernel-latest" (at 5.0.x)?

As for switching to older kernel, in case of legacy BIOS boot, go to "advanced" submenu in boot loader. In case of UEFI, you need to boot some rescue system, mount EFI partition, edit EFI/qubes/xen.cfg file and change default option at the top.

@Simon-Davies
Copy link
Author

Simon-Davies commented Apr 24, 2019

I've changed it from 4.19.36-1 back to 4.19.34-1 and it's booting fine now.

Thanks for your help.

@marmarek
Copy link
Member

There are separate kernel packages for dom0 (what you see in xen.cfg and /boot) and VM (what you see in qubes manager). The one with VM has -qubes-vm suffix (kernel-qubes-vm, kernel-latest-qubes-vm).

@andrewdavidwong andrewdavidwong added C: kernel P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. labels Apr 25, 2019
@andrewdavidwong andrewdavidwong added this to the Release 4.0 updates milestone Apr 25, 2019
@Simon-Davies
Copy link
Author

Simon-Davies commented Apr 25, 2019

Kernel 5.0.7-1 doesn't even get to the LUKS decryption screen. It goes black.

I'm reverting back to 4.19.34-1 that works.

Thanks marmarek.

@euidzero
Copy link

euidzero commented Sep 1, 2019

Same issue on Lenovo X1 carbon 5th Gen I7-7500U with kernel 4.19.67 : after displaying the efi info (kernel an initramfs version):

  • if CSM is disabled in bios the system just wait
  • if CSM is enabled the system reboots.

@euidzero
Copy link

euidzero commented Sep 1, 2019

The latest functional kernel for me is 4.14.74-1.

@marmarek
Copy link
Member

marmarek commented Sep 1, 2019

@euidzero I have very similar hardware and don't see this problem. Right now I use 5.2.7 kernel, but 4.19.x also worked for me. Maybe you've run out of disk space in /boot/efi and initramfs generation failed? Check how much space you have and and regenerate initramfs with sudo dracut -f /boot/efi/EFI/qubes/initramfs-4.19.67-1.pvops.qubes.x86_64.img 4.19.67-1.pvops.qubes.x86_64

@euidzero
Copy link

euidzero commented Sep 1, 2019 via email

@marmarek
Copy link
Member

marmarek commented Sep 1, 2019

Depending on partition layout, but in most cases no.
Related: #3224

@euidzero
Copy link

euidzero commented Sep 2, 2019

First initramfs was not correctly generated but this occured completely silently. Not first time I see this on dom0 when out of space on /boot. So maybe a dracut bug ?
Second : even with initramfs looking good (size seems correct compared with previous version) same problem :

  • UEFI + CSM on : lock up right after displaying xen EFI configuration.
  • UEFI +CSM off : boot loop

My BOOTX64.cfg (working, substitute kenrel version for non working config) :

[global]
default=4.14.74-1.pvops.qubes.x86_64

[4.14.74-1.pvops.qubes.x86_64]
options=loglvl=all dom0_mem=min:1024M dom0_mem=max:4096M iommu=no-igfx ucode=scan smt=off
kernel=vmlinuz-4.14.74-1.pvops.qubes.x86_64 root=/dev/mapper/qubes_dom0-root rd.luks.uuid=luks-0a8078af-a2b8-436c-9c80-28178d733bec rd.lvm.lv=qubes_dom0/root rd.lvm.lv=qubes_dom0/swap i915.preliminary_hw_support=1 rhgb quiet psmouse.synaptics_intertouch=0 plymouth.ignore-serial-consoles
ramdisk=initramfs-4.14.74-1.pvops.qubes.x86_64.img

@euidzero
Copy link

euidzero commented Sep 3, 2019

kernel-latest (5.2.9-1) is booting correctly.

@marmarek
Copy link
Member

I assume it was out of disk space issue, more details in #5038)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: kernel P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

4 participants