<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <font size="-1">Hi Neil,<br>
      <br>
      I've applied your patch and it is working well, no more crash with
      DEVICE=partitions in mdadm.conf<br>
      <br>
      Thanks,<br>
      <br>
      Arnaud<br>
    </font><br>
    Le 15/07/2011 04:25, NeilBrown a écrit :
    <blockquote cite="mid:20110715122550.53e894f0@notabene.brown"
      type="cite">
      <pre wrap="">On Thu, 14 Jul 2011 20:24:52 +0200 Arnaud Desmier
<a class="moz-txt-link-rfc2396E" href="mailto:arnaud.desmier@googlemail.com"><arnaud.desmier@googlemail.com></a> wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">Hi Scott,

Thanks for your answer, I've changed /etc/mdadm/mdadm.conf as you 
requested and "/sbin/mdadm --assemble --scan --auto=yes --symlink=no" 
didn't crashed but exit with code 2, I don't know what it means.

Reboot is now going fine and each array is correctly mounted.

Arnaud

Le 10/07/2011 14:28, Scott Schaefer a écrit :
</pre>
      </blockquote>
      <pre wrap="">...
</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">If it "succeeds", then I think there is reasonable chance this is 
related to the mtdblock device(s).  Update the initramfs, reboot, and 
see if the devices are normal on startup.
</pre>
        </blockquote>
      </blockquote>
      <pre wrap="">
So it seems to be directly related to the mtdblock devices... I wonder how.

If you have time/interest to experiment and compile some code I would be very
interested to know if changing:

        if (posix_memalign((void**)&super, 512,

on line 1291 of super1.c (in the function load_super1) to

        if (posix_memalign((void**)&super, 4096,

made any difference.
i.e. get the source, make this change, compile and install.  Then
revert the change to mdadm.conf and see if it then fails or works.

Thanks,
NeilBrown

</pre>
    </blockquote>
  </body>
</html>