From nobody@FreeBSD.org  Thu Jul  4 13:22:19 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0E1A137B400
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  4 Jul 2002 13:22:19 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9B22543E09
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  4 Jul 2002 13:22:18 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g64KMIOT027923
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 4 Jul 2002 13:22:18 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g64KMIKH027922;
	Thu, 4 Jul 2002 13:22:18 -0700 (PDT)
Message-Id: <200207042022.g64KMIKH027922@www.freebsd.org>
Date: Thu, 4 Jul 2002 13:22:18 -0700 (PDT)
From: Dave Hayes <dave@jetcafe.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: BurnCD doesn't "just work" at 4.6-p1
X-Send-Pr-Version: www-1.0

>Number:         40197
>Category:       misc
>Synopsis:       BurnCD doesn't "just work" at 4.6-p1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 04 13:30:01 PDT 2002
>Closed-Date:    Sat Oct 25 12:38:06 PDT 2003
>Last-Modified:  Sat Oct 25 12:38:06 PDT 2003
>Originator:     Dave Hayes
>Release:        4.6-p1
>Organization:
JetCafe
>Environment:
FreeBSD cdbuilder 4.6-RELEASE-p1 FreeBSD 4.6-RELEASE-p1 #0: Thu Jul  4 11:24:37 PDT 2002     unixwiz@cdbuilder:/usr/obj/usr/src/sys/GENERIC  i386
     
>Description:
Burning CDs has never worked on this (or any other) machine I have with a CD burner. I have 5 different machines with a CD burner, 4 run FreeBSD. None work. Here's an example for one machine:

# burncd -f /dev/acd0c data SomeFile.iso fixate
next writeable LBA 0
writing from file SomeFile.iso size 181708 KB

only wrote -1 of 32768 bytes err=5

burncd: ioctl(CDRIOCFLUSH): Input/output error

# dmesg
atapci0: <Intel PIIX4 ATA33 controller> port 0xb800-0xb80f at device 4.1 on 
pci0
.
atapci1: <CMD 648 ATA66 controller> port 0x9800-0x980f,0xa000-0xa003,0xa400-0xa
407,0xa800-0xa803,0xb000-0xb007 irq 10 at device 7.0 on pci0
..
acd0: CD-RW <MATSHITA CD-RW CW-7585> at ata0-slave PIO4
..
acd0: WRITE_BIG - ILLEGAL REQUEST asc=0x2c ascq=0x00 error=0x04

# uname -a
FreeBSD archive 4.6-RELEASE-p1 FreeBSD 4.6-RELEASE-p1 ...

One more try...

# atacontrol list
ATA channel 0:
    Master:  ad0 <Maxtor 54098U8/DA620CQ0> ATA/ATAPI rev 5
    Slave:  acd0 <MATSHITA CD-RW CW-7585/1.04> ATA/ATAPI rev 0
ATA channel 1:
    Master:  ad2 <Maxtor 54098H8/DAC10SC0> ATA/ATAPI rev 6
    Slave:   ad3 <Maxtor 54098H8/DAC10SC0> ATA/ATAPI rev 6
ATA channel 2:
    Master:      no device present
    Slave:       no device present
ATA channel 3:
    Master:      no device present
    Slave:       no device present
# atacontrol mode 0 
Master = UDMA33 
Slave  = PIO4
# atacontrol mode 0 XXX udma33
Master = UDMA33 
Slave  = WDMA2
# burncd -f /dev/acd0c data SomeFile.iso fixate
next writeable LBA 0
writing from file SomeFile.iso size 181708 KB

only wrote -1 of 32768 bytes err=5

burncd: ioctl(CDRIOCFLUSH): Input/output error

>How-To-Repeat:
# burncd -f /dev/acd0c data SomeFile.iso fixate
next writeable LBA 0
writing from file SomeFile.iso size 181708 KB

only wrote -1 of 32768 bytes err=5

burncd: ioctl(CDRIOCFLUSH): Input/output error

 
>Fix:
The only fix I know is burning a CD on win-doh-ze. That's probably not what you wanted to hear. I was told to "buy a plextor", and I did, and even the plextor doesn't work. 
>Release-Note:
>Audit-Trail:

From: David Schultz <dschultz@uclink.Berkeley.EDU>
To: freebsd-gnats-submit@FreeBSD.org, dave@jetcafe.org
Cc:  
Subject: Re: misc/40197: BurnCD doesn't "just work" at 4.6-p1
Date: Fri, 5 Jul 2002 03:38:46 -0700

 > ATA channel 0:
 >     Master:  ad0 <Maxtor 54098U8/DA620CQ0> ATA/ATAPI rev 5
 >     Slave:  acd0 <MATSHITA CD-RW CW-7585/1.04> ATA/ATAPI rev 0
 ...
 > # atacontrol mode 0 
 > Master = UDMA33 
 > Slave  = PIO4
 
 This is mostly a shot in the dark, but a number of CD-RWs like to
 be master on the controller.  Moreover, some non-UDMA2 devices do
 not interact well with UDMA2 devices on the same controller.  Just
 for fun, you might see what happens when you remove the Maxtor
 drive from ata0 and make the CD-RW master.
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: johan 
Responsible-Changed-When: Fri Aug 2 18:47:01 PDT 2002 
Responsible-Changed-Why:  
Over to burncd author/maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=40197 
State-Changed-From-To: open->suspended 
State-Changed-By: sos 
State-Changed-When: Thu Sep 12 07:18:17 PDT 2002 
State-Changed-Why:  
The drive in question is known not to work with burncd. 
However you could try the ATAPICAM stuff that went into 
current lately. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=40197 
State-Changed-From-To: suspended->closed 
State-Changed-By: sos 
State-Changed-When: Sat Oct 25 12:37:23 PDT 2003 
State-Changed-Why:  
No responses to this, timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=40197 
>Unformatted:
