Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel panic on reboot - cannot sync?
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
illynova
n00b
n00b


Joined: 02 Jul 2005
Posts: 14
Location: Chicago

PostPosted: Sun Dec 11, 2005 12:43 am    Post subject: kernel panic on reboot - cannot sync? Reply with quote

I get the following error after configuring the grub boot loader, and rebooting

Quote:

Root-NFS: No NFS server availabvle, giving up
VFS: Unable to mount root fs via NFS, trying floopy
VFS: Insert root floppy and press ENTER
`VFS: Cannot open root device "sda3" or unknown-block(2,0)
Please append a correct "Root=" boot option
Kernel panic - not syncing: VFS: Unable to mount rot fs on unknown-block(2,0)


This is my grub.conf file
Quote:

default 0
timeout 30

title=Gentoo Linux 2.6.12-r10
root (hd0,0)
kernel /boot/kernel-2.6.12-gentoo-r10 root=/dev/sda3


device.map
Quote:

(fd0) /dev/fd0
(hd0) /dev/sda


I have a SATA hard drive, I set it up just like the gentoo handbook except i replaced hda with sda.

Ideas? This is getting a little frustrating (I've never delved into the lower level parts of linux before), but I don't want to give up... this is the last phase before I have a working system.

Thank you!
_________________
"The last time the French asked for 'more proof' it came marching into Paris under a German flag."
Back to top
View user's profile Send private message
Ma3oxuct
Guru
Guru


Joined: 18 Apr 2003
Posts: 523

PostPosted: Sun Dec 11, 2005 1:44 am    Post subject: Reply with quote

Did you enable SATA support in your kernel?

You will find SATA support under Device Drivers --> SCSI --> Low-Level Drivers


Last edited by Ma3oxuct on Sun Dec 11, 2005 1:45 am; edited 1 time in total
Back to top
View user's profile Send private message
illynova
n00b
n00b


Joined: 02 Jul 2005
Posts: 14
Location: Chicago

PostPosted: Sun Dec 11, 2005 1:44 am    Post subject: Reply with quote

After looking around, it appears I may not have installed SATA drivers for the kernel.

However, I don't know which one to compile.... using lsmod, I turn up this line:

Quote:

sata_nv 7565 2


Not sure where to go...

I have a Seagate barracuda (i think thats the product name? its seagate, regardless) 7200RPM SATA hard drive on an Nvidia nForce 4 motherboard.
_________________
"The last time the French asked for 'more proof' it came marching into Paris under a German flag."
Back to top
View user's profile Send private message
Ma3oxuct
Guru
Guru


Joined: 18 Apr 2003
Posts: 523

PostPosted: Sun Dec 11, 2005 1:51 am    Post subject: Reply with quote

Do lspci you should find a line that looks somthing like this (it is what I have on my PC):

Code:
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)


Once you find of which one you have, just
Code:
cd /usr/src/linux && make menuconfig

Then scroll to device drivers,
SCSI devices,
Low-Level Drivers,
Choose accordingly.

If you need help, just post the output of lspci.

EDIT: I just noticed that you probably have the same controller as I have.
Choose Serial ATA (SATA) support with a (*), and then NVIDIA SATA support also with (*).
Back to top
View user's profile Send private message
illynova
n00b
n00b


Joined: 02 Jul 2005
Posts: 14
Location: Chicago

PostPosted: Sun Dec 11, 2005 2:24 am    Post subject: Reply with quote

thanks! that fixed it.

I'm getting this error now on kernel boot

Starting eth0
Bring up eth0
{dhcp}
* No loaded modules provide "dhcp" ({dhcp}_start)
ERROR: Problem starting needed services.
"netmount" was not started
_________________
"The last time the French asked for 'more proof' it came marching into Paris under a German flag."
Back to top
View user's profile Send private message
Ma3oxuct
Guru
Guru


Joined: 18 Apr 2003
Posts: 523

PostPosted: Sun Dec 11, 2005 3:21 am    Post subject: Reply with quote

Did you emerge dhcpcd? If not you should do that. If that does not do the trick (after you restart ofcourse), then post the output of

Code:
ifconfig
Back to top
View user's profile Send private message
illynova
n00b
n00b


Joined: 02 Jul 2005
Posts: 14
Location: Chicago

PostPosted: Sun Dec 11, 2005 5:00 am    Post subject: Reply with quote

i figured it out. Apparently I had typed in { instead of (

Silly me.

Thanks for all the help guys. I really appreciate it. :)
_________________
"The last time the French asked for 'more proof' it came marching into Paris under a German flag."
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