CURRENT, devbuf memory allocation and hald

Pascal Hofstee caelian at
Thu Apr 17 18:49:41 UTC 2008

On Thu, 17 Apr 2008 14:33:38 -0400
Joe Marcus Clarke <marcus at> wrote:

> This could be related to the recent ATA changes in -CURRENT.
> Typically, we poll /dev/cd0 using ATAPICAM.  You might try removing
> any fdi files you've created to use the ATAPI device rather than the
> ATAPICAM device to see if it helps.
> On each pass of the poller, we send a TUR command to the device.  If
> the command returns that the device is ready, we say it has media.
> The code for this can be found in libprobe/hfp-cdrom.c.

I have not created any fdi files myself but since the problem seems
to be cd/dvd related i already went ahead and actually loaded the
atapicam kernel module and restarted hald ... unfortunately the problem
persists though in a mitigated form ... the increase with atapicam
loaded seems to be at 40k/10sec instead of 140k/10s without atapicam

Whether i have inserted or not does not seem to have any impact on the
problem whatsoever though.

  Pascal Hofstee

More information about the freebsd-gnome mailing list