Thank you!<br><br>That did the trick...<br>I used "dmraid -f via -rE" to remove the via meta-data completely (as it must be from my previous motherboard).<br><br>But another question popped up as a result of this:<br>
Does this mean that hardware is irrelevant?  That I could use the VIA setup on any of the supported controllers?<br><br>Cheers,<br>Martin<br><br><div class="gmail_quote">On Mon, Jan 5, 2009 at 1:58 PM, Heinz Mauelshagen <span dir="ltr"><<a href="mailto:heinzm@redhat.com">heinzm@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Am Montag, den 05.01.2009, 07:47 +0000 schrieb Martin Sandaas:<br>
> Hi all!<br>
<br>
A happy new year.<br>
<div class="Ih2E3d"><br>
><br>
> Not sure if this is the right place, as it might also just be a<br>
> hardware issue, an installer issue...or maybe just me ;)<br>
><br>
> I've been trying to setup software RAID on this mother board: Asus<br>
> P5Q.  It has (according to lspci) an Intel 82801 SATA RAID controller.<br>
> This controller has 3 settings in the BIOS:<br>
> 1. Use as RAID<br>
> 2. Use as IDE<br>
> 3. Use as AHCI<br>
><br>
> I already had a working WinXP install on a RAID0 setup.  But I wanted<br>
> linux, so I went into the BOOT ROM screen (<CTL> + <I> during boot)<br>
> and reset the RAID settings (to single disks).<br>
> Then I went into the BIOS and changed the controller setup to AHCI, as<br>
> I understood it had a performance advantage over IDE mode.<br>
><br>
> When I booted Sabayon 4.0 x86_64 LiveDVD, the disks came up normallyI <br>
> (I thought), but although I was able to change the pratition table,<br>
> nothing got "stuck" after a reboot.<br>
> I then noticed that my previous RAID setup was detected, and activated<br>
> as a VIA "FAKERAID" setup.  And whatever I did, this setup was<br>
> detected and activated.<br>
<br>
</div>Because dmraid is being used on it and it relies on ATARAID/DDF1 RAID<br>
metadata signatures and not on any particular transport (eg. IDE, ...)<br>
or mode.<br>
<br>
You'd have to run "dmraid -f via -rD" to get rid of them.<br>
<br>
Because you mention your Intel chipset and it's isw support, I assume<br>
the disks have been used and set up with a VIA adapter bios before and<br>
now are being reused without ever removing the VIA metadata.<br>
<div class="Ih2E3d"><br>
><br>
> So I eventually gave up on the AHCI approach, but then I read<br>
> somewhere that the Intel RAID setup was infact using AHCI too.<br>
> I changed the settings back to RAID, and created a striped set on my<br>
> 2x Raptor disks.  And what do you know, this was also detected at<br>
> boot.<br>
> But this time the format was detected as both VIA and ISW, but the<br>
> device-mapper chose ISW (which I think is the right one).<br>
<br>
</div>It's not device-mapper per se, it's the mentioned dmraid tool which<br>
discovers it.<br>
<br>
With an Intel chipset and Matrix RAID bios, it's going to be isw when<br>
you set up RAID sets via the bios.<br>
<br>
You can either "dmraid -f isw -ay" (of course, when not activated as<br>
VIA!) on it to select the isw metadata for activation, or remove the via<br>
metadata as mentioned above ("dmraid -f via -rE") and stay with the<br>
standard "dmraid -ay" in your initrd/initrc.<br>
<div class="Ih2E3d"><br>
><br>
> So here's my questions:<br>
> 1. Why are both VIA and ISW detected on this chipset (ICH10R), but<br>
> only VIA when setup as AHCI (shouldn't it be ISW if any)?<br>
<br>
</div>If there's multiple distinct ATARAID/DDF1 RAID metadata signatures on<br>
the devices, dmraid automatically selects one, unless you use the "-f"<br>
switch.<br>
<div class="Ih2E3d"><br>
> 2. And can I somehow force the format to be set as ISW (and suppress<br>
> the VIA format completely)?  (Recompile kernel module without VIA<br>
> support?)<br>
<br>
</div>See above: "dmraid -f isw -ay"<br>
<div class="Ih2E3d"><br>
> 3. Is the AHCI setup in BIOS supposed to be forced as RAID, or are you<br>
> supposed to be able to use the disks as single disks?  (I can't setup<br>
> any RAID in BIOS when using AHCI)<br>
<br>
</div>It's merely the discovery of the metadata signatures independent of any<br>
such mode. If there's accessible signatures and "dmraid -ay" is being<br>
run, it'll discover those and activate mappings.<br>
<div class="Ih2E3d"><br>
><br>
> As it is now, I'm completely unable to address my disks as /dev/sda<br>
> and /dev/sdb, and have to use /dev/mapper/isw_cbbdijaach_Sabayon (when<br>
> RAID is setup in the BIOS) or /dev/mapper/via_<something> when RAID is<br>
> disabled in BIOS.<br>
<br>
</div>If you want to access as single drives:<br>
"dmraid -f isw -rE ; dmraid -f via -rE"<br>
<div class="Ih2E3d"><br>
<br>
> There's no problems using the current setup (ISW RAID), and I guess I<br>
> could disable the device-mapper completely in order to access the<br>
> single disks.<br>
<br>
</div>Sure, initrd hack.<br>
<div class="Ih2E3d"><br>
> 4. But is there a way to enable dmraid, but force no auto detection of<br>
> previous setup?  Even if I choose "Setup as IDE" in compatible mode,<br>
> the previous RAID setup is detected and setup as VIA RAID.<br>
<br>
</div>Remove the metadata.<br>
<div class="Ih2E3d"><br>
><br>
> It seems like a short time since I was unable to use the "FAKE" RAID<br>
> setup of my motherboard, but now I seem to be unable to stop it ;)<br>
<br>
</div>Ain't that safe ? ;-)<br>
<br>
Regards,<br>
Heinz<br>
<div class="Ih2E3d"><br>
><br>
> Cheers,<br>
> Martin<br>
><br>
> PS! Sorry if this is a noob question in the wrong maling list :)<br>
</div>> _______________________________________________<br>
> Ataraid-list mailing list<br>
> <a href="mailto:Ataraid-list@redhat.com">Ataraid-list@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/ataraid-list" target="_blank">https://www.redhat.com/mailman/listinfo/ataraid-list</a><br>
<br>
_______________________________________________<br>
Ataraid-list mailing list<br>
<a href="mailto:Ataraid-list@redhat.com">Ataraid-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/ataraid-list" target="_blank">https://www.redhat.com/mailman/listinfo/ataraid-list</a><br>
</blockquote></div><br>