* mdadm segfault when assembling the array
@ 2009-10-07 8:33 Tomasz Chmielewski
[not found] ` <70ed7c3e0910070140l1240d48ak1d12738f9f00f0e9@mail.gmail.com>
2009-10-07 9:03 ` Beolach
0 siblings, 2 replies; 9+ messages in thread
From: Tomasz Chmielewski @ 2009-10-07 8:33 UTC (permalink / raw)
To: linux-raid
My development machine crashed (a couple of times - X ati driver does
not seem to like multiple graphics cards), and I lost one of the md
RAID-1 arrays (other arrays work just fine):
# mdadm -V
mdadm - v3.0.2 - 25th September 2009
# mdadm /dev/md2 -A /dev/sda5 /dev/sdb5
Segmentation fault
# dmesg
[ 4736.407237] md: md2 stopped.
[ 4736.568062] mdadm[10019]: segfault at 0 ip 00007fc7172ed711 sp
00007fff9b486af8 error 4 in libc-2.10.1.so[7fc717274000+154000]
The kernel is 2.6.31.1.
Any hints before I try to fix it my way?
--
Tomasz Chmielewski
http://wpkg.org
^ permalink raw reply [flat|nested] 9+ messages in thread[parent not found: <70ed7c3e0910070140l1240d48ak1d12738f9f00f0e9@mail.gmail.com>]
* Re: mdadm segfault when assembling the array
2009-10-07 8:33 mdadm segfault when assembling the array Tomasz Chmielewski
[not found] ` <70ed7c3e0910070140l1240d48ak1d12738f9f00f0e9@mail.gmail.com>
@ 2009-10-07 9:03 ` Beolach
2009-10-07 9:13 ` Tomasz Chmielewski
1 sibling, 1 reply; 9+ messages in thread
From: Beolach @ 2009-10-07 9:03 UTC (permalink / raw)
To: Tomasz Chmielewski; +Cc: linux-raid
On Wed, Oct 7, 2009 at 02:33, Tomasz Chmielewski <mangoo@wpkg.org> wrote:
> My development machine crashed (a couple of times - X ati driver does not
> seem to like multiple graphics cards), and I lost one of the md RAID-1
> arrays (other arrays work just fine):
>
> # mdadm -V
> mdadm - v3.0.2 - 25th September 2009
>
> # mdadm /dev/md2 -A /dev/sda5 /dev/sdb5
> Segmentation fault
>
> # dmesg
> [ 4736.407237] md: md2 stopped.
> [ 4736.568062] mdadm[10019]: segfault at 0 ip 00007fc7172ed711 sp
> 00007fff9b486af8 error 4 in libc-2.10.1.so[7fc717274000+154000]
>
> The kernel is 2.6.31.1.
>
> Any hints before I try to fix it my way?
>
How did you install mdadm? I think I remember similar issues w/
segfaults when I
compiled w/ MAKEOPTS=-jN where N>1. What distro & architecture were you on?
Good luck,
Conway S. Smith
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: mdadm segfault when assembling the array
2009-10-07 9:03 ` Beolach
@ 2009-10-07 9:13 ` Tomasz Chmielewski
2009-10-07 10:49 ` Tomasz Chmielewski
2009-10-07 16:28 ` Luca Berra
0 siblings, 2 replies; 9+ messages in thread
From: Tomasz Chmielewski @ 2009-10-07 9:13 UTC (permalink / raw)
To: Beolach; +Cc: linux-raid
Beolach schrieb:
> On Wed, Oct 7, 2009 at 02:33, Tomasz Chmielewski <mangoo@wpkg.org> wrote:
>> The kernel is 2.6.31.1.
>>
>> Any hints before I try to fix it my way?
>>
>
> How did you install mdadm? I think I remember similar issues w/
> segfaults when I
> compiled w/ MAKEOPTS=-jN where N>1. What distro & architecture were you on?
I'm using a distribution package (Mandriva Cooker, 64 bit). It was
working fine all the time; started to break with yesterday's crashes (I
see my /boot array is not available as well).
However, I just compiled mdadm from source (without changing any options
in the Makefile), and it crashes too.
--
Tomasz Chmielewski
http://wpkg.org
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: mdadm segfault when assembling the array
2009-10-07 9:13 ` Tomasz Chmielewski
@ 2009-10-07 10:49 ` Tomasz Chmielewski
2009-10-07 16:28 ` Luca Berra
1 sibling, 0 replies; 9+ messages in thread
From: Tomasz Chmielewski @ 2009-10-07 10:49 UTC (permalink / raw)
To: Beolach; +Cc: linux-raid
Tomasz Chmielewski schrieb:
> Beolach schrieb:
>> On Wed, Oct 7, 2009 at 02:33, Tomasz Chmielewski <mangoo@wpkg.org> wrote:
>
>>> The kernel is 2.6.31.1.
>>>
>>> Any hints before I try to fix it my way?
>>>
>>
>> How did you install mdadm? I think I remember similar issues w/
>> segfaults when I
>> compiled w/ MAKEOPTS=-jN where N>1. What distro & architecture were
>> you on?
Well, mdadm just doesn't work on my machine - tried 3.0.1, 3.0.2:
# ./mdadm /dev/md3 -C /dev/sdb6 missing -n 2 -l 1
Segmentation fault
#
Latest git seems to work fine though.
--
Tomasz Chmielewski
http://wpkg.org
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: mdadm segfault when assembling the array
2009-10-07 9:13 ` Tomasz Chmielewski
2009-10-07 10:49 ` Tomasz Chmielewski
@ 2009-10-07 16:28 ` Luca Berra
2009-10-07 16:55 ` Tomasz Chmielewski
1 sibling, 1 reply; 9+ messages in thread
From: Luca Berra @ 2009-10-07 16:28 UTC (permalink / raw)
To: linux-raid
On Wed, Oct 07, 2009 at 11:13:26AM +0200, Tomasz Chmielewski wrote:
> Beolach schrieb:
>> On Wed, Oct 7, 2009 at 02:33, Tomasz Chmielewski <mangoo@wpkg.org> wrote:
>
>>> The kernel is 2.6.31.1.
>>>
>>> Any hints before I try to fix it my way?
>>>
>>
>> How did you install mdadm? I think I remember similar issues w/
>> segfaults when I
>> compiled w/ MAKEOPTS=-jN where N>1. What distro & architecture were you on?
>
> I'm using a distribution package (Mandriva Cooker, 64 bit). It was working
> fine all the time; started to break with yesterday's crashes (I see my
> /boot array is not available as well).
could you run it under gdb and post a backtrace?
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: mdadm segfault when assembling the array
2009-10-07 16:28 ` Luca Berra
@ 2009-10-07 16:55 ` Tomasz Chmielewski
0 siblings, 0 replies; 9+ messages in thread
From: Tomasz Chmielewski @ 2009-10-07 16:55 UTC (permalink / raw)
To: linux-raid
Luca Berra schrieb:
> On Wed, Oct 07, 2009 at 11:13:26AM +0200, Tomasz Chmielewski wrote:
>> Beolach schrieb:
>>> On Wed, Oct 7, 2009 at 02:33, Tomasz Chmielewski <mangoo@wpkg.org>
>>> wrote:
>>
>>>> The kernel is 2.6.31.1.
>>>>
>>>> Any hints before I try to fix it my way?
>>>>
>>>
>>> How did you install mdadm? I think I remember similar issues w/
>>> segfaults when I
>>> compiled w/ MAKEOPTS=-jN where N>1. What distro & architecture were
>>> you on?
>>
>> I'm using a distribution package (Mandriva Cooker, 64 bit). It was
>> working fine all the time; started to break with yesterday's crashes
>> (I see my /boot array is not available as well).
> could you run it under gdb and post a backtrace?
As I said, it's fixed in the latest mdadm git tree.
--
Tomasz Chmielewski
http://wpkg.org
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-10-07 16:55 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-07 8:33 mdadm segfault when assembling the array Tomasz Chmielewski
[not found] ` <70ed7c3e0910070140l1240d48ak1d12738f9f00f0e9@mail.gmail.com>
2009-10-07 8:48 ` Tomasz Chmielewski
2009-10-07 8:50 ` Majed B.
2009-10-07 9:03 ` Tomasz Chmielewski
2009-10-07 9:03 ` Beolach
2009-10-07 9:13 ` Tomasz Chmielewski
2009-10-07 10:49 ` Tomasz Chmielewski
2009-10-07 16:28 ` Luca Berra
2009-10-07 16:55 ` Tomasz Chmielewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).