View previous topic :: View next topic |
Author |
Message |
tfake n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Nov 2021 Posts: 4
|
Posted: Mon Dec 27, 2021 6:52 pm Post subject: Kernel Update 5.15.11 hangs at Loading Initial Ramdisk |
|
|
Hi Everyone,
Today I updated to Kernel 5.15.11 from 5.10.76 R1 and boot now gets stuck at "Loading Initial Ramdisk".
The .config for 5.10.76 can be found here: https://pastebin.com/83BgWLAM
The .config for 5.15.11 can be found here: https://pastebin.com/VH054Yjx
The init script can be found here: https://pastebin.com/nMYNNXt6
The grub.cfg file can be found here: https://pastebin.com/eAhMxiE6
When making the kernel .config I used "make olddefconfig" after copying over my .config file using zcat /proc/config.gz > /usr/src/linux/.config. I am using OpenRC and Grub2.
I have found a number of posts indicating that this might be due to a graphics driver problem. One suggested using nomodeset but that didn't resolve my problem. The most recent post that I found was using a virtual machine to test the Kernel and the suggested solution was enabling virtual machine modules so that didn't fit the bill since I am testing on bare metal.
I am grateful for any help that you can give me including methods of getting more logs that might be able to help troubleshoot.
Last edited by tfake on Mon Dec 27, 2021 7:26 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23093
|
Posted: Mon Dec 27, 2021 7:22 pm Post subject: |
|
|
Please don't hide content behind a URL shortener. This is not Twitter. We can use full length URLs here, and some members refuse to follow blind shorteners.
When you boot the new kernel, in what way is it stuck? If you tap the power button, does the system turn off immediately, or are you only able to power down by using a long press-and-hold (which causes the firmware to halt the system, even if the OS is completely broken)? If you let the system sit while it is apparently stuck, does it eventually become visible on the network? After you reboot into the old kernel, are there any log messages recorded from the time of the attempted boot of the new kernel, which would indicate that the new kernel was working, albeit without video output? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tfake n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Nov 2021 Posts: 4
|
Posted: Tue Dec 28, 2021 2:37 pm Post subject: |
|
|
It appears to hang at "Loading Initial Ramdisk" but upon further investigation of /var/log/messages, entering my LUKS key and hitting enter allows the boot process to continue but nothing changes on the screen; "Loading Initial Ramdisk" is still the last thing displayed on the screen.
Here are the relevant contents of /var/log/messages: https://pastebin.com/AkfuE90i |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jburns Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 18 Jan 2007 Posts: 1227 Location: Massachusetts USA
|
Posted: Tue Dec 28, 2021 9:23 pm Post subject: |
|
|
It may help to have grup setup a framebuffer.
In /etc/default/grub Code: | GRUB_GFXMODE=auto
GRUB_GFXPAYLOAD_LINUX=keep
GRUB_THEME="/boot/grub/themes/starfield/theme.txt"
|
The kernel config option CONFIG_FB_SIMPLE should be able to detect the frame buffer.
You could also add CONFIG_FB_EFI but it should not be needed. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
smartding Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1478888152601d0b3e416b1.jpg)
Joined: 22 Jan 2021 Posts: 129
|
Posted: Wed Dec 29, 2021 5:49 am Post subject: |
|
|
I had a similar issue after upgrading to 5.15.11 from 5.10.76: nothing after "Loading Initial Ramdisk".
After some digging, it's because the CONFIG_X86_SYSFB kernel config in 5.10.x is now renamed to CONFIG_SYSFB_SIMPLEFB in 5.15.x
This config means "Mark VGA/VBE/EFI FB as generic system framebuffer", which should be turned on to make simple framebuffer work with nvidia card according to https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tfake n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Nov 2021 Posts: 4
|
Posted: Wed Dec 29, 2021 2:43 pm Post subject: |
|
|
Thank you very much for all of your suggestions.
The problem was resolved through smartding's suggestion. For future reference, how would I go about finding issues like this (other than trying to wade through the kernel diffs)?
I like the starfield theme jburns. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
smartding Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1478888152601d0b3e416b1.jpg)
Joined: 22 Jan 2021 Posts: 129
|
Posted: Thu Dec 30, 2021 2:49 am Post subject: |
|
|
tfake wrote: | Thank you very much for all of your suggestions.
The problem was resolved through smartding's suggestion. For future reference, how would I go about finding issues like this (other than trying to wade through the kernel diffs)?
I like the starfield theme jburns. |
I usually run /usr/src/linux/scripts/diffconfig .config.old .config to compare the difference. Pay attention to the configs that I turned on in the old kernel but are no longer there in the new kernel. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jaglover Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/179708169458f2999e44e26.gif)
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|