GNU bug report logs - #54010
Linux-libre > 5.15.12 leads to unbootable system

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Tue, 15 Feb 2022 14:57:02 UTC

Severity: important

Merged with 53712

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 54010 in the body.
You can then email your comments to 54010 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#54010; Package guix. (Tue, 15 Feb 2022 14:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Courtès <ludo <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 15 Feb 2022 14:57:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: bug-guix <at> gnu.org
Cc: Leo Famulari <leo <at> famulari.name>
Subject: Linux-libre > 5.15.12 leads to unbootable system
Date: Tue, 15 Feb 2022 15:56:27 +0100
2022 has left me without a working Linux-libre kernel.

Breakage occurred sometime between:

  • 92faad0adb93b8349bfd7c67911d3d95f0505eb2
    (Jan. 3rd; Linux-libre 5.15.12)

  • 43dd34c7777a212c99a97da7a2c237158faa9a1b
    (Jan. 31st; Linux-libre 5.15.17)

The symptoms are that, on my x86_64 laptop, the kernel boots, I can
enter the passphrase for my root file system (‘cryptsetup’ is invoked
from the initrd), things get printed, the console font changes, and then
things get stuck here.  The last messages are from my sound card driver
(Intel HDA).  It hangs before syslogd is started, and I think before
shepherd is even started (I can’t be 100% sure because I cannot scroll
back at that point, but I did add print statements in ‘shepherd.conf’
and didn’t see them.)

The same config works in ‘guix system vm’.

I can work around the problem by reconfiguring from current ‘master’ and
doing this:

--8<---------------cut here---------------start------------->8---
(define inferior-for-kernel
  (inferior-for-channels
   (list (channel
          (name 'guix)
          (url "https://git.savannah.gnu.org/git/guix.git")
          (commit
           "92faad0adb93b8349bfd7c67911d3d95f0505eb2")))))

(operating-system
  ;; …
  (kernel
    (first (lookup-inferior-packages inferior-for-kernel "linux-libre"))))
--8<---------------cut here---------------end--------------->8---

This suggests a kernel issue.

Ideas and suggestions on how to debug this most welcome!

Ludo’.




Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 15 Feb 2022 14:59:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#54010; Package guix. (Tue, 15 Feb 2022 18:19:02 GMT) Full text and rfc822 format available.

Message #10 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: bug-guix <at> gnu.org
Subject: Re: Linux-libre > 5.15.12 leads to unbootable system
Date: Tue, 15 Feb 2022 13:17:59 -0500
On Tue, Feb 15, 2022 at 03:56:27PM +0100, Ludovic Courtès wrote:
> 2022 has left me without a working Linux-libre kernel.
> 
> Breakage occurred sometime between:
> 
>   • 92faad0adb93b8349bfd7c67911d3d95f0505eb2
>     (Jan. 3rd; Linux-libre 5.15.12)
> 
>   • 43dd34c7777a212c99a97da7a2c237158faa9a1b
>     (Jan. 31st; Linux-libre 5.15.17)

Isn't this #53712?

I recommend trying the workaround described there, which is to blacklist
the iwlwifi kernel module, if you are not using it but have iwlwifi
hardware:

https://issues.guix.gnu.org/53712#13

That worked for me and is consistent with the upstream discussion of
this bug:

https://lore.kernel.org/stable/164448100914.10463.9523338503936670263.kvalo <at> kernel.org/




Information forwarded to bug-guix <at> gnu.org:
bug#54010; Package guix. (Tue, 15 Feb 2022 20:10:02 GMT) Full text and rfc822 format available.

Message #13 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Squirrel <1953494819 <at> qq.com>
To: bug-guix <at> gnu.org
Subject: bug#54010: Linux-libre > 5.15.12 leads to unbootable system
Date: Wed, 16 Feb 2022 00:39:46 +0800
Have you tried blacklisting the the iwlwifi kernel module on boot by 
adding (kernel-arguments '("modprobe.blacklist=iwlwifi")) to 
operating-system declaration? The problem may be a bug from upstream 
linux. Please see 
https://lore.kernel.org/all/20220203161959.3edf1d6e <at> valencia/

For your reference, there is a similar thread (bug#53712: Guix System 
hangs after boot with linux-libre 5.15.17) in bug-guix at 
https://lists.gnu.org/archive/html/bug-guix/2022-02/msg00012.html

The patch for it has just been applied in the newest upstream kernel 
releases. (https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.23)






Information forwarded to bug-guix <at> gnu.org:
bug#54010; Package guix. (Tue, 15 Feb 2022 21:17:01 GMT) Full text and rfc822 format available.

Message #16 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Squirrel via Bug reports for GNU Guix <bug-guix <at> gnu.org>
Cc: 54010 <at> debbugs.gnu.org
Subject: Re: bug#54010: Linux-libre > 5.15.12 leads to unbootable system
Date: Tue, 15 Feb 2022 16:15:51 -0500
On Wed, Feb 16, 2022 at 12:39:46AM +0800, Squirrel via Bug reports for GNU Guix wrote:
> The patch for it has just been applied in the newest upstream kernel
> releases. (https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.23)

Are you sure the bug is fixed in 5.15.23?

I don't see anything relevant in the changelog and I still have to apply
the workaround in order to boot 5.15.23 on affected hardware.




Information forwarded to bug-guix <at> gnu.org:
bug#54010; Package guix. (Tue, 15 Feb 2022 21:17:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#54010; Package guix. (Wed, 16 Feb 2022 01:43:01 GMT) Full text and rfc822 format available.

Message #22 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Squirrel <1953494819 <at> qq.com>
To: bug-guix <at> gnu.org
Subject: bug#54010: Linux-libre > 5.15.12 leads to unbootable system
Date: Wed, 16 Feb 2022 09:40:11 +0800
On Tue, 15 Feb 2022 16:15:51 -0500, Leo Famulari <leo <at> famulari.name> wrote:
> Are you sure the bug is fixed in 5.15.23?
>
> I don't see anything relevant in the changelog and I still have to apply
> the workaround in order to boot 5.15.23 on affected hardware.

I'm not sure...I haven't tested. Sorry for that!

The iwlwifi patch is related to use-after-free, but not the one in 
5.15.23 changelog. It's this one: 
https://lore.kernel.org/stable/164448100914.10463.9523338503936670263.kvalo <at> kernel.org/





Merged 53712 54010. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 16 Feb 2022 21:18:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#54010; Package guix. (Thu, 17 Feb 2022 09:14:02 GMT) Full text and rfc822 format available.

Message #27 received at 54010 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Leo Famulari <leo <at> famulari.name>
Cc: 54010 <at> debbugs.gnu.org, 53712 <at> debbugs.gnu.org
Subject: Re: bug#53712: Guix System hangs after boot with linux-libre 5.15.17
Date: Thu, 17 Feb 2022 10:12:49 +0100
Hi,

Leo Famulari <leo <at> famulari.name> skribis:

> On Tue, Feb 15, 2022 at 03:56:27PM +0100, Ludovic Courtès wrote:
>> 2022 has left me without a working Linux-libre kernel.
>> 
>> Breakage occurred sometime between:
>> 
>>   • 92faad0adb93b8349bfd7c67911d3d95f0505eb2
>>     (Jan. 3rd; Linux-libre 5.15.12)
>> 
>>   • 43dd34c7777a212c99a97da7a2c237158faa9a1b
>>     (Jan. 31st; Linux-libre 5.15.17)
>
> Isn't this #53712?

It is!

> I recommend trying the workaround described there, which is to blacklist
> the iwlwifi kernel module, if you are not using it but have iwlwifi
> hardware:
>
> https://issues.guix.gnu.org/53712#13

I confirm that 5.15.23-gnu works for me with:

  (kernel-arguments
   '(; https://issues.guix.gnu.org/53712#12
     "modprobe.blacklist=usbmouse,usbkbd,iwlwifi"
     "quiet"))

Thank you!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 31 Mar 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 82 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.