From nobody@FreeBSD.org  Thu Mar 16 19:02:48 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP id 940DC37BC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 16 Mar 2000 19:02:48 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id TAA22585;
	Thu, 16 Mar 2000 19:02:47 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Message-Id: <200003170302.TAA22585@freefall.freebsd.org>
Date: Thu, 16 Mar 2000 19:02:47 -0800 (PST)
From: larse@isi.edu
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: 4.0-STABLE: burncd fails
X-Send-Pr-Version: www-1.0

>Number:         17421
>Category:       kern
>Synopsis:       4.0-STABLE: burncd fails
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 16 19:10:00 PST 2000
>Closed-Date:    Fri Mar 17 17:03:32 PST 2000
>Last-Modified:  Fri Mar 17 17:04:18 PST 2000
>Originator:     Lars Eggert
>Release:        4.0-STABLE
>Organization:
>Environment:
FreeBSD hbo.isi.edu 4.0-STABLE FreeBSD 4.0-STABLE #16: Thu Mar 16 16:13:45 PST 2000     root@hbo.isi.edu:/usr/src/sys/compile/PRECISION  i386

>Description:
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
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: sos 
State-Changed-When: Fri Mar 17 00:00:51 PST 2000 
State-Changed-Why:  
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. 
State-Changed-From-To: analyzed->closed  
State-Changed-By: cpiazza 
State-Changed-When: Fri Mar 17 17:03:32 PST 2000 
State-Changed-Why:  
Originator reports that a power cycle fixed the problem. 
>Unformatted:
