Subject: Re: Problem with Compaq DLT streamer
To: None <port-sparc@netbsd.org>
From: Juergen Hannken-Illjes <hannken@netbsd.org>
List: port-sparc
Date: 08/15/2004 19:17:12
On Sun, Aug 15, 2004 at 06:24:23PM +0200, Chris Amthor wrote:
> Hi folks,
> 
> I recently got an old Compaq DLT tape drive and some tapes (BTW: funny
> thing: one of the tapes has the "digital" logo stamped on it ;)
> 
> I've connected the drive to an SS5's builtin controller, the machine
> is running NetBSD-1.6.2. The drive itself appears to be working.
> 
> The device identifies as:
> 
> popeye# scsictl /dev/st0 identify
> /dev/st0: scsibus0 target 6 lun 0 <DEC, DLT2000, 8306>
> 
> and is willing to talk:
> 
> popeye# mt -t /dev/st0 status
> SCSI tape drive, residual=0
> ds=3<Mounted>
> er=0
> blocksize: 0 (0, 0, 0, 0)
> density: 25 (0, 0, 0, 0)
> current file number: 0
> current block number: 0
> 
> The problem starts when I try to write some data on a tape:
> 
> popeye# tar cvzf /dev/st0 /etc
> 
> [...]
> 
> popeye# tar (child): only wrote 2048 of 2510 bytes to /dev/st0

Does it work with /dev/rst0 ? /dev/st0 is a block device.
		       ^

> Seems to be related to blocksize to me, since 2048 is a common value.
> 
> dmesg has one entry:
> 
> esp0: tagged queuing rejected: target 3
> st0(esp0:0:6:0):  Check Condition on CDB: 0x08 00 00 08 00 00
>     SENSE KEY:  Blank Check
>    INFO FIELD:  2048
>  COMMAND INFO:  61 (0x3d)
>      ASC/ASCQ:  End-Of-Data Detected

Command 0x08 is READ. I suppose this is the result reading an empty tape.

> for each try.
> 
> The most interesting issue: target 3 is the HDD the OS sits on, the
> streamer is target 6 (same bus).
> 
> Any ideas?
> 
> cheers,
> \end{kryz}
> 
> -- 
> Q: How is "SunOS" spelled?
> A: As one speaks it. With capital "S-O-S".

-- 
Jürgen Hannken-Illjes - hannken@netbsd.org