Bug 17421

Summary: 4.0-STABLE: burncd fails
Product: Base System Reporter: larse <larse>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   

Description larse 2000-03-17 03:10:00 UTC
Upon insterting a blank CD, I see this (while the drive LED is on):
	hbo# burncd -f /dev/acd0c data test.iso fixate
	burncd: ioctl(CDRIOCWRITESPEED): Device busy

After a few minutes, the drive LED turns off, and I get:
	hbo# burncd -f /dev/acd0c data test.iso fixate
	burncd: ioctl(CDRIOCOPENDISK): Invalid argument

System setup (options ATA_ENABLE_ATAPI_DMA is enabled):
hbo# dmesg | grep ata
atapci0: <Intel ICH ATA66 controller> port 0xffa0-0xffaf at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ad0: 26105MB <IBM-DPTA-372730> [53040/16/63] at ata0-master using UDMA66
acd0: CD-RW <SONY CD-RW CRX140E> at ata1-master using UDMA33

How-To-Repeat: see above
Comment 1 Søren Schmidt freebsd_committer freebsd_triage 2000-03-17 08:00:51 UTC
State Changed
From-To: open->analyzed

I see you have DMA on the ATAPI devices, try to disable that. 
Some, but not all, ATAPI devices works with DMA read, alot 
less works with DMA write, so I suspect that is your 
problem. 
Comment 2 cpiazza freebsd_committer freebsd_triage 2000-03-18 01:03:32 UTC
State Changed
From-To: analyzed->closed

Originator reports that a power cycle fixed the problem.