Hi,
I've been using LSI's "megarc" tool in order to get and process my Dell
Perc4 RAID card's status and information for monitoring purposes. It
works fine with RHEL4, but no longer does with RHEL5.
The device file it uses is still there :
# ls -l /dev/megadev0
crw------- 1 root root 254, 0 Mar 16 15:14 /dev/megadev0
But it seems that the kernel modules might have been changed somehow.
Working RHEL4 strace :
[...]
open("/dev/megadev0", O_RDONLY) = 3
ioctl(3, MGSL_IOCSPARAMS or SNDCTL_MIDI_PRETIME, 0x8130260) = 0
ioctl(3, MGSL_IOCSPARAMS or SNDCTL_MIDI_PRETIME, 0x8130260) = 1
open("/dev/sg0", O_RDWR) = 4
ioctl(4, SG_GET_SCSI_ID, 0xffffd590) = 0
ioctl(4, SG_IO, 0xffffd5c0) = 0
open("/dev/sg1", O_RDWR) = 5
ioctl(5, SG_GET_SCSI_ID, 0xffffd590) = 0
ioctl(5, SG_IO, 0xffffd5c0) = 0
open("/dev/sg2", O_RDWR) = -1 ENOENT (No such file or
directory)
[...]
Non working RHEL5 strace :
[...]
open("/dev/megadev0", O_RDONLY) = -1 ENODEV (No such device)
open("/dev/sg0", O_RDWR) = 3
ioctl(3, SG_GET_SCSI_ID, 0xff991560) = 0
ioctl(3, SG_IO, 0xff991590) = 0
open("/dev/sg1", O_RDWR) = 4
ioctl(4, SG_GET_SCSI_ID, 0xff991560) = 0
ioctl(4, SG_IO, 0xff991590) = 0
open("/dev/sg2", O_RDWR) = -1 ENOENT (No such file or
directory)
[...]
The "No such device" seems to be the problem. In both systems, I have
both "megaraid_mm" and "megaraid_mbox" modules loaded.
Does anyone know how to fix this? Or another way to reliably integrate
Perc4 monitoring into my setup? (no, the *UGLY* standalone "Megamon" is
*NOT* an option! ;-))
Matthias
--
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora Core release 6 (Zod) - Linux kernel 2.6.20-1.2948.fc6
Load : 0.29 0.32 0.41
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list