virtualbox not building on -current

Doug Barton dougb at FreeBSD.org
Sat Aug 8 23:08:31 UTC 2009


Beat Gaetzi wrote:
> 2009/8/8 Doug Barton <dougb at freebsd.org>:
>> Beat Gaetzi wrote:
>>
>>> The current svn port fixes a lot of known problems (also for HEAD) so
>>> I hope we could update the port before the port freeze.
>> Can you post a patch to the existing port so that I can give it a try?
> 
> Please try this patch:
> http://people.freebsd.org/~beat/vbox/virtualbox-cvs-3.0.51r22072.patch

Ok, with that patch it builds, runs, and I can start installing WinXP.
Unfortunately it panic'ed early in the process.

I put the full core.txt.4 file in my home directory on freefall, but
here is the first bit:

panic: blockable sleep lock (sleep mutex) IPRT Event Semaphore @
/usr/local/tmp/usr/local/ports/emulators/virtualbox/work/virtualbox-3.0.51r22072/src/VBox/Runtime/r0drv/freebsd/semevent-r0drv-freebsd.c:127

(kgdb) #0  doadump () at pcpu.h:246
#1  0xc05f11ae in boot (howto=260)
    at /usr/local/src/sys/kern/kern_shutdown.c:419
#2  0xc05f1482 in panic (fmt=Variable "fmt" is not available.
) at /usr/local/src/sys/kern/kern_shutdown.c:575
#3  0xc0631d90 in witness_checkorder (lock=0xc6249a20, flags=9,
    file=0xc619ff60
"/usr/local/tmp/usr/local/ports/emulators/virtualbox/work/virtualbox-3.0.51r22072/src/VBox/Runtime/r0drv/freebsd/semevent-r0drv-freebsd.c",
line=127, interlock=0x0) at /usr/local/src/sys/kern/subr_witness.c:1063
#4  0xc05e20e4 in _mtx_lock_flags (m=0xc6249a20, opts=0,
    file=0xc619ff60
"/usr/local/tmp/usr/local/ports/emulators/virtualbox/work/virtualbox-3.0.51r22072/src/VBox/Runtime/r0drv/freebsd/semevent-r0drv-freebsd.c",
line=127) at /usr/local/src/sys/kern/kern_mutex.c:200
#5  0xc618d45c in RTSemEventSignal (EventSem=0xc6249a10)
    at
/usr/local/tmp/usr/local/ports/emulators/virtualbox/work/virtualbox-3.0.51r22072/src/VBox/Runtime/r0drv/freebsd/semevent-r0drv-freebsd.c:127
#6  0xc61769b4 in SUPSemEventSignal (pSession=0xc593e410, hEvent=0x1)
    at
/usr/local/tmp/usr/local/ports/emulators/virtualbox/work/virtualbox-3.0.51r22072/src/VBox/HostDrivers/Support/SUPDrv.c:3417

Then a whole bunch of stuff that looks like this:

#124 0x00000000 in ?? ()
#125 0xe7d73280 in ?? ()

Then:

#146 0xc05e1984 in _mtx_unlock_spin_flags (m=0x0, opts=731913140,
    file=0x1 <Address 0x1 out of bounds>, line=13944)
    at /usr/local/src/sys/kern/kern_mutex.c:267
Previous frame inner to this frame (corrupt stack?)
(kgdb)


-- 

    This .signature sanitized for your protection



More information about the freebsd-emulation mailing list