Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dmraid doesn't create a device /dev/mapper
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
woodwizzle
Apprentice
Apprentice


Joined: 30 Nov 2003
Posts: 225

PostPosted: Wed Aug 15, 2007 4:12 am    Post subject: dmraid doesn't create a device /dev/mapper Reply with quote

On this same box I used to run ubuntu. To get my ASUS P5N-E's onboard raid to work I just had to run dmraid -tay. That would create an device in /dev/mapper. Doing so in gentoo creates no such device. I found a wiki page about dmraid but all the scripts it has to offer says I first need that device to show up. I know my hardware is compatible as I've seen it work in ubuntu. I also know that the onbard raid is not a genuine raid, but I plan on dual booting this system very soon and the dmraid solution appears to be the only one that'll work for both OSs. The raid is just for storage so I don't need to install anything on it, I just need to mount it. dmraid -tay outputs:
nvidia_icfbegdb: 0 390721966 mirror core 2 131072 nosync 2 /dev/sda 0 /dev/sdb 0
but like I said, there is no device created. I'm fairly certain I have the correct kernel options installed too. I'm using 2 identical seagate SATA drives in a mirroring array.

Any help would be appreciated, thanks,
Corey
Back to top
View user's profile Send private message
woodwizzle
Apprentice
Apprentice


Joined: 30 Nov 2003
Posts: 225

PostPosted: Thu Aug 16, 2007 7:43 pm    Post subject: Reply with quote

Is it possible I'm missing certain kernel options that are required for Dmraid? I have the raid and device mapper kernel options turned on.
Back to top
View user's profile Send private message
woodwizzle
Apprentice
Apprentice


Joined: 30 Nov 2003
Posts: 225

PostPosted: Sat Aug 18, 2007 4:08 am    Post subject: Reply with quote

Well I made some progress. I reinstalled dmraid once I got the correct kernel modules setup, then i ran dmraid -ay and it showed up. (dunno why I needed the t in ubuntu). Anywho seems like I'm on track now. ;)
Back to top
View user's profile Send private message
woodwizzle
Apprentice
Apprentice


Joined: 30 Nov 2003
Posts: 225

PostPosted: Sun Aug 19, 2007 4:32 pm    Post subject: Reply with quote

Well it works =) But it doesn't work at boot. I have to manually run dmraid -ay and mount the raid every time I reboot. Can I add dmraid to my run level?
Back to top
View user's profile Send private message
tekknokrat
Apprentice
Apprentice


Joined: 17 Apr 2005
Posts: 278
Location: Magdeburg

PostPosted: Fri Aug 31, 2007 8:23 pm    Post subject: Reply with quote

perhaps you can add it as a dmraid=ay kernel option in grub/lilo at least possible for the livecd.
_________________
Optimism is solely an absence of information. / Optimismus ist nur ein Mangel an Information.
(Arthur Schopenhauer)
Back to top
View user's profile Send private message
Suicidal
l33t
l33t


Joined: 30 Jul 2003
Posts: 959
Location: /dev/null

PostPosted: Fri Aug 31, 2007 9:11 pm    Post subject: Reply with quote

I had the same issue on my desktop with dmraid I had to set the following kernel options:

Code:

 < > ATA/ATAPI/MFM/RLL support  ---> 
 <M> Serial ATA (prod) and Parallel ATA (experimental) drivers  --->   

          --- Serial ATA (prod) and Parallel ATA (experimental) drivers                                               
          <M>   AHCI SATA support                                                                               
          <  >   ServerWorks Frodo / Apple K2 SATA support                                                             
          <M>   Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support


Seems like ATA/ATAPI/MFM/RLL is overriding Serial ATA
and using a generic driver instead of the correct one.
Back to top
View user's profile Send private message
woodwizzle
Apprentice
Apprentice


Joined: 30 Nov 2003
Posts: 225

PostPosted: Sat Sep 01, 2007 2:41 am    Post subject: Reply with quote

i actually got it working by using genkernel to compile my kernel.
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