virtualbox not building on -current
Doug Barton
dougb at FreeBSD.org
Mon Aug 10 04:10:38 UTC 2009
Beat Gaetzi wrote:
> 2009/8/9 Doug Barton <dougb at freebsd.org>:
>> 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.
>
> Thanks for testing. This looks like a new problem so far.
Well I'm not sure about that, it's never worked for me. I probably
should have pointed out in the last message that I have a
plain-vanilla -current running i386 SMP on an Intel C2D. I do have
witness in my kernel which might be why some of these problems are
showing up.
> Is this
> panic reproducible? If yes, could you please add this patch to the
> port:
> http://people.freebsd.org/~beat/vbox/patch-src-VBox-Runtime-r0drv-semevent-r0drv-freebsd.c
With that patch I get an instant panic when I kldload vboxdrv:
Unread portion of the kernel message buffer:
VBoxDrvFreeBSDLoad:
6/0: off=10bc
5/0: off=54230
supdrvDetermineAsyncTsc: iCpu=0 cLoops=3 CurTsc=55fe8f3a692
PrevTsc=56146f4ffa6
supdrvDetermineAsyncTsc: returns 1; iLastCpu=31 rc=0 offMin=15e015914
offMax=15e015914
vboxdrv: fAsync=1 offMin=0x5e015914 offMax=0x5e015914
supdrvGipCreate: omni timer not supported, falling back to synchronous
mode
supdrvGipCreate: 10000000 nps ainnteirvcal:. sleeping without a lock
VBoxDrvFreeBSDLoad: returns successfully
cpuid = 1
(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 0xc05f9e28 in _sleep (ident=0xc7e6e910, lock=0x0, priority=84,
wmesg=0xc91d6eee "iprtev", timo=0)
at /usr/local/src/sys/kern/kern_synch.c:149
#4 0xc91c4175 in rtSemEventWait (EventSem=0xc7e6e910,
cMillies=4294967295,
fInterruptible=false)
at
/usr/local/home/dougb/virtualbox/work/virtualbox-3.0.51r22072/src/VBox/Runtime/r0drv/freebsd/semevent-r0drv-freebsd.c:185
#5 0xc91c6617 in rtTimerThread (Thread=0xc7eff310, pvUser=0xc9004d10)
at
/usr/local/home/dougb/virtualbox/work/virtualbox-3.0.51r22072/src/VBox/Runtime/generic/timer-generic.cpp:244
#6 0xc91c3479 in rtThreadMain (pThread=0xc7eff310,
NativeThread=3323851328,
pszThreadName=0xc7eff350 "TIMER")
at
/usr/local/home/dougb/virtualbox/work/virtualbox-3.0.51r22072/src/VBox/Runtime/common/misc/thread.cpp:637
#7 0xc91c5d03 in rtThreadNativeMain (pvThreadInt=0xc7eff310)
at
/usr/local/home/dougb/virtualbox/work/virtualbox-3.0.51r22072/src/VBox/Runtime/r0drv/freebsd/thread2-r0drv-freebsd.c:112
#8 0xc05c7fa8 in fork_exit (callout=0xc91c5ce0 <rtThreadNativeMain>,
arg=0xc7eff310, frame=0xe7decd38)
at /usr/local/src/sys/kern/kern_fork.c:838
#9 0xc083e9c0 in fork_trampoline ()
at /usr/local/src/sys/i386/i386/exception.s:270
Full core.txt.5 is in my freefall home directory.
Doug
--
This .signature sanitized for your protection
More information about the freebsd-emulation
mailing list