Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel Panic on boot [solved]
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
chronophobic
Apprentice
Apprentice


Joined: 07 Mar 2005
Posts: 237
Location: Sofia, Bulgaria

PostPosted: Fri Aug 18, 2006 1:09 am    Post subject: Kernel Panic on boot [solved] Reply with quote

Hi,
After a lengthy install here's my functional (in chroot) gentoo system which doesn't want to boot (I can't copy-paste from it so I'm re-typing the important stuff):

Code:
fdisk -l

That recognizes my windows partition as sda1, my shared vfat as sda2, my Linux ext3 as sda3.

The /etc/fstab I am using shows the following about the hard drive:
Code:
/dev/hda3    /    ext3    moatime 0 0


grub.conf has a setup for 2 kernels that I ended up compiling: 2.6.17-r4 and -r5:
Code:
timeout 5
default 0
fallback 1
splash=(hd0,2)/boot/grub/splash.xpm.gz

title Gentoo
root (hd0,2)
kernel /boot/vmlinuz root=/dev/hda3

... and so on (the setup of the other kernel is similar.
I checked that vmlinuz and vmlinuz.old point at the correct targets and they do (which is obvious since the correct kernels boot).

So the error message when I ommit root= goes along the lines of:
Code:
VPS: Cannot open root device "<NULL>" or unknown block (8,3)
Please append a correct "/root" boot option
Kernel panic:...(says it panics here)... Unable to mount root fs on unknown block (8,3)


When I do have the root=/dev/hda3 it says something similar but about block (0,0)

I did the grub commands root (hd0,0) and setup (hda0)

...so the kernel does boot (and I guess it means the hard drive is set up properly and the modules in the kernel are OK) and I have no idea where the problem is.

Thanks in advance
_________________
Confutatis maledictis, flammis acribus addictis!


Last edited by chronophobic on Fri Aug 18, 2006 2:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
troymc
Guru
Guru


Joined: 22 Mar 2006
Posts: 553

PostPosted: Fri Aug 18, 2006 1:23 am    Post subject: Reply with quote

Maybe I'm mis-understanding you, but if fdisk is showing you that your disk is /dev/sda3, why are you telling it to use /dev/hda3 in your fstab & grub.conf?


troymc
Back to top
View user's profile Send private message
chronophobic
Apprentice
Apprentice


Joined: 07 Mar 2005
Posts: 237
Location: Sofia, Bulgaria

PostPosted: Fri Aug 18, 2006 1:26 am    Post subject: Reply with quote

When I run the livecd it is /dev/sda3.
fstab lists it as hda3 (which I suppose will be valid if my kernel would boot)

Anyway, I did try sda3 as well just to check (twice) and it gives the same type of error, though I'm not 100% sure if it's about block (8,3) again or some other value.

Edit: no, it complains about (0,0) when I say /dev/sda3

Edit: I think I see some sort of error or warning in the first few lines when the kernel tries to boot, but I can't pause/cancel the execution and after the kernel panic I can't scroll up.

Edit: Solved once I stumbled upon a very thorough site about SATA which said that the ATI SATA drivers in the kernel are in fact in the Silicone Image drivers. Go figure.
_________________
Confutatis maledictis, flammis acribus addictis!
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