Subject: CD burning problems
To: None <current-users@netbsd.org>
From: Sean Davis <dive-nb@endersgame.net>
List: port-i386
Date: 12/22/2005 20:41:04
Running NetBSD/i386 3.99.14, using a brand new dvd/cd burner. I would note
first that I had zero problems burning cds at any speed using my old sony
52x cdrw. Any insight is appreciated.

viaide1 at pci0 dev 15 function 1
viaide1: VIA Technologies VT8237 ATA133 controller
viaide1: bus-master DMA support present
viaide1: primary channel configured to compatibility mode
viaide1: primary channel interrupting at irq 14
atabus at viaide1 channel 0 not configured
viaide1: secondary channel configured to compatibility mode
viaide1: secondary channel interrupting at irq 15
atabus3 at viaide1 channel 1
atapibus0 at atabus3: 2 targets
cd0 at atapibus0 drive 0: <LITE-ON DVDRW SHW-1635S, , YS06> cdrom removable

cdrecord gives me the following:

Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
Performing OPC...
cdrecord: Input/output error. send opc: scsi sendcmd: cmd timeout after
59.992 (60) s
CDB:  54 01 00 00 00 00 00 00 00 00
cmd finished after 59.992s timeout 60s
cdrecord: OPC failed.
cdrecord: Input/output error. prevent/allow medium removal: scsi sendcmd:
retryable error
CDB:  1E 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 06 00 00 00 00 0A 00 00 00 00 29 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00
Sense Key: 0x6 Unit Attention, Segment 0
Sense Code: 0x29 Qual 0x00 (power on, reset, or bus device reset occurred)
Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.450s timeout 40s
Writing  time:   63.460s
cdrecord: fifo had 68 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
Exit 255
dive@jane:/tmp %

in syslog:
*** /var/log/messages ***
Dec 22 20:36:34 jane /netbsd: viaide1:1:0: lost interrupt
Dec 22 20:36:34 jane /netbsd: type: atapi tc_bcount: 0 tc_skip: 0
Dec 22 20:36:35 jane /netbsd: viaide1:1:0: piomode timed out