MegaCLI on Debian 64bit with udev

Rudy Gevaert Rudy.Gevaert at UGent.be
Thu Jun 14 05:42:33 CDT 2007


Hi,

I'm trying to use MegaCLI on a Debian etch machine, 64bit.  I made a 
debian package with alien from the rpm that contained the MegaCLI 
software.  I'm using udev.

When running I get this:

marmot1:/opt# strace -x -e all -o log  -s 100 ./MegaCli -EncInfo -aAll
[ Process PID=5368 runs in 32 bit mode. ]

ERROR:Could not detect controller

As anybody tried this already?  Got it working?

Thanks in advance,

Rudy

Here is the output of strace:

execve("./MegaCli", ["./MegaCli", "-EncInfo", "-aAll"], [/* 17 vars */]) = 0
uname({sys="Linux", node="marmot1", ...}) = 0
brk(0)                                  = 0x8238000
brk(0x8259000)                          = 0x8259000
getrlimit(RLIMIT_STACK, {rlim_cur=-4286578688, rlim_max=0}) = 0
setrlimit(RLIMIT_STACK, {rlim_cur=-4292874240, rlim_max=0}) = 0
getpid()                                = 5368
rt_sigaction(SIGRTMIN, {0x80ef7d8, [], 0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x80ef870, [], 0}, NULL, 8) = 0
rt_sigaction(SIGRT_2, {0x80ef974, [], 0}, NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RT_1], NULL, 8) = 0
_sysctl({0x2081927c4, -4056048, (nil), (nil), (nil), 
18429323274176390400}) = 0
fstat64(0x1, 0xffc2128c)                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xfffffffff7f7f000
write(1, "\r                                     \n", 39) = 39
open("/proc/devices", O_RDONLY)         = 3
fstat64(0x3, 0xffc219b4)                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xfffffffff7f7e000
read(3, "Character devices:\n  1 mem\n  4 /dev/vc/0\n  4 tty\n  4 ttyS\n 
  5 /dev/tty\n  5 /dev/console\n  5 /dev/ptm"..., 1024) = 461
close(3)                                = 0
munmap(0xf7f7e000, 4096)                = 0
access("/dev/megaraid_sas_ioctl_node", R_OK) = 0
stat64(0x81916fa, 0xffc21a1c)           = 0
open("/dev/megaraid_sas_ioctl_node", O_RDONLY) = 3
open("/proc/devices", O_RDONLY)         = 4
fstat64(0x4, 0xffc219b4)                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xfffffffff7f7e000
read(4, "Character devices:\n  1 mem\n  4 /dev/vc/0\n  4 tty\n  4 ttyS\n 
  5 /dev/tty\n  5 /dev/console\n  5 /dev/ptm"..., 1024) = 461
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xf7f7e000, 4096)                = 0
uname({sys="Linux", node="marmot1", ...}) = 0
open("/proc/mounts", O_RDONLY)          = 4
fstat64(0x4, 0xffc21498)                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xfffffffff7f7e000
read(4, "rootfs / rootfs rw 0 0\n/dev/root / ext3 rw,data=ordered 0 
0\ntmpfs /lib/init/rw tmpfs rw,nosuid 0 0\np"..., 1024) = 568
close(4)                                = 0
munmap(0xf7f7e000, 4096)                = 0
lstat64(0xffc21a70, 0xffc2190c)         = 0
lstat64(0x823e7d2, 0xffc21a1c)          = 0
open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not a 
directory)
open("/sys/class/scsi_host", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(0x4, 0xffc219bc)                = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents64(4, /* 5 entries */, 4096)    = 144
lstat64(0xffc21a50, 0xffc218fc)         = 0
lstat64(0xffc21a50, 0xffc218cc)         = 0
lstat64(0xffc21a50, 0xffc218fc)         = 0
lstat64(0xffc21a50, 0xffc218cc)         = 0
lstat64(0xffc21a50, 0xffc218fc)         = 0
lstat64(0xffc21a50, 0xffc218cc)         = 0
getdents64(4, /* 0 entries */, 4096)    = 0
close(4)                                = 0
lstat64(0x8240c12, 0xffc21a0c)          = 0
lstat64(0x8240aca, 0xffc21a0c)          = 0
lstat64(0x8240982, 0xffc21a0c)          = 0
lstat64(0xffc21a70, 0xffc2191c)         = 0
lstat64(0x823f97c, 0xffc218fc)          = 0
open("/sys/class/scsi_host/host0", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(0x4, 0xffc2187c)                = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents64(4, /* 14 entries */, 4096)   = 432
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
readlink("/sys/class/scsi_host/host0/device", 
"../../../devices/pci0000:00/0000:00:06.0/0000:03:00.0/0000:04:04.0/host0", 
255) = 72
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
readlink("/sys/class/scsi_host/host0/subsystem", 
"../../../class/scsi_host", 255) = 24
getdents64(4, /* 0 entries */, 4096)    = 0
close(4)                                = 0
lstat64(0x8240051, 0xffc216cc)          = 0
open("/proc/mounts", O_RDONLY)          = 4
fstat64(0x4, 0xffc20e98)                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xfffffffff7f7e000
read(4, "rootfs / rootfs rw 0 0\n/dev/root / ext3 rw,data=ordered 0 
0\ntmpfs /lib/init/rw tmpfs rw,nosuid 0 0\np"..., 1024) = 568
close(4)                                = 0
munmap(0xf7f7e000, 4096)                = 0
lstat64(0xffc21460, 0xffc212ec)         = 0
open("/sys/bus", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(0x4, 0xffc2128c)                = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents64(4, /* 10 entries */, 4096)   = 256
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
getdents64(4, /* 0 entries */, 4096)    = 0
close(4)                                = 0
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
open("/sys/class/scsi_host/host0", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(0x4, 0xffc2198c)                = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents64(4, /* 14 entries */, 4096)   = 432
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x824059a, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host0/state", O_RDONLY) = 5
read(5, "running\n", 4096)              = 8
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x82406da, 0xffc218bc)           = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x824082a, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host0/proc_name", O_RDONLY) = 5
read(5, "mptspi\n", 4096)               = 7
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8241db2, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host0/unchecked_isa_dma", O_RDONLY) = 5
read(5, "0\n", 4096)                    = 2
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8241f02, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host0/sg_tablesize", O_RDONLY) = 5
read(5, "128\n", 4096)                  = 4
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8242052, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host0/can_queue", O_RDONLY) = 5
read(5, "127\n", 4096)                  = 4
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x82421a2, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host0/cmd_per_lun", O_RDONLY) = 5
read(5, "7\n", 4096)                    = 2
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x82422f2, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host0/host_busy", O_RDONLY) = 5
read(5, "0\n", 4096)                    = 2
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8242442, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host0/unique_id", O_RDONLY) = 5
read(5, "0\n", 4096)                    = 2
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8242592, 0xffc218bc)           = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
getdents64(4, /* 0 entries */, 4096)    = 0
close(4)                                = 0
open("/sys/class/scsi_host/host0/proc_name", O_RDONLY) = 4
read(4, "mptspi\n", 4096)               = 7
close(4)                                = 0
lstat64(0xffc21a70, 0xffc2191c)         = 0
lstat64(0x823fb2c, 0xffc218fc)          = 0
open("/sys/class/scsi_host/host1", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(0x4, 0xffc2187c)                = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents64(4, /* 29 entries */, 4096)   = 944
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
readlink("/sys/class/scsi_host/host1/device", 
"../../../devices/pci0000:00/0000:00:06.0/0000:03:00.2/0000:05:05.0/host1", 
255) = 72
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
readlink("/sys/class/scsi_host/host1/subsystem", 
"../../../class/scsi_host", 255) = 24
getdents64(4, /* 0 entries */, 4096)    = 0
close(4)                                = 0
lstat64(0x8240fa1, 0xffc216cc)          = 0
open("/proc/mounts", O_RDONLY)          = 4
fstat64(0x4, 0xffc20e98)                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xfffffffff7f7e000
read(4, "rootfs / rootfs rw 0 0\n/dev/root / ext3 rw,data=ordered 0 
0\ntmpfs /lib/init/rw tmpfs rw,nosuid 0 0\np"..., 1024) = 568
close(4)                                = 0
munmap(0xf7f7e000, 4096)                = 0
lstat64(0xffc21460, 0xffc212ec)         = 0
open("/sys/bus", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(0x4, 0xffc2128c)                = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents64(4, /* 10 entries */, 4096)   = 256
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
getdents64(4, /* 0 entries */, 4096)    = 0
close(4)                                = 0
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
open("/sys/class/scsi_host/host1", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(0x4, 0xffc2198c)                = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents64(4, /* 29 entries */, 4096)   = 944
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x82414ea, 0xffc218bc)           = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8241662, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/proc_name", O_RDONLY) = 5
read(5, "<NULL>\n", 4096)               = 7
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x82417a2, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/unchecked_isa_dma", O_RDONLY) = 5
read(5, "0\n", 4096)                    = 2
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x82418e2, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/sg_tablesize", O_RDONLY) = 5
read(5, "255\n", 4096)                  = 4
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8241a22, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/can_queue", O_RDONLY) = 5
read(5, "2176\n", 4096)                 = 5
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8241b62, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/cmd_per_lun", O_RDONLY) = 5
read(5, "3\n", 4096)                    = 2
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x824375a, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/host_busy", O_RDONLY) = 5
read(5, "0\n", 4096)                    = 2
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x82438aa, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/unique_id", O_RDONLY) = 5
read(5, "0\n", 4096)                    = 2
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x82439fa, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/optrom_fw_version", O_RDONLY) = 5
read(5, "0.00.00 0\n", 4096)            = 10
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8243b4a, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/optrom_fcode_version", O_RDONLY) = 5
read(5, "0.00\n", 4096)                 = 5
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8243c9a, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/optrom_efi_version", O_RDONLY) = 5
read(5, "0.00\n", 4096)                 = 5
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8243dea, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/optrom_bios_version", O_RDONLY) = 5
read(5, "1.42\n", 4096)                 = 5
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8243f3a, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/beacon", O_RDONLY) = 5
read(5, "Disabled\n", 4096)             = 9
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x824408a, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/zio_timer", O_RDONLY) = 5
read(5, "200 us\n", 4096)               = 7
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x82441da, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/zio", O_RDONLY) = 5
read(5, "Disabled\n", 4096)             = 9
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x824432a, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/state", O_RDONLY) = 5
read(5, "Link Down\n", 4096)            = 10
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x824447a, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/pci_info", O_RDONLY) = 5
read(5, "PCI-X (100 MHz)\n", 4096)      = 16
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x82445d2, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/model_desc", O_RDONLY) = 5
read(5, "\n", 4096)                     = 1
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8244722, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/model_name", O_RDONLY) = 5
read(5, "FCI/O-CARD2Gb/s\n", 4096)      = 16
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x824487a, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/isp_id", O_RDONLY) = 5
read(5, "4953 5020 2020 0002\n", 4096)  = 20
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x82449da, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/isp_name", O_RDONLY) = 5
read(5, "ISP2312\n", 4096)              = 8
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8244b2a, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/serial_num", O_RDONLY) = 5
read(5, "I70575\n", 4096)               = 7
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8244c7a, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/fw_version", O_RDONLY) = 5
read(5, "0.00.00 (0)\n", 4096)          = 12
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8244dd2, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host1/driver_version", O_RDONLY) = 5
read(5, "8.01.07-k5\n", 4096)           = 11
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8244f22, 0xffc218bc)           = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
getdents64(4, /* 0 entries */, 4096)    = 0
close(4)                                = 0
open("/sys/class/scsi_host/host1/proc_name", O_RDONLY) = 4
read(4, "<NULL>\n", 4096)               = 7
close(4)                                = 0
lstat64(0xffc21a70, 0xffc2191c)         = 0
lstat64(0x823fcb4, 0xffc218fc)          = 0
open("/sys/class/scsi_host/host2", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(0x4, 0xffc2187c)                = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents64(4, /* 29 entries */, 4096)   = 944
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
readlink("/sys/class/scsi_host/host2/device", 
"../../../devices/pci0000:00/0000:00:06.0/0000:03:00.2/0000:05:05.1/host2", 
255) = 72
lstat64(0xffc21910, 0xffc217bc)         = 0
lstat64(0xffc21910, 0xffc217bc)         = 0
readlink("/sys/class/scsi_host/host2/subsystem", 
"../../../class/scsi_host", 255) = 24
getdents64(4, /* 0 entries */, 4096)    = 0
close(4)                                = 0
lstat64(0x8242919, 0xffc216cc)          = 0
open("/proc/mounts", O_RDONLY)          = 4
fstat64(0x4, 0xffc20e98)                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xfffffffff7f7e000
read(4, "rootfs / rootfs rw 0 0\n/dev/root / ext3 rw,data=ordered 0 
0\ntmpfs /lib/init/rw tmpfs rw,nosuid 0 0\np"..., 1024) = 568
close(4)                                = 0
munmap(0xf7f7e000, 4096)                = 0
lstat64(0xffc21460, 0xffc212ec)         = 0
open("/sys/bus", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(0x4, 0xffc2128c)                = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents64(4, /* 10 entries */, 4096)   = 256
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
lstat64(0xffc21320, 0xffc211cc)         = 0
lstat64(0xffc21320, 0xffc2119c)         = 0
getdents64(4, /* 0 entries */, 4096)    = 0
close(4)                                = 0
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
lstat64(0xffc216a0, 0xffc2144c)         = -1 ENOENT (No such file or 
directory)
open("/sys/class/scsi_host/host2", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(0x4, 0xffc2198c)                = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents64(4, /* 29 entries */, 4096)   = 944
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8242eaa, 0xffc218bc)           = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8243022, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/proc_name", O_RDONLY) = 5
read(5, "<NULL>\n", 4096)               = 7
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8243172, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/unchecked_isa_dma", O_RDONLY) = 5
read(5, "0\n", 4096)                    = 2
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x82432c2, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/sg_tablesize", O_RDONLY) = 5
read(5, "255\n", 4096)                  = 4
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8243412, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/can_queue", O_RDONLY) = 5
read(5, "2176\n", 4096)                 = 5
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8243562, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/cmd_per_lun", O_RDONLY) = 5
read(5, "3\n", 4096)                    = 2
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x82460ea, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/host_busy", O_RDONLY) = 5
read(5, "0\n", 4096)                    = 2
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x824623a, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/unique_id", O_RDONLY) = 5
read(5, "1\n", 4096)                    = 2
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x824638a, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/optrom_fw_version", O_RDONLY) = 5
read(5, "0.00.00 0\n", 4096)            = 10
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x82464da, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/optrom_fcode_version", O_RDONLY) = 5
read(5, "0.00\n", 4096)                 = 5
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x824662a, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/optrom_efi_version", O_RDONLY) = 5
read(5, "0.00\n", 4096)                 = 5
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x824677a, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/optrom_bios_version", O_RDONLY) = 5
read(5, "1.42\n", 4096)                 = 5
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x82468da, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/beacon", O_RDONLY) = 5
read(5, "Disabled\n", 4096)             = 9
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8246a3a, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/zio_timer", O_RDONLY) = 5
read(5, "200 us\n", 4096)               = 7
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8246b9a, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/zio", O_RDONLY) = 5
read(5, "Disabled\n", 4096)             = 9
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8246cfa, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/state", O_RDONLY) = 5
read(5, "Link Down\n", 4096)            = 10
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8246e5a, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/pci_info", O_RDONLY) = 5
read(5, "PCI-X (100 MHz)\n", 4096)      = 16
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8246fc2, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/model_desc", O_RDONLY) = 5
read(5, "\n", 4096)                     = 1
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8247122, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/model_name", O_RDONLY) = 5
read(5, "FCI/O-CARD2Gb/s\n", 4096)      = 16
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x824728a, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/isp_id", O_RDONLY) = 5
read(5, "4953 5020 2020 0002\n", 4096)  = 20
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x82473fa, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/isp_name", O_RDONLY) = 5
read(5, "ISP2312\n", 4096)              = 8
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x824755a, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/serial_num", O_RDONLY) = 5
read(5, "I70831\n", 4096)               = 7
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x82476ba, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/fw_version", O_RDONLY) = 5
read(5, "0.00.00 (0)\n", 4096)          = 12
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8247822, 0xffc218bc)           = 0
open("/sys/class/scsi_host/host2/driver_version", O_RDONLY) = 5
read(5, "8.01.07-k5\n", 4096)           = 11
close(5)                                = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
stat64(0x8247982, 0xffc218bc)           = 0
lstat64(0xffc21a20, 0xffc218cc)         = 0
getdents64(4, /* 0 entries */, 4096)    = 0
close(4)                                = 0
open("/sys/class/scsi_host/host2/proc_name", O_RDONLY) = 4
read(4, "<NULL>\n", 4096)               = 7
close(4)                                = 0
lstat64(0xffc21a70, 0xffc2191c)         = 0
lstat64(0x823fe0a, 0xffc218dc)          = 0
open("/sys/class/scsi_host/host0", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(0x4, 0xffc2185c)                = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents64(4, /* 14 entries */, 4096)   = 432
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
readlink("/sys/class/scsi_host/host0/device", 
"../../../devices/pci0000:00/0000:00:06.0/0000:03:00.0/0000:04:04.0/host0", 
255) = 72
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
readlink("/sys/class/scsi_host/host0/subsystem", 
"../../../class/scsi_host", 255) = 24
getdents64(4, /* 0 entries */, 4096)    = 0
close(4)                                = 0
open("/sys/class/scsi_host/host0/proc_name", O_RDONLY) = 4
read(4, "mptspi\n", 4096)               = 7
close(4)                                = 0
lstat64(0xffc21a70, 0xffc2191c)         = 0
lstat64(0x8240d5a, 0xffc218dc)          = 0
open("/sys/class/scsi_host/host1", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(0x4, 0xffc2185c)                = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents64(4, /* 29 entries */, 4096)   = 944
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
readlink("/sys/class/scsi_host/host1/device", 
"../../../devices/pci0000:00/0000:00:06.0/0000:03:00.2/0000:05:05.0/host1", 
255) = 72
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
readlink("/sys/class/scsi_host/host1/subsystem", 
"../../../class/scsi_host", 255) = 24
getdents64(4, /* 0 entries */, 4096)    = 0
close(4)                                = 0
open("/sys/class/scsi_host/host1/proc_name", O_RDONLY) = 4
read(4, "<NULL>\n", 4096)               = 7
close(4)                                = 0
lstat64(0xffc21a70, 0xffc2191c)         = 0
lstat64(0x82426d2, 0xffc218dc)          = 0
open("/sys/class/scsi_host/host2", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(0x4, 0xffc2185c)                = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents64(4, /* 29 entries */, 4096)   = 944
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
readlink("/sys/class/scsi_host/host2/device", 
"../../../devices/pci0000:00/0000:00:06.0/0000:03:00.2/0000:05:05.1/host2", 
255) = 72
lstat64(0xffc218f0, 0xffc2179c)         = 0
lstat64(0xffc218f0, 0xffc2179c)         = 0
readlink("/sys/class/scsi_host/host2/subsystem", 
"../../../class/scsi_host", 255) = 24
getdents64(4, /* 0 entries */, 4096)    = 0
close(4)                                = 0
open("/sys/class/scsi_host/host2/proc_name", O_RDONLY) = 4
read(4, "<NULL>\n", 4096)               = 7
close(4)                                = 0
write(1, "ERROR:Could not detect controller.\n", 35) = 35
close(3)                                = 0
close(4294967295)                       = -1 EBADF (Bad file descriptor)
munmap(0xf7f7f000, 4096)                = 0
exit_group(1)                           = ?

-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          Rudy.Gevaert at UGent.be          tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office
Groep Systemen                    Systems group
Universiteit Gent                 Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --



More information about the Linux-PowerEdge mailing list