From owner-freebsd-questions@FreeBSD.ORG Sun Mar 6 18:49:31 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 B889F1065680; Sun, 6 Mar 2011 18:49:31 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 17FF28FC25; Sun, 6 Mar 2011 18:49:30 +0000 (UTC) Received: by fxm19 with SMTP id 19so3970238fxm.13 for ; Sun, 06 Mar 2011 10:49:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=nV9n8UXdCdMiszbBwD6wlfEREZZbF/JMQOggCu0K8Bw=; b=kf/WrwH8jX1Uk/7eJqCq9NUQ0YzVPuhF4jDCceqUIkzAkxjLedwB2rPSuFbOlOO4o5 fHZX7g4CN1npXB+LCFWJB+bh2Aj+0OCpKRYob4OhGL+fN7tDdvLOVIuoVzOY0iJwGF99 1D+4CKQHXlgDZ3oACB61QGBCj2NLyNx0dQyiU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=Hm0CKi/Mgr43bO4Cm31H1OSdkpCzop07UpvtmWlRIQZaL+fcNDjUfjqGcoF8WO0lL/ h+I/B7DXdQ4ZXTVhjbkDOIS7XKKD74sklmT1FSHWOUyEuKeSvReXyzJwMBrOYCjcbxuG UE3HbG0Lugrlpv6re8HGmUeJhLmvPSVb/q8CE= Received: by 10.223.63.80 with SMTP id a16mr3301892fai.146.1299437370184; Sun, 06 Mar 2011 10:49:30 -0800 (PST) Received: from Groseille.malikania.fr (65.21.102-84.rev.gaoland.net [84.102.21.65]) by mx.google.com with ESMTPS id y11sm612388fam.15.2011.03.06.10.49.28 (version=SSLv3 cipher=OTHER); Sun, 06 Mar 2011 10:49:29 -0800 (PST) Message-ID: <4D73D737.9020101@gmail.com> Date: Sun, 06 Mar 2011 19:49:27 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110306 Thunderbird/3.1.9 MIME-Version: 1.0 To: Brandon Gooch References: <4D6BF823.2090602@gmail.com> <4D73426F.4080100@gmail.com> <53171037-6524-4B42-909A-E78FBCEC30F9@gmail.com> In-Reply-To: <53171037-6524-4B42-909A-E78FBCEC30F9@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "mav@freebsd.org" , "Paul B. Mahol" , "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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2011 18:49:31 -0000 On 06/03/2011 15:15, Brandon Gooch wrote: > On Mar 6, 2011, at 2:14 AM, David Demelier wrote: > >> On 05/03/2011 21:22, Paul B. Mahol wrote: >>> 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@Melon ~ $ burncd msinfo >>>> burncd: ioctl(CDIOREADTOCHEADER): Input/output error >>>> >>>> markand@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? >>> >>> Are you using atapicam module? >> >> No I was only using ata, atapicd. I would like to use ahci + cdrecord but it fails to burn too :( >> >> -- >> David Demelier > > Have you tried burning using the -tao option? > It fails too. > Also, mav@ has a set of patches to get cd burning working with CAM, just search the mailing list archives -- I seem to recall that you may have previously been a part of a discussion concerning this situation? > > -Brandon Yes because I don't know which driver to use, I don't want to apply patches by hand, I'll wait until it's fixed correctly to use ahci / cdrecord. -- David Demelier