Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2003 14:22:41 +0200 (MEST)
From:      Peter B <pb@ludd.luth.se>
To:        bfarmer@xe.com
Cc:        freebsd-hardware@freebsd.org
Subject:   Re: Certance DAT 40 Internal tape drive
Message-ID:  <200309111222.h8BCMfh23406@brother.ludd.luth.se>
In-Reply-To: <111159796.1063211898@[192.168.1.100]>

next in thread | previous in thread | raw e-mail | index | archive | help
>Hello all.
>
>I have an Intel-based server running 4.8-RELEASE.  I've installed a new 
>Certance DAT 40 (previously known as a Seagate Scorpion 40) SCSI DDS-4 
>tape drive.  It is properly detected at boot time (from dmesg.boot):
>
>  sa0 at sym0 bus 0 target 6 lun 0
>  sa0: <SEAGATE DAT    06240-XXX 8240> Removable Sequential Access SCSI-3
>device
>  sa0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit)
>
>Also, "mt" seems to function properly.  (I don't know whether this 
>communicates directly with the drive or not, though.)
>
>However, whenever I attempt to write to the drive, using either "dump", 
>"tar" or "dd", the command fails indicating that only about 60 or 70 bytes 
>were written, and the following message shows up in /var/log/messages:
>
>  Sep 10 15:26:47 xenon /kernel: (sa0:sym0:0:6:0): Invalid request.  Fixed
>block device requests must be a multiple of 1024 bytes

"multiple of 1024 bytes"
Try this:

tar -czvpf - . | dd obs=10240 of=/dev/nrsa0

>The drive has "operating system" dip switches that are to be set 
>differently for different operating systems, but FreeBSD is not one of the 
>supported operating systems.  The switches are currently in their default 
>configuration, which, according to the drive's documentation, corresponds 
>to several different operating systems, including Linux.  I don't know if 
>this is relevant to the problem or not.

If you open it up and there is a board _between_ your computer and the
tapedrive acting like a scsi gateway. Then disconnect that and connect
directly.
Other than that, find the technical docs for the drive to figure out the dip
switches or research how the different operating systems handle the drive.
And then mimic that on freebsd.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309111222.h8BCMfh23406>