View previous topic :: View next topic |
Author |
Message |
GurliGebis Retired Dev
Joined: 08 Aug 2002 Posts: 509
|
Posted: Mon Oct 07, 2002 1:08 pm Post subject: |
|
|
fstab:
/dev/ataraid/disc0/part6 (boot)
/dev/ataraid/disc0/part8 (root)
/dev/ataraid/disc0/part7 (swap)
Made a grub bootdisk, and booted from that one, then did:
root (hd0,5)
setup (hd0)
quit
Read the installation instrtucions, they have been updated to support ATA RAID. _________________ Queen Rocks. |
|
Back to top |
|
|
tore- n00b
Joined: 30 Sep 2002 Posts: 32
|
Posted: Mon Oct 07, 2002 1:32 pm Post subject: |
|
|
when i wrote setup (hd0) after i rebooted with the grub disk, i get this:
Cheking of "/boot/grub/stage1 excists... no" "Checking of
/grub/stage1 excists... no" "Error #15: FIle not found" I dont se
that ive done ANY erors during the install, i just cant se whats
wrong
add: the Grub floppy loader only loaded stage2... funny.-.. |
|
Back to top |
|
|
GurliGebis Retired Dev
Joined: 08 Aug 2002 Posts: 509
|
Posted: Mon Oct 07, 2002 3:22 pm Post subject: |
|
|
well try making the bootdisk with these two commands instead:
dd if=(Path_to_stages)/stage1 of=/dev/fd0 bs=512 count=1
dd if=(Path_to_stages)/stage2 of=/dev/fd0 bs=512 seek=1
cant remember what the path to these files are, but they are in some subdirectory inside /etc or /usr .
You might want to search for them. _________________ Queen Rocks. |
|
Back to top |
|
|
tore- n00b
Joined: 30 Sep 2002 Posts: 32
|
Posted: Mon Oct 07, 2002 5:08 pm Post subject: |
|
|
sadly i couldnt get it to work that way either |
|
Back to top |
|
|
GurliGebis Retired Dev
Joined: 08 Aug 2002 Posts: 509
|
Posted: Mon Oct 07, 2002 5:10 pm Post subject: |
|
|
Do you have any harddrives, thats connected to the normal controller??? _________________ Queen Rocks. |
|
Back to top |
|
|
tore- n00b
Joined: 30 Sep 2002 Posts: 32
|
Posted: Mon Oct 07, 2002 5:49 pm Post subject: |
|
|
hda=problem harddrive
hdc=cdburner
hdd=dvdrom
hde=raiddrive 1/2
hdg=raidrive 2/2 |
|
Back to top |
|
|
GurliGebis Retired Dev
Joined: 08 Aug 2002 Posts: 509
|
Posted: Mon Oct 07, 2002 6:01 pm Post subject: |
|
|
are you only using gentoo and not Windows???
If you are, set BIOS to None where your normal harddrive is (Linux sees it anyway), and then try this in grub:
root (hd1,0)
setup (hd1) _________________ Queen Rocks. |
|
Back to top |
|
|
tore- n00b
Joined: 30 Sep 2002 Posts: 32
|
Posted: Tue Oct 08, 2002 8:21 am Post subject: |
|
|
i gave up! 5 days for nothing but hey, ive learned so much also...
|
|
Back to top |
|
|
GurliGebis Retired Dev
Joined: 08 Aug 2002 Posts: 509
|
Posted: Tue Oct 08, 2002 8:30 am Post subject: |
|
|
Ok _________________ Queen Rocks. |
|
Back to top |
|
|
col l33t
Joined: 08 May 2002 Posts: 820 Location: Melbourne - Australia
|
Posted: Tue Oct 08, 2002 11:55 am Post subject: |
|
|
I am on the virge of getting the highpoint opensource drivers running on my gentoo box. I have them compiled and loading. Now I am just working on an initrd to load them at boot time so the boot device can be raid1. When I get it all working I am going to be hot swapping several 40GIG ide drives in a raid1.
I will post a howto when I get it going. |
|
Back to top |
|
|
tore- n00b
Joined: 30 Sep 2002 Posts: 32
|
Posted: Thu Oct 10, 2002 12:26 pm Post subject: |
|
|
please add fstab, grub details.. |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Fri Oct 11, 2002 2:10 pm Post subject: |
|
|
col wrote: | I am on the virge of getting the highpoint opensource drivers running on my gentoo box. I have them compiled and loading. Now I am just working on an initrd to load them at boot time so the boot device can be raid1. When I get it all working I am going to be hot swapping several 40GIG ide drives in a raid1.
I will post a howto when I get it going. |
make sure you're using hot swappable trays, or you may blow your pc to bits |
|
Back to top |
|
|
tore- n00b
Joined: 30 Sep 2002 Posts: 32
|
Posted: Sat Oct 12, 2002 9:05 pm Post subject: |
|
|
and we are still waiting |
|
Back to top |
|
|
col l33t
Joined: 08 May 2002 Posts: 820 Location: Melbourne - Australia
|
Posted: Sun Oct 13, 2002 11:57 pm Post subject: |
|
|
ok at this stage I have it working but not booting (I am booting off another drive). Using the highpoint opensource driver & I am able to hotswap drives. After I hot swap I can issue a rebuild command on the new drive and data is being written to the RAID 1 device is /dev/sda1. Now I am just having a some hassles creating an initrd image so I can boot off the RAID scsi-ide device & remove the boot disk from the system.
I am using kernel 2.4.19. You can download the hpt370/372 driver here: http://www.highpoint-tech.com/hpt3xx-opensource-v13.tgz
Make sure you have the latest highpoint raid bios installed if you want to use this driver. You also need to modify the kernel source code. |
|
Back to top |
|
|
voidzero Bodhisattva
Joined: 21 Jul 2002 Posts: 265 Location: Grnn
|
Posted: Mon Oct 14, 2002 9:51 am Post subject: |
|
|
hey guys, I did everything you people instructed, but still my raid array is not found.
Kernel gentoo-sources-2.4.19-r10
dmesg | grep raid:
Code: | Promise Fasttrak(tm) Softwareraid driver 0.03beta: No raid array found |
I really don't know what's up. The vanilla-sources don't have this problem. Thanks in advance. _________________ Diplomacy is the art of letting the other party have things your way.
-- Daniele Vare |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Mon Oct 14, 2002 10:57 am Post subject: |
|
|
it's prob something in the gentoo sources that your pc config doesn't like.
there's prob no way around it, bar finding what it is and removing it.
easier to use vanilla kernel and add your own patches I'd say. |
|
Back to top |
|
|
voidzero Bodhisattva
Joined: 21 Jul 2002 Posts: 265 Location: Grnn
|
Posted: Mon Oct 14, 2002 10:59 am Post subject: |
|
|
I managed to fix it; i played a little with the source-code of /usr/src/linux/drivers/ide/ide-pci.c.
Thx anyway _________________ Diplomacy is the art of letting the other party have things your way.
-- Daniele Vare |
|
Back to top |
|
|
col l33t
Joined: 08 May 2002 Posts: 820 Location: Melbourne - Australia
|
Posted: Mon Oct 14, 2002 11:51 am Post subject: |
|
|
SUCCESS!!! I have my gentoo booting using the Highpoint scsi-ide kernel module with the modules contained on an initrd image.
here is the how I did it:
https://forums.gentoo.org/viewtopic.php?t=18894 |
|
Back to top |
|
|
BernieKe Tux's lil' helper
Joined: 02 Jul 2002 Posts: 130 Location: California/Bangalore/Belgium
|
Posted: Thu Feb 20, 2003 7:53 pm Post subject: UPDATES: |
|
|
UPDATES:
- as it seems the 1.4r1 and 1.4r2 cd's aren't capable of recognising the raidvolumes (probably because of the kernel they use (see below)), use the 1.2 iso !!!! (at least until there's a new iso that does work ;-) )
- use kernel gentoo-sources 2.4.19r7, since -at least- r9,r10 and vanilla 2.4.20 DON'T work (not for me and several other people),
the best thing to do would be to use r7, make sure everything works, and then try out other kernels if desired
i thought these were quite essential updates ;-) |
|
Back to top |
|
|
syadnom Guru
Joined: 09 May 2002 Posts: 531
|
Posted: Fri Feb 21, 2003 2:13 am Post subject: suggestions |
|
|
Use linux' software raid via EVMS. Only use hardware raid if it is TRUE hardware raid, with a raid processor onboard.
With EVMS, it is very easy to get set up and going without doing anything fancy, and it is supported by your kernel at boot time AND available on the gentoo boot disk. |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Fri Feb 21, 2003 3:00 am Post subject: |
|
|
is there a gentoo EVMS howto somewhere ?
It's IBM isn't it ? _________________ Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer! |
|
Back to top |
|
|
syadnom Guru
Joined: 09 May 2002 Posts: 531
|
Posted: Fri Feb 21, 2003 7:26 am Post subject: go to o-rileys |
|
|
go to o-rileys, i think their is a guide their |
|
Back to top |
|
|
col l33t
Joined: 08 May 2002 Posts: 820 Location: Melbourne - Australia
|
Posted: Fri Feb 21, 2003 8:31 am Post subject: |
|
|
I have not used EVMS before but it does not look like it supports hot swapping of IDE disks that the cheapo highpoint and promise controllers support. |
|
Back to top |
|
|
Aleksei n00b
Joined: 23 Feb 2003 Posts: 1 Location: Nijmegen, The Netherlands
|
Posted: Sun Feb 23, 2003 10:44 am Post subject: Using both Onboard IDE-RAID and normal onboard IDE |
|
|
Problem:
Using both onboard RAID and regular IDE controllers, my customized kernel will swap ide0/1 with ide2/3.
With my root on a non-RAID hdd the kernel panics as it cannot mount it.
Solution1:
dont care messing around with root on your regular IDE controller, mount root on /dev/ataraid/disc0/partY
(not using it myself, a friend is running off his RAID completly)
Solution2:
load the kernel with ideX=IO1,IO2,IRQ settings to force recognition order
e.g. Code: | append = "ide0=0x1f0,0x3f6,14 ide1=0x170,0x376,15 ide2=0xe800,0xe402,17 ide3=0xe000,0xdc02,17" |
If you dont know the right settings, type 'dmesg | grep ide' when booting with your gentoo cd will get you the proper settings e.g.
ide0 at 0xe800-0xe807,0xe402 on irq 17
ide1 at 0xe000-0xe007,0xdc02 on irq 17
ide2 at 0x1f0-0x1f7,0x3f6 on irq 14
ide3 at 0x170-0x177,0x376 on irq 15
Solution3:
play around with enabling/disabling your Raid controller, and installing lilo with root=/dev/hdeY. I did this to get a previous distro to work, but it was a hell of figuring things out correctly
Some comments:
Well guys, although I saw a lot of posts on the IDE-RAID issue, I could not really find a good problem description / solution matching my issue.
This is not a Gentoo specific problem, but I have ran into it in most distro's so far. After installing Gentoo yesterday, and finding again the same problem I tried to figure it out properly this time, and it actually worked.
My situation is as follows: I am using an MSI K7T266-Pro2 mainboard with hdd's on both the main controller and the Promise IDE-RAID. I have my OS roots (XP and Linux) on my normal drives, and am using my Raid-0 for data storage. When running a install kernel, my VIA vt8233 is nicely detected as ide0/1 with hdd/cd/dvds on /dev/hda-d. The Promise PDC20265 is recognised also (ide2/3), with the hdds on /dev/hde and /dev/hdg. Loading the ataraid and pdcraid modules provides me with access to the raid partitions under /dev/ataraid/disc0/part1 & 2 (or /dev/ataraid/d0p1 & d0p2 for other distros).
However, my problems start after compiling and installing my own kernel. Of course I have selected the required kernel options as non-modular. But when I install lilo on /dev/hda (having run everything from the stage1 cd so far), with root partition on /dev/hda4, upon restart the system cannot mount root correctly. As it turns out, my new kernel recognises the PDC chipset before the VIA controller, causing /dev/hda-d to be switched with /dev/hde-h and vice versa.
Although I first tried to map-drive all disks from the kernel line, I found that didnt work, so I forced ide0/1/2/3 to be recognised differently instead.
so I now have an append line of Code: | ide0=0x1f0,0x3f6,14 ide1=0x170,0x376,15 ide2=0xe800,0xe402,17 ide3=e000,dc02,17 |
My root drive is now again correctly identified as /dev/hda.
This solution was a lot easier than my last succesfull fix, where I did a bit of juggling around by disabling/enabling the promise controller, and switching around the root from /dev/hda to /dev/hde and so on. I dont know exactly how I managed to get it, but it was very confusing
Cheers |
|
Back to top |
|
|
Blademan Developer
Joined: 05 Oct 2002 Posts: 116
|
Posted: Fri Feb 28, 2003 4:27 am Post subject: |
|
|
You may want to look into which chipset maker you use. Promise doesn't seem to be too cooperative with the kernel developers, albeit the Serial ATA drivers, I think:
http://kt.zork.net/kernel-traffic/kt20030223_206.html#6
Some manufacturers are more open with their source than others. I'm not saying one way or the other, since manufacturers have to make their money somehow, but ...don't get me started with Nvidia etc.
Also check the Linux HCL:
http://tldp.org/HOWTO/Hardware-HOWTO/ideraid.html |
|
Back to top |
|
|
|