unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#54010: Linux-libre > 5.15.12 leads to unbootable system
@ 2022-02-15 14:56 Ludovic Courtès
  2022-02-15 16:39 ` Squirrel via Bug reports for GNU Guix
  2022-02-15 18:17 ` Leo Famulari
  0 siblings, 2 replies; 6+ messages in thread
From: Ludovic Courtès @ 2022-02-15 14:56 UTC (permalink / raw)
  To: 54010

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’.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#54010: Linux-libre > 5.15.12 leads to unbootable system
  2022-02-15 14:56 bug#54010: Linux-libre > 5.15.12 leads to unbootable system Ludovic Courtès
@ 2022-02-15 16:39 ` Squirrel via Bug reports for GNU Guix
  2022-02-15 21:15   ` Leo Famulari
  2022-02-15 18:17 ` Leo Famulari
  1 sibling, 1 reply; 6+ messages in thread
From: Squirrel via Bug reports for GNU Guix @ 2022-02-15 16:39 UTC (permalink / raw)
  To: 54010

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@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)






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#54010: Linux-libre > 5.15.12 leads to unbootable system
  2022-02-15 14:56 bug#54010: Linux-libre > 5.15.12 leads to unbootable system Ludovic Courtès
  2022-02-15 16:39 ` Squirrel via Bug reports for GNU Guix
@ 2022-02-15 18:17 ` Leo Famulari
  2022-02-17  9:12   ` bug#54010: bug#53712: Guix System hangs after boot with linux-libre 5.15.17 Ludovic Courtès
  1 sibling, 1 reply; 6+ messages in thread
From: Leo Famulari @ 2022-02-15 18:17 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 54010

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@kernel.org/




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#54010: Linux-libre > 5.15.12 leads to unbootable system
  2022-02-15 16:39 ` Squirrel via Bug reports for GNU Guix
@ 2022-02-15 21:15   ` Leo Famulari
  0 siblings, 0 replies; 6+ messages in thread
From: Leo Famulari @ 2022-02-15 21:15 UTC (permalink / raw)
  To: 54010

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.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#54010: Linux-libre > 5.15.12 leads to unbootable system
       [not found] <mailman.4448.1644965284.1255.bug-guix@gnu.org>
@ 2022-02-16  1:40 ` Squirrel via Bug reports for GNU Guix
  0 siblings, 0 replies; 6+ messages in thread
From: Squirrel via Bug reports for GNU Guix @ 2022-02-16  1:40 UTC (permalink / raw)
  To: 54010


On Tue, 15 Feb 2022 16:15:51 -0500, Leo Famulari <leo@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@kernel.org/





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#54010: bug#53712: Guix System hangs after boot with linux-libre 5.15.17
  2022-02-15 18:17 ` Leo Famulari
@ 2022-02-17  9:12   ` Ludovic Courtès
  0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2022-02-17  9:12 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 54010, 53712

Hi,

Leo Famulari <leo@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’.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-02-17  9:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-15 14:56 bug#54010: Linux-libre > 5.15.12 leads to unbootable system Ludovic Courtès
2022-02-15 16:39 ` Squirrel via Bug reports for GNU Guix
2022-02-15 21:15   ` Leo Famulari
2022-02-15 18:17 ` Leo Famulari
2022-02-17  9:12   ` bug#54010: bug#53712: Guix System hangs after boot with linux-libre 5.15.17 Ludovic Courtès
     [not found] <mailman.4448.1644965284.1255.bug-guix@gnu.org>
2022-02-16  1:40 ` bug#54010: Linux-libre > 5.15.12 leads to unbootable system Squirrel via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).