[CentOS] Problem detecting HP Tape Drive

John R Pierce pierce at hogranch.com
Sat Jan 3 21:03:53 UTC 2009


Mehdi Sarmadi wrote:
>  HP Ultrium documentation says two drivers should be automatically
> up, sym53c8xx for LSI SCSI interface "st" for tape and /proc/scsi/scsi
> should contain information about tape drive, e.g. SCSI ID. However
> none of them happened in my case! (document: "UP LTO Ultrium 2-3 -
> Unix Config Guide")
>
>  The SCSI adapter is an LSI53C1030. The system has another the same
> adapter which is used for hard disk drives.
>
>  The interesting part is, the hard disk are detected and even OS
> boots from them, but I can't make the tape drive work. Moreover, in
> system boot up, LSI SCSI BIOS displays informations saying there is a
> tape drive connected!
>   

the hard disk is apparently running on a CCISS HP SmartArray raid 
controller of some sort, and is being seen as /dev/cciss/c0d0  .    I'm 
not sure these support tape.   Now, if this is the sort of SmartArray 
raid controller which takes over and manages the other SCSI channels, 
maybe you have to go into the BIOS (or the SmartArray BIOS) and disable 
this.

pertinent info from DMESG...  I note the 53C1030 is seen as PCI device 
02:03 and the CCISS is 0A:04


    Fusion MPT base driver 3.04.02
    Copyright (c) 1999-2005 LSI Logic Corporation
    SCSI subsystem initialized
    Fusion MPT SPI Host driver 3.04.02
    ACPI: PCI Interrupt 0000:02:03.0[A] -> GSI 24 (level, low) -> IRQ 193
    mptbase: Initiating ioc0 bringup
    ioc0: 53C1030: Capabilities={Initiator,Target}
    scsi0 : ioc0: LSI53C1030, FwRev=01032700h, Ports=1, MaxQ=255, IRQ=193
    ACPI: PCI Interrupt 0000:02:03.1[B] -> GSI 25 (level, low) -> IRQ 201
    mptbase: Initiating ioc1 bringup
    ioc1: 53C1030: Capabilities={Initiator,Target}
    scsi1 : ioc1: LSI53C1030, FwRev=01032700h, Ports=1, MaxQ=255, IRQ=201
    HP CISS Driver (v 3.6.14-RH1)
    ACPI: PCI Interrupt 0000:0a:04.0[A] -> GSI 72 (level, low) -> IRQ 209
    cciss0: <0x46> at PCI 0000:0a:04.0 IRQ 209 using DAC
          blocks= 286734240 block_size= 512
          heads= 255, sectors= 32, cylinders= 35139

          blocks= 286734240 block_size= 512
          heads= 255, sectors= 32, cylinders= 35139

     cciss/c0d0: p1 p2 < p5 p6 p7 > p3 p4

ah... looking at your LSPCI output...

    02:03.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030
    PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 08)
        Subsystem: Compaq Computer Corporation ProLiant ML 350

    02:03.1 SCSI storage controller: LSI Logic / Symbios Logic 53c1030
    PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 08)
        Subsystem: Compaq Computer Corporation ProLiant ML 350

    0a:04.0 RAID bus controller: Compaq Computer Corporation Smart Array
    64xx (rev 01)
        Subsystem: Compaq Computer Corporation Smart Array 6400

    0a:05.0 RAID bus controller: Compaq Computer Corporation Smart Array
    64xx (rev 01)
        Subsystem: Compaq Computer Corporation Smart Array 6400 EM


note those first two are two PCI Functions on the same PCI Slot 
(actually, I believe that may be an onboard device), while the 2nd two 
are two seperate SmartArray 6400 cards.    I bet you plugged your tape 
into a SmartArray port rather than a onboard(?) SCSI port.   The PCI 
addressing notation there like 02:03.0 is Bus:Slot.Function








More information about the CentOS mailing list