<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>isw raid signature -- resent with (hopefully) better fomatting</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">I appologyze for the earlier post, which I just realized is a pain to read. Hopefully this one's better.</FONT> 
</P>

<P><FONT SIZE=2 FACE="Arial">I'm trying to test the isw extension using ICH5-R SATA controllers. I have tried both RAID 0 and RAID 1, and so far haven't been able to discover any BIOS-configured arrays. From my debug prints it looks like the metadata handler couldn't find the config signature. I calculated the number of sectors and superblock offset by hand, and they seem to be correct. I also dumped the disk content at that offset, and it's all null characters. So now I'm wondering if:</FONT></P>

<P><FONT SIZE=2 FACE="Arial">- I'm using an unsupported controller</FONT>

<BR><FONT SIZE=2 FACE="Arial">- I'm using unsupported BIOS </FONT>

<BR><FONT SIZE=2 FACE="Arial">- the metadata handler is looking in the wrong place</FONT>

<BR><FONT SIZE=2 FACE="Arial">- well, something else is wrong</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Here's some details on my setup:</FONT>

<BR><FONT SIZE=2 FACE="Arial">dmraid-1.0.0-rc2</FONT>

<BR><FONT SIZE=2 FACE="Arial">Asus P4P800 mobo, ICH5-R controller hub</FONT><FONT SIZE=2 FACE="Arial">, pair of 80 GB SATA drives</FONT>

<BR><FONT SIZE=2 FACE="Arial">SuSE 9.1 upgraded to 2.6.7 kernel with 2.6.7-udm1 patches</FONT>

<BR><FONT SIZE=2 FACE="Arial">device-mapper.1.00.19</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Below is the output from running "dmraid -v -ay"(with some debug prints). I have a RAID 1 set up across /dev/sda and /dev/sdb.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Failed to find sysfs mount point</FONT>

<BR><FONT SIZE=2 FACE="Arial">Carrying on with /dev/</FONT>

<BR><FONT SIZE=2 FACE="Arial">checking for iswraid at /dev/sdb</FONT>

<BR><FONT SIZE=2 FACE="Arial">checking signature:</FONT>

<BR><FONT SIZE=2 FACE="Arial">total sectors: 0x000000000950e4c1</FONT>

<BR><FONT SIZE=2 FACE="Arial">isw_sboffset: 0x00000012a1c97e00</FONT>

<BR><FONT SIZE=2 FACE="Arial">looking for: Intel Raid ISM Cfg Sig. </FONT>

<BR><FONT SIZE=2 FACE="Arial">found: </FONT>

<BR><FONT SIZE=2 FACE="Arial">----</FONT>

<BR><FONT SIZE=2 FACE="Arial">checking for iswraid at /dev/sda</FONT>

<BR><FONT SIZE=2 FACE="Arial">checking signature:</FONT>

<BR><FONT SIZE=2 FACE="Arial">total sectors: 0x000000000950e4c1</FONT>

<BR><FONT SIZE=2 FACE="Arial">isw_sboffset: 0x00000012a1c97e00</FONT>

<BR><FONT SIZE=2 FACE="Arial">looking for: Intel Raid ISM Cfg Sig. </FONT>

<BR><FONT SIZE=2 FACE="Arial">found: </FONT>

<BR><FONT SIZE=2 FACE="Arial">----</FONT>

<BR><FONT SIZE=2 FACE="Arial">checking for iswraid at /dev/hda</FONT>

<BR><FONT SIZE=2 FACE="Arial">checking signature:</FONT>

<BR><FONT SIZE=2 FACE="Arial">total sectors: 0x0000000003effc10</FONT>

<BR><FONT SIZE=2 FACE="Arial">isw_sboffset: 0x00000007dff81c00</FONT>

<BR><FONT SIZE=2 FACE="Arial">looking for: Intel Raid ISM Cfg Sig. </FONT>

<BR><FONT SIZE=2 FACE="Arial">found:</FONT> <FONT SIZE=2 FACE="Arial">üÃΗØQt³î®™Ò´W]5mqOÀ7~S}ÎóDvn@‹cüs ªÍA8 Çfyå0</FONT>

<BR><FONT SIZE=2 FACE="Arial">ØÕyÁN„n5í®M†ÁÊÒw ¹²kx"éÕ{t°</FONT>

<BR><FONT SIZE=2 FACE="Arial">úÅGe!Š`1Û¼ß~žmÏCø-h@Áó5ôfJhÓ‘ uYÊæÀw~tÓ’Óíß2ÜnÒ?ð4</FONT>

<BR>        <FONT SIZE=2 FACE="Arial">“)ggÔpRTqKØÔTãÓ©qÌÙ‹°Ö¡6@Ž¸ü9Ù_¤7¡œÙç@Mž¦e<WBR>¥ƒ2ŸmR V±¿'…d|5)ëÂ#vˆ³™•´^e08šDB+Ù”ÿ#°‚OH×46IüËGV1(Œš¤†`YÓ>ãïøM,U(HÒéT’<WBR>]ÈyÆÒ?u</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Ä+•ËÍ„‘NM_!</FONT>

<BR><FONT SIZE=2 FACE="Arial">C`gò.eA¹ÂfX</FONT>

<BR><FONT SIZE=2 FACE="Arial">----</FONT>

<BR><FONT SIZE=2 FACE="Arial">No Software RAID disks</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I also dumped out contents of /dev/sda at various places, and saw some strings containing "Raid ISM" between offset 21110000 and 21120000. They didn't exactly match the signature string, tho.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">All replies most appreciated. Please let me know if more info is needed.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Thanks,</FONT>

<BR><FONT SIZE=2 FACE="Arial">Jane</FONT>
</P>

</BODY>
</HTML>