⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cpqfc.readme

📁 讲述linux的初始化过程
💻 README
字号:
Notes for CPQFCTS driver for Compaq Tachyon TSFibre Channel Host Bus Adapter, PCI 64-bit, 66MHzfor Linux (RH 6.1, 6.2 kernel 2.2.12-32, 2.2.14-5)SMP testedTested in single and dual HBA configuration, 32 and 64bit busses,33 and 66MHz.  Only supports FC-AL.SEST size 512 Exchanges (simultaneous I/Os) limited by module kmalloc() 	max of 128k bytes contiguous.Ver 1.3.4  Sep   7, 2000  Added Modinfo information  Fixed problem with statically linking the driverVer 1.3.3, Aug  23, 2000  Fixed device/function number in ioctlVer 1.3.2, July 27, 2000  Add include for Alpha compile on 2.2.14 kernel (cpq*i2c.c)  Change logic for different FCP-RSP sense_buffer location for HSG80 target  And search for Agilent Tachyon XL2 HBAs (not finished! - in test)Tested with (storage):           Compaq RA-4x000, RAID firmware ver 2.40 - 2.54           Seagate FC drives model ST39102FC, rev 0006           Hitachi DK31CJ-72FC rev J8A8           IBM DDYF-T18350R rev F60K           Compaq FC-SCSI bridge w/ DLT 35/70 Gb DLT (tape)(servers):           Compaq PL-1850R           Compaq PL-6500 Xeon (400MHz)	   Compaq PL-8500 (500MHz, 66MHz, 64bit PCI)           Compaq Alpha DS20 (RH 6.1)(hubs):           Vixel Rapport 1000 (7-port "dumb")	   Gadzoox Gibralter (12-port "dumb")	   Gadzoox Capellix 2000, 3000 (switches):           Brocade 2010, 2400, 2800, rev 2.0.3a (& later)           Gadzoox 3210 (Fabric blade beta)           Vixel 7100 (Fabric beta firmare - known hot plug issues)using "qa_test" (esp. io_test script) suite modified from Unix tests.	Installation:copy file cpqfcTS.patch to /usr/src/linuxpatch -p1 < cpqfcTS.patchmake menuconfig  (select SCSI low-level, Compaq FC HBA)make depmake modulesmake modules_installe.g. insmod -f cpqfcDue to Fabric/switch delays, driver requires 4 seconds to initialize.  If adapters are found, there will be a entries at/proc/scsi/cpqfcTS/*sample contents of startup messages************************* scsi_register allocating 3596 bytes for CPQFCHBA ioremap'd Membase: c887e600  HBA Tachyon RevId 1.2Allocating 119808 for 576 Exchanges @ c0dc0000Allocating 112904 for LinkQ @ c0c20000 (576 elements)Allocating 110600 for TachSEST for 512 Exchanges  cpqfcTS: writing IMQ BASE 7C0000h    PI 7C4000h  cpqfcTS: SEST c0e40000(virt): Wrote base E40000h @ c887e740cpqfcTS: New FC port 0000E8h WWN: 500507650642499D SCSI Chan/Trgt 0/0cpqfcTS: New FC port 0000EFh WWN: 50000E100000D5A6 SCSI Chan/Trgt 0/1cpqfcTS: New FC port 0000E4h WWN: 21000020370097BB SCSI Chan/Trgt 0/2cpqfcTS: New FC port 0000E2h WWN: 2100002037009946 SCSI Chan/Trgt 0/3cpqfcTS: New FC port 0000E1h WWN: 21000020370098FE SCSI Chan/Trgt 0/4cpqfcTS: New FC port 0000E0h WWN: 21000020370097B2 SCSI Chan/Trgt 0/5cpqfcTS: New FC port 0000DCh WWN: 2100002037006CC1 SCSI Chan/Trgt 0/6cpqfcTS: New FC port 0000DAh WWN: 21000020370059F6 SCSI Chan/Trgt 0/7cpqfcTS: New FC port 00000Fh WWN: 500805F1FADB0E20 SCSI Chan/Trgt 0/8cpqfcTS: New FC port 000008h WWN: 500805F1FADB0EBA SCSI Chan/Trgt 0/9cpqfcTS: New FC port 000004h WWN: 500805F1FADB1EB9 SCSI Chan/Trgt 0/10cpqfcTS: New FC port 000002h WWN: 500805F1FADB1ADE SCSI Chan/Trgt 0/11cpqfcTS: New FC port 000001h WWN: 500805F1FADBA2CA SCSI Chan/Trgt 0/12scsi4 : Compaq FibreChannel HBA Tachyon TS HPFC-5166A/1.2: WWN 500508B200193F50 on PCI bus 0 device 0xa0fc irq 5 IObaseL 0x3400, MEMBASE 0xc6ef8600PCI bus width 32 bits, bus speed 33 MHzFCP-SCSI Driver v1.3.0GBIC detected: Short-wave.  LPSM 0h Monitorscsi : 5 hosts.  Vendor: IBM       Model: DDYF-T18350R      Rev: F60K  Type:   Direct-Access                      ANSI SCSI revision: 03Detected scsi disk sdb at scsi4, channel 0, id 0, lun 0  Vendor: HITACHI   Model: DK31CJ-72FC       Rev: J8A8  Type:   Direct-Access                      ANSI SCSI revision: 02Detected scsi disk sdc at scsi4, channel 0, id 1, lun 0  Vendor: SEAGATE   Model: ST39102FC         Rev: 0006  Type:   Direct-Access                      ANSI SCSI revision: 02Detected scsi disk sdd at scsi4, channel 0, id 2, lun 0  Vendor: SEAGATE   Model: ST39102FC         Rev: 0006  Type:   Direct-Access                      ANSI SCSI revision: 02Detected scsi disk sde at scsi4, channel 0, id 3, lun 0  Vendor: SEAGATE   Model: ST39102FC         Rev: 0006  Type:   Direct-Access                      ANSI SCSI revision: 02Detected scsi disk sdf at scsi4, channel 0, id 4, lun 0  Vendor: SEAGATE   Model: ST39102FC         Rev: 0006  Type:   Direct-Access                      ANSI SCSI revision: 02Detected scsi disk sdg at scsi4, channel 0, id 5, lun 0  Vendor: SEAGATE   Model: ST39102FC         Rev: 0006  Type:   Direct-Access                      ANSI SCSI revision: 02Detected scsi disk sdh at scsi4, channel 0, id 6, lun 0  Vendor: SEAGATE   Model: ST39102FC         Rev: 0006  Type:   Direct-Access                      ANSI SCSI revision: 02Detected scsi disk sdi at scsi4, channel 0, id 7, lun 0  Vendor: COMPAQ    Model: LOGICAL VOLUME    Rev: 2.48  Type:   Direct-Access                      ANSI SCSI revision: 02Detected scsi disk sdj at scsi4, channel 0, id 8, lun 0  Vendor: COMPAQ    Model: LOGICAL VOLUME    Rev: 2.48  Type:   Direct-Access                      ANSI SCSI revision: 02Detected scsi disk sdk at scsi4, channel 0, id 8, lun 1  Vendor: COMPAQ    Model: LOGICAL VOLUME    Rev: 2.40  Type:   Direct-Access                      ANSI SCSI revision: 02Detected scsi disk sdl at scsi4, channel 0, id 9, lun 0  Vendor: COMPAQ    Model: LOGICAL VOLUME    Rev: 2.40  Type:   Direct-Access                      ANSI SCSI revision: 02Detected scsi disk sdm at scsi4, channel 0, id 9, lun 1  Vendor: COMPAQ    Model: LOGICAL VOLUME    Rev: 2.54  Type:   Direct-Access                      ANSI SCSI revision: 02Detected scsi disk sdn at scsi4, channel 0, id 10, lun 0  Vendor: COMPAQ    Model: LOGICAL VOLUME    Rev: 2.54  Type:   Direct-Access                      ANSI SCSI revision: 02Detected scsi disk sdo at scsi4, channel 0, id 11, lun 0  Vendor: COMPAQ    Model: LOGICAL VOLUME    Rev: 2.54  Type:   Direct-Access                      ANSI SCSI revision: 02Detected scsi disk sdp at scsi4, channel 0, id 11, lun 1  Vendor: COMPAQ    Model: LOGICAL VOLUME    Rev: 2.54  Type:   Direct-Access                      ANSI SCSI revision: 02Detected scsi disk sdq at scsi4, channel 0, id 12, lun 0  Vendor: COMPAQ    Model: LOGICAL VOLUME    Rev: 2.54  Type:   Direct-Access                      ANSI SCSI revision: 02Detected scsi disk sdr at scsi4, channel 0, id 12, lun 1resize_dma_pool: unknown device type 12resize_dma_pool: unknown device type 12SCSI device sdb: hdwr sector= 512 bytes. Sectors= 35843670 [17501 MB] [17.5 GB] sdb: sdb1SCSI device sdc: hdwr sector= 512 bytes. Sectors= 144410880 [70513 MB] [70.5 GB] sdc: sdc1SCSI device sdd: hdwr sector= 512 bytes. Sectors= 17783240 [8683 MB] [8.7 GB] sdd: sdd1SCSI device sde: hdwr sector= 512 bytes. Sectors= 17783240 [8683 MB] [8.7 GB] sde: sde1SCSI device sdf: hdwr sector= 512 bytes. Sectors= 17783240 [8683 MB] [8.7 GB] sdf: sdf1SCSI device sdg: hdwr sector= 512 bytes. Sectors= 17783240 [8683 MB] [8.7 GB] sdg: sdg1SCSI device sdh: hdwr sector= 512 bytes. Sectors= 17783240 [8683 MB] [8.7 GB] sdh: sdh1SCSI device sdi: hdwr sector= 512 bytes. Sectors= 17783240 [8683 MB] [8.7 GB] sdi: sdi1SCSI device sdj: hdwr sector= 512 bytes. Sectors= 2056160 [1003 MB] [1.0 GB] sdj: sdj1SCSI device sdk: hdwr sector= 512 bytes. Sectors= 2052736 [1002 MB] [1.0 GB] sdk: sdk1SCSI device sdl: hdwr sector= 512 bytes. Sectors= 17764320 [8673 MB] [8.7 GB] sdl: sdl1SCSI device sdm: hdwr sector= 512 bytes. Sectors= 8380320 [4091 MB] [4.1 GB] sdm: sdm1SCSI device sdn: hdwr sector= 512 bytes. Sectors= 17764320 [8673 MB] [8.7 GB] sdn: sdn1SCSI device sdo: hdwr sector= 512 bytes. Sectors= 17764320 [8673 MB] [8.7 GB] sdo: sdo1SCSI device sdp: hdwr sector= 512 bytes. Sectors= 17764320 [8673 MB] [8.7 GB] sdp: sdp1SCSI device sdq: hdwr sector= 512 bytes. Sectors= 2056160 [1003 MB] [1.0 GB] sdq: sdq1SCSI device sdr: hdwr sector= 512 bytes. Sectors= 2052736 [1002 MB] [1.0 GB] sdr: sdr1*************************If a GBIC of type Short-wave, Long-wave, or Copper is detected, it willprint out; otherwise, "none" is displayed.  If the cabling is correctand a loop circuit is completed, you should see "Monitor"; otherwise, "LoopFail" (on open circuit) or some LPSM number/state with bit 3 set.ERRATA:1. Normally, Linux Scsi queries FC devices with INQUIRY strings.  All LUNsfound according to INQUIRY should get READ commands at sector 0 to findpartition table, etc.  Older kernels only query the first 4 devices.  SomeLinux kernels only look for one LUN per target (i.e. FC device).2. Physically removing a device, or a malfunctioning system which hides adevice, leads to a 30-second timeout and subsequent _abort call.  In some process contexts, this will hang the kernel (crashing the system).Single bit errors in frames and virtually all hot plugging events are gracefully handled with internal driver timer and Abort processing.3. Some SCSI drives with error conditions will not handle the 7 second timeoutin this software driver, leading to infinite retries on timed out SCSI commands.The 7 secs balances the need to quickly recover from lost frames (esp. on sequenceinitiatives) and time needed by older/slower/error-state drives in responding.This can be easily changed in "Exchanges[].timeOut".4. Due to the nature of FC soft addressing, there is no assurance that the same LUNs (drives) will have the same path (e.g. /dev/sdb1) from one boot tonext.  Dynamic soft address changes (i.e. 24-bit FC port_id) aresupported during run time (e.g. due to hot plug event) by the use of WWN toSCSI Nexus (channel/target/LUN) mapping.5. Compaq RA4x00 firmware version 2.54 and later supports SSP (Selective Storage Presentation), which maps LUNs to a WWN.  If RA4x00 firmware prior2.54 (e.g. older controller) is used, or the FC HBA is replaced (another WWNis used), logical volumes on the RA4x00 will no longer be visible.Send questions/comments to:donald.zimmerman@compaq.comdszimmerman@yahoo.com

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -