LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-26-2003, 03:49 PM   #1
sascha
LQ Newbie
 
Registered: May 2003
Posts: 2

Rep: Reputation: 0
Question Booting from Mylex RAID


Hi people!

I'm lost. I have this fine machine with 2 4.3GB Disks and 3 9.1GB Disks sitting next to me and can't get it to boot.

The two 4.3GB Disks are arranged as mirrored drives and contain a Slackware 9 installation on a ext3-fs which went fine to the point when LILO gets installed. This fails with a simple error message.

So I created a boot-disk with the raid.s kernel. This boots with the command line root=/dev/rd/s0d0p1 ro. The kernel-driver for the DAC960 ist loaded an prints the correct configuration on the console and says it creates the devices /dev/rd/c0d0 and /dev/rd/c0d1. Then the booting continues but stops then with the following error:

VFS: cannot open root device "rd/c0d0" or 00:00
Please append a correct "root=" boot option

So why can't the kernel find the devices, any clues?

One more piece of info, if I boot the raid.s kernel from the CD, I can access both filesystems without any probs.

bye, sascha
 
Old 05-26-2003, 06:06 PM   #2
Rodrin
Member
 
Registered: May 2003
Location: Upstate NY, U.S.
Distribution: Slackware
Posts: 247

Rep: Reputation: 31
I've read that sometimes kernels don't understand the notation /dev/rd/cXdYpZ for the root device and must be handed the hexadecimal notation for the device. The hexadecimal notation consists of four hex digits of which the first two are the major device number, representing the controller, and the last two are the minor device number, representing the disk and partition.

It works like this for a RAID setup like yours:

The major number is 48 decimal, so 30 in hex, plus the controller number. For c0d0p1 the controller number is 0 so the major number would be 30.

The minor number is the disk number multiplied by 8 plus the partition number. So again for c0d0p1 the disk number is 0, multiplied by 8 is still 0, plus the partition number, 1, makes the minor number 01.

So the root line in lilo could be

root=3001 ro

This may or may not be your problem, but it's worth a try.

Last edited by Rodrin; 05-26-2003 at 11:38 PM.
 
Old 06-02-2003, 12:41 AM   #3
sascha
LQ Newbie
 
Registered: May 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Hi Rodrin!

Thanks a lot that did work out! I've never heard before that one can give the device numbers as a root argument, so i learned something too there.

Thanks again for your quick reply!

bye, sascha
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mylex Dac960PL raid controler locks up system alex59481 Linux - Hardware 0 02-05-2005 06:28 PM
slack 10.0 and mylex 960 RAID solvnetguru Slackware 3 12-11-2004 02:32 PM
Mylex hardware raid SummerTaz Linux - Hardware 0 10-06-2004 11:53 PM
S.M.A.R.T. Monitoring on Mylex 170 RAID Card lexterm Linux - Hardware 2 06-07-2004 09:39 PM
Issues compiling with Mylex SCSI RAID and SMP :( RucasRiot Linux - General 0 02-18-2004 10:10 PM


All times are GMT -5. The time now is 04:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration