View previous topic :: View next topic |
Author |
Message |
DEMONstrator n00b
Joined: 12 Oct 2003 Posts: 10
|
Posted: Fri Oct 17, 2003 9:19 am Post subject: How to get RAID working when installing gentoo |
|
|
Okay, i'm using gentoo 1.4 here.
I have written this after having problems getting my disks detected on my promise 20276 RAID controller when installing. I found doataraid and insmod stuff didn't work. What this does is set up the addresses for the controllers properly when the install gentoo kernel boots, this was done for my onboard RAID but i see no reason why it shouldn't work for any other RAID.
1- boot with the CD in the drive
2- at the prompt type "gentoo" and press return
3- as soon as you are at the command prompt after the cd has loaded type "nano /proc/pci"
4- you are looking for your RAID controller in the list (eg "promise fasttrak 133 blah blah blah")
5- in the entry for the RAID As part of the info you'll see
5 hex numbers listed one after the other, let's name the (a)-(e)
Write down the numbers, reboot the install cd again and at the boot prompt
write:
gentoo ide2=0x(a),0x(b+2) ide3=0x(c),0x(d+2)
b+2 means the value of b incremented by 2, and same applies to d+2.
Now the controller and raid should be detected.
This is adapted from http://lists.debian.org/debian-user/2002/debian-user-200208/msg00953.html
for noobie users to gentoo. Hope it all works fine for you. You should now find if you type "fdisk -l" you will see a list of drives including your RAID drives.
Best of luck
Ady |
|
Back to top |
|
|
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Fri Oct 17, 2003 5:23 pm Post subject: |
|
|
a simpler solution, which was suggested to me and worked, is booting the LiveCD with |
|
Back to top |
|
|
DEMONstrator n00b
Joined: 12 Oct 2003 Posts: 10
|
Posted: Fri Oct 17, 2003 7:47 pm Post subject: |
|
|
ahh - it turns out that nothing works with this damn onboard raid junk. I couldn't even get the onboard SATA to detect my SATA disks - apparently a design flaw in some onboard chipsets. I just jacked it in and put it on the slave slot of my primary ide cable |
|
Back to top |
|
|
Naughtyus Guru
Joined: 14 Jul 2002 Posts: 463 Location: Vancouver, BC
|
Posted: Sat Oct 18, 2003 6:11 pm Post subject: |
|
|
Thank you for posting this - I couldn't get the 1.4 LiveCD to see my HDs without it. |
|
Back to top |
|
|
kannX Tux's lil' helper
Joined: 21 Jul 2002 Posts: 76
|
Posted: Sun Nov 16, 2003 12:23 pm Post subject: |
|
|
ok, the "cat /proc/pci" listed me the following hex numbers:
Code: |
0x1800
0x9c00
0x1000
0xa400
0xa800
|
which means the the correct boot command should look like this:
Code: |
gentoo ide2=0x1800,0x9c02 ide3=0x1000,0xa402
|
but "fidisk -l" still only shows hde (including the primary and extended partition) and hdf (with no boot record), "insmod pdcraid" still doesn't find the arry, too |
|
Back to top |
|
|
ppc52776 n00b
Joined: 01 Nov 2003 Posts: 11
|
Posted: Fri Nov 21, 2003 1:11 pm Post subject: Re: How to get RAID working when installing gentoo |
|
|
DEMONstrator wrote: | Okay, i'm using gentoo 1.4 here.
gentoo ide2=0x(a),0x(b+2) ide3=0x(c),0x(d+2)
b+2 means the value of b incremented by 2, and same applies to d+2.
Best of luck
Ady |
How to calulate the ide=0x(b+2)
i use HighPoint,but gentoo can't find it in my compiled kernel.
I do something like above. "+2" don't work,if +3, kernel can find,but not correct. "hde prove error at xxxxx"
# cat /proc/pci
...
I/O at 0x1f0 [0x1f7].
I/O at 0x3f6 [0x3f6].
I/O at 0x170 [0x177].
I/O at 0x376 [0x376].
I/O at 0xffa0 [0xffaf].
...
at first line,"I/O at 0x1f0 [0x1f7]." is 0x1f0 and 0x1f7 the same ?
i do the same way like above,but it still can't work.
i want to ask: how to know (b) need to +2 ?
Thanks. |
|
Back to top |
|
|
|
|
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
|
|