From owner-freebsd-current Sat Oct 26 16:37:54 2002 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 5573637B401 for ; Sat, 26 Oct 2002 16:37:53 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 1E82943E6E for ; Sat, 26 Oct 2002 16:37:49 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 78796 invoked by uid 1000); 26 Oct 2002 23:37:50 -0000 Date: Sat, 26 Oct 2002 16:37:50 -0700 (PDT) From: Nate Lawson To: eculp@encontacto.net Cc: current@FreeBSD.ORG Subject: Re: HEADSUP: burncd/cdcontrol need to be rebuilt (CDRIO*SPEED changes) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 26 Oct 2002, Nate Lawson wrote: > On Sat, 26 Oct 2002 eculp@encontacto.net wrote: > > With current from yesterday, I get the following error when trying to > > burn a cd. I haven't burned one for probably a month or maybe more. > > If I remove the -s, the results are the same. > > > > Does anyone have a suggestion, fix or work around? > > > > # burncd -f /dev/acd0c -s 1 data cd0.raw20021022 fixate > > burncd: ioctl(CDRIOCWRITESPEED): Input/output error > > > > Thanks, > > > > ed > > I've changed the subject since I guess a HEADSUP may be necessary. > > Try rebuilding burncd. The CDRIOC*SPEED api was changed to allow the user > application to send raw KB/s values whereas before the ioctl took in > speeds in multiples of a 1X CDROM (1 = 177KB/s, 2 = 354KB/s, ...) This > was necessary to allow the user app to specify a speed of CDR_MAX_SPEED, > which means the drive should choose its highest speed. > > The new versions of cdcontrol and burncd do the translation the kernel > used to do so you can still specify flags the same as you always have > (i.e. -s 1 like you are doing). > > -Nate I checked again and my commit had missed the burncd speed conversion. I just committed it -- rev 1.28 burncd.c. Sorry about this. CVSUP, rebuild burncd, and let me know if there are further problems. -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message