Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel error plz append correct root=
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
-=GGW=- $ol!d $n4>|e
Veteran
Veteran


Joined: 12 Apr 2004
Posts: 1616
Location: USA

PostPosted: Sat Oct 16, 2004 8:33 am    Post subject: Kernel error plz append correct root= Reply with quote

Ok, my brother was po'ed at other distros so I offered to set up gentoo on his comp
on my comp I have a stage1 system but he wanted me to do it in one night using the universal/grp thing
I did but he also wanted me to only use one partition. This is where I am lost
The partition he wants me to use is /dev/hde4 and it is ext3 as I set it up

I set up grub like this
...
title=gentoo
root (hd0,3)
kernel /kernel-2.6 root=/dev/hde4
...

It boots into the system then has a kernele panic because it could not mount root at /dev/hde4 and something about an unrecognized block 0,0 I've tried so many diff things and it just wond boot? any suggestions? kernel asks me to append the "right" "root=" tag.
Back to top
View user's profile Send private message
jmz2
Guru
Guru


Joined: 13 Jan 2004
Posts: 421
Location: Finland

PostPosted: Sat Oct 16, 2004 8:55 am    Post subject: Reply with quote

VFS Panic? Double-check your kernel configuration: ext2/3 filesystem must be build into the kernel, not as modules. Did you use genkernel? Using genkernel with initrd helps sometimes.

And if you still can't boot, try another kernel patchset. I've had problems compiling ck-sources with: Make oldconfig screwed up the settings, and menuconfig didn't include required IDE stuff to the configuration. Had to manually tune the .config file to make the kernel bootable. If you're having similar problems, it may be easier to switch to some other kernel patches.
Back to top
View user's profile Send private message
-=GGW=- $ol!d $n4>|e
Veteran
Veteran


Joined: 12 Apr 2004
Posts: 1616
Location: USA

PostPosted: Sat Oct 16, 2004 9:34 am    Post subject: Reply with quote

hmm, I enabled ext2/3 but I'm just using one ext3 primary partition, custume compiled kernel, suppose I could go back and genkernel it. He doesn't have networking right now becase emerge nforce-net and emerge nforce-sound from the universal cd wouldn't work bacause of the same error...
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Oct 16, 2004 1:09 pm    Post subject: Reply with quote

-=GGW=- $ol!d $n4>|e,

Hmm /dev/hde?

You either have a SATA drive or a drive on an expansion card.

There are two drivers for SATA, one will make your hdd appear as /dev/hde, the other will make it /dev/sda (a scsi device)
The IDE SATA driver (hde) is depreciated but the liveCD uses it.
If you have compiled the SCSI one in the kernel, then your root filesystem will be at /dev/sda4.

Your fstab will be wrong as well, but the / (root) entry is not used, so you can boot first and fix that later.

Some info on the hdd and its attachment to the PC would be useful.
_________________
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
-=GGW=- $ol!d $n4>|e
Veteran
Veteran


Joined: 12 Apr 2004
Posts: 1616
Location: USA

PostPosted: Sun Oct 17, 2004 12:50 am    Post subject: Reply with quote

It is a controller card in a pci slot, because his hd if 200 gigs western digital jd2000. And he's pretty sure its an sata controler card. I didn't compile anything special into the kernel for his controller card, shoult I have? :?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Oct 17, 2004 1:12 am    Post subject: Reply with quote

-=GGW=- $ol!d $n4>|e,

You need to compile the hardware driver at the very least. You must say 'Y' for builtin, not 'M', since until the module is loaded the kerenl cannot read the drive to load the module.

Look for Serial ATA under SCSI. Choose the driver for the chipset that lspci identifies that you have. Read the help in the kernel config.

You will need SCSI disc support too, since your SATA drive will appear as a SCSI device.
_________________
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
-=GGW=- $ol!d $n4>|e
Veteran
Veteran


Joined: 12 Apr 2004
Posts: 1616
Location: USA

PostPosted: Sun Oct 17, 2004 2:09 am    Post subject: Reply with quote

I retried it with those built in and it did the same thing... :?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Oct 17, 2004 10:00 am    Post subject: Reply with quote

-=GGW=- $ol!d $n4>|e,

Post your lspci output (from running the livecd), the lsmod output (so I can see what the liveCD is doing for your hardware) and the content of /usr/src/linux/.config, so I can see whats missing.

I tried googling for your drive and didn't get any hits. Can you check the part number or post a link please.
_________________
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
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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