usleep's pvrxxx port and FreeBSD 8.0-stable

Stefan Ehmann shoesoft at
Mon May 24 07:04:29 UTC 2010

On Saturday 22 May 2010 16:39:31 ag at wrote:
> I've fixed compilation on both 8.* and amd64 a while ago;
> I've filed a PR for this now:
> Perhaps you could double-check whether this works for you as well
> (kernel modules are better compiled with WERROR ;-)):
> Just replace /usr/ports/multimedia/pvrxxx with the contents of

Looks nicer than my rather hackish approach. Unfortunately, it panics here 
(8.0/i386), so I'll have to stick with my solution for now.

Fatal trap 12: page fault while in kernel mode
#0  doadump () at pcpu.h:246
#1  0xc05cb317 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:416
#2  0xc05cb609 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:579
#3  0xc083d21c in trap_fatal (frame=0xe86577dc, eva=8)
    at /usr/src/sys/i386/i386/trap.c:933
#4  0xc083d480 in trap_pfault (frame=0xe86577dc, usermode=0, eva=8)
    at /usr/src/sys/i386/i386/trap.c:846
#5  0xc083de39 in trap (frame=0xe86577dc) at /usr/src/sys/i386/i386/trap.c:528
#6  0xc082102b in calltrap () at /usr/src/sys/i386/i386/exception.s:165
#7  0xc73475ea in cxm_tuner_status () from /boot/modules/cxm.ko
Previous frame inner to this frame (corrupt stack?)

More information about the freebsd-multimedia mailing list