RE: Howto: implement AMD SB9xx RAID5 support in dmraid
Mark-Willem Jansen <[email protected]> Tue, 3 Apr 2012 09:47:59 +0200
| Newsgroups | gmane.linux.ataraid |
|---|---|
| Message-ID | <[email protected]> |
--===============0250557150982668316== Content-Type: multipart/alternative; boundary="_f2d03b0b-5049-439e-9a64-df1152ef70d5_" --_f2d03b0b-5049-439e-9a64-df1152ef70d5_ Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Hi=2C It keeps getting better. Looks like I am in for a kernel compilation. Or at= least the changed modules. Thanks and I will keep you posted. -- Mark-Willem Date: Tue=2C 3 Apr 2012 11:13:20 +0400 From: [email protected] To: [email protected] CC: [email protected] Subject: Re: Howto: implement AMD SB9xx RAID5 support in dmraid =20 =20 =20 =20 Hello=2C =20 I do have dm-raid45 patch for 3.2.=20 I do not remember where it was taken from=2C but it compiles with 3.2 :-) =20 =20 On 04/03/2012 11:13 AM=2C Mark-Willem Jansen wrote: =20 =20 =20 Hello=2C =20 Later this day I will apply the patch. But patching the kernel will be more cumbersome. The=20 present kernel running om my system is 3.2.0 and the patches found on the web are for=20 older kernels. But maybe the module dm-raid.ko included in the kernel can be helpful. =20 Regards=2C =20 Mark-Willem =20 > Date: Mon=2C 2 Apr 2012 17:42:12 +0400 > From: [email protected] > To: [email protected] > CC: [email protected] > Subject: Re: Howto: implement AMD SB9xx RAID5 support in dmraid >=20 > hello=2C >=20 > You may try the attached patch to support RAID5 in pdc dmraid format. It=20 > works OK for me. > Be sure to patch the kernel itself to support dm-raid45 target. >=20 >=20 > On 04/02/2012 02:59 AM=2C Phillip Susi wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > On 04/01/2012 04:21 PM=2C Mark-Willem Jansen wrote: > >> ERROR: pdc: zero sectors on /dev/sdd > >> ERROR: pdc: setting up RAID device /dev/sdd > > It looks like sectors() in pdc.c is missing the case for computing the size of a RAID5. For that matter=2C there appears to be no #define for PDC_T_RAID5=2C so you will need to add one and add it to the mapping table in type() and fix sectors() to handle it and probably a few other things. > > > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.11 (GNU/Linux) > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > > > iQEcBAEBAgAGBQJPeN2yAAoJEJrBOlT6nu75NFQIANRt6f4STTvdEV+lYbsT8OL3 > > l22ZRVt9ReIAu7CJzRjx0yfaYAUo6Zy8fwzOjt9eF4fPYVQvnn53SYQu/qtyv2DZ > > rDyv7owpxwcqQsZIYvBzQvWjEVT2s6VJrVtOVnZ2G1awa1SwIoc9LPnmouOeKhQG > > auYL+O1UqfQEroJDsnOkZ8srrgc/m2zN3AxID4ps0FymQyNgy2s+HhBlsI4LeUNK > > GimqJMwfbvaMlk0u8botcm2aMwogq+ap1GhJYddnRMluS6U4UJnS7NYrZYtww/1m > > 3WJWkX9hsYxo+QBA0qassg3zc/efzkC8pBBvDo7FLNGcXs2txi7dXmNXLferwFo= =3D > > =3Do0zP > > -----END PGP SIGNATURE----- > > > > _______________________________________________ > > Ataraid-list mailing list > > [email protected] > > https://www.redhat.com/mailman/listinfo/ataraid-list >=20 >=20 > --=20 > =D1 =F3=E2=E0=E6=E5=ED=E8=E5=EC=2C > Astarta > =C0=E4=EC=E8=ED=E8=F1=F2=F0=E0=F2=EE=F0 =D4=EE=F0=F3=EC=E0 "=CA= =F0=FB=F1=E8=ED=FB=E9 =C1=F3=EC" > http://rat.ru/forum/index.php >=20 > =93The Linux philosophy is 'Laugh in the face of danger'. > Oops. Wrong One. 'Do it yourself'. Yes=2C that's it.=94 > (c) Linus Torvalds. >=20 =20 =20 =20 =20 =20 --=20 =D1 =F3=E2=E0=E6=E5=ED=E8=E5=EC=2C Astarta =C0=E4=EC=E8=ED=E8=F1=F2=F0=E0=F2=EE=F0 =D4=EE=F0=F3=EC=E0 "=CA=F0=FB=F1=E8= =ED=FB=E9 =C1=F3=EC" http://rat.ru/forum/index.php =93The Linux philosophy is 'Laugh in the face of danger'. Oops. Wrong One. 'Do it yourself'. Yes=2C that's it.=94 (c) Linus Torvalds. = --_f2d03b0b-5049-439e-9a64-df1152ef70d5_ Content-Type: text/html; charset="windows-1251" Content-Transfer-Encoding: quoted-printable <html> <head> <style><!-- .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 10pt=3B font-family:Tahoma } --></style></head> <body class=3D'hmmessage'><div dir=3D'ltr'> Hi=2C<br><br>It keeps getting better. Looks like I am in for a kernel compi= lation. Or at least the changed modules.<br><br>Thanks and I will keep you = posted.<br><br>--<br>Mark-Willem<br><br><div><div id=3D"SkyDrivePlaceholder= "></div><hr id=3D"stopSpelling">Date: Tue=2C 3 Apr 2012 11:13:20 +0400<br>F= rom: [email protected]<br>To: [email protected]<br>CC: ataraid-list@redha= t.com<br>Subject: Re: Howto: implement AMD SB9xx RAID5 support in dmraid<br= ><br> =20 <meta http-equiv=3D"Content-Type" content=3D"text/html=3B charset=3Dunicode= "> <meta name=3D"Generator" content=3D"Microsoft SafeHTML"> =20 =20 =20 Hello=2C<br> <br> I do have dm-raid45 patch for 3.2. <br> I do not remember where it was taken from=2C but it compiles with 3.2 :-)<br> <br> <br> On 04/03/2012 11:13 AM=2C Mark-Willem Jansen wrote: <blockquote cite=3D"mid:[email protected]"> <style> .ExternalClass .ecxhmmessage P {padding:0px=3B} .ExternalClass body.ecxhmmessage {font-size:10pt=3Bfont-family:Tahoma=3B} </style> <div dir=3D"ltr"> Hello=2C<br> <br> Later this day I will apply the patch. But patching the kernel will be more cumbersome. The <br> present kernel running om my system is 3.2.0 and the patches found on the web are for <br> older kernels. But maybe the module dm-raid.ko included in the kernel can be helpful.<br> <br> Regards=2C<br> <br> Mark-Willem<br> <br> <div>>=3B Date: Mon=2C 2 Apr 2012 17:42:12 +0400<br> >=3B From: <a class=3D"ecxmoz-txt-link-abbreviated" href=3D"mai= lto:[email protected]">[email protected]</a><br> >=3B To: <a class=3D"ecxmoz-txt-link-abbreviated" href=3D"mailt= o:[email protected]">[email protected]</a><br> >=3B CC: <a class=3D"ecxmoz-txt-link-abbreviated" href=3D"mailt= o:[email protected]">[email protected]</a><br> >=3B Subject: Re: Howto: implement AMD SB9xx RAID5 support in dmraid<br> >=3B <br> >=3B hello=2C<br> >=3B <br> >=3B You may try the attached patch to support RAID5 in pdc dmraid format. It <br> >=3B works OK for me.<br> >=3B Be sure to patch the kernel itself to support dm-raid45 target.<br> >=3B <br> >=3B <br> >=3B On 04/02/2012 02:59 AM=2C Phillip Susi wrote:<br> >=3B >=3B -----BEGIN PGP SIGNED MESSAGE-----<br> >=3B >=3B Hash: SHA1<br> >=3B >=3B<br> >=3B >=3B On 04/01/2012 04:21 PM=2C Mark-Willem Jansen wrote:= <br> >=3B >=3B>=3B ERROR: pdc: zero sectors on /dev/sdd<br> >=3B >=3B>=3B ERROR: pdc: setting up RAID device /dev/sdd<b= r> >=3B >=3B It looks like sectors() in pdc.c is missing the cas= e for computing the size of a RAID5. For that matter=2C there appears to be no #define for PDC_T_RAID5=2C so you will need to add one and add it to the mapping table in type() and fix sectors() to handle it and probably a few other things.<br> >=3B >=3B<br> >=3B >=3B<br> >=3B >=3B -----BEGIN PGP SIGNATURE-----<br> >=3B >=3B Version: GnuPG v1.4.11 (GNU/Linux)<br> >=3B >=3B Comment: Using GnuPG with Mozilla - <a class=3D"ecxmoz-txt-link-freetext" href=3D"http://enigmail.moz= dev.org/" target=3D"_blank">http://enigmail.mozdev.org/</a><br> >=3B >=3B<br> >=3B >=3B iQEcBAEBAgAGBQJPeN2yAAoJEJrBOlT6nu75NFQIANRt6f4STTvdEV+lYbsT8OL3<= br> >=3B >=3B l22ZRVt9ReIAu7CJzRjx0yfaYAUo6Zy8fwzOjt9eF4fPYVQvnn53SYQu/qtyv2DZ<= br> >=3B >=3B rDyv7owpxwcqQsZIYvBzQvWjEVT2s6VJrVtOVnZ2G1awa1SwIoc9LPnmouOeKhQG<= br> >=3B >=3B auYL+O1UqfQEroJDsnOkZ8srrgc/m2zN3AxID4ps0FymQyNgy2s+HhBlsI4LeUNK<= br> >=3B >=3B GimqJMwfbvaMlk0u8botcm2aMwogq+ap1GhJYddnRMluS6U4UJnS7NYrZYtww/1m<= br> >=3B >=3B 3WJWkX9hsYxo+QBA0qassg3zc/efzkC8pBBvDo7FLNGcXs2txi7dXmNXLferwFo= =3D<br> >=3B >=3B =3Do0zP<br> >=3B >=3B -----END PGP SIGNATURE-----<br> >=3B >=3B<br> >=3B >=3B _______________________________________________<br> >=3B >=3B Ataraid-list mailing list<br> >=3B >=3B <a class=3D"ecxmoz-txt-link-abbreviated" href=3D"ma= ilto:[email protected]">[email protected]</a><br> >=3B >=3B <a class=3D"ecxmoz-txt-link-freetext" href=3D"https= ://www.redhat.com/mailman/listinfo/ataraid-list" target=3D"_blank">https://= www.redhat.com/mailman/listinfo/ataraid-list</a><br> >=3B <br> >=3B <br> >=3B -- <br> >=3B =D1 =F3=E2=E0=E6=E5=ED=E8=E5=EC=2C<br> >=3B Astarta<br> >=3B =C0=E4=EC=E8=ED=E8=F1=F2=F0=E0=F2=EE=F0 =D4=EE=F0=F3=EC=E0= "=CA=F0=FB=F1=E8=ED=FB=E9 =C1=F3=EC"<br> >=3B <a class=3D"ecxmoz-txt-link-freetext" href=3D"http://rat.r= u/forum/index.php" target=3D"_blank">http://rat.ru/forum/index.php</a><br> >=3B <br> >=3B =93The Linux philosophy is 'Laugh in the face of danger'.<= br> >=3B Oops. Wrong One. 'Do it yourself'. Yes=2C that's it.=94<br= > >=3B (c) Linus Torvalds.<br> >=3B <br> </div> </div> </blockquote> <br> <br> <pre class=3D"ecxmoz-signature">--=20 =D1 =F3=E2=E0=E6=E5=ED=E8=E5=EC=2C Astarta =C0=E4=EC=E8=ED=E8=F1=F2=F0=E0=F2=EE=F0 =D4=EE=F0=F3=EC=E0 "=CA=F0=FB=F1=E8= =ED=FB=E9 =C1=F3=EC" <a class=3D"ecxmoz-txt-link-freetext" href=3D"http://rat.ru/forum/index.php= " target=3D"_blank">http://rat.ru/forum/index.php</a> =93The Linux philosophy is 'Laugh in the face of danger'. Oops. Wrong One. 'Do it yourself'. Yes=2C that's it.=94 (c) Linus Torvalds. </pre></div> </div></body> </html>= --_f2d03b0b-5049-439e-9a64-df1152ef70d5_-- --===============0250557150982668316== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Ataraid-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/ataraid-list --===============0250557150982668316==--