From owner-freebsd-ports@FreeBSD.ORG Fri Mar 7 01:22:18 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1FD11065681 for ; Fri, 7 Mar 2008 01:22:18 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail5out.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) by mx1.freebsd.org (Postfix) with ESMTP id 5C0558FC20 for ; Fri, 7 Mar 2008 01:22:18 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by mail5out.barnet.com.au (Postfix, from userid 1001) id E537B2218A7D; Fri, 7 Mar 2008 12:22:15 +1100 (EST) X-Viruscan-Id: <47D098C700008D9F28A560@BarNet> Received: from mail5auth.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail5auth.barnet.com.au", Issuer "*.barnet.com.au" (verified OK)) by mail5.barnet.com.au (Postfix) with ESMTP id 8BA5C21B2027; Fri, 7 Mar 2008 12:22:15 +1100 (EST) Received: from k7.mavetju (k7.mavetju.org [10.251.1.18]) by mail5auth.barnet.com.au (Postfix) with ESMTP id 34A922218A3D; Fri, 7 Mar 2008 12:22:15 +1100 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id F160515A; Fri, 7 Mar 2008 12:22:14 +1100 (EST) Date: Fri, 7 Mar 2008 12:22:14 +1100 From: Edwin Groothuis To: Olivier Cochard-Labbe , freebsd-ports-mailinglist Message-ID: <20080307012214.GF2962@k7.mavetju> References: <3131aa530802260145y48e37284j4b03e6cd1f933027@mail.gmail.com> <47C412E4.9020305@quip.cz> <20080228134436.GA2759@k7.mavetju> <20080228212051.GA2962@k7.mavetju> <3131aa530802291248r1da47960q233d9ccae8e278c1@mail.gmail.com> <20080229210455.GC2952@k7.mavetju> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080229210455.GC2952@k7.mavetju> User-Agent: Mutt/1.4.2.3i Cc: Subject: Re: VirtualBox looks for FreeBSD developer X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2008 01:22:18 -0000 On Sat, Mar 01, 2008 at 08:04:55AM +1100, Edwin Groothuis wrote: > On Fri, Feb 29, 2008 at 09:48:45PM +0100, Olivier Cochard-Labbe wrote: > > I can't compile VirtualBox with your patch (I'm using a FreeBSD 7.0Release). > > It works with 6.3, 7.0 has the ULE scheduler which doesn't have sched_lock. > > Rink@ has been trying to get it work on 7.0, but... > " Mavvie: haven't gotten it to link yet :-/" > > It works on 6.3, until you try to start the VM: > > With VBOX_SUPLIB_FAKE=fake set you get: > VM creation failed (GVMM). VBox status code: -37 (VERR_NOT_SUPPORTED). > > Without it (i.e. using the "kernel" module): > Failed to load VMMR0.r0. VBox status code: -609 (VERR_SYMBOL_NOT_FOUND). > > And the documentation about the kernel module as described on > http://www.virtualbox.org/wiki/Porting_VirtualBox are lacking a bit > of essential information. FYI: I've given up on it, despite the fact that it compiles and runs on 6.3, I can't get around the problems with the kernel driver and the lack of documentation. Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/