From owner-freebsd-stable@FreeBSD.ORG Sat Jul 15 23:53:15 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org 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 4055616A4DD for ; Sat, 15 Jul 2006 23:53:15 +0000 (UTC) (envelope-from sean-freebsd@farley.org) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD15843D49 for ; Sat, 15 Jul 2006 23:53:14 +0000 (GMT) (envelope-from sean-freebsd@farley.org) Received: from thor.farley.org (thor.farley.org [IPv6:2001:470:1f01:290:1::5]) by mail.farley.org (8.13.4/8.13.1) with ESMTP id k6FNuFJO093030; Sat, 15 Jul 2006 18:56:15 -0500 (CDT) (envelope-from sean-freebsd@farley.org) Date: Sat, 15 Jul 2006 18:53:01 -0500 (CDT) From: "Sean C. Farley" To: B Briggs In-Reply-To: <44B955FA.6030708@bellsouth.net> Message-ID: <20060715181020.Y54164@thor.farley.org> References: <44B955FA.6030708@bellsouth.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: burncd blank and format problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jul 2006 23:53:15 -0000 On Sat, 15 Jul 2006, B Briggs wrote: > Sorry to have to bring this up again, seems like it was an issue 4 > years ago, but I don't know if it's really resolved. > > If I do: > #burncd -f /dev/acd0 blank > then burncd will sleep forever. > (I have to Ctrl-C for it to exit) > It doesn't really hang, but please read this: > http://www.freebsd.org/cgi/query-pr.cgi?pr=44803 > > (I looked at the source code, the only thing I could figure that > CDRIOCPROGRESS is ALWAYS returning 0. Inside a while(1), that will > never break; > > Same results with erase instead of blank. > > On that pr (44803), user says blank worked, however, even when I Ctl-C > and break after a while, any data that I write on the disk is invalid: > I mean that if I copy it, it will not pass diff. > > Now this could be a problem with my DRD-RW device, but all of the > other ports work with it. > > So is this my configuration problem? I doubt it, since the usr/ports > stuff work ok (cdrecord, growifofs, cdrdao...) I've spent a lot of > time on burncd, and it just doesn't work for me. I have something similar[1] on my ATAPI CD-RW drive. It is the ioctl() that is the problem since it is always returning zero. The reason the ports you mention work (at least cdrecord) is that they use the SCSI emulator atapicam(4) as opposed to the ATAPI driver itself. Another burncd bug I have is kern/96171[2]. That is in case anyone wants to fix that too. :) Sean 1. http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/83702 2. http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/96171 -- sean-freebsd@farley.org