Hi Neil,
I've applied your patch and it is working well, no more crash with
DEVICE=partitions in mdadm.conf
Thanks,
Arnaud
Le 15/07/2011 04:25, NeilBrown a écrit :
On Thu, 14 Jul 2011 20:24:52 +0200 Arnaud Desmier
<arnaud.desm...@googlemail.com> wrote:
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 :
...
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.
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