From owner-freebsd-emulation@FreeBSD.ORG Wed Jun 17 07:33:32 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 C79F4106566C for ; Wed, 17 Jun 2009 07:33:32 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout0.freenet.de (mout0.freenet.de [IPv6:2001:748:100:40::2:2]) by mx1.freebsd.org (Postfix) with ESMTP id 624C78FC1E for ; Wed, 17 Jun 2009 07:33:32 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.22] (helo=12.mx.freenet.de) by mout0.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #88) id 1MGpeE-0007OF-Sv; Wed, 17 Jun 2009 09:33:30 +0200 Received: from t9bba.t.pppool.de ([89.55.155.186]:30816 helo=ernst.jennejohn.org) by 12.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #79) id 1MGpeE-0005XB-Ie; Wed, 17 Jun 2009 09:33:30 +0200 Date: Wed, 17 Jun 2009 09:33:29 +0200 From: Gary Jennejohn To: Adam K Kirchhoff Message-ID: <20090617093329.488f8f2f@ernst.jennejohn.org> In-Reply-To: <4A383783.3010800@voicenet.com> References: <4A383783.3010800@voicenet.com> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: kernel panic with VirtualBox on -CURRENT X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2009 07:33:33 -0000 On Tue, 16 Jun 2009 20:23:31 -0400 Adam K Kirchhoff wrote: > I recently updated my workstation at home to -CURRENT, and then noticed > (thanks to some discussion on ##freebsd) that VirtualBox had made it > into the ports tree. I installed it via ports, but upon trying to boot > a VDI image created under Linux (where it works just fine), I ran into a > kernel panic. When starting the VM, VirtualBox informs me of the key > combination to grab/release the mouse and keyboard. I click "OK" and > then the entire machine locks up. > > The VM is Windows XP. 256 megs of RAM, 1 processor, VT-x/AMD-V is > enabled, with Nesting Paging disabled. The only option I changed was > the memory. All the others were the defaults. > > I reproduced the panic quite easily by rebooting into single user mode, > fsck'ing the filesystems manually, booting into X, and then starting up > VirtualBox. Same thing happened when I launched the VM. > [snip] > Reading symbols from /boot/modules/kqemu.ko...done. > Loaded symbols for /boot/modules/kqemu.ko [snip] I don't know whether this will help, but do you really have kqemu.ko also installed? I'd try eliminating it before running VirtualBox. VirtualBox runs just fine for me, but I don't load kqemu.ko. Also, did you enable virtualization in the BIOS? I had to do that before AMD-V really functioned. It made quite a bit of difference in performance. --- Gary Jennejohn