Bug 18322 - Kernel > 4.4 hangs on boot
Summary: Kernel > 4.4 hangs on boot
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL: https://bugzilla.kernel.org/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-01 14:36 CEST by Nikita Krupenko
Modified: 2017-02-25 14:32 CET (History)
4 users (show)

See Also:
Source RPM: kernel-4.6.0-0.rc5.2.mga6.src.rpm
CVE:
Status comment:


Attachments
grug config (15.93 KB, text/plain)
2016-09-23 16:52 CEST, Nikita Krupenko
Details

Description Nikita Krupenko 2016-05-01 14:36:04 CEST
Description of problem:
When I select working kernel in grub2 menu and press enter, I see black rectangle at the center of the screen during several seconds and then system stats to boot an I see kernel messages or graphical boot progress.

When select kernel 4.6 and press enter, I see black rectangle at the center of the screen and nothing happens. Even SysRq keys not working, I can only turn my laptop off.

My system installed into encrypted LVM (no separate /boot) and root filesystem is btrfs (I mount it with subvol=@). EFI boot, using grub2-efi.

Version-Release number of selected component (if applicable):
4.6 version, kernel 4.4 works fine

How reproducible:
Always


Steps to Reproduce:
1. Try to boot with 4.6 kernel
Marja Van Waes 2016-05-02 23:14:05 CEST

CC: (none) => marja11
Assignee: bugsquad => tmb

Comment 1 Morgan Leijström 2016-05-24 15:59:32 CEST
I have not dared to set up a system with /boot encrypted... yet :)  
Did you achieve this using the mageia installer?
Do you have grub2 loading the encryption module?

FWIW Bug 18495 *may* me related: i have en encrypted LVM for everything except /boot, set up and worked OK in mga5, but after updating to cauldron it can not be unlocked in text mode boot, only graphical...

CC: (none) => fri

Comment 2 Nikita Krupenko 2016-05-24 20:40:15 CEST
(In reply to Morgan Leijström from comment #1)
> I have not dared to set up a system with /boot encrypted... yet :)  
> Did you achieve this using the mageia installer?

Yes, using Mageia installer. It worked fine until 4.6.

> Do you have grub2 loading the encryption module?

I think, it should be or how it worked before? I haven't seen any encryption-related errors, it just hangs with no output.

> FWIW Bug 18495 *may* me related: i have en encrypted LVM for everything
> except /boot, set up and worked OK in mga5

No, this is a duplicate of another bug report that I opened :) That's a different problem and a workaround exists.
I can't use separate /boot because I use btrfs + snapshots for root partition.
Comment 3 Nikita Krupenko 2016-07-03 15:08:09 CEST
It's still not fixed and should be a release blocker, as the only kernel that works is 4.4.
Comment 4 Marja Van Waes 2016-08-26 11:43:20 CEST
Mass-reassigning all bugs with "kernel" in the Source RPM field that are assigned to tmb, to the kernel packagers group, because tmb is currently MIA.

Assignee: tmb => kernel

Nikita Krupenko 2016-09-16 19:02:26 CEST

Summary: Kernel 4.6 hangs on boot => Kernel > 4.4 hangs on boot

Comment 5 Nikita Krupenko 2016-09-16 19:02:55 CEST
Fixed title, as it still hangs on all kernels > 4.4
Comment 6 Thomas Backlund 2016-09-16 19:06:19 CEST
Remove any: vga= splash silent quiet 
from kernel command line to try and capture any info why it hangs

CC: (none) => tmb

Comment 7 Nikita Krupenko 2016-09-23 16:42:55 CEST
Nothing changed. Seems, it doesn't even leave the grub (I see a black rectangle over the grub menu).
Comment 8 Nikita Krupenko 2016-09-23 16:52:36 CEST
Created attachment 8443 [details]
grug config

Attached grub config
Comment 9 Shlomi Fish 2016-09-23 17:31:46 CEST
(In reply to Nikita Krupenko from comment #8)
> Created attachment 8443 [details]
> grug config
> 
> Attached grub config

Some questions:

1. Does it still happen with the 4.7.4-2mga6 kernel?

2. Does it happen with a recent vanilla kernel from www.kernel.org (such as our kernel-linus)? If so, then you should report this problem to the upstream Linux kernel devs

CC: (none) => shlomif

Comment 10 Nikita Krupenko 2016-10-13 19:27:41 CEST
Still happens with the recent kernel and kernel-linus. Are you sure, that it's a kernel bug and not a bug in way, the kernel is installed? I reported similar problem recently, see bug 18112
Comment 11 Nikita Krupenko 2016-11-27 18:48:56 CET
I tried several other distros. OpenSUSe with kernel 4.4 seems to work, but Fedora and Kubuntu with kernel 4.8 doesn't. Seems it really could be an upstream bug.
So what to do now?
Comment 12 Nikita Krupenko 2016-11-27 20:43:31 CET
Opened bug in the kernel's bug tracker.

URL: (none) => https://bugzilla.kernel.org/show_bug.cgi?id=189241

Comment 13 Thomas Backlund 2016-11-27 21:21:58 CET
Some things to test to try and figure out where it fails...


try without encryption
try encryption with separate unencrypted boot
try without btrfs (use ext4 instead)
Comment 14 Nikita Krupenko 2016-11-27 21:37:40 CET
As I wrote in the previous comment, other distros with the recent kernel doesn't even start from usb, so I don't think, that encrypted partitions on a hard disk can somehow affect this.
Comment 15 Nikita Krupenko 2017-02-25 14:32:22 CET
With kernel 4.9.9 and later I can't reproduce this bug.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.