From owner-freebsd-current@FreeBSD.ORG Tue Dec 9 12:08:47 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DE6A16A4CE; Tue, 9 Dec 2003 12:08:47 -0800 (PST) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57F4343D37; Tue, 9 Dec 2003 12:08:43 -0800 (PST) (envelope-from sos@spider.deepcore.dk) Received: from spider.deepcore.dk (localhost [127.0.0.1]) by spider.deepcore.dk (8.12.10/8.12.10) with ESMTP id hB9K80tx092620; Tue, 9 Dec 2003 21:08:00 +0100 (CET) (envelope-from sos@spider.deepcore.dk) Received: (from sos@localhost) by spider.deepcore.dk (8.12.10/8.12.10/Submit) id hB9K80SK092613; Tue, 9 Dec 2003 21:08:00 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <200312092008.hB9K80SK092613@spider.deepcore.dk> In-Reply-To: <20031209143426.GA19683@igloo.linux.gr> To: Lefteris Chatzibarbas Date: Tue, 9 Dec 2003 21:08:00 +0100 (CET) X-Mailer: ELM [version 2.4ME+ PL99f (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 X-mail-scanned: by DeepCore Virus & Spam killer v1.3 cc: freebsd-current@FreeBSD.ORG cc: Scott Long Subject: Re: burncd(8) CD-RW blanking problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2003 20:08:47 -0000 It seems Lefteris Chatzibarbas wrote: > > I'm seeing this too. What's odd is that my cd drive is reporting back > > incorrect sense information; the valid bit is not set, the asc/ascq is > > suspect (4/8), and the sense key specific data is all 0. Since other > > fields in the sense data are reasonable, it's not as if no sense data is > > being returned at all. So it looks like the CDRIOGETPROGRESS ioctl > > handler is doing the right thing, but the cd drive is not. Maybe the > > driver is doing something wrong when it issues the erase command, but > > I can't convince myself that that is likely. > > The attached patch seems to correct the problem (at least for me). It > is similar to what was done in revision 1.137 of sys/dev/ata/atapi-cd.c > (this has been changed since revision 1.138). Uh oh, that code breaks on lots of newer drives, especially DVD writers and drives of SONY origin. There was a reason that code was removed :) -Søren .. but it works under windows!!