[3843] in linux-scsi channel archive

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

sg driver problem progress

daemon@ATHENA.MIT.EDU (Simon Burley)
Mon May 4 04:02:00 1998

Date: 	Mon, 04 May 1998 07:57:17 +0100
From: Simon Burley <simon@colxcol.co.uk>
Reply-To: simon@colxcol.co.uk
To: linux-scsi@vger.rutgers.edu

Since I originally posted the group, I have learned quite a bit about
the generic scsi driver. I substituted an AHA-1542 for the old WD7000
and now debugging is easier since the Adaptec tolerates broken scsi
commands, where the WD didn't.
I also learned that the recorder really wants the command and all the
print data sent down with one write, rather than he scheme I was using
(write command, read status, write line 1, read status, write line,
etc).
So now I'm writing the command and data and not doing any status reading
after each write. I don't think that this is the 'correct' way to do it,
but reading after each write is killing the data transfer- I still do a
read after all the print data is sent, to get the byte the recorder is
sending back. This is working well, but...
I don't get control back at the command prompt. All the data is sent OK
- my tests comfirm this, and the recorder is ready for more commands.
What is wrong now?
Simon

-
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