By point-to-point you don't mean a direct attach do you? In this
case the BIOS of the HBA would have had its connectivity type set to,
parhaps, LOOP ONLY. For the switch connection to work check that the
connectivity type in the HBA BIOS is set to POINT TO POINT ONLY. Also,
check, in Red Hat, /var/log/messages for what connectivity type the HBA has
detected with the switch it should indicate an F Port. The qla2x00 driver
will also tell you the targets it has detected on the fabric. If it's not
detecting any targets check to insure that the target and the HBA reside in
the same zone on the fabric. 
        After the driver has loaded you'll find entries in procfs,
/proc/scsi/qla2x00/<HBA target>. You can cat() these files to see what LUNs
were detected by the driver. You can also gleen this information from
/var/log/messages where you'll also be able to determine which /dev/sd
device nodes are attached to which LUNs and the size that LUNs have been
detected as. 
        The same driver, qla2x00 is used for both the QLA2100 and QLA2200
HBA's. If you are using the qlogicfc or isp drivers, I don't believe either
support the QLA2200FC HBA.

Wayne
Sr Attach Engineer
EMC Corp

email:       [EMAIL PROTECTED]

"One man can make a difference, and every man should try."  - JFK


-----Original Message-----
From: Ana Yuseepi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 5:47 AM
To: [EMAIL PROTECTED]
Subject: ioctl SCC3


Good day to all,

 am trying to send an SCC-3 command to a target device. This command 
 also transfer data to the target device.

 I'd like to ask how is exactly the placement of the data? am using ioctl in
my program,

 result = ioctl(fd, 1, buffer);

 where:
 fd - is the file descriptor
 data in buffer is:
 byte 3-0   - size of data to be transferred to device + size of cdblen + 8
 byte 7-4   - (defaults to 0. I assume that this is length of buffer 
 to receive data FROM the device)
 byte 19-8 - cdb(12 bytes)
 byte n - 20 - data to be transferred to the device.

 my program works fine with qla2100 and the device connected point-to-point.

 but it doesn't work with qla2200 and switches.

 any idea on what is wrong?

 i appreciate any help...

 -Ana


Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to