Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Aug 2009 16:08:21 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Beat Gaetzi <beat@FreeBSD.org>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: virtualbox not building on -current
Message-ID:  <4A7E0565.4070002@FreeBSD.org>
In-Reply-To: <26f6c7210908081318p7b29d299yb27c826fba1438ff@mail.gmail.com>
References:  <200908081617.n78GHUOW003735@triton8.kn-bremen.de>	 <4A7DC528.4070306@FreeBSD.org>	 <26f6c7210908081217u6935fedeobd936ccdfed63697@mail.gmail.com>	 <4A7DD9E4.3000900@FreeBSD.org> <26f6c7210908081318p7b29d299yb27c826fba1438ff@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Beat Gaetzi wrote:
> 2009/8/8 Doug Barton <dougb@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A7E0565.4070002>