Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
md driver not autodetecting arrays
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
racoontje
Veteran
Veteran


Joined: 19 Jul 2004
Posts: 1290

PostPosted: Fri Jan 14, 2005 10:21 pm    Post subject: md driver not autodetecting arrays Reply with quote

OK, first of all, this is before (just a few lines) the Gentoo initscripts start, so I strongly doubt that it's a config file problem.

ReiserFS (3.6), sata-nv (my SATA controller) and md (with RAID0 support) are all built in to my kernel statically. During bootup, I can see that sata-nv works, that the md driver gets loaded, and that the raid0 profile gets loaded.

Then I see that md starts looking for arrays to autodetect and start automagically... Then I see:
Code:
md: ... autorun done.

with no arrays being found. Because /dev/md0 is my root device, the kernel can not continue booting.

The array was created using
Code:
mdadm -C /dev/md0 -l0 -n2 /dev/sda5 /dev/sdb5
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Jan 15, 2005 4:04 am    Post subject: Reply with quote

What does your "fdisk -l" look like ?

hint : look for partition type "fd"
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Sat Jan 15, 2005 8:16 am    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
racoontje
Veteran
Veteran


Joined: 19 Jul 2004
Posts: 1290

PostPosted: Sat Jan 15, 2005 8:29 am    Post subject: Reply with quote

Code:
livecd root # fdisk -l

Disk /dev/sda: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          25      200781   83  Linux
/dev/sda2              26       24792   198940927+   5  Extended
/dev/sda5              26       24792   198940896   83  Linux

Disk /dev/sdb: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1          25      200781   82  Linux swap
/dev/sdb2              26       24792   198940927+   5  Extended
/dev/sdb5              26       24792   198940896   83  Linux
Back to top
View user's profile Send private message
racoontje
Veteran
Veteran


Joined: 19 Jul 2004
Posts: 1290

PostPosted: Sat Jan 15, 2005 8:32 am    Post subject: Reply with quote

OMG I am teh such an idioth.

I forgot 0xfd meant RAID :'|
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