mdadm segfault when assembling the array
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?
Signature · 2 lines
Tomasz Chmielewski http://wpkg.org
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line · Majed B.
If you're not using the latest version of mdadm, grab it, compile it, install it and try. I faced the same problem because I was using an older version.
AFAIK mdadm 3.0.2 is the latest-greatest (stable) release:
http://www.kernel.org/pub/linux/utils/raid/mdadm/
Signature · 2 lines
Tomasz Chmielewski http://wpkg.org
My bad. I haven't noticed that you were using 3.0.2
Try to force the assembly of the array -Af and see if it works. If that doesn't work, run it again using strace (strace mdadm ...) and that should give much more detail into why this is happening.
Quoted 5 lines · Tomasz Chmielewski
Quoted 2 lines · Majed B.
If you're not using the latest version of mdadm, grab it, compile it, install it and try. I faced the same problem because I was using an older version.
Quoted 8 lines
AFAIK mdadm 3.0.2 is the latest-greatest (stable) release:
http://www.kernel.org/pub/linux/utils/raid/mdadm/
--
Tomasz Chmielewski
http://wpkg.org
--
Majed B.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 5 lines · Majed B.
My bad. I haven't noticed that you were using 3.0.2
Try to force the assembly of the array -Af and see if it works. If that doesn't work, run it again using strace (strace mdadm ...) and that should give much more detail into why this is happening.
I don't see anything particular in the strace:
http://www1.wpkg.org/mdadm.txt
(here, adding only one drive, as I had to mount the other drive without md to access data).
Signature · 2 lines
Tomasz Chmielewski http://wpkg.org
Quoted 10 lines · Tomasz Chmielewski
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
Quoted 9 lines
# 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
Quoted 10 lines · Beolach
Quoted 4 lines · Tomasz Chmielewski
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.
Signature · 2 lines
Tomasz Chmielewski http://wpkg.org
Quoted 11 lines · Tomasz Chmielewski
Quoted 10 lines · Beolach
Quoted 4 lines · Tomasz Chmielewski
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.
Signature · 2 lines
Tomasz Chmielewski http://wpkg.org
Quoted 5 lines · Tomasz Chmielewski
Quoted 4 lines · Beolach
Quoted 2 lines · Tomasz Chmielewski
The kernel is 2.6.31.1.
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
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.
Signature · 6 lines
Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \
Quoted 9 lines · Luca Berra
Quoted 8 lines · Tomasz Chmielewski
Quoted 7 lines · Beolach
Quoted 4 lines · Tomasz Chmielewski
The kernel is 2.6.31.1.
Any hints before I try to fix it my way?
Quoted 6 lines
Quoted 5 lines
Quoted 3 lines
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.
Signature · 2 lines
Tomasz Chmielewski http://wpkg.org