Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Im getting a kernel panic, im lost
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
tmccaffery
n00b
n00b


Joined: 28 Mar 2013
Posts: 4

PostPosted: Thu Mar 28, 2013 6:53 pm    Post subject: Im getting a kernel panic, im lost Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7712
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Mar 28, 2013 7:13 pm    Post subject: Reply with quote

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 of
Code:
lspci
please.

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Thu Mar 28, 2013 7:14 pm    Post subject: Reply with quote

tmccaffery,

Welcome to the forums.

Code:
unknown block(8,3)
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
View user's profile Send private message
tmccaffery
n00b
n00b


Joined: 28 Mar 2013
Posts: 4

PostPosted: Thu Mar 28, 2013 7:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Thu Mar 28, 2013 8:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1263
Location: Adelaide/Australia

PostPosted: Fri Mar 29, 2013 11:22 am    Post subject: Reply with quote

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
View user's profile Send private message
tmccaffery
n00b
n00b


Joined: 28 Mar 2013
Posts: 4

PostPosted: Sat Mar 30, 2013 12:32 pm    Post subject: Reply with quote

Thanks guys, it worked now. Now to understatnd the Use tag, is there somewhere I can read on this?
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