From owner-freebsd-stable@FreeBSD.ORG Wed Oct 8 20:39:27 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A556116A4B3 for ; Wed, 8 Oct 2003 20:39:27 -0700 (PDT) Received: from as2.dm.egate.net (shell1.dm.egate.net [216.235.15.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82FA043FBD for ; Wed, 8 Oct 2003 20:39:26 -0700 (PDT) (envelope-from buff@pobox.com) Received: by as2.dm.egate.net (Postfix, from userid 5562) id 88735152B9; Wed, 8 Oct 2003 23:39:25 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by as2.dm.egate.net (Postfix) with ESMTP id 81FED15293 for ; Wed, 8 Oct 2003 23:39:25 -0400 (EDT) Date: Wed, 8 Oct 2003 23:39:25 -0400 (EDT) From: William Denton X-X-Sender: buff@as2.dm.egate.net To: freebsd-stable@freebsd.org Message-ID: <20031008233224.X22728-100000@as2.dm.egate.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: burncd: ioctl(CDIOCSTART): Device busy X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2003 03:39:27 -0000 I used to be able to burn CDs, but a few days ago, while I was writing some backups, it stopped working. What answers to previous questions about this problem I could find blamed it on userland and kernel being out of synch, which isn't my case, so I thought I'd ask here. Has anyone else had this happen? dmesg shows that the CB burner is still recognized: ata1-master: two atapi devices on this channel, no DMA acd0: CDROM at ata1-master PIO4 ata1-slave: two atapi devices on this channel, no DMA acd1: CD-RW at ata1-slave PIO4 I have /dev/cdrw symlinked to /dev/acd1c, and I used to have no trouble with burncd. This would work fine if I had an ISO image ready: burncd -v -f /dev/cdrw data burn.iso fixate But now, it says: burncd: ioctl(CDIOCSTART): Device busy truss shows this (in part): open("/dev/acd1c",0x2,00) = 3 (0x3) ioctl(3,CDRIOCGETBLOCKSIZE,0x804c2bc) = 0 (0x0) ioctl(3,CDRIOCWRITESPEED,0xbfbff1dc) = 0 (0x0) open("burn.iso",0x0,00) = 4 (0x4) fstat(4,0xbfbff110) = 0 (0x0) adding type 0x08 file burn.iso size 546048 KB 273024 blocks write(2,0xbfbfe9d8,61) = 61 (0x3d) ioctl(3,CDIOCSTART,0x0) ERR#16 'Device busy' Usually, when I put a blank CD-RW into the drive, the light would blink a few times, then stay on. Now, it blinks and then goes off. Rebooting makes no difference. I looked around and saw some other people had had this problem because their kernel and world were out of synch, but mine aren't. I even made sure by cvsupping and rebuilding the world and kernel, and now I'm up to 4.9-RC as of last weekend. It didn't help. Any ideas? It wouldn't be that the drive broke, would it? I assume it wouldn't be seen on boot if it didn't work. Thanks for any tips. Bill -- William Denton : Toronto, Canada : http://www.miskatonic.org/ : Caveat lector.