From owner-freebsd-questions@FreeBSD.ORG Sun Mar 6 00:41:51 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3D701065675 for ; Sun, 6 Mar 2011 00:41:51 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id A121D8FC08 for ; Sun, 6 Mar 2011 00:41:51 +0000 (UTC) Received: by ywf9 with SMTP id 9so1375843ywf.13 for ; Sat, 05 Mar 2011 16:41:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:date:message-id:subject :from:to:cc:content-type; bh=QaC+N3U8xj1t2viifCTckRC3qKwyYtf24i6FRJkO/wo=; b=eDKN8GSP9XFqpFLXUSAPe6qMyosDQkunu9Pa26wpfbBCUCdpWr/HFvyKUIl6utKM6p tutxZFefnEJj8l3ELDs24ABi3W7BrK0aGbt18PCDf3Wo+AlMvVOKjbQSHhh6oMt1KT20 SoM2SG5GWle+mAKOGzOvzB5Ar/uqtvWyQZjtk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=APZLqbi/Bp0bjxj5euPizF3PxmG00hylrqAgSiwBM+ddzBkN+6+34AS7ulLuyhU0Ol 4pFxSJQbYVUCSz5pcjCyVtkYkSt6yPqIn20bUgAAzXweDuycRJsSE5GBuj2ugGG7JwJ1 Pur+g4YhgShF1prpQH9dTtei68c3f31m84BTU= MIME-Version: 1.0 Received: by 10.236.191.7 with SMTP id f7mr636997yhn.89.1299372110783; Sat, 05 Mar 2011 16:41:50 -0800 (PST) Received: by 10.236.108.44 with HTTP; Sat, 5 Mar 2011 16:41:50 -0800 (PST) Date: Sun, 6 Mar 2011 00:41:50 +0000 Message-ID: From: "b. f." To: demelier.david@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@FreeBSD.org Subject: Re: optical driver with ahci bios mode but ata(4) driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2011 00:41:52 -0000 On Mon, Feb 28, 2011 at 8:31 PM, David Demelier wrote: > Hello, > > My bios can be set to use IDE emulation or ahci mode, I prefere the ahci > mode because it's a bit faster. > > It's probably stupid to stay with ata(4) driver with the ahci mode, isn't > it? But with ahci(4) driver you can't burn with burncd(8) and cdrecord just > fail and break an blank cd for nothing. > > I guess this is the correct behavior when trying to use burncd(8) / > cdcontrol(1) : > > markand at Melon ~ $ burncd msinfo > burncd: ioctl(CDIOREADTOCHEADER): Input/output error > > markand at Melon ~ $ cdcontrol info > cdcontrol: getting toc header: Input/output error > cdcontrol: Input/output error > > But why the optical drive is only affected? If I use ata(4) driver even with > ahci mode set in the bios, why the hard drive works pretty well? You may still be using AHCI, via the ataahci part of ata(4), which is not as good as the newer driver ahci(4). (Or your BIOS may be lying, or have some legacy work-around.) I've had occasional trouble with cdrecord and cd(4), too, and I found that some of the errors are innocuous, and can be overcome by using the -immed and -force flags with cdrecord. There are also some patches available to improve compatibility between the two, that the submitter has not had time to commit: http://lists.freebsd.org/pipermail/freebsd-current/2010-November/020944.html Those may solve some problems. Also, there are various settings that one can tweak. But we would know more if you provided verbose listings of the errors that you encounter. The upstream developer of cdrtools is occasionally willing to help diagnose some problems, if you ask politely and give him the necessary information. You might try asking him. b.