From owner-freebsd-emulation@FreeBSD.ORG Thu Jun 11 21:09:53 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 513C210656F2; Thu, 11 Jun 2009 21:09:53 +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 E93688FC17; Thu, 11 Jun 2009 21:09:52 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id B011D1E001AA; Thu, 11 Jun 2009 23:09:51 +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 n5BL7S7w005707; Thu, 11 Jun 2009 23:07:28 +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 n5BL7Smh005706; Thu, 11 Jun 2009 23:07:28 +0200 (CEST) (envelope-from nox) Date: Thu, 11 Jun 2009 23:07:28 +0200 (CEST) From: Juergen Lock Message-Id: <200906112107.n5BL7Smh005706@triton.kn-bremen.de> To: miwi@FreeBSD.org X-Newsgroups: local.list.freebsd.current In-Reply-To: <20090611194557.GC98175@bsdcrew.de> Organization: home Cc: freebsd-emulation@FreeBSD.org Subject: Re: [Call For Testing] VirtualBox for FreeBSD! take 6 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: Thu, 11 Jun 2009 21:09:53 -0000 In article <20090611194557.GC98175@bsdcrew.de> you write: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Huhu, > >Yes we life and that's good :-). >Changes: > > - Fix build error when compiling in debug mode on FreeBSD HEAD > - SemEvent?-r0drv/FreeBSD: Don't use tvtohz for an infinite timeout. > - Some FreeBSD relate typos > - Enable shared OpenGL service. Completely untested due to lack of > appropriate hardware but it compiles at least I don't have working gl here either (ati RV730 PRO with xf86-video-ati), but this caused the gui failing to start, ktrace'ing revealed it was looking for /usr/local/lib/virtualbox/VBoxTestOGL which doesn't exist: [...] 1184 VBoxSVC CALL _umtx_op(0x802711160,0x8,0,0x802711140,0x7fffffb3bdb0) 1184 VBoxSVC CALL access(0x7340c0,X_OK) 1184 VBoxSVC NAMI "/usr/local/lib/virtualbox/VBoxTestOGL" 1184 VBoxSVC RET access -1 errno 2 No such file or directory 1184 VBoxSVC CALL write(0x9,0x802414000,0xfc) 1184 VBoxSVC GIO fd 9 wrote 252 bytes " !!Assertion Failed!! Expression: Location : /usr/home/nox/vbox/virtualbox/work/virtualbox-2.2.51r20457\ /src/VBox/Runtime/r3/posix/process-posix.cpp(86) int RTProcCreate(cons\ t char*, const char* const*, RTENVINTERNAL*, unsigned int, RTPROCESS*) " 1184 VBoxSVC RET write 252/0xfc 1184 VBoxSVC CALL write(0x2,0x7fffffbdbeb0,0xfc) 1184 VBoxSVC GIO fd 2 wrote 252 bytes " !!Assertion Failed!! Expression: Location : /usr/home/nox/vbox/virtualbox/work/virtualbox-2.2.51r20457\ /src/VBox/Runtime/r3/posix/process-posix.cpp(86) int RTProcCreate(cons\ t char*, const char* const*, RTENVINTERNAL*, unsigned int, RTPROCESS*) " 1184 VBoxSVC RET write 252/0xfc 1184 VBoxSVC CALL write(0x9,0x802414000,0x3d) 1184 VBoxSVC GIO fd 9 wrote 61 bytes "'/usr/local/lib/virtualbox/VBoxTestOGL' VERR_FILE_NOT_FOUND! " 1184 VBoxSVC RET write 61/0x3d 1184 VBoxSVC CALL write(0x2,0x7fffffbdc210,0x3d) 1184 VBoxSVC GIO fd 2 wrote 61 bytes "'/usr/local/lib/virtualbox/VBoxTestOGL' VERR_FILE_NOT_FOUND! " 1184 VBoxSVC RET write 61/0x3d 1184 VBoxSVC PSIG SIGTRAP caught handler=0x547990 mask=0x2000 code=0x1 [...] Disabling VBOX_WITH_CROGL in Config.kmk got me a working install then, patch below. > - Add support for shared clipboards. Requires libXt > - FreeBSD: Implement preemption API for guest SMP and enable > it (slightly tested). Add neccessary RTMP* methods in userspace > for the frontends to detect the number of CPUs > - Runtime/semevent-r0drv-freebsd: Use a sleeping mutex > instead of a spinlock to fix the problems users are seeing > (assertions with debugging enabled) while still being able > to run on 100Hz hosts. No problems detected so far and Solaris > doesn't use a spin mutex in this code too so it shouldn't do > any harm (keeping fingers crossed)space for the frontends to > detect the number of CPUs > - Add support for curl > - Add VBoxSharedClipboard > >Ports Changes; > - Force guestadditions version to 2.2.4 > - Removed Qt3 include replacements (already upstream) > - Removed cosmetic X11 include path patch > >Please make SURE, your world and kernel is in sync and you've read >the pkg-messages. Also please unload the kernel module before >you update the port ;-). > >Many thx to all Vbox Devs, All supporters, my nice team! :-) > > http://people.freebsd.org/~miwi/vbox/virtualbox_6.tgz > > Happy Testing! > >- - Martin Also, updating the guestadditions in a win7/64 guest caused the main gui to abort with an assertion failure (the vm kept running): zsh triton% VirtualBox Type Manifest File: /home/nox/.VirtualBox/xpti.dat nsNativeComponentLoader: autoregistering begins. nsNativeComponentLoader: autoregistering succeeded nNCL: registering deferred (0) !!Assertion Failed!! Expression: mIface Location : /usr/home/nox/vbox/virtualbox/work/virtualbox-2.2.51r20457/out/freebsd.amd64/debug/obj/VirtualBox/include/COMWrappers.h(9620) PRUint32 CSystemProperties::GetMaxBootPosition() const zsh: trace trap VirtualBox zsh triton% And here is the gl disable patch I used: Index: Config.kmk @@ -351,7 +351,8 @@ # VBOX_WITH_FFMPEG = 1 endif # Enable crOpenGL service -if1of ($(KBUILD_TARGET),win linux solaris darwin freebsd) +#if1of ($(KBUILD_TARGET),win linux solaris darwin freebsd) +if1of ($(KBUILD_TARGET),win linux solaris darwin) VBOX_WITH_CROGL = 1 endif # Enable shared folders Thanx, Juergen