can audio CDs be played with ATA_CAM ?

Claude Buisson clbuisson at
Wed Oct 26 16:57:32 UTC 2011

On 10/26/2011 13:50, Daniel O'Connor wrote:
> On 26/10/2011, at 20:50, Claude Buisson wrote:
>>>> P.S. As I can see reading GENERIC, ATA_CAM will be the default for 9.X so there
>>>> is a risk of complaints from FreeBSD workstation users (who cares ?) after the
>>>> release..
>>> Does cdparanoia work for you?
>> With cdparanoia-3.9.8_9: YES
>> tested on 8.2 (from Sep 18) and 9.0 (from Sep 25) both with ATA_CAM
> Strange, I would have thought VLC would use the same sort of access method as VLC..
> I don't know what it's trying so it's hard to know why it doesn't work :(

Doing my home work step by step:

I found only 1 place in VLC where the first message:

[0x2caf2a3c] cdda access error: Could not set block size

is emitted, after an:

ioctl( p_vcddev->i_device_handle, CDRIOCSETBLOCKSIZE, &i_size )

CDRIOCSETBLOCKSIZE is defined in sys/cdrio.h, and in the kernel used in:


which is a brought into the kernel by:

device atapicd

So the natural question is:

Is this ioctl supported with ATA_CAM (and atapicam) ?

If not, what is to be used instead ?

Claude Buisson

More information about the freebsd-stable mailing list