Jim Hammack wrote:
>
> 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.
Strange. It should work. Another thing that occurs when 32KB is
exceeded (due to the setting of SG_SCATTER_SZ) is scatter gather.
This would suggest there is something wrong with the SCSI adapter
or driver. [kernel version and adapter?]
To test this theory you could increase SG_SCATTER_SZ (in sg.h)
to 64 KB and rebuild sg.
> 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.
Doug Gilbert
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]