Subject: hangs while trying to record a CD
To: None <,>
From: Nathan J. Williams <>
List: current-users
Date: 05/14/2002 14:05:36
Today I finally tried to burn a CD on my shiny new PC.
It didn't work so well; in fact, it hung the entire system. The
cdrecord sequence looks like this:

3 marvin-the-martian:nathanw>cdrecord dev=/dev/rcd0d i386-cd.img 
Cdrecord 1.10 (i386-unknown-netbsd1.5ZC) Copyright (C) 1995-2001 Jvrg
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/rcd0d'
devname: '/dev/rcd0d'
scsibus: -2 target: -2 lun: -2
Using libscg version 'schily-0.5'
cdrecord: Warning: using inofficial libscg transport code version (frueauf-scsi-bsd.c-1.40nb1 '@(#)scsi-bsd.c   1.40 01/03/18 Copyright 1997 J. Schilling').
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'LITE-ON '
Identifikation : 'LTR-32123S      '
Revision       : 'XS0R'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : SWABAUDIO

and then it lost. On the console, I got:

cd0(pciide0:1:0): illegal request, data = 00 00 00 00 64 00 00 00 00 00
cd0: dos partition i/o error

Breaking into DDB didn't work at this point.

The pciide stuff probes as:

pciide0 at pci0 dev 7 function 1: Advanced Micro Devices AMD768 IDE Controller (rev. 0x04)
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <MAXTOR 6L080L4>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 76345 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 156355584 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
pciide0: secondary channel configured to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <LITE-ON LTR-32123S, , XS0R> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)


        - Nathan