Subject: Re: CVS commit: syssrc
To: Jason R Thorpe <thorpej@zembu.com>
From: Dave Huang <khym@azeotrope.org>
List: current-users
Date: 05/20/2001 22:13:46
[ moved from source-changes ]

On Sun, 20 May 2001, Jason R Thorpe wrote:
> On Mon, May 21, 2001 at 12:07:58AM +0300, Christos Zoulas wrote:
>  > Log Message:
>  > PR/12991: Dave Huang: DVD ioctls don't work because we send the wrong size
>  > CDB (16 instead of 12).
>
> FWIW, for why this probably worked before, most people's DVD ROM drives
> are ATAPI, I suppose, and ATAPI has only 16-byte CDBs.

I guess I'm a bit of a SCSI zealot :)

I realized that I actually have an ATAPI DVD on my laptop, so I tried
out the utils on it... the "reset" program, which apparently just does a
DVD_INVALIDATE_AUTH fails with:

cd0(pciide0:0:1):  Check Condition on CDB: 0xa4 00 00 00 00 00 00 00 00 00 3f 00
    SENSE KEY:  Illegal Request
     ASC/ASCQ:  Illegal Field in CDB
         SKSV:  Error in CDB, Offset 10

cd0(pciide0:0:1):  Check Condition on CDB: 0xa4 00 00 00 00 00 00 00 00 00 7f 00
    SENSE KEY:  Illegal Request
     ASC/ASCQ:  Illegal Field in CDB
         SKSV:  Error in CDB, Offset 10

cd0(pciide0:0:1):  Check Condition on CDB: 0xa4 00 00 00 00 00 00 00 00 00 bf 00
    SENSE KEY:  Illegal Request
     ASC/ASCQ:  Illegal Field in CDB
         SKSV:  Error in CDB, Offset 10

The laptop drive is a:
cd0 at atapibus0 drive 1: <TOSHIBA DVD-ROM SD-C2502, 3100006593, 1D13> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)

The other utils seem to work fine... I haven't had a chance to look
into what it's unhappy about.