From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 10 04:10:38 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 896C7106566C for ; Mon, 10 Aug 2009 04:10:38 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 312268FC19 for ; Mon, 10 Aug 2009 04:10:37 +0000 (UTC) Received: (qmail 992 invoked by uid 399); 10 Aug 2009 04:10:35 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 10 Aug 2009 04:10:35 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4A7F9DB5.503@FreeBSD.org> Date: Sun, 09 Aug 2009 21:10:29 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.22 (X11/20090729) MIME-Version: 1.0 To: Beat Gaetzi References: <200908081617.n78GHUOW003735@triton8.kn-bremen.de> <4A7DC528.4070306@FreeBSD.org> <26f6c7210908081217u6935fedeobd936ccdfed63697@mail.gmail.com> <4A7DD9E4.3000900@FreeBSD.org> <26f6c7210908081318p7b29d299yb27c826fba1438ff@mail.gmail.com> <4A7E0565.4070002@FreeBSD.org> <26f6c7210908091035y64099cb8i1a1860547d03fc83@mail.gmail.com> In-Reply-To: <26f6c7210908091035y64099cb8i1a1860547d03fc83@mail.gmail.com> X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: virtualbox not building on -current 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: Mon, 10 Aug 2009 04:10:38 -0000 Beat Gaetzi wrote: > 2009/8/9 Doug Barton : >> Beat Gaetzi wrote: >>> 2009/8/8 Doug Barton : >>>> 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 , 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