1 Notes for CPQFCTS driver for Compaq Tachyon TS
2 Fibre Channel Host Bus Adapter, PCI 64-bit, 66MHz
3 for Linux (RH 6.1, 6.2 kernel 2.2.12-32, 2.2.14-5)
4 SMP tested
5 Tested in single and dual HBA configuration, 32 and 64bit busses,
6 33 and 66MHz. Only supports FC-AL.
7 SEST size 512 Exchanges (simultaneous I/Os) limited by module kmalloc()
8 max of 128k bytes contiguous.
9 Ver 1.3.4 Sep 7, 2000
10 Added Modinfo information
11 Fixed problem with statically linking the driver
12
13 Ver 1.3.3, Aug 23, 2000
14 Fixed device/function number in ioctl
15
16 Ver 1.3.2, July 27, 2000
17 Add include for Alpha compile on 2.2.14 kernel (cpq*i2c.c)
18 Change logic for different FCP-RSP sense_buffer location for HSG80 target
19 And search for Agilent Tachyon XL2 HBAs (not finished! - in test)
20
21 Tested with
22 (storage):
23 Compaq RA-4x000, RAID firmware ver 2.40 - 2.54
24 Seagate FC drives model ST39102FC, rev 0006
25 Hitachi DK31CJ-72FC rev J8A8
26 IBM DDYF-T18350R rev F60K
27 Compaq FC-SCSI bridge w/ DLT 35/70 Gb DLT (tape)
28 (servers):
29 Compaq PL-1850R
30 Compaq PL-6500 Xeon (400MHz)
31 Compaq PL-8500 (500MHz, 66MHz, 64bit PCI)
32 Compaq Alpha DS20 (RH 6.1)
33 (hubs):
34 Vixel Rapport 1000 (7-port "dumb")
35 Gadzoox Gibralter (12-port "dumb")
36 Gadzoox Capellix 2000, 3000
37 (switches):
38 Brocade 2010, 2400, 2800, rev 2.0.3a (& later)
39 Gadzoox 3210 (Fabric blade beta)
40 Vixel 7100 (Fabric beta firmare - known hot plug issues)
41 using "qa_test" (esp. io_test script) suite modified from Unix tests.
42
43 Installation:
44 copy file cpqfcTS.patch to /usr/src/linux
45 patch -p1 < cpqfcTS.patch
46 make menuconfig
47 (select SCSI low-level, Compaq FC HBA)
48 make dep
49 make modules
50 make modules_install
51
52 e.g. insmod -f cpqfc
53
54 Due to Fabric/switch delays, driver requires 4 seconds
55 to initialize. If adapters are found, there will be a entries at
56 /proc/scsi/cpqfcTS/*
57
58 sample contents of startup messages
59
60 *************************
61 scsi_register allocating 3596 bytes for CPQFCHBA
62 ioremap'd Membase: c887e600
63 HBA Tachyon RevId 1.2
64 Allocating 119808 for 576 Exchanges @ c0dc0000
65 Allocating 112904 for LinkQ @ c0c20000 (576 elements)
66 Allocating 110600 for TachSEST for 512 Exchanges
67 cpqfcTS: writing IMQ BASE 7C0000h PI 7C4000h
68 cpqfcTS: SEST c0e40000(virt): Wrote base E40000h @ c887e740
69 cpqfcTS: New FC port 0000E8h WWN: 500507650642499D SCSI Chan/Trgt 0/0
70 cpqfcTS: New FC port 0000EFh WWN: 50000E100000D5A6 SCSI Chan/Trgt 0/1
71 cpqfcTS: New FC port 0000E4h WWN: 21000020370097BB SCSI Chan/Trgt 0/2
72 cpqfcTS: New FC port 0000E2h WWN: 2100002037009946 SCSI Chan/Trgt 0/3
73 cpqfcTS: New FC port 0000E1h WWN: 21000020370098FE SCSI Chan/Trgt 0/4
74 cpqfcTS: New FC port 0000E0h WWN: 21000020370097B2 SCSI Chan/Trgt 0/5
75 cpqfcTS: New FC port 0000DCh WWN: 2100002037006CC1 SCSI Chan/Trgt 0/6
76 cpqfcTS: New FC port 0000DAh WWN: 21000020370059F6 SCSI Chan/Trgt 0/7
77 cpqfcTS: New FC port 00000Fh WWN: 500805F1FADB0E20 SCSI Chan/Trgt 0/8
78 cpqfcTS: New FC port 000008h WWN: 500805F1FADB0EBA SCSI Chan/Trgt 0/9
79 cpqfcTS: New FC port 000004h WWN: 500805F1FADB1EB9 SCSI Chan/Trgt 0/10
80 cpqfcTS: New FC port 000002h WWN: 500805F1FADB1ADE SCSI Chan/Trgt 0/11
81 cpqfcTS: New FC port 000001h WWN: 500805F1FADBA2CA SCSI Chan/Trgt 0/12
82 scsi4 : Compaq FibreChannel HBA Tachyon TS HPFC-5166A/1.2: WWN 500508B200193F50
83 on PCI bus 0 device 0xa0fc irq 5 IObaseL 0x3400, MEMBASE 0xc6ef8600
84 PCI bus width 32 bits, bus speed 33 MHz
85 FCP-SCSI Driver v1.3.0
86 GBIC detected: Short-wave. LPSM 0h Monitor
87 scsi : 5 hosts.
88 Vendor: IBM Model: DDYF-T18350R Rev: F60K
89 Type: Direct-Access ANSI SCSI revision: 03
90 Detected scsi disk sdb at scsi4, channel 0, id 0, lun 0
91 Vendor: HITACHI Model: DK31CJ-72FC Rev: J8A8
92 Type: Direct-Access ANSI SCSI revision: 02
93 Detected scsi disk sdc at scsi4, channel 0, id 1, lun 0
94 Vendor: SEAGATE Model: ST39102FC Rev: 0006
95 Type: Direct-Access ANSI SCSI revision: 02
96 Detected scsi disk sdd at scsi4, channel 0, id 2, lun 0
97 Vendor: SEAGATE Model: ST39102FC Rev: 0006
98 Type: Direct-Access ANSI SCSI revision: 02
99 Detected scsi disk sde at scsi4, channel 0, id 3, lun 0
100 Vendor: SEAGATE Model: ST39102FC Rev: 0006
101 Type: Direct-Access ANSI SCSI revision: 02
102 Detected scsi disk sdf at scsi4, channel 0, id 4, lun 0
103 Vendor: SEAGATE Model: ST39102FC Rev: 0006
104 Type: Direct-Access ANSI SCSI revision: 02
105 Detected scsi disk sdg at scsi4, channel 0, id 5, lun 0
106 Vendor: SEAGATE Model: ST39102FC Rev: 0006
107 Type: Direct-Access ANSI SCSI revision: 02
108 Detected scsi disk sdh at scsi4, channel 0, id 6, lun 0
109 Vendor: SEAGATE Model: ST39102FC Rev: 0006
110 Type: Direct-Access ANSI SCSI revision: 02
111 Detected scsi disk sdi at scsi4, channel 0, id 7, lun 0
112 Vendor: COMPAQ Model: LOGICAL VOLUME Rev: 2.48
113 Type: Direct-Access ANSI SCSI revision: 02
114 Detected scsi disk sdj at scsi4, channel 0, id 8, lun 0
115 Vendor: COMPAQ Model: LOGICAL VOLUME Rev: 2.48
116 Type: Direct-Access ANSI SCSI revision: 02
117 Detected scsi disk sdk at scsi4, channel 0, id 8, lun 1
118 Vendor: COMPAQ Model: LOGICAL VOLUME Rev: 2.40
119 Type: Direct-Access ANSI SCSI revision: 02
120 Detected scsi disk sdl at scsi4, channel 0, id 9, lun 0
121 Vendor: COMPAQ Model: LOGICAL VOLUME Rev: 2.40
122 Type: Direct-Access ANSI SCSI revision: 02
123 Detected scsi disk sdm at scsi4, channel 0, id 9, lun 1
124 Vendor: COMPAQ Model: LOGICAL VOLUME Rev: 2.54
125 Type: Direct-Access ANSI SCSI revision: 02
126 Detected scsi disk sdn at scsi4, channel 0, id 10, lun 0
127 Vendor: COMPAQ Model: LOGICAL VOLUME Rev: 2.54
128 Type: Direct-Access ANSI SCSI revision: 02
129 Detected scsi disk sdo at scsi4, channel 0, id 11, lun 0
130 Vendor: COMPAQ Model: LOGICAL VOLUME Rev: 2.54
131 Type: Direct-Access ANSI SCSI revision: 02
132 Detected scsi disk sdp at scsi4, channel 0, id 11, lun 1
133 Vendor: COMPAQ Model: LOGICAL VOLUME Rev: 2.54
134 Type: Direct-Access ANSI SCSI revision: 02
135 Detected scsi disk sdq at scsi4, channel 0, id 12, lun 0
136 Vendor: COMPAQ Model: LOGICAL VOLUME Rev: 2.54
137 Type: Direct-Access ANSI SCSI revision: 02
138 Detected scsi disk sdr at scsi4, channel 0, id 12, lun 1
139 resize_dma_pool: unknown device type 12
140 resize_dma_pool: unknown device type 12
141 SCSI device sdb: hdwr sector= 512 bytes. Sectors= 35843670 [17501 MB] [17.5 GB]
142 sdb: sdb1
143 SCSI device sdc: hdwr sector= 512 bytes. Sectors= 144410880 [70513 MB] [70.5 GB]
144 sdc: sdc1
145 SCSI device sdd: hdwr sector= 512 bytes. Sectors= 17783240 [8683 MB] [8.7 GB]
146 sdd: sdd1
147 SCSI device sde: hdwr sector= 512 bytes. Sectors= 17783240 [8683 MB] [8.7 GB]
148 sde: sde1
149 SCSI device sdf: hdwr sector= 512 bytes. Sectors= 17783240 [8683 MB] [8.7 GB]
150 sdf: sdf1
151 SCSI device sdg: hdwr sector= 512 bytes. Sectors= 17783240 [8683 MB] [8.7 GB]
152 sdg: sdg1
153 SCSI device sdh: hdwr sector= 512 bytes. Sectors= 17783240 [8683 MB] [8.7 GB]
154 sdh: sdh1
155 SCSI device sdi: hdwr sector= 512 bytes. Sectors= 17783240 [8683 MB] [8.7 GB]
156 sdi: sdi1
157 SCSI device sdj: hdwr sector= 512 bytes. Sectors= 2056160 [1003 MB] [1.0 GB]
158 sdj: sdj1
159 SCSI device sdk: hdwr sector= 512 bytes. Sectors= 2052736 [1002 MB] [1.0 GB]
160 sdk: sdk1
161 SCSI device sdl: hdwr sector= 512 bytes. Sectors= 17764320 [8673 MB] [8.7 GB]
162 sdl: sdl1
163 SCSI device sdm: hdwr sector= 512 bytes. Sectors= 8380320 [4091 MB] [4.1 GB]
164 sdm: sdm1
165 SCSI device sdn: hdwr sector= 512 bytes. Sectors= 17764320 [8673 MB] [8.7 GB]
166 sdn: sdn1
167 SCSI device sdo: hdwr sector= 512 bytes. Sectors= 17764320 [8673 MB] [8.7 GB]
168 sdo: sdo1
169 SCSI device sdp: hdwr sector= 512 bytes. Sectors= 17764320 [8673 MB] [8.7 GB]
170 sdp: sdp1
171 SCSI device sdq: hdwr sector= 512 bytes. Sectors= 2056160 [1003 MB] [1.0 GB]
172 sdq: sdq1
173 SCSI device sdr: hdwr sector= 512 bytes. Sectors= 2052736 [1002 MB] [1.0 GB]
174 sdr: sdr1
175
176 *************************
177
178 If a GBIC of type Short-wave, Long-wave, or Copper is detected, it will
179 print out; otherwise, "none" is displayed. If the cabling is correct
180 and a loop circuit is completed, you should see "Monitor"; otherwise,
181 "LoopFail" (on open circuit) or some LPSM number/state with bit 3 set.
182
183
184 ERRATA:
185 1. Normally, Linux Scsi queries FC devices with INQUIRY strings. All LUNs
186 found according to INQUIRY should get READ commands at sector 0 to find
187 partition table, etc. Older kernels only query the first 4 devices. Some
188 Linux kernels only look for one LUN per target (i.e. FC device).
189
190 2. Physically removing a device, or a malfunctioning system which hides a
191 device, leads to a 30-second timeout and subsequent _abort call.
192 In some process contexts, this will hang the kernel (crashing the system).
193 Single bit errors in frames and virtually all hot plugging events are
194 gracefully handled with internal driver timer and Abort processing.
195
196 3. Some SCSI drives with error conditions will not handle the 7 second timeout
197 in this software driver, leading to infinite retries on timed out SCSI commands.
198 The 7 secs balances the need to quickly recover from lost frames (esp. on sequence
199 initiatives) and time needed by older/slower/error-state drives in responding.
200 This can be easily changed in "Exchanges[].timeOut".
201
202 4. Due to the nature of FC soft addressing, there is no assurance that the
203 same LUNs (drives) will have the same path (e.g. /dev/sdb1) from one boot to
204 next. Dynamic soft address changes (i.e. 24-bit FC port_id) are
205 supported during run time (e.g. due to hot plug event) by the use of WWN to
206 SCSI Nexus (channel/target/LUN) mapping.
207
208 5. Compaq RA4x00 firmware version 2.54 and later supports SSP (Selective
209 Storage Presentation), which maps LUNs to a WWN. If RA4x00 firmware prior
210 2.54 (e.g. older controller) is used, or the FC HBA is replaced (another WWN
211 is used), logical volumes on the RA4x00 will no longer be visible.
212
213
214 Send questions/comments to:
215 donald.zimmerman@compaq.com
216 dszimmerman@yahoo.com
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.