Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] DMraid from the Live CD and kernel sources
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
Cyberwizzard
Apprentice
Apprentice


Joined: 02 Apr 2004
Posts: 244
Location: Norway

PostPosted: Fri Aug 11, 2006 10:25 pm    Post subject: [SOLVED] DMraid from the Live CD and kernel sources Reply with quote

After spending 16 hours trying to build my own genkernel with DM raid for a server I gave up and decided to copy the /boot files from the live disc and use those - worked like a charm.

Every attempt of making a kernel with DMraid failed - i tried different DM raid versions, different kernel versions, nothing helped. I didn't get the /dev/mapper folder nor the links to the devices. DM raid itself seemd to be working as I could list the devices in the BusyBox shell - but not actually get it to work.

I gave up on that for now.

My next big problem is this. I am 200km from the server itself so modifying a kernel isn't really on my wishlist in case something goes wrong. I need to install VMware server on there and it needs to compile the drivers for the running kernel. The only thing is... the live disc uses a 2.6.15-r5 gentoo kernel as base but this kernel is no longer in the portage tree.
I tried downloading the 2.6.15-r1 gentoo sources and try to somehow compile working VMware modules out of those.
The only thing I get is "Invalid module format" when I try to insert the modules.

Does anybody know how I can resolve this?


Last edited by Cyberwizzard on Sat Aug 12, 2006 11:27 pm; edited 1 time in total
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 Aug 12, 2006 12:35 am    Post subject: Reply with quote

Isn't dmraid only used for machines that need to dual boot ?

Why would you go through all that trouble for a server installation ?
Back to top
View user's profile Send private message
Cyberwizzard
Apprentice
Apprentice


Joined: 02 Apr 2004
Posts: 244
Location: Norway

PostPosted: Sat Aug 12, 2006 12:05 pm    Post subject: Reply with quote

As far as I'm aware I needed DM raid to get my ICH5R compatible Raid controller to work. So thats why we spend so much time getting it set up...
Back to top
View user's profile Send private message
Cyberwizzard
Apprentice
Apprentice


Joined: 02 Apr 2004
Posts: 244
Location: Norway

PostPosted: Sat Aug 12, 2006 2:24 pm    Post subject: Reply with quote

I decided that actually I'm more eager to get the bloody modules to work than to fix the DM raid problems - hence I opened a new topic with a more appropriate title here:
https://forums.gentoo.org/viewtopic-p-3507806.html

I'm still open for suggestions for debugging my problem for when I return one day onsite and try to upgrade the kernel but for now I'm fine with my quick and dirty solution :)
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 Aug 12, 2006 2:53 pm    Post subject: Reply with quote

Cyberwizzard wrote:
As far as I'm aware I needed DM raid to get my ICH5R compatible Raid controller to work.

The ICH5R hardware does not provide any RAID functionality, it is just a SATA controller.

The RAID setup utility in the BIOS is used to provide metadata for the Windows RAID driver, and is completely unneeded if you are only running Linux on the machine.
Back to top
View user's profile Send private message
Cyberwizzard
Apprentice
Apprentice


Joined: 02 Apr 2004
Posts: 244
Location: Norway

PostPosted: Sat Aug 12, 2006 3:55 pm    Post subject: Reply with quote

Mkay - sounds good to me.

But I used DM raid to access the raid volumes, how can I get device nodes for the discs if not using dm raid? I don't really fancy setting up a software raid or can this still work with the automatic setup like dm raid does?
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 Aug 12, 2006 9:49 pm    Post subject: Reply with quote

If you are updating an existing installation that was installed using dmraid, then you are kinda stuck with it.

But for first time installations, native Linux RAID is much easier to setup and maintain than dmraid.
Back to top
View user's profile Send private message
Cyberwizzard
Apprentice
Apprentice


Joined: 02 Apr 2004
Posts: 244
Location: Norway

PostPosted: Sat Aug 12, 2006 9:59 pm    Post subject: Reply with quote

By now its set up and running - its also a core system so I can't just go and experiment with it.
Bu what do you mean with native Linux raid? The software raid solution?
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 Aug 12, 2006 10:51 pm    Post subject: Reply with quote

Yes
Back to top
View user's profile Send private message
Cyberwizzard
Apprentice
Apprentice


Joined: 02 Apr 2004
Posts: 244
Location: Norway

PostPosted: Sat Aug 12, 2006 11:27 pm    Post subject: Reply with quote

I just keep my fingers crossed that DMraid doesn't get wiped out of portage and by the time I need to upgrade the kernel it all works again :D

If not we'll just have to swap to software raid :) Thanks a lot for your advice.

I solved my modules problem and its all up and running :D
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