Re: SCSI timeout and reset on ncr53c8xx and DVD_AUTH ioctl

From: Jens Axboe (axboe@suse.de)
Date: Sat Apr 15 2000 - 18:57:53 EST


On Sat, Apr 15 2000, Gérard Roudier wrote:
> > The command issues is REPORT_KEY and the data direction has been set
> > by the Uniform CD-ROM layer. So I don't think that is the problem.
>
> Some direction has been set but the source says it is set to
> CGC_DIRECTION_WRITE and in the situation that seems to match the command
> that failed (DVD_LU_SEND_ASF) the code seems to read information from some
> returned data. This looks pretty inconsistent to me.

Indeed you are correct, these somehow got switched... Attached patch
should set correct data direction.

-- 
*  Jens Axboe <axboe@suse.de>
*  Linux CD/DVD-ROM, SuSE Labs
*  http://kernel.dk


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:27 EST