Subject: Re: kern/26886: cdrecord doesn't work with 2.0 branch, did with 1.6 branch
To: Simon Burge <simonb@wasabisystems.com>
From: Simon Burge <simonb@wasabisystems.com>
List: netbsd-bugs
Date: 09/20/2004 17:09:30
Simon Burge wrote:

> >Number:         26886
> >Category:       kern
> >Synopsis:       cdrecord doesn't work with 2.0 branch, did with 1.6 branch

After some more playing, I've established the following:

 - cdrecord doesn't work with the original configuration
 - cdrdao works for creating both audio and data disks
 - the burner works with cdrecord if I plug in a spare PCI IDE card in to
   the box

The original relevent parts of dmesg (using the motherboard IDE controller):

pdcide0 at pci0 dev 6 function 0
pdcide0: Promise Ultra100/ATA Bus Master IDE Accelerator (rev. 0x02)
pdcide0: bus-master DMA support present
pdcide0: primary channel configured to native-PCI mode
pdcide0: using irq 9 for native-PCI interrupt
atabus0 at pdcide0 channel 0
pdcide0: secondary channel configured to native-PCI mode
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <SONY    CD-RW  CRX175E, , 1.0j> cdrom removable 
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(pdcide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)

The relevent parts of dmesg using a PCI IDE controller:

pdcide1 at pci0 dev 14 function 0
pdcide1: Promise Ultra100TX2/ATA Bus Master IDE Accelerator (rev. 0x02)
pdcide1: bus-master DMA support present
pdcide1: primary channel configured to native-PCI mode
pdcide1: using irq 10 for native-PCI interrupt
atabus4 at pdcide1 channel 0
pdcide1: secondary channel configured to native-PCI mode
atapibus0 at atabus4: 2 targets
cd0 at atapibus0 drive 0: <SONY    CD-RW  CRX175E, , 1.0j> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(pdcide1:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)

I'm totally confused as to why cdrecord doesn't work but cdrdao does
work (even writing data disks) when on the original controller.  Is it
worth trying to debug this further?

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/