Hi,
I've just installed an HP DLT80 drive on OpenBSD. I'm trying to use
the drive as I used my DLT4000 with dump.
dump -0au -f /dev/nrst0 /dev/rwd1a
But I've run into the following problem:
For some reason mt reports:
# mt -f /dev/nrst0 status
SCSI tape drive, residual=0
ds=13<WriteProtect,Mounted>
er=0
blocksize: 0 (0)
density: 1 (1)
The write protect switch on the tape is off (set to read/write). In
dmesg I see lots of :
st0(siop0:6:0): Check Condition (error 0x70) on opcode 0x10
SENSE KEY: Write Protected
INFO: 0x1 (VALID flag on)
ASC/ASCQ: ASC 0x27 ASCQ 0x82
Running OpenBSD 4.2 GENERIC#1427 sparc64
complete dmesg output:
console is keyboard/display
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights
reserved.
Copyright (c) 1995-2007 OpenBSD. All rights reserved. http://www.OpenBSD.org
OpenBSD 4.2 (GENERIC) #1427: Tue Aug 28 10:46:40 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/compile/
GENERIC
real mem = 1342177280 (1280MB)
avail mem = 1285308416 (1225MB)
mainbus0 at root: Sun Blade 100 (UltraSPARC-IIe)
cpu0 at mainbus0: SUNW,UltraSPARC-IIe (rev 1.4) @ 502 MHz, version 0 FPU
cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 256K
external (64 b/l)
psycho0 at mainbus0: pci108e,a001, impl 0, version 0, ign 7c0
psycho0: bus range 0-1, PCI bus 0
psycho0: dvma map c0000000-dfffffff, iotdb 187c000-18fc000
pci0 at psycho0
ebus0 at pci0 dev 12 function 0 "Sun RIO EBus" rev 0x01
"flashprom" at ebus0 addr 0-fffff not configured
clock1 at ebus0 addr 0-1fff: mk48t59
ebus1 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00
"dma" at ebus1 addr 0-ffff ipl 42 not configured
power0 at ebus1 addr 800-82f ipl 32
com0 at ebus1 addr 3f8-3ff ipl 43: ns16550a, 16 byte fifo
com1 at ebus1 addr 2e8-2ef ipl 43: ns16550a, 16 byte fifo
gem0 at pci0 dev 12 function 1 "Sun ERI Ether" rev 0x01: ivec 0x7c6,
address 00:03:ba:18:1b:09
ukphy0 at gem0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI
0x0010dd, model 0x0002
"Sun FireWire" rev 0x01 at pci0 dev 12 function 2 not configured
ohci0 at pci0 dev 12 function 3 "Sun USB" rev 0x01: ivec 0x7e4,
version 1.0, legacy support
"Acer Labs M7101 Power" rev 0x00 at pci0 dev 3 function 0 not configured
autri0 at pci0 dev 8 function 0 "Acer Labs M5451 Audio" rev 0x01: ivec
0x7e3
ac97: codec id 0x41445348 (Analog Devices AD1881A)
ac97: codec features headphone, Analog Devices Phat Stereo
audio0 at autri0
midi0 at autri0: <4DWAVE MIDI UART>
pciide0 at pci0 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc3:
DMA, channel 0 configured to native-PCI, channel 1 configured to
native-PCI
pciide0: using ivec 0x7cc for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <WDC WD800JB-00JJC0>
wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <LITEON, CD-ROM LTN486S, Y3S2> SCSI0 5/
cdrom removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
wd1 at pciide0 channel 1 drive 0: <WDC WD800JB-00JJC0>
wd1: 16-sector PIO, LBA, 76319MB, 156301488 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
vgafb0 at pci0 dev 19 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vgafb0: console (std, sun emulation)
ppb0 at pci0 dev 5 function 0 "Intel S21152BB PCI-PCI" rev 0x00
pci1 at ppb0 bus 1
siop0 at pci1 dev 0 function 0 "Symbios Logic 53c875" rev 0x26: ivec
0x7d9, using 4K of on-board RAM
scsibus1 at siop0: 16 targets
siop0: target 6 now using 8 bit async xfers
siop0: target 6 now using 8 bit 10.0 MHz 15 REQ/ACK offset xfers
st0 at scsibus1 targ 6 lun 0: <COMPAQ, DLT VS 40/80, 5133> SCSI2 1/
sequential removable
em0 at pci1 dev 1 function 0 "Intel PRO/1000GT (82541GI)" rev 0x05:
ivec 0x7ca, address 00:0e:0c:bc:14:b1
usb0 at ohci0: USB revision 1.0
uhub0 at usb0: Sun OHCI root hub, rev 1.00/1.00, addr 1
"pcons" at mainbus0 not configured
uhidev0 at uhub0 port 4 configuration 1 interface 0
uhidev0: Sun Microsystems Type 6 Keyboard, rev 1.00/1.02, addr 2,
iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes, layout 32
wskbd0 at ukbd0: console keyboard, using wsdisplay0
bootpath: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],0/[EMAIL PROTECTED],0
root on wd0a swap on wd0b dump on wd0b
st0(siop0:6:0): Check Condition (error 0x70) on opcode 0xa
SENSE KEY: Write Protected
INFO: 0x2800 (VALID flag on)
ASC/ASCQ: ASC 0x27 ASCQ 0x82
st0(siop0:6:0): Check Condition (error 0x70) on opcode 0xa
SENSE KEY: Write Protected
INFO: 0x2800 (VALID flag on)
ASC/ASCQ: ASC 0x27 ASCQ 0x82
st0(siop0:6:0): Check Condition (error 0x70) on opcode 0xa
SENSE KEY: Write Protected
INFO: 0x2800 (VALID flag on)
ASC/ASCQ: ASC 0x27 ASCQ 0x82
st0(siop0:6:0): Check Condition (error 0x70) on opcode 0x10
SENSE KEY: Write Protected
INFO: 0x1 (VALID flag on)
ASC/ASCQ: ASC 0x27 ASCQ 0x82
st0(siop0:6:0): Check Condition (error 0x70) on opcode 0xa
SENSE KEY: Write Protected
INFO: 0x2800 (VALID flag on)
ASC/ASCQ: ASC 0x27 ASCQ 0x82
st0(siop0:6:0): Check Condition (error 0x70) on opcode 0xa
SENSE KEY: Write Protected
INFO: 0x2800 (VALID flag on)
ASC/ASCQ: ASC 0x27 ASCQ 0x82
st0(siop0:6:0): Check Condition (error 0x70) on opcode 0xa
SENSE KEY: Write Protected
INFO: 0x2800 (VALID flag on)
ASC/ASCQ: ASC 0x27 ASCQ 0x82
st0(siop0:6:0): Check Condition (error 0x70) on opcode 0x10
SENSE KEY: Write Protected
INFO: 0x1 (VALID flag on)
ASC/ASCQ: ASC 0x27 ASCQ 0x82
st0(siop0:6:0): Check Condition (error 0x70) on opcode 0x10
SENSE KEY: Write Protected
INFO: 0x1 (VALID flag on)
ASC/ASCQ: ASC 0x27 ASCQ 0x82
st0: 10240-byte record too big
st0(siop0:6:0): Check Condition (error 0x70) on opcode 0x10
SENSE KEY: Write Protected
INFO: 0x1 (VALID flag on)
COMMAND INFO: 0x1
ASC/ASCQ: ASC 0x27 ASCQ 0x82
st0(siop0:6:0): Check Condition (error 0x70) on opcode 0xa
SENSE KEY: Write Protected
INFO: 0xffffda00 (VALID flag on)
ASC/ASCQ: ASC 0x27 ASCQ 0x82
st0(siop0:6:0): Check Condition (error 0x70) on opcode 0x10
SENSE KEY: Write Protected
INFO: 0x1 (VALID flag on)
ASC/ASCQ: ASC 0x27 ASCQ 0x82
st0(siop0:6:0): Check Condition (error 0x70) on opcode 0x10
SENSE KEY: Write Protected
INFO: 0x1 (VALID flag on)
ASC/ASCQ: ASC 0x27 ASCQ 0x82
#