Hello I do have problem using Linux with an external HP tape drive. The server platform is also an HP Server; the server is an HP ML350 G4, and the Tape drive is a HP Storage Works Ultrium 448 - 1U Rack-mountable. 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! Any one has same experience, suggestion, comments or clues? I've place a zip file here: http://msarmadi.googlepages.com/report_files.zip which contains: - dmesg - lshal - lsmod - lspci -vv - cat /proc/scsi/scsi > proc.scsi.scsi - cat /proc/modules > proc.modules - uname -a > uname Also, below there are detailed information about devices and OS config/log files. ===== System info: Operating System: Redhat Enterprise Linux AS 5(the same thing happened using CentOS 5.2) Sever System: HP ML530 G4 SCSI Adapter: LSI 1030 Tape Drive: HP Storage Works Ultrium 448 - 1U Rack-mountable SCSI Cable: P/N 313375002 Rev R (coming with tape drive) *Note that, no other SCSI devices are connected to the cable. ===== Here is some parts of boot up messages on the screen of HP ML350 G4 ===System BIOS D17 (14/04/2005) ... MPTBIOS-5.05.18 ... Slot 3 HP Smart Array 6400 Controller (192MB, v.2.26) 1 Logic Drive Detected 1794-Slot 3 Drive Arraye - Array Accelerator Battery Charge low Array Accelerator Posted-Write Cache is temporarilty Disabled Array Accelerator batteries hace failed to charge and should be replaced Slot 3 HP Smart Array 6400 EM Controller (192MB, v.2.26) 1 Logic Drive Detected Tape or CD-ROM Drive(s) Detected: SCSI Port 2: SCSI ID 1 1785-Slot 3 Drive Arraye Not Configured No Drives Detected ... [Followed by GRUB and Linux boot up] ======================== -- Mehdi Sarmadi
Am 03.01.2009 um 20:54 schrieb Mehdi Sarmadi:> Hello > > I do have problem using Linux with an external HP tape drive. The > server platform is also an HP Server; the server is an HP ML350 G4, > and the Tape drive is a HP Storage Works Ultrium 448 - 1U > Rack-mountable.Tried hp_rescan ? Maybe it's only for SAN-stuff, but maybe it also works in this case. cheers, Rainer
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
On Sat, 2009-01-03 at 23:24 +0330, Mehdi Sarmadi wrote:> > I do have problem using Linux with an external HP tape drive. The > server platform is also an HP Server; the server is an HP ML350 G4, > and the Tape drive is a HP Storage Works Ultrium 448 - 1U > Rack-mountable. >Hi, We used to run tape decks on all our HP servers via the cciss scsi controller, but now only have one. For them we had to 'engage' the tape deck before it became visible to the system. We modified the /etc/rc.local file so that this would occur at each system boot. Below is the script we used for this, you may well need to do something similar: test -f /proc/driver/cciss/cciss2 && \ echo 'engage scsi' >/proc/driver/cciss/cciss2 2>/dev/null John. -- --------------------------------------------------------------- John Horne, University of Plymouth, UK Tel: +44 (0)1752 587287 E-mail: John.Horne at plymouth.ac.uk Fax: +44 (0)1752 587001
Mehdi Sarmadi wrote:> Hello > > I do have problem using Linux with an external HP tape drive. The > server platform is also an HP Server; the server is an HP ML350 G4, > and the Tape drive is a HP Storage Works Ultrium 448 - 1U > Rack-mountable. > > 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! > > Any one has same experience, suggestion, comments or clues? > > I've place a zip file here: > http://msarmadi.googlepages.com/report_files.zip which contains: > > - dmesg > - lshal > - lsmod > - lspci -vv > - cat /proc/scsi/scsi > proc.scsi.scsi > - cat /proc/modules > proc.modules > - uname -a > uname > > Also, below there are detailed information about devices and OS > config/log files. > > ===== System info: > Operating System: Redhat Enterprise Linux AS 5(the same thing happened > using CentOS 5.2) > Sever System: HP ML530 G4 > SCSI Adapter: LSI 1030 > Tape Drive: HP Storage Works Ultrium 448 - 1U Rack-mountable > SCSI Cable: P/N 313375002 Rev R (coming with tape drive) > > *Note that, no other SCSI devices are connected to the cable. > > ===== Here is some parts of boot up messages on the screen of HP ML350 G4 ===> System BIOS D17 (14/04/2005) > > ... > > MPTBIOS-5.05.18 > > ... > > Slot 3 HP Smart Array 6400 Controller (192MB, v.2.26) 1 Logic Drive Detected > 1794-Slot 3 Drive Arraye - Array Accelerator Battery Charge low > Array Accelerator Posted-Write Cache is temporarilty Disabled > Array Accelerator batteries hace failed to charge and should be replaced > > > Slot 3 HP Smart Array 6400 EM Controller (192MB, v.2.26) 1 Logic Drive Detected > Tape or CD-ROM Drive(s) Detected: > SCSI Port 2: SCSI ID 1 > 1785-Slot 3 Drive Arraye Not Configured > No Drives Detected > ... > > [Followed by GRUB and Linux boot up] > ========================> > -- > Mehdi SarmadiMehdi, did you install the "mt-st" RPM ? This lets you control your tape with the mt utilities. Knowledgebase articles that seem to be relevant for your case are e.g. http://kbase.redhat.com/faq/docs/DOC-1235 http://kbase.redhat.com/faq/docs/DOC-7084 HTH, Kay