From owner-freebsd-ports@FreeBSD.ORG Fri Feb 29 21:04:58 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 5433B106566C for ; Fri, 29 Feb 2008 21:04:58 +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 13C558FC22 for ; Fri, 29 Feb 2008 21:04:57 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by mail5out.barnet.com.au (Postfix, from userid 1001) id 31CD22218A96; Sat, 1 Mar 2008 08:04:56 +1100 (EST) X-Viruscan-Id: <47C87378000034B9C8586B@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 ECBFD21B1F5C; Sat, 1 Mar 2008 08:04:55 +1100 (EST) Received: from k7.mavetju (k7.mavetju.org [10.251.1.18]) by mail5auth.barnet.com.au (Postfix) with ESMTP id 9EB7F2218A94; Sat, 1 Mar 2008 08:04:55 +1100 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 4DB3414D; Sat, 1 Mar 2008 08:04:55 +1100 (EST) Date: Sat, 1 Mar 2008 08:04:55 +1100 From: Edwin Groothuis To: Olivier Cochard-Labbe Message-ID: <20080229210455.GC2952@k7.mavetju> References: <3131aa530802260145y48e37284j4b03e6cd1f933027@mail.gmail.com> <47C412E4.9020305@quip.cz> <20080228134436.GA2759@k7.mavetju> <20080228212051.GA2962@k7.mavetju> <3131aa530802291248r1da47960q233d9ccae8e278c1@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3131aa530802291248r1da47960q233d9ccae8e278c1@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-ports-mailinglist 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, 29 Feb 2008 21:04:58 -0000 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. Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/