From owner-freebsd-emulation@FreeBSD.ORG Fri May 29 17:23:19 2009 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5226E106566B; Fri, 29 May 2009 17:23:19 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id D31C38FC16; Fri, 29 May 2009 17:23:18 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id C23131E002B7; Fri, 29 May 2009 19:23:17 +0200 (CEST) Received: from triton.kn-bremen.de (noident@localhost [127.0.0.1]) by triton.kn-bremen.de (8.14.3/8.14.3) with ESMTP id n4THJeYY002712; Fri, 29 May 2009 19:19:40 +0200 (CEST) (envelope-from nox@triton.kn-bremen.de) Received: (from nox@localhost) by triton.kn-bremen.de (8.14.3/8.14.3/Submit) id n4THJdmf002711; Fri, 29 May 2009 19:19:39 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Fri, 29 May 2009 19:19:39 +0200 To: ulf.lilleengen@gmail.com Message-ID: <20090529171939.GA2540@triton.kn-bremen.de> References: <20090527134343.GB1104@bsdcrew.de> <200905281622.n4SGMJsc006847@triton.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200905281622.n4SGMJsc006847@triton.kn-bremen.de> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-emulation@FreeBSD.org, Martin Wilke Subject: Re: [Call For Testing] VirtualBox for FreeBSD! take 4 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2009 17:23:19 -0000 On Thu, May 28, 2009 at 06:22:19PM +0200, Juergen Lock wrote: > In article <20090528115754.GA1390@carrot.geeknest.org> you write: > >On Wed, May 27, 2009 at 03:43:43PM +0200, Martin Wilke wrote: > >> > >> Howdy, > >> > >> First of all sorry for all unanswered mails, I got a stupid flu, > >> but now i feel better... ok now back to vbox, time for a new call > >> for testing :-) > >> > >> Following was added/fixed: > >> > >> - ACPI Support was added > >> - hostDVD support was added > >> - Fix startup on HEAD > >> - Plist problem under AMD64 was fixed > >> - Qt4 Frontend is now Optional > >> - Desktop file was added > >> - Xorg dependencies was fixed > >> - Guest additions was added (thx to Maho NAKATA ) > >> > >> Open task: > >> We have got 2 patches for nls support and the request > >> to make dbus and pulseaudio optional. These both will > >> be added with the next run. > >> > >> We'd like to say many many thanks for all your feedback. > >> > >> http://people.freebsd.org/~miwi/vbox/virtualbox_5.tgz > >> > >FreeBSD version: > >FreeBSD carrot.geeknest.org 7.2-STABLE FreeBSD 7.2-STABLE #16 r192900: Wed May 27 19:09:49 UTC 2009 lulf@carrot.geeknest.org:/usr/home/devel/freebsd/obj/usr/src/sys/CARROT i386 > >Using the svn port: rev 387 > > > >I get a panic when loading vboxdrv. It seems related to the hz fix-patch that > >was added, as the assertion Assert(cMillies != RT_INDEFINITE_WAIT); on line > > 212 in semevent-r0drv-freebsd.c:212 fails. > > > >0 doadump () at pcpu.h:196 > >#1 0xc058dd08 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 > >#2 0xc058dfe5 in panic (fmt=Variable "fmt" is not available. > >) at /usr/src/sys/kern/kern_shutdown.c:574 > >#3 0xc07f3ff4 in trap_fatal (frame=0xf442ebc8, eva=0) > > at /usr/src/sys/i386/i386/trap.c:939 > >#4 0xc07f4d31 in trap (frame=0xf442ebc8) at /usr/src/sys/i386/i386/trap.c:726 > >#5 0xc07daddb in calltrap () at /usr/src/sys/i386/i386/exception.s:159 > >#6 0xc60e70be in rtSemEventWait (EventSem=0xc6032c90, cMillies=4294967295, > > fInterruptible=false) > > at /usr/home/lulf/src/virtualbox/work/virtualbox-2.2.2r19980/src/VBox/Runtime/r0drv/freebsd/semevent-r0drv-freebsd.c:212 > >#7 0xc60e71b0 in RTSemEventWait (EventSem=0xc6032c90, cMillies=4294967295) > > at /usr/home/lulf/src/virtualbox/work/virtualbox-2.2.2r19980/src/VBox/Runtime/r0drv/freebsd/semevent-r0drv-freebsd.c:240 > >#8 0xc60e47f1 in rtTimerThread (Thread=0xc6034c90, pvUser=0xc6033390) > > at /usr/home/lulf/src/virtualbox/work/virtualbox-2.2.2r19980/src/VBox/Runtime/generic/timer-generic.cpp:238 > >#9 0xc60e96c0 in rtThreadMain (pThread=0xc6034c90, NativeThread=3314350912, > > pszThreadName=0xc6034cd0 "TIMER") > > at /usr/home/lulf/src/virtualbox/work/virtualbox-2.2.2r19980/src/VBox/Runtime/common/misc/thread.cpp:635 > >#10 0xc60f5ee7 in rtThreadNativeMain (pvThreadInt=0xc6034c90) > > at /usr/home/lulf/src/virtualbox/work/virtualbox-2.2.2r19980/src/VBox/Runtime/r0drv/freebsd/thread2-r0drv-freebsd.c:112 > >#11 0xc05689c1 in fork_exit (callout=0xc60f5ec0 , > > arg=0xc6034c90, frame=0xf442ed38) at /usr/src/sys/kern/kern_fork.c:811 > >#12 0xc07dae50 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:264 > > This is also what I get now (only looked like a `hang' yesterday since > I was in X and it dropped into ddb, now I did the kldload from console, > forced a crashdump and the backtrace looks just like yours, except that > my vboxdrv.ko doesn't have debug symbols.) Ok I just tried reverting the hz=100 patch (got it from http://pastebin.ca/1433127 as mentioned here a while ago), and that fixed the problem for me. (Of course I'm running with hz=1000, otherwise it probably wouldn't work.) So at least I can now confirm that patch seems to be whats causing the problem... HTH, Juergen PS: smp isn't supposed to work yet, right? At least I get a warning saying I had only one cpu when trying to give a guest more than one, but in fact this box has 4 cores...