mdadm 3.2.5: SEGFAULTS caused by sha1-includes.diff patch!
Sebastian Riemer
sebastian.riemer at profitbricks.com
Mon Sep 24 13:58:30 UTC 2012
Hi there,
we've backported mdadm 3.2.5 to Debian Squeeze by reverting the
following commit:
d98f009: move initscript metadata from /lib/init/rw/.mdadm to /run/mdadm
We've encountered segfaults with activated bitmap and we could trace the
issue to the "sha1-includes.diff" patch.
Test with sha1-includes.diff:
# dd if=/dev/zero of=/dev/loop0 bs=1M count=20
# dd if=/dev/zero of=/dev/loop1 bs=1M count=20
# mdadm -C /dev/md0 -e 1.2 -b internal -l 1 -n 2 /dev/loop0 /dev/loop1
# mdadm -S /dev/md0
# mdadm --zero-superblock /dev/loop0
Segmentation Fault
The segfault is triggered always for sure if bitmap data is activated on
the volumes.
Test without sha1-includes.diff and "binutils-dev" added to build depends:
Same test commands but works as expected.
Please check and correct this!
Cheers,
Sebastian
--
Sebastian Riemer
Linux Kernel Developer
ProfitBricks GmbH • Greifswalder Str. 207 • 10405 Berlin, Germany
www.profitbricks.com • sebastian.riemer at profitbricks.com
Tel.: +49 - 30 - 60 98 56 991 - 915
Sitz der Gesellschaft: Berlin
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B
Geschäftsführer: Andreas Gauger, Achim Weiss
More information about the pkg-mdadm-devel
mailing list