From owner-freebsd-emulation@FreeBSD.ORG Wed Jun 17 15:11:31 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 7F0A710656BB for ; Wed, 17 Jun 2009 15:11:31 +0000 (UTC) (envelope-from adamk@voicenet.com) Received: from QMTA03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [76.96.62.32]) by mx1.freebsd.org (Postfix) with ESMTP id 1E0FF8FC16 for ; Wed, 17 Jun 2009 15:11:31 +0000 (UTC) (envelope-from adamk@voicenet.com) Received: from OMTA02.westchester.pa.mail.comcast.net ([76.96.62.19]) by QMTA03.westchester.pa.mail.comcast.net with comcast id 4zsT1c00S0QuhwU533BXgm; Wed, 17 Jun 2009 15:11:31 +0000 Received: from scroll.ashke.com ([67.103.204.242]) by OMTA02.westchester.pa.mail.comcast.net with comcast id 53BL1c00M5EJinX3N3BPNK; Wed, 17 Jun 2009 15:11:29 +0000 Message-ID: <4A390797.3000102@voicenet.com> Date: Wed, 17 Jun 2009 11:11:19 -0400 From: Adam K Kirchhoff User-Agent: Thunderbird 2.0.0.21 (X11/20090515) MIME-Version: 1.0 To: gary.jennejohn@freenet.de References: <4A383783.3010800@voicenet.com> <20090617093329.488f8f2f@ernst.jennejohn.org> In-Reply-To: <20090617093329.488f8f2f@ernst.jennejohn.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 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 15:11:31 -0000 Gary Jennejohn wrote: > 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. > > Yes, kqemu was loaded, though not in use. I've made sure it is unloaded and tried again (even rebooted, just in case the fact that it had been loaded previously might be an issue). Unfortunately, I do not see an option in this computers' BIOS to enable virtualization. I'm actually trying on a machine at work now, rather than the one I tried at home yesterday, but the results are the same. This computer actually has as an Intel Core 2 Quad CPU (unlike yesterdays dualcore Xeon). Is there someway to check if the processors on these machines support the virtualization extensions? I also am not able to disable the AMD-V option in VirtualBox. The check box is selected but greyed out. Adam