Bug#703315: mdadm: core dump with bad disk

Francesco Potortì Potorti at isti.cnr.it
Mon Mar 18 11:16:57 UTC 2013


>18.03.2013 14:41, Francesco Potortì wrote:
>> Package: mdadm
>> Version: 3.2.5-5
>> Severity: normal
>> 
>> Dear Maintainer,
>> 
>> The disk /dev/sdb is broken.  However, the kernel sees it, as you can
>> see in /proc/partitions.  In this situation, I see this:
>> 
>> tucano:~# mdadm /dev/md3 --add /dev/sdb1
>> Segmentation fault (core dumped)
>
>The only way forward from this is to try to get some debugging out of it.
>You've a coredump, we need a backtrace to see/know where it errors out.
>For this, the best is to try the same with a binary recompiled to have
>debugging symbols.  Are you familiar with (re)compile process and
>willing to help finding the bug?  I can help a bit with the former, by
>providing you a debug build of mdadm.

I have a programming background and a lot of past experience in
compiling and debugging, but I have not done it for quite a while, so I
am willing to do it if you help me, because otherwise I could not find
the time to do things by myself.  Also, I still have that running kernel
and broken disk, but I should substitute it soon, because I have now no
more redundancy, so this has to be done quickly.

Let's start :)



More information about the pkg-mdadm-devel mailing list