Re: [CentOS] Problem detecting HP Tape Drive
Solved! The answer is: echo engage scsi /proc/drivers/cciss/cciss1 With that thing everything worked fine. Thanks every one for your help -- Mehdi Sarmadi On Sun, Jan 4, 2009 at 5:02 PM, Kay Diederichs kay.diederi...@uni-konstanz.de wrote: 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 Sarmadi Mehdi, 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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem detecting HP Tape Drive
Am 04.01.2009 um 08:31 schrieb Mehdi Sarmadi: Dear All thanks for the replies Rainer That's a tape not a SAN, and there is no fiberchannel. Just an SCSI tape attached to outside ports of an LSI SCSI adapter(a pci card). Does that something to do with hp_rescan utility? Isn't hp_rescan only for Emulex HBAs? If not, Where could I find the rpm or tgz package? It's part of their FC-HBA drivers. Worth a try. cheers, Rainer ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem detecting HP Tape Drive
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 Sarmadi Mehdi, 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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Problem detecting HP Tape Drive
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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem detecting HP Tape Drive
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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem detecting HP Tape Drive
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 :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 :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 :0a:04.0[A] - GSI 72 (level, low) - IRQ 209 cciss0: 0x46 at PCI :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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem detecting HP Tape Drive
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.ho...@plymouth.ac.uk Fax: +44 (0)1752 587001 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem detecting HP Tape Drive
Dear All thanks for the replies Rainer That's a tape not a SAN, and there is no fiberchannel. Just an SCSI tape attached to outside ports of an LSI SCSI adapter(a pci card). Does that something to do with hp_rescan utility? Isn't hp_rescan only for Emulex HBAs? If not, Where could I find the rpm or tgz package? John R Pierce I don't think that SCSI ports outside(behind) the server chasis be for smart arrays? Are you sure? -- Mehdi Sarmadi On Sat, Jan 3, 2009 at 11:59 PM, Rainer Duffner rai...@ultra-secure.de wrote: 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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem detecting HP Tape Drive
Mehdi Sarmadi wrote: I don't think that SCSI ports outside(behind) the server chasis be for smart arrays? Are you sure? its your server, I'm not familiar with that model, but your LSPCI lists one dual port 53C1030 SCSI card, and 2 64xx SmartArray RAID cards. you might have to open up the server to see whats what. note that LSPCI can't really distinguish between whats on board vs on PCI cards. SmartArray cards can have internal or external scsi ports, depending on the card. specs for the DL350 G4 http://h18004.www1.hp.com/products/quickspecs/12009_na/12009_na.html say... onboard dual u320 scsi (that would be the 53c1030), and optional smartarray 641 (in PCI slot 3)... Ah, and farther down the page, it says the 53c1030 onboard scsi, external scsi connector cabling is optional, SCSI Connectors Two internal HD68 connectors (Support for either two internal, two external, or a mix of internal/external is available. This is achieved using an internal to external SCSI cable option kit,PN 159547-B22 or 70-B21, and either of the two SCSI knockouts.) ah, the optional 641 array controller is internal only. but other model 64xx cards can have internal + external ports, these would be in a PCI IO bay. another silly question, did you terminate this external scsi chain? You have to use a active LVD scsi terminator at end of the last device on the scsi cable, this would be your tape drive. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos