Subject: Re: cdplay digital
To: None <current-users@netbsd.org>
From: Mark Davies <mark@mcs.vuw.ac.nz>
List: current-users
Date: 05/11/2007 10:55:16
On Fri, 11 May 2007, Sergey Svishchev wrote:
> >  cdplay> digital
> >  cdplay> play
> >  cdplay> cdplay: scsi cmd failed: retsts 1 status 0
>
> Does kernel log any error messages when you try this?

yes:

piixide0:0:0: lost interrupt
        type: atapi tc_bcount: 11760 tc_skip: 0
piixide0:0:0: bus-master DMA error: missing interrupt, status=0x21
piixide0:0:0: device timeout, c_bcount=11760, c_skip=0
cd0: transfer error, downgrading to Ultra-DMA mode 1
cd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 1 (using DMA)
piixide0:0:0: lost interrupt
        type: atapi tc_bcount: 11760 tc_skip: 0
piixide0:0:0: bus-master DMA error: missing interrupt, status=0x21
piixide0:0:0: device timeout, c_bcount=11760, c_skip=0
cd0: transfer error, downgrading to PIO mode 4
cd0(piixide0:0:0): using PIO mode 4
piixide0:0:0: lost interrupt
        type: atapi tc_bcount: 11760 tc_skip: 0
piixide0:0:0: lost interrupt
        type: atapi tc_bcount: 11760 tc_skip: 0
		[...]

> What kind of drives these machines have (dmesg | grep ^cd would be
> most useful)?

cd0 at atapibus0 drive 0: <PHILIPS DVD+/-RW DVD8701, 
MY0M9753701595C702I, 5D24> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 
(Ultra/33)
cd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) 
(using DMA)


and on another machine:

cd0 at atapibus0 drive 0: <_NEC DVD+/-RW ND-6650A, , 102C> cdrom 
removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 
(Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) 
(using DMA)


Both machines can happily mount and access data CD's.

cheers
mark