kernel panic with VirtualBox on -CURRENT
Adam K Kirchhoff
adamk at voicenet.com
Wed Jun 17 15:11:31 UTC 2009
Gary Jennejohn wrote:
> On Tue, 16 Jun 2009 20:23:31 -0400
> Adam K Kirchhoff <adamk at voicenet.com> 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
More information about the freebsd-emulation
mailing list