Howto: implement AMD SB9xx RAID5 support in dmraid

Mark-Willem Jansen markwillem at hotmail.com
Tue Apr 3 07:47:59 UTC 2012


Hi,

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, 3 Apr 2012 11:13:20 +0400
From: astarta at rat.ru
To: markwillem at hotmail.com
CC: ataraid-list at redhat.com
Subject: Re: Howto: implement AMD SB9xx RAID5 support in dmraid


  


    
  
  
    Hello,

    

    I do have dm-raid45 patch for 3.2. 

    I do not remember where it was taken from, but it compiles with 3.2
    :-)

    

    

    On 04/03/2012 11:13 AM, Mark-Willem Jansen wrote:
    
      
      
        Hello,

        

        Later this day I will apply the patch. But patching the kernel
        will be more cumbersome. The 

        present kernel running om my system is 3.2.0 and the patches
        found on the web are for 

        older kernels. But maybe the module dm-raid.ko included in the
        kernel can be helpful.

        

        Regards,

        

        Mark-Willem

        

        > Date: Mon, 2 Apr 2012 17:42:12 +0400

          > From: astarta at rat.ru

          > To: markwillem at hotmail.com

          > CC: psusi at ubuntu.com

          > Subject: Re: Howto: implement AMD SB9xx RAID5 support in
          dmraid

          > 

          > hello,

          > 

          > You may try the attached patch to support RAID5 in pdc
          dmraid format. It 

          > works OK for me.

          > Be sure to patch the kernel itself to support dm-raid45
          target.

          > 

          > 

          > On 04/02/2012 02:59 AM, Phillip Susi wrote:

          > > -----BEGIN PGP SIGNED MESSAGE-----

          > > Hash: SHA1

          > >

          > > On 04/01/2012 04:21 PM, 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, there
          appears to be no #define for PDC_T_RAID5, 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=

          > > =o0zP

          > > -----END PGP SIGNATURE-----

          > >

          > > _______________________________________________

          > > Ataraid-list mailing list

          > > Ataraid-list at redhat.com

          > > https://www.redhat.com/mailman/listinfo/ataraid-list

          > 

          > 

          > -- 

          > С уважением,

          > Astarta

          > Администратор Форума "Крысиный Бум"

          > http://rat.ru/forum/index.php

          > 

          > “The Linux philosophy is 'Laugh in the face of danger'.

          > Oops. Wrong One. 'Do it yourself'. Yes, that's it.”

          > (c) Linus Torvalds.

          > 

        
      
    
    

    

    -- 
С уважением,
Astarta
Администратор Форума "Крысиный Бум"
http://rat.ru/forum/index.php

“The Linux philosophy is 'Laugh in the face of danger'.
Oops. Wrong One. 'Do it yourself'. Yes, that's it.”
(c) Linus Torvalds.  		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/ataraid-list/attachments/20120403/ca2178cc/attachment.htm>


More information about the Ataraid-list mailing list