From: Johnson, Chad (cmjohnson@uslec.com)
Date: Wed Jun 09 2004 - 15:40:51 EDT
Has anyone been able to get luxadm to work with anything other than a Q-Logic
HBA? I have the Emulex LP8000 and 'luxadm probe' just returns 'Error: Invalid
Pathname'.
I have trussed the luxadm program and found this:
~~~ Begin Truss Output ~~~
.....
fcntl(3, F_SETFD, 0x00000001) = 0
fstat64(3, 0xFFBEC1A8) = 0
getdents64(3, 0x001823B0, 1048) = 120
lstat("/dev/es/ses0", 0xFFBEF818) = 0
stat("/dev/es/ses0", 0xFFBEB5B8) = 0
lstat("/dev/es/ses0", 0xFFBEB5B8) = 0
readlink("/dev/es/ses0", "
../../devices/pci@1f,0/pci@5/fibre-channel@0/ses@0,0:0
", 1024) = 54
stat("/devices/pci@1f,0/pci@5/fibre-channel@0/ses@0,0:0", 0xFFBEB5B8) = 0
lstat("/devices/pci@1f,0/pci@5/fibre-channel@0/ses@0,0:0", 0xFFBEB5B8) = 0
open("/devices/pci@1f,0/pci@5/fibre-channel@0/ses@0,0:0", O_RDONLY|O_NDELAY) =
4
ioctl(4, 0x04C9, 0xFFBEC214) = 0
ioctl(4, 0x04C9, 0xFFBEC14C) = 0
ioctl(4, 0x04C9, 0xFFBEC14C) = 0
uname(0xFFBEBC78) = 1
close(4) = 0
close(3) = 0
Error: Invalid pathnamewrite(2, " E r r o r : I n v a".., 24) = 24
write(2, " \n\n", 3) = 3
llseek(0, 0, SEEK_CUR) = 9618
_exit(-1)
~~~ End Truss Output ~~~
Format shows the disks at c2t[1234]d0. The ls -l of /dev/dsk/c2t1d0s0 is:
lrwxrwxrwx 1 root root 53 May 17 14:50 /dev/dsk/c2t1d0s0 ->
../.. /devices/pci@1f,0/pci@5/fibre-channel@0/sd@1,0:a
<mailto:../../devices/pci@1f,0/pci@5/fibre-channel@0/sd@1,0:a>
It can be seen that what luxadm attempts to open (readlink("/dev/es/ses0", "
../../devices/pci@1f,0/pci@5/fibre-channel@0/ses@0,0:0...)
is a different device. I tried the obvious and just creating a link from
/dev/es/ses0 to ../../devices/pci@1f,0/pci@5/fibre-channel@0/sd@0,0:0
but that did not work ( sd@0,0:0) does not exist, it begins at 'sd@1,0', (one
entry per disk in the A5200) which makes sense, but it was worth a try.
So, has anyone gotten luxadm to work with an Emulex (or other than Q-Logic)
Fiber Channel HBA?
TIA,
Chad Johnson
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:50 EDT