From owner-freebsd-bugs@FreeBSD.ORG Mon Sep 26 02:32:58 2011 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52496106564A; Mon, 26 Sep 2011 02:32:58 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (mail.in-addr.com [IPv6:2001:470:8:162::1]) by mx1.freebsd.org (Postfix) with ESMTP id 26A4D8FC16; Mon, 26 Sep 2011 02:32:58 +0000 (UTC) Received: from gjp by noop.in-addr.com with local (Exim 4.76 (FreeBSD)) (envelope-from ) id 1R8105-000C64-JH; Sun, 25 Sep 2011 22:32:57 -0400 Date: Sun, 25 Sep 2011 22:32:57 -0400 From: Gary Palmer To: Jaakko Heinonen Message-ID: <20110926023257.GA57708@in-addr.com> References: <201109251010.p8PAA8qn067210@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201109251010.p8PAA8qn067210@freefall.freebsd.org> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on noop.in-addr.com); SAEximRunCond expanded to false Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/160979: 9.0 burncd error caused by change to cd0 from acd0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2011 02:32:58 -0000 On Sun, Sep 25, 2011 at 10:10:08AM +0000, Jaakko Heinonen wrote: > The following reply was made to PR bin/160979; it has been noted by GNATS. > > From: Jaakko Heinonen > To: Joe Barbish > Cc: bug-followup@FreeBSD.org > Subject: Re: bin/160979: 9.0 burncd error caused by change to cd0 from acd0 > Date: Sun, 25 Sep 2011 13:00:43 +0300 > > On 2011-09-24, Joe Barbish wrote: > > It seems that in 9.0 the cd/dvd/drive is now given a dev name of cd0 > > where in all previous releases it was acd0. > > Tried to use the system burncd command in 9.0 and got this error msg > > > > burncd: ioctl(CDRIOCGETBLOCKSIZE): Inappropriate ioctl for device > > > > Tested using "burncd -f acd0" and "burncd -f cd0". > > In both cases got the same error message. > > > > Looks to me like the burncd command needs to be fixed > > to work in 9.0. > > burncd(8) supports only acd(4) driver. In 9.0 the default is the new > CAM-based ATA stack which uses cd(4) (UPDATING entry 20110424). > > It's unlikely that a support for cd(4) will be added to burncd(8). > > I think this should be mentioned in release notes. Can burncd(8) be easily modified to test for a CAM based ATA stack and output a helpful error message pointing the user at cdrecord? It would help avoid more people running into this problem. Thanks, Gary