Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] linux5.15: boot process _seems_ stuck at "loading initramfs ..."
@ 2021-11-11 19:46 leahneukirchen
  2021-11-11 19:47 ` leahneukirchen
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: leahneukirchen @ 2021-11-11 19:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]

New issue by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/issues/34035

Description:
With 5.15, my boot process _seems_ stuck at "loading initramfs ...", although if I input the encryption password, then it proceeds as usual.
By reading https://bbs.archlinux.org/viewtopic.php?pid=2001959 , I wonder whether this is caused by `SYSFB_SIMPLEFB`.

_Originally posted by @dkwo in https://github.com/void-linux/void-packages/issues/33857#issuecomment-966302757_

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

* Re: linux5.15: boot process _seems_ stuck at "loading initramfs ..."
  2021-11-11 19:46 [ISSUE] linux5.15: boot process _seems_ stuck at "loading initramfs ..." leahneukirchen
@ 2021-11-11 19:47 ` leahneukirchen
  2021-11-12 10:09 ` dkwo
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: leahneukirchen @ 2021-11-11 19:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 241 bytes --]

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/issues/34035#issuecomment-966577705

Comment:
Note that we have the modules mentioned in https://bugs.archlinux.org/task/72645 already...

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

* Re: linux5.15: boot process _seems_ stuck at "loading initramfs ..."
  2021-11-11 19:46 [ISSUE] linux5.15: boot process _seems_ stuck at "loading initramfs ..." leahneukirchen
  2021-11-11 19:47 ` leahneukirchen
@ 2021-11-12 10:09 ` dkwo
  2021-11-12 12:35 ` leahneukirchen
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: dkwo @ 2021-11-12 10:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 554 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/34035#issuecomment-966979648

Comment:
Indeed.
If it matters, I'm using `booster` initramfs generator (it's currently a pr in void), but from the forum post, it seems at least also mkinitcpio also has it, not sure about dracut.
I wonder if this new config option triggers some previously hidden kernel bug or race condition..
Would it be possible to disable it just for 5.15.2, to see if this is the culprit, without me recompiling void's kernel :) ?

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

* Re: linux5.15: boot process _seems_ stuck at "loading initramfs ..."
  2021-11-11 19:46 [ISSUE] linux5.15: boot process _seems_ stuck at "loading initramfs ..." leahneukirchen
  2021-11-11 19:47 ` leahneukirchen
  2021-11-12 10:09 ` dkwo
@ 2021-11-12 12:35 ` leahneukirchen
  2021-11-12 13:34 ` leahneukirchen
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: leahneukirchen @ 2021-11-12 12:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 252 bytes --]

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/issues/34035#issuecomment-967078033

Comment:
The thread suggests you need to add your fb drivers to the initrd. Please post which hardware you use.

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

* Re: linux5.15: boot process _seems_ stuck at "loading initramfs ..."
  2021-11-11 19:46 [ISSUE] linux5.15: boot process _seems_ stuck at "loading initramfs ..." leahneukirchen
                   ` (2 preceding siblings ...)
  2021-11-12 12:35 ` leahneukirchen
@ 2021-11-12 13:34 ` leahneukirchen
  2021-11-12 16:32 ` chili-b
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: leahneukirchen @ 2021-11-12 13:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 280 bytes --]

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/issues/34035#issuecomment-967122384

Comment:
@dkwo try https://vuxu.org/~leah/tmp/linux5.15-5.15.1_1.x86_64.xbps which is built with CONFIG_SYSFB_SIMPLEFB=n, else same config.

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

* Re: linux5.15: boot process _seems_ stuck at "loading initramfs ..."
  2021-11-11 19:46 [ISSUE] linux5.15: boot process _seems_ stuck at "loading initramfs ..." leahneukirchen
                   ` (3 preceding siblings ...)
  2021-11-12 13:34 ` leahneukirchen
@ 2021-11-12 16:32 ` chili-b
  2021-11-12 16:40 ` leahneukirchen
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: chili-b @ 2021-11-12 16:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 637 bytes --]

New comment by chili-b on void-packages repository

https://github.com/void-linux/void-packages/issues/34035#issuecomment-967249457

Comment:
I might be experiencing the same problem (booting 5.15.1 hangs at "loading initial ramdisk"). I'm running on an intel cpu with the proprietary microcode from the `intel-ucode` package and an nvidia gpu with the proprietary drivers from the `nvidia` package. I do *not* have this problem on my thinkpad x200, which boots with no issues under linux 5.15.1 although it did seem to take a little longer than normal before advancing past "loading initial ramdisk" (this could just be my imagination)

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

* Re: linux5.15: boot process _seems_ stuck at "loading initramfs ..."
  2021-11-11 19:46 [ISSUE] linux5.15: boot process _seems_ stuck at "loading initramfs ..." leahneukirchen
                   ` (4 preceding siblings ...)
  2021-11-12 16:32 ` chili-b
@ 2021-11-12 16:40 ` leahneukirchen
  2021-11-12 17:56 ` dkwo
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: leahneukirchen @ 2021-11-12 16:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 330 bytes --]

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/issues/34035#issuecomment-967255824

Comment:
Feel free to try the kernel package linked above to check if it's SIMPLEFB.

Alternatively, try adding `nvidia nvidia_modeset nvidia_uvm nvidia_drm` as modules to your initramfs.

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

* Re: linux5.15: boot process _seems_ stuck at "loading initramfs ..."
  2021-11-11 19:46 [ISSUE] linux5.15: boot process _seems_ stuck at "loading initramfs ..." leahneukirchen
                   ` (5 preceding siblings ...)
  2021-11-12 16:40 ` leahneukirchen
@ 2021-11-12 17:56 ` dkwo
  2021-11-12 18:04 ` leahneukirchen
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: dkwo @ 2021-11-12 17:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 419 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/34035#issuecomment-967307645

Comment:
@leahneukirchen Could you build the `musl` version? sorry I forgot to mention
```
$ xuname
Void 5.15.1_1 x86_64-musl GenuineIntel uptodate rrnFFFFFF
```
My hardware is a thinkpad T460s, with intel cpu and integrated graphics.
Do you know what I should add to the initramfs?

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

* Re: linux5.15: boot process _seems_ stuck at "loading initramfs ..."
  2021-11-11 19:46 [ISSUE] linux5.15: boot process _seems_ stuck at "loading initramfs ..." leahneukirchen
                   ` (6 preceding siblings ...)
  2021-11-12 17:56 ` dkwo
@ 2021-11-12 18:04 ` leahneukirchen
  2021-11-12 18:28 ` dkwo
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: leahneukirchen @ 2021-11-12 18:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/issues/34035#issuecomment-967312708

Comment:
I think you can install it on musl just as well, or just extract ./boot/vmlinuz-5.15.1_1

For intel you need `i915` afaiu.

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

* Re: linux5.15: boot process _seems_ stuck at "loading initramfs ..."
  2021-11-11 19:46 [ISSUE] linux5.15: boot process _seems_ stuck at "loading initramfs ..." leahneukirchen
                   ` (7 preceding siblings ...)
  2021-11-12 18:04 ` leahneukirchen
@ 2021-11-12 18:28 ` dkwo
  2021-11-12 18:41 ` dkwo
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: dkwo @ 2021-11-12 18:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 453 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/34035#issuecomment-967326946

Comment:
Thank you, adding the `i915` module to initram works.
```
$ xdowngrade linux5.15-5.15.1_1.x86_64.xbps
index: ignoring linux5.15-5.15.1_1, unmatched arch (x86_64)
index: 0 packages registered.
/bin/xdowngrade: failed to register all 1 packages.
```
So let me try extract it, just for the sake of science. :)

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

* Re: linux5.15: boot process _seems_ stuck at "loading initramfs ..."
  2021-11-11 19:46 [ISSUE] linux5.15: boot process _seems_ stuck at "loading initramfs ..." leahneukirchen
                   ` (8 preceding siblings ...)
  2021-11-12 18:28 ` dkwo
@ 2021-11-12 18:41 ` dkwo
  2021-11-12 18:44 ` leahneukirchen
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: dkwo @ 2021-11-12 18:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 463 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/34035#issuecomment-967334737

Comment:
If I just extract and move to boot the file `vmlinuz`, then the boot process goes past "loading initram...", but then it drops a shell later on, presumably due to being non-musl. Thus I think the config option SYSFB_SIMPLEFB is responsible for that, and adding a module to initram as you suggested fixes the issue.
Thanks.

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

* Re: linux5.15: boot process _seems_ stuck at "loading initramfs ..."
  2021-11-11 19:46 [ISSUE] linux5.15: boot process _seems_ stuck at "loading initramfs ..." leahneukirchen
                   ` (9 preceding siblings ...)
  2021-11-12 18:41 ` dkwo
@ 2021-11-12 18:44 ` leahneukirchen
  2021-11-12 18:48 ` zdykstra
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: leahneukirchen @ 2021-11-12 18:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 424 bytes --]

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/issues/34035#issuecomment-967336853

Comment:
The kernel certainly doesn't care which libc you use. ;)

But ok, we have a workaround now for intel, but not yet confirmed for Nvidia nor AMD.

I still think a plain old kernel should just display anything, so maybe reverting SYSFB_SIMPLEFB is the better way. Opinions?

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

* Re: linux5.15: boot process _seems_ stuck at "loading initramfs ..."
  2021-11-11 19:46 [ISSUE] linux5.15: boot process _seems_ stuck at "loading initramfs ..." leahneukirchen
                   ` (10 preceding siblings ...)
  2021-11-12 18:44 ` leahneukirchen
@ 2021-11-12 18:48 ` zdykstra
  2021-11-12 18:52 ` newbluemoon
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: zdykstra @ 2021-11-12 18:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 618 bytes --]

New comment by zdykstra on void-packages repository

https://github.com/void-linux/void-packages/issues/34035#issuecomment-967339044

Comment:
Requiring video modules to be in the initramfs will for sure break some people using ZFSBootMenu. In particular, some cards don't soft-reinit after a new kernel has been launched via kexec. We are forced to blacklist `amdgpu`, `i915`, `nvidia` and `radeon` in the 'stage 1' kernel/initramfs, so that the video card can be cleanly initialized by the final kernel.

I'd like to see the same behavior as all previous kernels retained, as that does seem to be a safer default.

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

* Re: linux5.15: boot process _seems_ stuck at "loading initramfs ..."
  2021-11-11 19:46 [ISSUE] linux5.15: boot process _seems_ stuck at "loading initramfs ..." leahneukirchen
                   ` (11 preceding siblings ...)
  2021-11-12 18:48 ` zdykstra
@ 2021-11-12 18:52 ` newbluemoon
  2021-11-12 18:58 ` newbluemoon
  2021-11-12 19:44 ` [ISSUE] [CLOSED] " leahneukirchen
  14 siblings, 0 replies; 16+ messages in thread
From: newbluemoon @ 2021-11-12 18:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 456 bytes --]

New comment by newbluemoon on void-packages repository

https://github.com/void-linux/void-packages/issues/34035#issuecomment-967341301

Comment:
My i686 box with nvidia390 and 5.15.2 is also stuck. Rebuilding the kernel with `CONFIG_SYSFB_SIMPLEFB=n` solved it and everything works as it should. No modules need to be added to the initramfs.

No problems with `CONFIG_SYSFB_SIMPLEFB=y` on i686-musl and nouveau as well as i686 and x86_64-musl with AMD.

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

* Re: linux5.15: boot process _seems_ stuck at "loading initramfs ..."
  2021-11-11 19:46 [ISSUE] linux5.15: boot process _seems_ stuck at "loading initramfs ..." leahneukirchen
                   ` (12 preceding siblings ...)
  2021-11-12 18:52 ` newbluemoon
@ 2021-11-12 18:58 ` newbluemoon
  2021-11-12 19:44 ` [ISSUE] [CLOSED] " leahneukirchen
  14 siblings, 0 replies; 16+ messages in thread
From: newbluemoon @ 2021-11-12 18:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 474 bytes --]

New comment by newbluemoon on void-packages repository

https://github.com/void-linux/void-packages/issues/34035#issuecomment-967341301

Comment:
My i686 box with nvidia390 and 5.15.2 is also stuck. Rebuilding the kernel with `CONFIG_SYSFB_SIMPLEFB=n` solved it and everything works as it should. No modules need to be added to the initramfs.

No problems with `CONFIG_SYSFB_SIMPLEFB=y` on i686-musl and nouveau as well as i686 (radeon) and x86_64-musl (amdgpu) with AMD.

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

* Re: [ISSUE] [CLOSED] linux5.15: boot process _seems_ stuck at "loading initramfs ..."
  2021-11-11 19:46 [ISSUE] linux5.15: boot process _seems_ stuck at "loading initramfs ..." leahneukirchen
                   ` (13 preceding siblings ...)
  2021-11-12 18:58 ` newbluemoon
@ 2021-11-12 19:44 ` leahneukirchen
  14 siblings, 0 replies; 16+ messages in thread
From: leahneukirchen @ 2021-11-12 19:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 506 bytes --]

Closed issue by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/issues/34035

Description:
With 5.15, my boot process _seems_ stuck at "loading initramfs ...", although if I input the encryption password, then it proceeds as usual.
By reading https://bbs.archlinux.org/viewtopic.php?pid=2001959 , I wonder whether this is caused by `SYSFB_SIMPLEFB`.

_Originally posted by @dkwo in https://github.com/void-linux/void-packages/issues/33857#issuecomment-966302757_

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

end of thread, other threads:[~2021-11-12 19:44 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-11 19:46 [ISSUE] linux5.15: boot process _seems_ stuck at "loading initramfs ..." leahneukirchen
2021-11-11 19:47 ` leahneukirchen
2021-11-12 10:09 ` dkwo
2021-11-12 12:35 ` leahneukirchen
2021-11-12 13:34 ` leahneukirchen
2021-11-12 16:32 ` chili-b
2021-11-12 16:40 ` leahneukirchen
2021-11-12 17:56 ` dkwo
2021-11-12 18:04 ` leahneukirchen
2021-11-12 18:28 ` dkwo
2021-11-12 18:41 ` dkwo
2021-11-12 18:44 ` leahneukirchen
2021-11-12 18:48 ` zdykstra
2021-11-12 18:52 ` newbluemoon
2021-11-12 18:58 ` newbluemoon
2021-11-12 19:44 ` [ISSUE] [CLOSED] " leahneukirchen

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 NNTP newsgroup(s).