[8629] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

reading blocks > 32K with generic device

daemon@ATHENA.MIT.EDU (Jim Hammack)
Fri Apr 14 15:03:02 2000

Message-ID: <38F76AE8.BA0F1DEA@navo.navy.mil>
Date:	Fri, 14 Apr 2000 14:00:56 -0500
From: Jim Hammack <HammackJ@navo.navy.mil>
MIME-Version: 1.0
To: linux-scsi@vger.rutgers.edu
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

How can I read > 32 Kbytes from a generic scsi device?  I am running
kernel 2.2.13 and using a Sony SDT-9000 DAT drive.  I have data tapes
with a 40960 byte block size.  I can read these tapes okay on an SGI
under IRIX 6.5, but under Linux I only get 32K bytes.

I have tried setting the block size with mt:

mt -f /dev/st1 setblk 40960

with no effect.  I have tried using ioctl to set SG_SET_RESERVED_SIZE to
64K.  The ioctl seemed to work and I could use SG_GET_RESERVED_SIZE to
verify it, but still no effect on reading the tapes.

Any ideas would be appreciated.   Thanks.

-- 
Jim Hammack
Naval Oceanographic Office
Simulation and Visualization Branch
Stennis Space Center, MS 39522 USA
228.688.4112,  HammackJ@navo.navy.mil

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post