This has me VERY concerned. I periodically do an "lsraid -A -p" to check on the status of my RAID partitions and starting this morning the command always core dumps:
[root@server root]# lsraid -A -p Segmentation fault
Doing an strace on that command results in this:
execve("/sbin/lsraid", ["lsraid", "-A", "-p"], [/* 30 vars */]) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0
x40016000
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=40485, ...}) = 0
old_mmap(NULL, 40485, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
close(3) = 0
open("/lib/tls/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220W\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1536292, ...}) = 0
old_mmap(0x42000000, 1261416, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x420000
00
old_mmap(0x4212f000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x12
f000) = 0x4212f000
old_mmap(0x42132000, 8040, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONY
MOUS, -1, 0) = 0x42132000
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0
x40021000
set_thread_area({entry_number:-1 -> 6, base_addr:0x40021280, limit:1048575, seg_
32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, usea
ble:1}) = 0
munmap(0x40017000, 40485) = 0
brk(0) = 0x8058ed8
brk(0x8059ed8) = 0x8059ed8
brk(0) = 0x8059ed8
brk(0x805a000) = 0x805a000
open("/proc/partitions", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40
017000
read(3, "major minor #blocks name r"..., 4096) = 1451
stat64("/dev/sda", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 0), ...}) = 0
brk(0) = 0x805a000
brk(0x805b000) = 0x805b000
open("/proc/ide//sda/media", O_RDONLY) = -1 ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
The interesting thing here is that I'm using two SCSI discs doing mirroring on three partitions. Why would it be trying to open "/proc/ide//sda/media", that path makes no sense??
This is my first experience with software mirroring under Linux so I'm at a loss on how to diagnose this problem. I'm not the type of person to reboot to fix it. I want to know what happened and fix the cause.
-- Greg Gulik http://www.gulik.org/greg/ greg @ gulik.org
-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list