Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernal panic
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
robscraig
n00b
n00b


Joined: 20 Jul 2006
Posts: 7
Location: Edmonton

PostPosted: Thu Jul 27, 2006 10:33 pm    Post subject: kernal panic Reply with quote

I have reinstalled from scratch twice and i know i followed the instructions to the point. but now i get a kernal panic at boot up.

it is saying

VFS: cannot open root device "hda3" or unknown-block (0,0)
please append a correct "root"=boot option
Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block (0,0)

When i edited the grub i put

default 0
timeout 10

title=Gentoo
root (hd0,0)
kernel /boot/kernel root=/dev/sda3


What is going wrong


Last edited by robscraig on Thu Jul 27, 2006 10:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
robscraig
n00b
n00b


Joined: 20 Jul 2006
Posts: 7
Location: Edmonton

PostPosted: Thu Jul 27, 2006 10:34 pm    Post subject: Re: kernal panic Reply with quote

please help
Back to top
View user's profile Send private message
r4d1x
Apprentice
Apprentice


Joined: 25 Nov 2003
Posts: 157
Location: Japan

PostPosted: Thu Jul 27, 2006 10:37 pm    Post subject: Reply with quote

Wait, you have hda in the error and sda in the config?

[/code]
_________________
Gentoo Linux 2.6.19.2-grsec
Dual Athlon-MP 1900
1024Mb PC2100 DDR
Radeon 9600 pro
1TB File Server / FTP
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Fri Jul 28, 2006 1:23 am    Post subject: Reply with quote

Hi.

Post the output of lspci and the contents of your grub.conf or lilo.conf file.
The VFS: cannot open root device "hda3" or unknown-block (0,0) error message means that you didn't build the support for your storage controller in your kernel <*> and not as a module <M>.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
robinswan
Tux's lil' helper
Tux's lil' helper


Joined: 14 Oct 2005
Posts: 139

PostPosted: Fri Jul 28, 2006 3:36 pm    Post subject: Reply with quote

I ran into the same trouble with linux-2.6.17-gentoo-r4,
my grub configuration is below:

Code:
default 0
timeout 5

title Gentoo Linux 2.6.17-gentoo-r4
root(hd0,7)
kernel (hd0,7)/bzImage-2.6.17-gentoo-r4 root=/dev/hda10

title Gentoo Linux 2.6.16-gentoo-r13
root(hd0,7)
kernel (hd0,7)/bzImage-2.6.16-gentoo-r13 root=/dev/hda10

title=Window XP
rootnoverify (hd0,0)
makeative
chainloader +1


this configuration is work with 2.6.16 kernel on my IDE hard disk,
but kernel 2.6.17v fall into panic.
my root file system is ext3, and I believe that I have compiled build in support it.
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Fri Jul 28, 2006 5:21 pm    Post subject: Reply with quote

robinswan,

post the output of lspci. Check if you have ext3 compiled in with
Code:
# grep -i ext3 /usr/src/linux/.config

_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
robscraig
n00b
n00b


Joined: 20 Jul 2006
Posts: 7
Location: Edmonton

PostPosted: Fri Jul 28, 2006 5:25 pm    Post subject: Reply with quote

Ok i decided to start over and there is one point that does not seem to do anything maybe you guys can help with this one.

When process this

livecd / # time emerge gentoo-sources

real 2m51.435s
user 0m58.220s
sys 0m29.890s
livecd / # cd /usr/src/linux
livecd linux # make menuconfig
(Configure your kernel)
livecd linux # time make -j2

(Elapsed time depends highly on the options you selected)
real 3m51.962s
user 3m27.060s
sys 0m24.310s

livecd linux # make modules_install
livecd linux # cp arch/i386/boot/bzImage /boot/kernel


When i pu the make modules_install comand it comes back telling me that i need to ad some comands to it

has anybody ran into 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