[1899] in linux-scsi channel archive

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

Generic interface limitations

daemon@ATHENA.MIT.EDU (Marc SCHAEFER)
Wed May 21 03:26:15 1997

From: schaefer@alphanet.ch (Marc SCHAEFER)
Date: 	21 May 1997 09:21:10 +0200
Apparently-To: linux-scsi@vger.rutgers.edu
To: ;@unlisted-recipients (no To-header on input)

Hi.

I would like to write a SCSI tester with the SCSI generic interface.
I already wrote a disk, tape, and medium changer with that interface.
However, the current implementation has the following problems:

   - automatic sense retrieving and general recovery (I would prefer to
     receive an error, e.g., target timeout, target unexpected disconnect
     or whatever because this is for diagnostic purposes)
   - limited transfer size (max is 128k in the FAQ).

Has someone already tried to overcome those limitations, or has any
idea how to overcome them easily ?

An idea would be to add other ioctls (NO_RETRY, NO_SENSE_RETRIEVE), but
would that be sufficient or is error ``recovery'' something which is
handled at the lowest driver level ?

Thank you for ideas, pointers, etc.


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