Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
System rebooting after grub calls ramdisk
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
NotQuiteSane
Guru
Guru


Joined: 30 Jan 2005
Posts: 490
Location: Klamath Falls, Jefferson, USA, North America, Midgarth

PostPosted: Tue Apr 01, 2025 2:27 am    Post subject: System rebooting after grub calls ramdisk Reply with quote

Hi peeps. I went away to Funtoo for a while and finally got around to migrating back to Gentoo. Backed up my data, mostly following the install guide. Running LVM on LUKS, and some of the default choices in the book I don't care for. Also I've been using zen-sources via git for at least a decade.

But when I try to boot, I get some error. Not important, as I fall back to the default gentoo-sources.

But that gives me a boot loop with no information as to why. This is what I see. No error message, just "Loading initial ramdisk ..." and a reboot.

I'm stuck.

Here is the decompressed initramfs and kernel config. ./etc/passwd and ./etc/shadow have been removed for security reasons.

Can anyone spot what is triggering the reboot loop? Having just looked, I am going to try removing "watchdog", but if that is the cause, I'd still expect to see some kind of message before reboot.

TIA,

NQS
_________________
These opinions are mine, mine I say! Piss off and get your own.

As I see it -- An irregular blog, Improved with new location

To delete French language packs from system use 'sudo rm -fr /'
Back to top
View user's profile Send private message
zen_desu
Apprentice
Apprentice


Joined: 25 Oct 2024
Posts: 207

PostPosted: Tue Apr 01, 2025 3:24 am    Post subject: Reply with quote

how was that initramfs generated? it looks like a dracut one but the dates in the init are quite old.

It's hard to know what went wrong if it just reboots, can you make the kernel wait longer if it panics?
_________________
µgRD dev
Wiki writer
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5538
Location: Bavaria

PostPosted: Tue Apr 01, 2025 12:35 pm    Post subject: Reply with quote

NotQuiteSane,

if you enable this:
Code:
# CONFIG_DRM is not set

you will get the option CONFIG_FB_EFI
Code:
Device Drivers  --->
    Graphics support  --->
        Frame buffer Devices  --->
            <*> Support for frame buffer devices  --->
                [*]   EFI-based Framebuffer Support

I would try to enable these.

Also I would change this: CONFIG_PANIC_TIMEOUT=-1 to zero to see if a kernel panic happens.

And because it is a server motherboard check also this thread:
https://forums.gentoo.org/viewtopic-t-1173483-highlight-.html


(BTW: Your kernel is only partially hardened. See more in:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Kernel_Hardening_with_KSPP
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
NotQuiteSane
Guru
Guru


Joined: 30 Jan 2005
Posts: 490
Location: Klamath Falls, Jefferson, USA, North America, Midgarth

PostPosted: Wed Apr 02, 2025 12:21 am    Post subject: Reply with quote

pietinger wrote:
NotQuiteSane,

if you enable this:
Code:
# CONFIG_DRM is not set

you will get the option CONFIG_FB_EFI
Code:
Device Drivers  --->
    Graphics support  --->
        Frame buffer Devices  --->
            <*> Support for frame buffer devices  --->
                [*]   EFI-based Framebuffer Support

I would try to enable these.


I've activated these, but I'm unsure if it will help, seeing as the system is pre-EFI. I think the next generation is EFI.

Quote:
Also I would change this: CONFIG_PANIC_TIMEOUT=-1 to zero to see if a kernel panic happens.


Done, and compiling it as I type this.

Quote:
And because it is a server motherboard check also this thread:
https://forums.gentoo.org/viewtopic-t-1173483-highlight-.html


Skimmed. I'll be in hospital for the next two days, so I'll try to read it more in depth if they don't drug me too much.

NQS
_________________
These opinions are mine, mine I say! Piss off and get your own.

As I see it -- An irregular blog, Improved with new location

To delete French language packs from system use 'sudo rm -fr /'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum