Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Computer shuts down while booting.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
lekto
Apprentice
Apprentice


Joined: 20 Sep 2014
Posts: 209
Location: Ancient Rome

PostPosted: Sat Nov 16, 2024 5:03 pm    Post subject: [SOLVED] Computer shuts down while booting. Reply with quote

Hi, I'm trying to install Gentoo on ASRock X870 Steel Legend WiFi with Ryzen 9800X3D, and PC is shutting down moment after booting. I'm using rEFInd 0.14.2-r2 and gentoo-sources 6.10.14. I know kernel is EOL, but I couldn't use newer because of ZFS and didn't want to use older, so I'm calling it okayish until ZFS update or kernel CVS. Kernel parameters:
Code:
root=ZFS:blaszak_datapool/crypt/root initrd=\initramfs-6.10.14-gentoo.img

REFInd and kernel are on USB DOM, rEFInd is on the first parition, kernel is on the second parition with ext4. REFIND starts and it is detecting kernel correctly, so I think that part of the boot process is good. My rootfs is a ZFS mirror with two NVMEs.
Last think before shutdown on the screen is:
Code:
Starting kernel-6.10.14-gentoo
Using load options 'root=ZFS:blaszak_datapool/crypt/root initrd=\initramfs-6.10.14-gentoo.img'
EFI stub: Loaded initrd from command line option

Kernel config (except ext4 is now compiled in): https://pastebin.com/1YFmKUqK


Last edited by lekto on Sat Nov 16, 2024 6:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5110
Location: Bavaria

PostPosted: Sat Nov 16, 2024 6:17 pm    Post subject: Re: Computer shuts down while booting. Reply with quote

lekto wrote:
[...] and PC is shutting down moment after booting. [...]

I suspect a kernel panic ... which you don't see because the console is missing:
Code:
# CONFIG_DRM_FBDEV_EMULATION is not set
# CONFIG_FRAMEBUFFER_CONSOLE is not set


BTW: This is also important ... but maybe not part of the problem ... enable it nevertheless:
Code:
# CONFIG_IRQ_REMAP is not set


With ZFS itself I cannot help. :(
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
lekto
Apprentice
Apprentice


Joined: 20 Sep 2014
Posts: 209
Location: Ancient Rome

PostPosted: Sat Nov 16, 2024 6:50 pm    Post subject: Reply with quote

I tried gentoo-dist and the result was still shutdown, but with messages from kernel, so I tried to run the dist kernel with 'quiet' and dracut was complaining about not knowing what to do with this root=ZFS:. I checked, and ZFS was in the initramfs, so I compared the cmdline with my other machine, and it should be root=zfs:, not root=ZFS:. After that change, gentoo-sources still didn't work, but the PC didn't shut down. Then I added those three missing things to the kernel, and the system is booting.

But, I wonder, why didn't dracut drop me to the rescue shell?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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