Re: bugs in md.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



After stoping /dev/md0 i tried to assemble updating summaries with mdadm
1.3 + patches but i receive a segmentation fault

mdadm compiled staticaly on a Debian stable (gcc 2.95) and unstable (gcc
3.3.2)

grignolino:/home/sandro# ./bin/mdadm --assemble --update=summaries /dev/md0 /dev/hdc3 /dev/hdd3
Segmentation fault
grignolino:/home/sandro# strace ./bin/mdadm --assemble --update=summaries /dev/md0 /dev/hdc3 /dev/hdd3
execve("./bin/mdadm", ["./bin/mdadm", "--assemble", "--update=summaries", "/dev/md0", "/dev/hdc3", "/dev/hdd3"], [/* 28 vars */]) = 0
fcntl64(0, F_GETFD)                     = 0
fcntl64(1, F_GETFD)                     = 0
fcntl64(2, F_GETFD)                     = 0
uname({sys="Linux", node="grignolino", ...}) = 0
geteuid32()                             = 0
getuid32()                              = 0
getegid32()                             = 0
getgid32()                              = 0
brk(0)                                  = 0x80c535c
brk(0x80c537c)                          = 0x80c537c
brk(0x80c6000)                          = 0x80c6000
open("/dev/md0", O_RDWR)                = 3
fstat64(3, {st_mode=S_IFBLK|0660, st_rdev=makedev(9, 0), ...}) = 0
ioctl(3, 0x800c0910, 0xbffff788)        = 0
fstat64(3, {st_mode=S_IFBLK|0660, st_rdev=makedev(9, 0), ...}) = 0
ioctl(3, 0x800c0910, 0xbfffd5e8)        = 0
uname({sys="Linux", node="grignolino", ...}) = 0
ioctl(3, 0x80480911, 0xbffff7ac)        = -1 ENODEV (No such device)
ioctl(3, 0x932, 0)                      = -1 ENODEV (No such device)
open("/dev/hdc3", O_RDONLY)             = 4
fstat64(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(22, 3), ...}) = 0
ioctl(4, BLKGETSIZE, 0xbfffd648)        = 0
ioctl(4, BLKFLSBUF, 0)                  = 0
_llseek(4, 81402200064, [81402200064], SEEK_SET) = 0
read(4, "\374N+\251\0\0\0\0Z\0\0\0\0\0\0\0\0\0\0\0\242\7\262\352"..., 4096) = 4096
close(4)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux