Skip to contentSkip to conversation

qlogic and FC to SCSI bridge

DISCUSSION Michael Ulbrich 2 participants 2 messages Sep 27, 2002 – Sep 30, 2002 SCSI

lore
Share & tools
lore
#0 lore raw

Hi all,

I'm trying to use a Compaq Fibre Channel Tape Controller II as a FC to SCSI bridge assuming that it provides general SCSI bridging functionality and is not limited (as the name might imply) to SCSI tape devices. The FCTC has two wide differential SCSI busses. For testing purposes I connected one harddisk to one of the busses.

The host bus adapter is a qlogic 2100 in a linux box running RH 7.3 with the Qlogic driver qla2xxx updated to version 6.1b5 - to my knowledge the latest version from qlogic.

During boot the qla ROM BIOS detects the device connected to the FCTC:

Quoted 4 lines

QLogic Corporation
QLA2000,QLA2100 PCI Fibre Channel ROM BIOS Version 1.37
...

Quoted 8 lines

Press <ALT-Q> for Fast!UTIL

ISP2000/2100 Firmware Version 1.15.37
QLogic Adapter isung IRQ number 10

Device Device Adapter Loop Loop Vendor    Product    Product
Number Type   Number   ID  LUN    ID        ID       Revision
 82   Disk     0      125  7    Quantum   XP34361WD  HP10

Booting with qla2100.o version 6.1b5 gives the following result:

Quoted 8 lines

kernel: qla2x00_set_info starts at address = e082e060
kernel: PCI: Found IRQ 10 for device 01:02.0
kernel: qla2x00: Found VID=1077 DID=2100 SSVID=1077 SSDID=1
kernel: scsi0: Found a QLA2100 @ bus 1, device 0x2, irq 10, iobase 0xb800
kernel: scsi(0): Allocated 4096 SRB(s)
kernel: scsi(0): Configure NVRAM parameters...
kernel: scsi(0): 64 Bit PCI Addressing Enabled
kernel: scsi(0): Verifying loaded RISC code...

Quoted 8 lines

kernel: scsi(0): Verifying chip...
kernel: scsi(0): LIP reset occurred
kernel: scsi(0): Waiting for LIP to complete...
kernel: scsi(0): LIP occurred.
kernel: scsi(0): LOOP UP detected
kernel: scsi0: Topology - (Loop), Host Loop address 0x0
kernel: scsi0 : QLogic QLA2100 PCI to Fibre Channel Host Adapter: bus 1 device 2 irq 10
kernel: Firmware version: 1.19.24, Driver version 6.1b5

Using the qlogic driver (ver. 5.31.RH1) from the RH 7.3 distribution results in (this module lists as scsi(3) since it's loaded into the running system after scsi(0) has been removed, scsi(1,2) are two onboard HAs driven by sym53c8xx):

Quoted 11 lines

kernel: PCI: Found IRQ 10 for device 01:02.0
kernel: qla2x00: Found VID=1077 DID=2100 SSVID=1077 SSDID=1
kernel: scsi3: Found a QLA2100 @ bus 1, device 0x2, irq 10, iobase 0xb800
kernel: scsi(3): Configure NVRAM parameters...
kernel: qla2x00: 64 Bit PCI Addressing Enabled
kernel: scsi(3): Verifying loaded RISC code...
kernel: scsi(3): Verifying chip...
kernel: scsi(3): LIP reset occurred
kernel: scsi(3): Waiting for LIP to complete...
kernel: scsi(3): LIP occurred.
kernel: scsi(3): LOOP UP detected

Quoted 8 lines

kernel: scsi3: Topology - (Loop), Host Loop address 0x0
kernel: scsi-qla00-adapter-port=210000e08b0073ca\;
kernel: scsi-qla00-tgt-000-di-00-node=100000e00201a2df\;
kernel: scsi-qla00-tgt-000-di-00-port=100000e00201a2df\;
kernel: scsi-qla00-tgt-000-di-00-control=00\;
kernel: scsi-qla00-tgt-000-di-00-preferred=ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\;
kernel: scsi3 : QLogic QLA2100 PCI to Fibre Channel Host Adapter: bus 1 device 2 irq 10
kernel: Firmware version: 1.19.16, Driver version 5.31.RH1

In both cases the device attached to the SCSI bridge is not recognized by the qlogic driver. The older driver gives obviously some additional (debugging?) output. The kernel is configured with CONFIG_SCSI_MULTI_LUN=y.

Maybe someone on this list knows what I'm doing wrong or can give some hints in which direction to proceed. Any ideas that might help are greatly appreciated.

TIA ... Michael

#1 lore raw
Quoted 34 lines · Michael Ulbrich

Hi all,

I'm trying to use a Compaq Fibre Channel Tape Controller II as a FC to SCSI bridge assuming that it provides general SCSI bridging functionality and is not limited (as the name might imply) to SCSI tape devices. The FCTC has two wide differential SCSI busses. For testing purposes I connected one harddisk to one of the busses.

The host bus adapter is a qlogic 2100 in a linux box running RH 7.3 with the Qlogic driver qla2xxx updated to version 6.1b5 - to my knowledge the latest version from qlogic.

During boot the qla ROM BIOS detects the device connected to the FCTC:

Quoted 4 lines

QLogic Corporation
QLA2000,QLA2100 PCI Fibre Channel ROM BIOS Version 1.37
...

Quoted 8 lines

Press <ALT-Q> for Fast!UTIL

ISP2000/2100 Firmware Version 1.15.37
QLogic Adapter isung IRQ number 10

Device Device Adapter Loop Loop Vendor    Product    Product
Number Type   Number   ID  LUN    ID        ID       Revision
 82   Disk     0      125  7    Quantum   XP34361WD  HP10

Booting with qla2100.o version 6.1b5 gives the following result:

[...]

Quoted 8 lines

In both cases the device attached to the SCSI bridge is not recognized by the qlogic driver. The older driver gives obviously some additional (debugging?) output. The kernel is configured with CONFIG_SCSI_MULTI_LUN=y.

Maybe someone on this list knows what I'm doing wrong or can give some hints in which direction to proceed. Any ideas that might help are greatly appreciated.

Hello,

Maybe it's a problem about lun scaning...
Your SCSI disk seems to use luns > 0

Try using this script (Rescan SCSI bus) :
http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh

(use option -l to scan all luns)

from Kurt Garloff page :
http://www.garloff.de/kurt/linux/

Good luck !

-------------
Fabien SALVI Centre de Ressources Informatiques
Archamps, France -- http://www.cri74.org
PingOO GNU/linux distribution : http://www.pingoo.org