Subject: HP-IB troubles
To: None <port-hp300@NetBSD.ORG>
From: Michael Wolfson <mw34@cornell.edu>
List: port-hp300
Date: 07/13/1997 16:21:13
Hi folks.

I've been having some troubles since at least 1.2C that haven't been
resolved.  In fact, I mailed the list a while ago about some of them, but
never got a response.

For starters, my hp370 has three 7939H drives and one 7959B drive on the
fast HPIB.  It gets up to the point where it says:
boot device: rd0
root on rd0a swap on rd0b
root file system type: ffs

Then it hangs.  The boot drive remains flashing at about 2 Hz, but nothing
ever happens.  Turning off the 7959B allows my system to boot, but I'd like
to be able to use it.

Next thing isn't really a problem per se, but a curiosity.  With the 7959B
off (only 7939H drives on the chain), after it recognizes each drive during
autoconf, it waits five seconds and says "hpibbus1: swait timeout", waits
five seconds and repeats again, then again before moving onto the next
drive.

This only started happening after 1.2C.

And finally, some questions about my 9145 tape drive.

The first time after inserting a cart, trying to make a new tar on the tape
(using /dev/rct8), it says:
Jul  7 01:51:09 fatmac /netbsd: ct0: request status failed
Jul  7 01:51:10 fatmac /netbsd: ct0: request status failed
Jul  7 01:51:10 fatmac /netbsd: ct0 err: v0 u0 ru-1 bn0, R0x20 F0x0 A0x0 I0x0

And lastly, I got a hold of a stack of tapes for the 9145, but many of them
are old software updates that I'll never use.  When I insert them into the
drive, the "protect" light turns on and I can't write to the tapes.  This
is altogether different than when I flip the "protect" tab on the front of
the tape.

Is there any way to convince the tape that it is no longer read-only?

Thanks!

  -- MW

NetBSD 1.2E (GENERIC) #1: Mon May 26 11:48:07 PDT 1997
    thorpej@basalt:/u3/snapshot/src/sys/arch/hp300/compile/GENERIC
HP 9000/370 (33.33MHz MC68030 CPU+MMU, 33.33MHz MC68882 FPU, 64K
physical-address cache)
cpu: delay divisor 61
real mem  = 33542144
avail mem = 26882048
using 818 buffers containing 3350528 bytes of memory
Parity detection enabled
hil1: US ASCII keyboard
mainbus0 (root)
intio0 at mainbus0
topcat0 at intio0 addr 0x560000: 1280 x 1024 256 color hi-res catseye display
grf0 at topcat0
ite0 at grf0: console
dio0 at mainbus0: 98620C, 2 channels, 32 bit DMA
nhpib0 at dio0 scode 7 ipl 3: internal HP-IB
hpibbus0 at nhpib0
ppi0 at hpibbus0 slave 5 punit 0
ct0 at hpibbus0 slave 7 punit 0: 9145 streaming tape
dca0 at dio0 scode 9 ipl 5: no fifo
fhpib0 at dio0 scode 14 ipl 4: 98625A/98625B HP-IB
hpibbus1 at fhpib0
rd0 at hpibbus1 slave 1 punit 0hpibbus1: swait timeout
hpibbus1: swait timeout
hpibbus1: swait timeout
: 7937H
rd0: 698 cylinders, 13 heads, 1116102 blocks, 512 bytes/block
rd1 at hpibbus1 slave 4 punit 0hpibbus1: swait timeout
hpibbus1: swait timeout
hpibbus1: swait timeout
: 7937H
rd1: 698 cylinders, 13 heads, 1116102 blocks, 512 bytes/block
rd2 at hpibbus1 slave 5 punit 0hpibbus1: swait timeout
hpibbus1: swait timeout
hpibbus1: swait timeout
: 7937H
rd2: 698 cylinders, 13 heads, 1116102 blocks, 512 bytes/block
le0 at dio0 scode 21 ipl 5: address 08:00:09:03:f8:61
le0: 8 receive buffers, 2 transmit buffers
interrupt levels: bio = 4, net = 5, tty = 5
boot device: rd0
root on rd0a swap on rd0b
root file system type: ffs