View previous topic :: View next topic |
Author |
Message |
tmccaffery n00b
Joined: 28 Mar 2013 Posts: 12
|
Posted: Thu Mar 28, 2013 6:53 pm Post subject: Im getting a kernel panic, im lost |
|
|
I'm totally new to linux. I have a asrock z77 extreme 4 system with samsung 128gb SSD
I figured out Asmedia controller not compatible with systemrescuecd that's what im using to install Gentoo
I finished the kernel and rebooted and I get this error:
VFS: Cannot open root device "Sda3" or unknown block(8,3)
My root is on SDA 3 and the file system is ext4 and I know I compiled support for this. No clue whats wrong |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10587 Location: Somewhere over Atlanta, Georgia
|
Posted: Thu Mar 28, 2013 7:13 pm Post subject: |
|
|
That generally means that hard drive controller driver isn't built into the kernel you built. We can help you identify the right driver. Reboot the install media and report the output ofplease.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54214 Location: 56N 3W
|
Posted: Thu Mar 28, 2013 7:14 pm Post subject: |
|
|
tmccaffery,
Welcome to the forums.
Tells that the kernel can see /dev/sda3 but not read it.
This can be because the file system support is missing from your kernel, or it needs to be built in <*>, not <M>
Lets start at the beginning.
Boot System Rescue CD and mount your filesystems, continue into the chroot.
If you do yet have pciutils and wgetpaste installed, emerge them both.
Post the output of lspci, so we can see your hardware.
Post the content of /boot/grub/grub.config
Run the command wgetpaste /usr/src/linux/.config and post the URL you get back.
This last command puts your kernel configuration file on a pastebin site as its too big to fit into a post and the URL tells where to find it. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
tmccaffery n00b
Joined: 28 Mar 2013 Posts: 12
|
Posted: Thu Mar 28, 2013 7:22 pm Post subject: |
|
|
lspci output Code: | 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.4 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 5 (rev c4)
00:1c.5 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 6 (rev c4)
00:1c.7 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 8 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Z77 Express Chipset LPC Controller (rev 04)
00:1f.2 RAID bus controller: Intel Corporation 82801 SATA Controller [RAID mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
02:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57781 Gigabit Ethernet PCIe (rev 10)
03:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 03)
05:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
|
grub.conf Code: | default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Gentoo Linux 3.7.10
root (hd0,0)
kernel /boot/kernel-3.7.10-gentoo root=/dev/sda3
#initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5
title Gentoo Linux 3.7.10 (rescue)
root (hd0,0)
kernel /boot/kernel-3.7.10-gentoo root=/dev/sda3 init=/bin/bb
|
wgetpaste http://bpaste.net/show/87355/ |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54214 Location: 56N 3W
|
Posted: Thu Mar 28, 2013 8:28 pm Post subject: |
|
|
tmccaffery,
This is a problem
Code: | # CONFIG_DEVTMPFS is not set | you don't have any entries in /dev
When you enable this option, another option, related to mounting devtmpfs at boot will become visible. Enable this option too.
Code: | # CONFIG_MSDOS_PARTITION is not set | is probably a problem too. You have Code: | CONFIG_EFI_PARTITION=y | so if you used parted to make a GPT disklabel you should be good. However, if you used fdisk, as the Gentoo handbook instructs, you have a MSDOS disk label but the kernel cannot read it.
CONFIG_MSDOS_PARTITION=y is required for USB memory sticks and many USB HDD, so its a good idea anyway.
The debug options, like CONFIG_EXT4_DEBUG=y, CONFIG_JBD2_DEBUG=y, CONFIG_DEBUG_FS=y and many others will cause you performance issues.
Unless you need the debug information, turn all options with DEBUG in their name off.
You can find the symbols in the kernel with the search. In menuconfig, press / and enter devtmpfs, for example.
Fix your kernel configuration, rebuild and reinstall your kernel. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1557 Location: Adelaide/Australia
|
Posted: Fri Mar 29, 2013 11:22 am Post subject: |
|
|
Man!
Where were you when I was installing Gentoo 9 years ago!
I learned something new, with regard to wgetpaste - nifty! _________________ ...Lyall |
|
Back to top |
|
|
tmccaffery n00b
Joined: 28 Mar 2013 Posts: 12
|
Posted: Sat Mar 30, 2013 12:32 pm Post subject: |
|
|
Thanks guys, it worked now. Now to understatnd the Use tag, is there somewhere I can read on this? |
|
Back to top |
|
|
|