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

Joined: 17 Aug 2004 Posts: 4
|
Posted: Tue Aug 17, 2004 5:39 am Post subject: ICH5 raid controller managed non-raid SATA drives. |
|
|
Motherboard: Abit AI7
Raid Controller: ICH5R
Disk configuration: 4 regular IDE PATA drives on IDE1 and IDE2
2 200gb seagate drives managed by raid controller.
I recently bought a pair of 200GB seagate drives for addition to my system, but had some difficulty setting them up. Under normal circumstances, the BIOS prioritized the SATA drives and took over my normal IDE channels, preventing me from using my PATA drives. I tried using 'enhanced' mode, except that that apparently limits the addressable space on each drive to 137GB, notably smaller than the 200 actually available. Eventually I settled on the solution of setting the SATA ports to be managed by the onboard ICH5R chip, normally used for RAID. Due to various dual-booting issues, using the drives in a RAID array is not exactly useful. Instead, I left the drives separate, but let the raid controller handle them. This made windows happy with a pair of visible 200gb disks.
Next step: Gentoo. I've already set up a number of gentoo systems, and the 2004.2 LiveCD auto-detected the SATA drives just fine. I performed the install to one of the 200GB's, set up kernel 2.6.7 to use SCSI_PIIX support, and rebooted. Unfortunately, the system refused to recognize the SATA drives which contained the root FS (an obvious problem). I recovered using the LiveCD, messed with a number of options, and tried again. And again. I've switched between standard ATA support and the scsi drivers, under the theory that they might be conflicting over the same device. I tried 2.4.26, in the theory that perhaps the older drivers would work. Eventually I broke down and attempted genkernel. That also failed.
Eventually discovered config.gz in the /proc of the working liveCD environement, copied that to my current config, compiled everything possibly useful *into* the kernel following lsmod (the relevant modules seemed to be ATA_PIIX and LIB_ATA), as modules residing on an unaccessable filesystem are difficult to utilize, and failed again.
My suspicion is that somewhere in the 20-odd kernels I've made in the last week I missed some critical undocumented option that would make this all work. The fact that the liveCD works perfectly obviously gives cause for hope. Does anyone have advice for this situation, or more practically, a working .config snippet I can learn from?
Thanks in advance,
Aphyr |
|
Back to top |
|
 |
jonnii n00b

Joined: 10 Feb 2004 Posts: 33
|
Posted: Tue Aug 17, 2004 9:04 am Post subject: |
|
|
finally, a post i can help someone with!
actually, what you need to do is fart around in the bios! I'm not sure exactly how it works with teh AI7, but with my IC7 i needed to ENABLE sata-raid so that the drives were going through there, but i never actually set them as a stripe/mirror in the boot utility.
This should expose the drives to the driver (which should be 2.6 if you want sata to work.. i think).
Hope that helps! |
|
Back to top |
|
 |
aphyr n00b

Joined: 17 Aug 2004 Posts: 4
|
Posted: Mon Aug 23, 2004 6:47 am Post subject: |
|
|
Actually, my drives were already set up this way. Could I have a copy of your config? |
|
Back to top |
|
 |
aphyr n00b

Joined: 17 Aug 2004 Posts: 4
|
Posted: Fri Sep 03, 2004 7:40 am Post subject: |
|
|
Still struggling here, although now I'm on 2.6.8. Any suggestions? |
|
Back to top |
|
 |
y0zza n00b

Joined: 30 Jul 2004 Posts: 68
|
Posted: Fri Sep 03, 2004 9:42 am Post subject: Re: ICH5 raid controller managed non-raid SATA drives. |
|
|
aphyr wrote: | I recently bought a pair of 200GB seagate drives for addition to my system, but had some difficulty setting them up. Under normal circumstances, the BIOS prioritized the SATA drives and took over my normal IDE channels, preventing me from using my PATA drives. I tried using 'enhanced' mode, except that that apparently limits the addressable space on each drive to 137GB, notably smaller than the 200 actually available. |
Hmm, are you sure about this? I'm using the "Enhanced" mode on my ICH5R (Abit IC7-G), with the two ICH5 SATA channels assigned to IDE3 and IDE4. My 250GB Hitachi 7k250 and WD2000JB are detected correctly, and I am able to use their full capacity. I also boot from my 7k250, which is /dev/sda.
Here's my kernel config file. A few things have been changed since then, but nothing wrt the SATA setup - the relevent SATA drivers are enabled under the SCSI device drivers section.
I've had no problems with this setup, and currently using 2.6.8.1-nitro5. I didn't enable "RAID" mode in the BIOS either, just enhanced SATA mode, and disabled the Silicon Image Si3112 controller BIOS since I only have two SATA drives (both on ICH5R).
What error does it give on bootup? Kernel panic due to inaccessbile root? If you have more than one SATA drive, it could be that the devices changed order. With the LiveCD, my 7k250 was /dev/sdb, with my USB2.0 HDD being assigned to /dev/sda instead; but booting normally, the latter is /dev/sdc and the two SATA drives are bumped up one. So, if this might be the case in your situation too, make sure grub.conf and fstab point to the right devices. You can test them out by using the grub command line and passing different root= to the kernel. |
|
Back to top |
|
 |
aphyr n00b

Joined: 17 Aug 2004 Posts: 4
|
Posted: Sat Sep 04, 2004 5:57 pm Post subject: |
|
|
Aha! This is actually listed as a bug in the bios changelog! |
|
Back to top |
|
 |
hanj Veteran


Joined: 19 Aug 2003 Posts: 1500
|
Posted: Sun Oct 17, 2004 6:09 pm Post subject: |
|
|
Hello aphyr
I'm now fighting the exact same problem.. I have dual 200g seagate SATA drives.. booting from LiveCD.. and install went fine.. booting off harddisk fails. It will hang on "Verifying DMI Pool....". I noticed your last entry stating the bug in last changelog for BIOS. I'm assuming that this is version 17. My AI7 already had the 17 BIOS (w/ fix for SATA). I upgraded my BIOS to the latest ( 18 ) just in case that was the problem.. but I can still NOT boot from harddisk.
I even downgraded everything... pulling one of the drives out, eliminating RAID.. just trying to get it to boot off of disk.. and still no luck. I made sure I built those same drivers *into* the kernel as you did... .nothing.
Any ideas on how I can get past this??
Thanks!
hanji |
|
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
|
|