View previous topic :: View next topic |
Author |
Message |
TCRT n00b
Joined: 30 Mar 2024 Posts: 4
|
Posted: Sat Mar 30, 2024 2:14 pm Post subject: Failing to boot after install |
|
|
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 |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5166 Location: Bavaria
|
|
Back to top |
|
|
TCRT n00b
Joined: 30 Mar 2024 Posts: 4
|
Posted: Sat Mar 30, 2024 6:57 pm Post subject: Re: Failing to boot after install |
|
|
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?
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54594 Location: 56N 3W
|
Posted: Sat Mar 30, 2024 7:12 pm Post subject: |
|
|
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 |
|
|
TCRT n00b
Joined: 30 Mar 2024 Posts: 4
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5166 Location: Bavaria
|
Posted: Sun Mar 31, 2024 5:12 pm Post subject: |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54594 Location: 56N 3W
|
Posted: Sun Mar 31, 2024 5:48 pm Post subject: |
|
|
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 |
|
|
TCRT n00b
Joined: 30 Mar 2024 Posts: 4
|
Posted: Mon Apr 01, 2024 1:44 am Post subject: |
|
|
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 |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5166 Location: Bavaria
|
|
Back to top |
|
|
|