Subject: Seagate DDS-3 DAT drive
To: None <netbsd-help@netbsd.org>
From: Brook Milligan <brook@biology.nmsu.edu>
List: netbsd-help
Date: 05/09/2001 23:23:55
I am trying to install a Seagate STD224000N DDS-3 DAT SCSI tape drive
on a 1.5/i386 box.  The kernel finds the drive, and mt(1) seems to
work fine for moving the tape around and retrieving status information
(though I'm not sure how to interpret all of it).  Dump(8) also seems
to work for dumping a filesystem (that is, it doesn't report errors
and the tape seems to stream continuously).

However, when I try to restore(8) a filesytem from a just-written
tape, there are various errors and my disk drive becomes hosed in
various ways (e.g., lost bootblocks, messed up /dev).  This is for
restoring into a completely empty directory, not over the top of my
existing filesystem.  Additionally, some regular files (e.g., in /bin
or /etc) are different from the original ones.  For example, they may
be truncated or may include large chunks of binary garbage.

Clearly, something is wrong, but I'm not sure how to figure out what.

Should there be an entry in the quirks table for this drive?  If so,
what should be included?  Is it expected that all tape drives will
have some entry in the quirks table, or is it possible for the driver
to determine such things as densities and such for some drives without
the aid of the quirks table?  How should the drive itself be
configured?  Currently it is set for the following:

	- SCSI ID 6
	- recognize DDS/non-DDS media
	- enable parity check
	- enable DDS compression
	- send a "Seagate" inquiry string (not "Archive python")
	- enable power-on-self-test
	- HP/SGI/SCO/non-unix option (as opposed to Sun/IBM or DEC)

Thanks for any help you can offer.

Cheers,
Brook