Subject: Re: ATAPI support in 1.3
To: Michael C. Richardson <mcr@sandelman.ottawa.on.ca>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-i386
Date: 02/24/1998 12:21:24
On Feb 23, Michael C. Richardson wrote
>   I have a:
> 
> wdc0 at isa0 port 0x1f0-0x1f7 irq 14
> atapibus0 at wdc0
> cd0 at atapibus0 drive 1: <CD820E.1v1078300, , 3.00> type 5 cdrom removable
> wd0 at wdc0 drive 0: <FUJITSU MPA3017AT>
> wd0: 1668MB, 3390 cyl, 16 head, 63 sec, 512 bytes/sec
> wd0: using 16-sector 16-bit pio transfers, lba addressing
> 
>   I have xmcd, built by another fellow (can't recall who right now), because
> the one that I built with lesstif didn't work at all.
> 
>   I have a number of problems with it.
>     1. when I start xmcd I get:
> 
> wdc0(1): lost interrupt
> wdc0(1): lost interrupt
> wdc0(1): lost interrupt
> wdc0(1): lost interrupt
> 
> on my console.
> 
>   In the window that it was started (its stdout/stderr) it says:
> 
> varrus-[~] mcr 3 >CD audio: SCSI command fault on /dev/rcd0d:
> Opcode=0x1a Status=0x3
> 

You have to configure xmcd to use the cdio ioctl interface, and not send
SCSI commands direct to the CD. ATAPI drives are not SCSI drives, some
commands are differents.
However, I played a bit with a xmcd build with lesstiff, it worked for me.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--