Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
RAID related boot problems
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
rpbarlow
n00b
n00b


Joined: 11 Dec 2004
Posts: 8
Location: Raleigh, NC

PostPosted: Sun Dec 03, 2006 7:09 pm    Post subject: RAID related boot problems Reply with quote

Howdy, I'm trying a new install (since I hosed my last one) and I figured I'd give the RAID+LVM thing a go. I followed the guide at http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml and everything seemed to have worked ok, but when I boot I get 3 no-fun (TM) lines:

VFS: Cannot open root device "md3" 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)

Now, my relevant grub lines read:

root (hd0,0)
kernel /boot/kernel root=/dev/md3

My partition layout is just like the one show in the guide:

/boot -> RAID 1 of hda1 and hdc1
swap -> hda2 and hdc2
/ -> RAID 1 of hda3 and hdc3
LVM -> RAID 0 of hda4 and hdc5 (I used an extended partition on hdc because it it much larger than hda and I wanted to create an hdc6 for the additional space)

I am able to boot from the livecd and mount the arrays just fine, so I believe it might be a kernel problem. But I did enable all of the necessary kernel options listed in the guide and they are built into the kernel (as is ext2/3 which are the only file systems in use). Any clues?
_________________
-Randy
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Dec 03, 2006 8:04 pm    Post subject: Reply with quote

rpbarlow,

Code:
unknown-block(0,0)
means you are missing the high level IDE driver, the IDE chipset driver or MS-DOS Partition table support from your kernel. They all need to be built in.

As your root is on raid, you also need the partitions to be type fd, or the raid will not be auto started by the kernel and the raid personality for root must be build into the kernel too.
_________________
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
rpbarlow
n00b
n00b


Joined: 11 Dec 2004
Posts: 8
Location: Raleigh, NC

PostPosted: Sun Dec 03, 2006 8:34 pm    Post subject: IDE Support Reply with quote

I believe my problem might be the IDE support, but I believe that I have enabled the correct settings in the kernel config (obviously not though). How do I figure out how it works on the liveCD on not on my implementation?
_________________
-Randy
Back to top
View user's profile Send private message
rpbarlow
n00b
n00b


Joined: 11 Dec 2004
Posts: 8
Location: Raleigh, NC

PostPosted: Sun Dec 03, 2006 8:46 pm    Post subject: Reply with quote

Device Drivers --->
ATA/ATAPI/MFM/RLL support --->
<*> ATA/ATAPI/MFM/RLL support
<*> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
...
<*> Include IDE/ATA-2 DISK support
...
<*> generic/default IDE chipset support

Is there anything else I might need for my IDE drives? They aren't connected to a PCI card (connected directly to an Intel controller on the MOBO)
_________________
-Randy
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Dec 03, 2006 8:54 pm    Post subject: Reply with quote

rpbarlow,

You need lots more. This post is for Intel ICH chipsets <=ICH6.

For all other chipsets, swap the PIIX entry for your specific chipset driver.
Run lspci from the liveCD to find out what that is.

If you choose the wrong chipset specific part, it will still operate but there will be no DMA support, so it will be slow.
_________________
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
rpbarlow
n00b
n00b


Joined: 11 Dec 2004
Posts: 8
Location: Raleigh, NC

PostPosted: Sun Dec 03, 2006 9:17 pm    Post subject: Problem solved! Reply with quote

Thanks! Problem solved!
_________________
-Randy
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