RE: Howto: implement AMD SB9xx RAID5 support in dmraid

Mark-Willem Jansen <[email protected]> Tue, 3 Apr 2012 09:13:54 +0200
Newsgroups gmane.linux.ataraid
Message-ID <[email protected]>
--===============0531521561787800081==
Content-Type: multipart/alternative;
	boundary="_0bb0b095-681d-47de-89b2-5c8911d8ac68_"

--_0bb0b095-681d-47de-89b2-5c8911d8ac68_
Content-Type: text/plain; charset="windows-1251"
Content-Transfer-Encoding: quoted-printable


Hello=2C

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 w=
eb are for=20
older kernels. But maybe the module dm-raid.ko included in the kernel can b=
e helpful.

Regards=2C

Mark-Willem

> 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
 		 	   		  =

--_0bb0b095-681d-47de-89b2-5c8911d8ac68_
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'>
Hello=2C<br><br>Later this day I will apply the patch. But patching the ker=
nel 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 mayb=
e the module dm-raid.ko included in the kernel can be helpful.<br><br>Regar=
ds=2C<br><br>Mark-Willem<br><br><div><div id=3D"SkyDrivePlaceholder"></div>=
&gt=3B Date: Mon=2C 2 Apr 2012 17:42:12 +0400<br>&gt=3B From: [email protected]=
u<br>&gt=3B To: [email protected]<br>&gt=3B CC: [email protected]<br>&g=
t=3B Subject: Re: Howto: implement AMD SB9xx RAID5 support in dmraid<br>&gt=
=3B <br>&gt=3B hello=2C<br>&gt=3B <br>&gt=3B You may try the attached patch=
 to support RAID5 in pdc dmraid format. It <br>&gt=3B works OK for me.<br>&=
gt=3B Be sure to patch the kernel itself to support dm-raid45 target.<br>&g=
t=3B <br>&gt=3B <br>&gt=3B On 04/02/2012 02:59 AM=2C Phillip Susi wrote:<br=
>&gt=3B &gt=3B -----BEGIN PGP SIGNED MESSAGE-----<br>&gt=3B &gt=3B Hash: SH=
A1<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B On 04/01/2012 04:21 PM=2C Mark-Willem =
Jansen wrote:<br>&gt=3B &gt=3B&gt=3B ERROR: pdc: zero sectors on /dev/sdd<b=
r>&gt=3B &gt=3B&gt=3B ERROR: pdc: setting up RAID device /dev/sdd<br>&gt=3B=
 &gt=3B 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.<=
br>&gt=3B &gt=3B<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B -----BEGIN PGP SIGNATURE=
-----<br>&gt=3B &gt=3B Version: GnuPG v1.4.11 (GNU/Linux)<br>&gt=3B &gt=3B =
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/<br>&gt=3B &=
gt=3B<br>&gt=3B &gt=3B iQEcBAEBAgAGBQJPeN2yAAoJEJrBOlT6nu75NFQIANRt6f4STTvd=
EV+lYbsT8OL3<br>&gt=3B &gt=3B l22ZRVt9ReIAu7CJzRjx0yfaYAUo6Zy8fwzOjt9eF4fPY=
VQvnn53SYQu/qtyv2DZ<br>&gt=3B &gt=3B rDyv7owpxwcqQsZIYvBzQvWjEVT2s6VJrVtOVn=
Z2G1awa1SwIoc9LPnmouOeKhQG<br>&gt=3B &gt=3B auYL+O1UqfQEroJDsnOkZ8srrgc/m2z=
N3AxID4ps0FymQyNgy2s+HhBlsI4LeUNK<br>&gt=3B &gt=3B GimqJMwfbvaMlk0u8botcm2a=
Mwogq+ap1GhJYddnRMluS6U4UJnS7NYrZYtww/1m<br>&gt=3B &gt=3B 3WJWkX9hsYxo+QBA0=
qassg3zc/efzkC8pBBvDo7FLNGcXs2txi7dXmNXLferwFo=3D<br>&gt=3B &gt=3B =3Do0zP<=
br>&gt=3B &gt=3B -----END PGP SIGNATURE-----<br>&gt=3B &gt=3B<br>&gt=3B &gt=
=3B _______________________________________________<br>&gt=3B &gt=3B Atarai=
d-list mailing list<br>&gt=3B &gt=3B [email protected]<br>&gt=3B &gt=
=3B https://www.redhat.com/mailman/listinfo/ataraid-list<br>&gt=3B <br>&gt=
=3B <br>&gt=3B -- <br>&gt=3B =D1 =F3=E2=E0=E6=E5=ED=E8=E5=EC=2C<br>&gt=3B A=
starta<br>&gt=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>&gt=3B http://rat.ru/forum/index.p=
hp<br>&gt=3B <br>&gt=3B =93The Linux philosophy is 'Laugh in the face of da=
nger'.<br>&gt=3B Oops. Wrong One. 'Do it yourself'. Yes=2C that's it.=94<br=
>&gt=3B (c) Linus Torvalds.<br>&gt=3B <br></div> 		 	   		  </div></body>
</html>=

--_0bb0b095-681d-47de-89b2-5c8911d8ac68_--


--===============0531521561787800081==
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
--===============0531521561787800081==--