System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

HP-UX dlt tape drive problem

tyeung1990
Occasional Advisor

HP-UX dlt tape drive problem

Hi,

 

I have a HP DLT8000 tape drive and if i do a sea on the BCH, the drive would show up. But once i got into the OS, if i do a ioscan, it wouldn't see the drive. I tried using insf -e to install the device file but that didn't help. I checked sam and the stape driver is in the system.

 

Any ideas?

 

Thanks.

10 REPLIES
Patrick Wallek
Honored Contributor

Re: HP-UX dlt tape drive problem

Are there any devices in ioscan that show to be unclaimed?

tyeung1990
Occasional Advisor

Re: HP-UX dlt tape drive problem

Nope, nothing unclaimed.

Patrick Wallek
Honored Contributor

Re: HP-UX dlt tape drive problem

Can you post, or attach, the output of 'ioscan -fn'?

tyeung1990
Occasional Advisor

Re: HP-UX dlt tape drive problem

# ioscan -fn
Class       I  H/W Path       Driver    S/W State   H/W Type     Description
=============================================================================
bc          0                 root      CLAIMED     BUS_NEXUS
ioa         0  10             sba       CLAIMED     BUS_NEXUS    System Bus Adapter (582)
ba          0  10/0           lba       CLAIMED     BUS_NEXUS    Local PCI Bus Adapter (782)
lan         0  10/0/12/0      btlan3    CLAIMED     INTERFACE    HP PCI 10/100Base-TX Core
                             /dev/diag/lan0  /dev/ether0
audio       0  10/0/13/0      audio     CLAIMED     INTERFACE    Built-in Audio
                             /dev/audio       /dev/audioBL_0   /dev/audioCtl_0  /dev/audioEL_0   /dev/audioIA_0   /dev/audioIU_0   /dev/audioLL_0   /dev/audioNA_0   /dev/audioNU_0
                             /dev/audioBA     /dev/audioBU     /dev/audioEA     /dev/audioEU     /dev/audioIL     /dev/audioLA     /dev/audioLU     /dev/audioNL     /dev/audio_0
                             /dev/audioBA_0   /dev/audioBU_0   /dev/audioEA_0   /dev/audioEU_0   /dev/audioIL_0   /dev/audioLA_0   /dev/audioLU_0   /dev/audioNL_0
                             /dev/audioBL     /dev/audioCtl    /dev/audioEL     /dev/audioIA     /dev/audioIU     /dev/audioLL     /dev/audioNA     /dev/audioNU
ext_bus     0  10/0/14/0      side      CLAIMED     INTERFACE    IDE
target      0  10/0/14/0.0    tgt       CLAIMED     DEVICE
disk        0  10/0/14/0.0.0  sdisk     CLAIMED     DEVICE       MITSUMI CD-ROM FX4830T!B
                             /dev/dsk/c0t0d0   /dev/rdsk/c0t0d0
target      1  10/0/14/0.7    tgt       CLAIMED     DEVICE
ctl         0  10/0/14/0.7.0  sctl      CLAIMED     DEVICE       Initiator
                             /dev/rscsi/c0t7d0
ba          1  10/0/14/1      superio   CLAIMED     BUS_NEXUS    PCI Core I/O Adapter
tty         0  10/0/14/1/1    asio0     CLAIMED     INTERFACE    Built-in RS-232C
                             /dev/diag/mux0  /dev/mux0       /dev/tty0p0
tty         1  10/0/14/1/2    asio0     CLAIMED     INTERFACE    Built-in RS-232C
                             /dev/diag/mux1  /dev/mux1       /dev/tty1p0
ext_bus     1  10/0/14/1/3    SCentIf   CLAIMED     INTERFACE    Built-in Parallel Interface
                             /dev/c1t0d0_lp
usb         0  10/0/14/2      hcd       CLAIMED     INTERFACE    Built-in USB Interface
usbhub      0  10/0/14/2.1    hub       CLAIMED     DEVICE       USB Root Hub
                             /dev/hub
usbhid      0  10/0/14/2.1.2  hid       CLAIMED     DEVICE       USB HID Mouse(0)
                             /dev/hid/firstkbd    /dev/hid/hid_003     /dev/hid/hid_008     /dev/hid/hid_013     /dev/hid/kbd_002     /dev/hid/kbd_007     /dev/hid/mouse_004
                             /dev/hid/firstmouse  /dev/hid/hid_004     /dev/hid/hid_009     /dev/hid/hid_014     /dev/hid/kbd_003     /dev/hid/mouse_000   /dev/hid/mouse_005
                             /dev/hid/hid_000     /dev/hid/hid_005     /dev/hid/hid_010     /dev/hid/hid_015     /dev/hid/kbd_004     /dev/hid/mouse_001   /dev/hid/mouse_006
                             /dev/hid/hid_001     /dev/hid/hid_006     /dev/hid/hid_011     /dev/hid/kbd_000     /dev/hid/kbd_005     /dev/hid/mouse_002   /dev/hid/mouse_007
                             /dev/hid/hid_002     /dev/hid/hid_007     /dev/hid/hid_012     /dev/hid/kbd_001     /dev/hid/kbd_006     /dev/hid/mouse_003
usbhid      1  10/0/14/2.1.3  hid       CLAIMED     DEVICE       USB HID Kbd(1)
ext_bus     2  10/0/15/0      c720      CLAIMED     INTERFACE    SCSI C896 Ultra Narrow Single-Ended
target      2  10/0/15/0.7    tgt       CLAIMED     DEVICE
ctl         1  10/0/15/0.7.0  sctl      CLAIMED     DEVICE       Initiator
                             /dev/rscsi/c2t7d0
ext_bus     3  10/0/15/1      c720      CLAIMED     INTERFACE    SCSI C896 Ultra2 Wide LVD
target      3  10/0/15/1.5    tgt       CLAIMED     DEVICE
disk        1  10/0/15/1.5.0  sdisk     CLAIMED     DEVICE       HP 36.4GST336706LC
                             /dev/dsk/c3t5d0   /dev/rdsk/c3t5d0
target      4  10/0/15/1.6    tgt       CLAIMED     DEVICE
disk        2  10/0/15/1.6.0  sdisk     CLAIMED     DEVICE       HP 36.4GST336706LC
                             /dev/dsk/c3t6d0   /dev/rdsk/c3t6d0
target      5  10/0/15/1.7    tgt       CLAIMED     DEVICE
ctl         2  10/0/15/1.7.0  sctl      CLAIMED     DEVICE       Initiator
                             /dev/rscsi/c3t7d0
ba          3  10/4           lba       CLAIMED     BUS_NEXUS    Local PCI Bus Adapter (782)
ext_bus     4  10/4/1/0       c720      CLAIMED     INTERFACE    SCSI C875 Ultra Wide Differential
target      7  10/4/1/0.7     tgt       CLAIMED     DEVICE
ctl         3  10/4/1/0.7.0   sctl      CLAIMED     DEVICE       Initiator
                             /dev/rscsi/c4t7d0
ba          4  10/6           lba       CLAIMED     BUS_NEXUS    Local PCI Bus Adapter (782)
graphics    0  10/6/2/0       graph3    CLAIMED     INTERFACE    PCI Display (103c108b)
processor   0  32             processor CLAIMED     PROCESSOR    Processor
memory      0  49             memory    CLAIMED     MEMORY       Memory

 The drive is connected to the PCI scsi interface

Patrick Wallek
Honored Contributor

Re: HP-UX dlt tape drive problem

Have you verified the SCSI ID of the tape drive?  Is there a SCSI terminator attached to the drive?

 

Are there any errors in /var/adm/syslog/syslog.log?

 

 

tyeung1990
Occasional Advisor

Re: HP-UX dlt tape drive problem

Yes i have, and there is a terminator attached to the drive.

When i check the log, i see a lot of the following:

 

vmunix: SCSI: Resetting SCSI -- lbolt: 661936, bus: 4

vmunix: SCSI: Reset detected -- lbolt: 661936, bus: 4

           scb -> cdb: 12 00 00 00 80 00

 

Do they mean anything?

Patrick Wallek
Honored Contributor

Re: HP-UX dlt tape drive problem

SCSI bus resets are not good.

 

That indicates that there may be a problem with the tape drive.

tyeung1990
Occasional Advisor

Re: HP-UX dlt tape drive problem

Problem solved. Instead of swaping a new drive, i swapped the cable and crossed my fingers and it worked!

 

But here is what i don't understand - if there was a problem to the cable, how come the bch could still detect the presence of the drive but not in ioscan?

Bill Hassell
Honored Contributor

Re: HP-UX dlt tape drive problem

>> if there was a problem to the cable, how come the bch could still detect the presence of the drive but not in ioscan?

 

Very different code with the two interfaces. The BCH search is very primitive and does not provide any information except that there was a low level reply to a SCSI probe and a status indicating a serial device. ioscan performs SCSI ID requests and the driver is also probed for additional details, requiring a clean handshake and data transfer for the details.



Bill Hassell, sysadmin
tyeung1990
Occasional Advisor

Re: HP-UX dlt tape drive problem

Understood. Thanks for the help guys. =)