On Fri, 2005-09-23 at 16:41 +0200, Neil Brown wrote: > On Friday September 23, mingz@xxxxxxxxxxx wrote: > > i did not read the mdadm code. but i suspect there is a pointer misuse > > when there is no configuration file available. > > > ... > > [root@localhost ~]# strace mdadm --assemble /dev/md0 > > execve("/sbin/mdadm", ["mdadm", "--assemble", "/dev/md0"], [/* 23 vars > > */]) = 0 > > uname({sys="Linux", node="localhost.localdomain", ...}) = 0 > > brk(0) = 0x515000 > ... > > open("/etc/mdadm.conf", O_RDONLY) = -1 ENOENT (No such file or > > directory) > > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > > +++ killed by SIGSEGV +++ > > > > [root@localhost ~]# mdadm --version > > mdadm - v1.6.0 - 4 June 2004 > > Fixed in v1.8.0, but I would recommend upgrading all the way to > 1.12.0, or even 2.1. > > NeilBrown ic. thx. but the centos 4.1 does not provide this update yet. will get around. ming - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html