optical driver with ahci bios mode but ata(4) driver

David Demelier demelier.david at gmail.com
Sun Mar 6 18:49:31 UTC 2011

On 06/03/2011 15:15, Brandon Gooch wrote:
> On Mar 6, 2011, at 2:14 AM, David Demelier<demelier.david at gmail.com>  wrote:
>> On 05/03/2011 21:22, Paul B. Mahol wrote:
>>> On Mon, Feb 28, 2011 at 8:31 PM, David Demelier
>>> <demelier.david at gmail.com>   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?
>>> 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 / 

David Demelier

More information about the freebsd-questions mailing list