<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/0.14.0">
</HEAD>
<BODY>All,<br>
Does anyone have any experience or know any gotchas when connecting a node to a fibre switch (that drives a tape SAN)?&nbsp; Here's the hardware and situation :<br>
<br>
gateway node is an IBM x340 (dual Intel PIII, 2Gb RAM, etc.&nbsp; fairly generic high-end server-class machine) w/ a QLogic 2200 series Fibre Channel adapter, attached to an IBM SAN Fibre Channel Switch 2109 Model S16 (actually a number of them interconnected, ea. 16 port).&nbsp; There are a number of IBM Magstar 3590E1 model tape drives (high-end geophysical use) attached to the SAN switch.&nbsp; Some of these tape drives are connected directly to the switch (fibre from tape drive to switch), others are UltraWide Differential SCSI going to a switch that converts that to fibre, then to the main fibre switch.<br>
<br>
We are running Redhat Linux 7.1, kernel 2.4.3 (redhat updates version, w/ the extra patches/tweaks and drivers they include), all patches and updates that applicable installed.<br>
<br>
So far, I have connected an individual tape drive directly to the node, everything came up fine, could read/write, run all mt commands, etc. just fine (performance was actually a good deal better than w/ the SCSI connections I've previously used).&nbsp; Then I plugged the node directly into the fibre switch and booted it.&nbsp; The kernel boots, sees devices, sees the Qlogic adapter, sees the 29 devices and their addresses attached to it, and then just sits there.&nbsp; The messages are :<br>
<br>
( at boot time - w/out the link to the fibre switch plugged in - from /var/log/messages )<br>
...<br>
qla2x00: detect() found an HBA<br>
qla2x00: VID=1077 DID=2200 SSVID=1077 SSDID=2<br>
(scsi): Found a QLA2200&nbsp; @ bus 1, device 0x5, irq 20, iobase 0x4d00<br>
scsi(2): Configure NVRAM parameters...<br>
scsi(2): Verifying loaded RISC code...<br>
scsi(2): Verifying chip...<br>
scsi(2): Waiting for LIP to complete...<br>
scsi-qla0-adapter-node=200000e08b034ec1;<br>
scsi-qla0-adapter-port=210000e08b034ec1;<br>
scsi2 : QLogic QLA2200 PCI to Fibre Channel Host Adapter: bus 1 device 5 irq 20<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Firmware version:&nbsp; 2.01.27, Driver version 4.28<br>
...<br>
<br>
( same - from /var/log/dmesg )<br>
<br>
identical to above<br>
<br>
( when link is plugged in -&nbsp; from /var/log/messages )<br>
...<br>
scsi(2): LIP reset occurred<br>
scsi(2): LOOP UP detected<br>
scsi(2): Waiting for LIP to complete...<br>
scsi2: Topology - (F_Port), Host Loop address&nbsp; 0xffff<br>
qla2100_update_host: Host table Full.scsi2: Topology - (F_Port), Host Loop address&nbsp; 0xffff<br>
scsi2: Topology - (F_Port), Host Loop address&nbsp; 0xffff<br>
...<br>
<br>
( when link is plugged in - dmesg output )<br>
<br>
same as above<br>
<br>
( from /proc/scsi/qla2x00/2 )<br>
<br>
QLogic PCI to Fibre Channel Host Adapter for ISP2100/ISP2200/ISP2300:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Firmware version:&nbsp; 2.01.27, Driver version 4.28<br>
Request Queue = 0x1fb38000, Response Queue = 0x1fb30000<br>
Request Queue count= 256, Response Queue count= 256<br>
Number of pending commands = 0x0<br>
Number of queued commands = 0x0<br>
Number of free request entries = 251<br>
Number of mailbox timeouts = 0<br>
Number of ISP aborts = 0<br>
Number of loop resyncs = 0<br>
Number of retries for empty slots = 0<br>
Number of reqs in retry_q = 0<br>
Number of reqs in done_q = 0<br>
<br>
SCSI Device Information:<br>
scsi-qla0-adapter-node=200000e08b034ec1;<br>
scsi-qla0-adapter-port=210000e08b034ec1;<br>
scsi-qla0-target-0=5005076300004507;<br>
scsi-qla0-target-1=5005076300003ef6;<br>
scsi-qla0-target-2=5005076300003497;<br>
scsi-qla0-target-3=5005076300003c45;<br>
scsi-qla0-target-4=5005076300004029;<br>
scsi-qla0-target-5=5005076300002408;<br>
scsi-qla0-target-6=5005076300003290;<br>
scsi-qla0-target-7=5005076300002864;<br>
scsi-qla0-target-8=50050763000035be;<br>
scsi-qla0-target-9=1000006045161784;<br>
scsi-qla0-target-10=100000604516234d;<br>
scsi-qla0-target-11=5005076300003acd;<br>
scsi-qla0-target-12=500507630000273a;<br>
scsi-qla0-target-13=5005076300003338;<br>
scsi-qla0-target-14=5005076300003295;<br>
scsi-qla0-target-15=10000060451617d5;<br>
scsi-qla0-target-16=10000060451620fe;<br>
scsi-qla0-target-17=500507630000406c;<br>
scsi-qla0-target-18=50050763000035d2;<br>
scsi-qla0-target-19=50050763000041ac;<br>
scsi-qla0-target-20=50050763000035d3;<br>
scsi-qla0-target-21=1000006045161f40;<br>
scsi-qla0-target-22=1000006045161784;<br>
scsi-qla0-target-23=500507630000404f;<br>
scsi-qla0-target-24=500507630000331b;<br>
scsi-qla0-target-25=5005076300004038;<br>
scsi-qla0-target-26=5005076300003812;<br>
scsi-qla0-target-27=500502e020000159;<br>
scsi-qla0-target-28=500502e0200000c3;<br>
scsi-qla0-target-29=500502e02000015f;<br>
scsi-qla0-target-30=500502e020000171;<br>
scsi-qla0-target-31=50050763000030e3;<br>
<br>
SCSI LUN Information:<br>
(Id:Lun)<br>
<br>
>From what I have found looking at the kernel source, is that the Qlogic driver is an external driver provided by Qlogic and incorporated into the &quot;redhat&quot; version of the Linux kernel.&nbsp; The version I have is current w/ the latest off their website.&nbsp; It's hard to find any information regarding linux and these devices, since most people don't have this equipment.&nbsp; Does anyone here have any experience or suggestions.&nbsp; Thanks in advance!<br>
Regards,<br>
Derek R.<br>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<pre>-- 
Junior Linux Geek
713-817-1197 (cell)
713-781-4000 x2267 (office)
&quot;Linux users, fanatical.  No way...
HEY! Get that MCSE up on the altar,
Tux must be appeased!&quot;</pre></TD>
</TR>
</TABLE>
</BODY>
</HTML>