Summary: | [MDADM - v1.8.1 - 05 November 2004] segfaults when assembling | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Avuton Olrich <avuton> |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | peter |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Avuton Olrich
2004-12-08 02:28:17 UTC
I have this same problem. Reverted back to 1.7. It may be related to this link I found via a Google search: http://www.spinics.net/lists/raid/msg06867.html There is a patch listed in one of the threads that supposidely fixes this problem. Ken 1.8.1 segfaults for me, too, when assembling partitions. Very simple setup: 2 partitions, raid0. Another setup, same thing: 2 partition, raid 1. Happens regardless if config file used, or driven only from command line. 1.9.0 works okay. 1.7.0 worked fine. This is on x86. Same issue here, and downgrading to 1.7 does remedy the issue. Gentoo Base System version 1.6.9 Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10 i686) ================================================================= System uname: 2.6.10 i686 AMD Athlon(tm) XP 2200+ Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 7 2005, 01:39:24)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.4.3-r4, 1.5.10-r4 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X apm avi berkdb bitmap-fonts bonobo crypt cups curl emboss encode esd f77 fam flac font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 gtkhtml imlib ipv6 jpeg libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline ruby sdl spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts xml xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY ver 1.9.0 is in portage tree. I think this one solve the segfault. yes, 1.9.0 is now in the tree ... re-open if it segfaults too Maybe I don't know much about Gentoo release policies, but I don't think this should be closed until mdadm-1.9.0 is marked stable. It is currently listed as (at least) ~x86. On most of my machines, I run with ~x86 just to try out new stuff. When I went to install a home media server, I did a brand new install of gentoo without ~x86 to make sure that it is stable. After installing a 1.2 TB raid and half filling it, I ran an emerge sync and update world just to make sure I had the latest patches installed. This involved the mdadm-1.7.0 --> 1.8.1 upgrade. On next reboot mdadm segfaults during assemble. This freaked me out to say the least. After some research: - I found the bug. It's an uninitialized pointer. Easy fix. - I found the release notes for 1.8.1. It's actually a pre-release for 2.0. The 1.9.0 release is based off of 1.8.0 and is the latest stable build. 1.8.1 is BETA. How this was ever put in the stable gentoo tree is curious, especially since it's been broken since November. I'm sorry if this comes off as rude, but since Gentoo does have stable and experimental trees, I find it simply unacceptable that a version of crucial server software that segfaults in normal use has been marked stable 4 months after the bug was reported. And the bug has been marked fixed when it isn't. It seriously undermines any faith I had in the stable tree. Can someone either PLEASE mark the 1.8.1 release in portage as unstable or provide a patch within the portage that fixes the uninitialized pointer bug? This has bit us the second time around where our raid5 array could not be assembled while in degraded mode. Thanks. -mk Either reopen the bug or file a new one, you may not get anyones attention otherwise. |