Skip to contentSkip to conversation

mdadm 3.0: segfault. known issue?

DISCUSSION Jon Nelson 2 participants 2 messages Sep 21, 2009 – Sep 25, 2009 MD RAID

lore
Share & tools
lore

Jon Nelson

author
#0 lore raw

On one machine I have, mdadm (3.0) segfaults every time the machine is booted. After boot, the same commandline appears to work just fine.

From the boot messages:

<6>mdadm[1815]: segfault at 5c ip 000000000041f2b3 sp 00007fffb3b62c80 error 4 in mdadm[400000+40000]

and more:

Starting MD Raid mdadm: /dev/md/turnip:12 has been started with 1 drive (out of 2).
/etc/init.d/boot.d/S07boot.md: line 97: 1815 Segmentation fault $mdadm_BIN -A -s -c $mdadm_CONFIG
failed

Signature · 1 line
Jon
#1 lore raw
Quoted 8 lines · On Monday September 21, [email protected] wrote:

On one machine I have, mdadm (3.0) segfaults every time the machine is booted. After boot, the same commandline appears to work just fine.

Quoted 1 line

From the boot messages:

<6>mdadm[1815]: segfault at 5c ip 000000000041f2b3 sp 00007fffb3b62c80 error 4 in mdadm[400000+40000]

Quoted 7 lines

and more:

Starting MD Raid mdadm: /dev/md/turnip:12 has been started with 1 drive (out of 2).
/etc/init.d/boot.d/S07boot.md: line 97: 1815 Segmentation fault $mdadm_BIN -A -s -c $mdadm_CONFIG
failed

Hard to know without more details.
Is this the OpenSUSE 11.1 mdadm, or one that you have compiled yourself?
If you

gdb which mdadm
x/20i 0x000000000041f2b3

does it show anything interesting?

Knowing the contents of $mdadm_CONFIG and the result of
mdadm -Es

might help too.

NeilBrown