| View previous topic :: View next topic |
| Author |
Message |
saint n00b

Joined: 30 May 2003 Posts: 24
|
Posted: Tue Jun 03, 2003 4:26 am Post subject: Kernel Programmer Needed :) |
|
|
Hello all,
I face a particular problem. I need access to my RAID0 array, on my promise TX2000 controller. I've found that the only thing that works for me is the partial source driver that was released by promise. The problem being, it's a module.
I need it to be in the kernel itself because all I have are my 2 drives on the raid controller (no other options, besides boot disc, floppy, and I'd like to try to get it in the kernel first).
SO, if anyone knows how to take the source of a module and insert it into the kernel (i've managed to add it to the menuconfig, and it DOES compile and get put in scsidrv.o, but I don't know how to do so properly), PLEASE give me a clue, or a hand. It's only meant to be a module, so I don't know what has to be added to allow it to be put into the kernel itself. It would be much appreciated, thank you .
Later!
Saint |
|
| Back to top |
|
 |
Matje l33t

Joined: 29 Oct 2002 Posts: 612 Location: Hasselt, Belgium
|
Posted: Tue Jun 03, 2003 6:34 am Post subject: |
|
|
Did you take a look at the development sources if it isn't in there?
A quick google turned up this: http://archive.lug.boulder.co.us/bymonth/2002.10/msg00201.html
Looks like you got screwed over You might as well use software raid
If it isn't in the 2.5.x kernel, you might want to look into creating an initrd script which can load the module for you and then passes the control on to gentoo linux _________________ Life is like a box of chocolates... Before you know it, it's empty...
http://www.lanzone.be |
|
| Back to top |
|
 |
LP n00b

Joined: 03 Jun 2003 Posts: 5
|
|
| Back to top |
|
 |
saint n00b

Joined: 30 May 2003 Posts: 24
|
Posted: Tue Jun 03, 2003 12:42 pm Post subject: |
|
|
Well that article deals with a stock redhat kernel and Promise's redhat drivers. What I'm talking about is the Partial Open Source kernel. What I'm asking is the proper way how to take something that is only ever intended for a module compiled OUTSIDE the kernel, and compile it internally into the kernel. Apparently this very thing was done in kernel 2.2, so I'm hoping it can be done with kernel 2.4.
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=author:lunx%40my-deja.com+
I'll be honest though, I'm not quite sure how initrd works 100%. I just wasn't sure if the initrd image could be read if the image itself is on a RAID0 array??
Anyway, the battle continues
Later
Saint |
|
| Back to top |
|
 |
Matje l33t

Joined: 29 Oct 2002 Posts: 612 Location: Hasselt, Belgium
|
Posted: Tue Jun 03, 2003 12:44 pm Post subject: |
|
|
If the kernel can be read from the array, then so can the initrd, they reside in the same place and both get readed in the memory (by your bootloader) before the kernel actually boots. _________________ Life is like a box of chocolates... Before you know it, it's empty...
http://www.lanzone.be |
|
| Back to top |
|
 |
saint n00b

Joined: 30 May 2003 Posts: 24
|
Posted: Tue Jun 03, 2003 1:30 pm Post subject: |
|
|
Intruiiiiiiging!! (Fawlty Towers )
Thanks! I thought it might be so, but I couldn't wrap my brain around how. Well, I suppose I'll just make an initrd image and work from there. I suppose learning the format and requirements of the image come next now Thanks for the help my friend!
Saint |
|
| Back to top |
|
 |
Matje l33t

Joined: 29 Oct 2002 Posts: 612 Location: Hasselt, Belgium
|
Posted: Tue Jun 03, 2003 1:34 pm Post subject: |
|
|
That's what we're here for Take a look at LP's link, you can start from there I think. _________________ Life is like a box of chocolates... Before you know it, it's empty...
http://www.lanzone.be |
|
| Back to top |
|
 |
|