Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failing to boot after install
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
TCRT
n00b
n00b


Joined: 30 Mar 2024
Posts: 4

PostPosted: Sat Mar 30, 2024 2:14 pm    Post subject: Failing to boot after install Reply with quote

x86_64 system, installed with manual kernel config.

System gets to GRUB after powering on, then text flashes by and screen goes black, then two lights on the keyboard start flashing (caps lock and num lock I think), then system powers off.

I have installed an used gentoo several times in the past but install has changed a bit since then and I seem to have made some mistake. Where do I start troubleshooting?
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4169
Location: Bavaria

PostPosted: Sat Mar 30, 2024 4:01 pm    Post subject: Re: Failing to boot after install Reply with quote

TCRT,

Welcome to Gentoo Forums ! :D

TCRT wrote:
[...] Where do I start troubleshooting?

Maybe check first your manually configured kernel with:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.6#Part_3_-_Must_Haves

Do you know how to chroot into your system again ?
(If not: https://wiki.gentoo.org/wiki/User:Pietinger/New_at_Gentoo#Pause_during_Installation )

If you need further help we would need your .config, the output of "emerge --info" and "lspci -nnk"
( https://wiki.gentoo.org/wiki/User:Pietinger/Overview_of_System_Information )
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
TCRT
n00b
n00b


Joined: 30 Mar 2024
Posts: 4

PostPosted: Sat Mar 30, 2024 6:57 pm    Post subject: Re: Failing to boot after install Reply with quote

pietinger wrote:
TCRT,

Welcome to Gentoo Forums ! :D

TCRT wrote:
[...] Where do I start troubleshooting?

Maybe check first your manually configured kernel with:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.6#Part_3_-_Must_Haves


I followed this and my situation has improved. I how get enough of readout to see that booting fails due to kernel panic with one of the lines mentioning a problem with either UUID or PARTUUID, with makes me think I made a mistake with fstab. Is there is need to use UUID versus PARTUUID?

pietinger wrote:

If you need further help we would need your .config, the output of "emerge --info" and "lspci -nnk"
( https://wiki.gentoo.org/wiki/User:Pietinger/Overview_of_System_Information )


I will get these later today, along with my fstab.

Is there is sticky on using pastebin? I have used it in in the past but it has been a while.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54272
Location: 56N 3W

PostPosted: Sat Mar 30, 2024 7:12 pm    Post subject: Reply with quote

TCRT,

The kernel understands PARTUUID but not (filesyestem) UUID. That need the userspace mount command.

With no initrd, root=PARTUUID=... works but root=UUID=... breaks.
Its not /etc/fstab. That is on root and root is not yet mounted, so /etc/fstab cannot be read.

This explanation of the PC Boot Process may help.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
TCRT
n00b
n00b


Joined: 30 Mar 2024
Posts: 4

PostPosted: Sun Mar 31, 2024 12:15 am    Post subject: Reply with quote

Here is the .config:
http://0x0.st/XzA1.txt

emerge --info:
http://0x0.st/XzAj.bin

lspci -nnk:
https://0x0.st/XzA_.txt
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4169
Location: Bavaria

PostPosted: Sun Mar 31, 2024 5:12 pm    Post subject: Reply with quote

TCRT,

you have as controller:
Code:
00:1f.2 RAID bus controller [0104]: Intel Corporation 82801 Mobile SATA Controller [RAID mode] [8086:282a] (rev 03)
   Subsystem: Dell 82801 Mobile SATA Controller [RAID mode] [1028:0233]
   Kernel driver in use: ahci

but you are missing CONFIG_SATA_AHCI in your kernel .config. This is due you are also missing: CONFIG_SCSI
So, your kernel is not able to access the harddisk and gives you a kernel panic.


... maybe read more than only the chapter of the link I have given you ... also the starting article (and all linked articles from there):
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
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54272
Location: 56N 3W

PostPosted: Sun Mar 31, 2024 5:48 pm    Post subject: Reply with quote

TCRT,

Code:
00:1f.2 RAID bus controller [0104]: Intel Corporation 82801 Mobile SATA Controller [RAID mode] [8086:282a] (rev 03)
   Subsystem: Dell 82801 Mobile SATA Controller [RAID mode] [1028:0233]


That's fakeraid which should be avoided unless you need to dual boot Windows/Linux from the raid set.

Your HDD is a type of SCSI
Code:
# CONFIG_SCSI is not set
so that munu mut be on as will as SCSI Disk support inside it.
Both must be <*>


# CONFIG_ATA is not set is another menu item. It contains all the low level ATA drivers (there are lots).
You need AHCI, as pietinger says.

At the moment, your kernel cannot see your HDD.

== edit==

While we are poking about in your kernel.
Code:

00:1f.0 ISA bridge [0601]: Intel Corporation ICH9M-E LPC Interface Controller [8086:2917] (rev 03)
   Subsystem: Dell ICH9M-E LPC Interface Controller [1028:0233]
   Kernel driver in use: lpc_ich

Requires # CONFIG_LPC_ICH is not set.

Code:
3:01.0 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 IEEE 1394 Controller [1180:0832] (rev 04)
   Subsystem: Dell R5C832 IEEE 1394 Controller [1028:0233]
   Kernel driver in use: firewire_ohci

Requires something in the # CONFIG_FIREWIRE is not set menup

Code:
03:01.1 SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 21)
   Subsystem: Dell R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1028:0233]
   Kernel driver in use: sdhci-pci

Is buried in # CONFIG_MMC is not set

Code:
0c:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
   Subsystem: Dell Wireless 1397 WLAN Mini-Card [1028:000c]
   Kernel driver in use: b43-pci-bridge

requires something in
# CONFIG_B43 is not set
# CONFIG_B43LEGACY is not set
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
TCRT
n00b
n00b


Joined: 30 Mar 2024
Posts: 4

PostPosted: Mon Apr 01, 2024 1:44 am    Post subject: Reply with quote

This worked, I now have Gentoo installed and running. Thank you both very much.

pietinger, I saw a link you had posted to a youtube video explaining the kernel but haven't been able to find it again, do you have that link handy?

NeddySeagoon wrote:
TCRT,

Code:
00:1f.2 RAID bus controller [0104]: Intel Corporation 82801 Mobile SATA Controller [RAID mode] [8086:282a] (rev 03)
   Subsystem: Dell 82801 Mobile SATA Controller [RAID mode] [1028:0233]


That's fakeraid which should be avoided unless you need to dual boot Windows/Linux from the raid set.

Your HDD is a type of SCSI
Code:
# CONFIG_SCSI is not set
so that munu mut be on as will as SCSI Disk support inside it.
Both must be <*>


# CONFIG_ATA is not set is another menu item. It contains all the low level ATA drivers (there are lots).
You need AHCI, as pietinger says.

At the moment, your kernel cannot see your HDD.

== edit==

While we are poking about in your kernel.
Code:

00:1f.0 ISA bridge [0601]: Intel Corporation ICH9M-E LPC Interface Controller [8086:2917] (rev 03)
   Subsystem: Dell ICH9M-E LPC Interface Controller [1028:0233]
   Kernel driver in use: lpc_ich

Requires # CONFIG_LPC_ICH is not set.

Code:
3:01.0 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 IEEE 1394 Controller [1180:0832] (rev 04)
   Subsystem: Dell R5C832 IEEE 1394 Controller [1028:0233]
   Kernel driver in use: firewire_ohci

Requires something in the # CONFIG_FIREWIRE is not set menup

Code:
03:01.1 SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 21)
   Subsystem: Dell R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1028:0233]
   Kernel driver in use: sdhci-pci

Is buried in # CONFIG_MMC is not set

Code:
0c:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
   Subsystem: Dell Wireless 1397 WLAN Mini-Card [1028:000c]
   Kernel driver in use: b43-pci-bridge

requires something in
# CONFIG_B43 is not set
# CONFIG_B43LEGACY is not set
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4169
Location: Bavaria

PostPosted: Mon Apr 01, 2024 2:09 am    Post subject: Reply with quote

TCRT wrote:
This worked, I now have Gentoo installed and running. Thank you both very much.

Great to hear that ! :D You are very Welcome !

TCRT wrote:
pietinger, I saw a link you had posted to a youtube video explaining the kernel but haven't been able to find it again, do you have that link handy?

Hmmm ... In my articles I have recommended only three links ... but these are not about kernel configuration in general ... they talk about two very special things (security, security and preempt):
https://www.youtube.com/watch?v=-Binxid8t_8
https://www.youtube.com/watch?v=2TZe5EROFhE
https://www.youtube.com/watch?v=Fwvj0442ub0

In fact, I wouldn't recommend any of the youtube videos about "kernel configuration" ... I have watched many and all of them are wrong or misleading. The only one that is somewhat correct (but very superficial) is:
https://www.youtube.com/watch?v=QatE61Ynwrw

(Have you perhaps mistaken me for someone else?)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
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