No hardware acceleration

Discussions related to using VirtualBox on Linux hosts.
Post Reply
corrosion
Posts: 12
Joined: 28. Oct 2009, 15:45
Primary OS: Mac OS X other
VBox Version: OSE Debian
Guest OSses: Debian, *BSD

No hardware acceleration

Post by corrosion »

Hello all,

One of my servers has served VMs with VMware Server 2.0.2 for a long time. I decided to make the jump to VirtualBox using headless. Everything seems to work fine, except for 2 things:
1.- No hardware acceleration (and no 64bit guests):
Image
2.- Random crashes on the only guest for now, a Windows 2003 server.

The CPU supports virtualization, here the details: http://products.amd.com/en-us/DesktopCP ... spx?id=427
The motherboard: GA-MA69VM-S2

Virtualization is enabled on BIOS.
The OS is Ubuntu 10.04 (64bit)
Virtualbox is the latest one: 3.2.8 r64453
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: No hardware acceleration

Post by Sasquatch »

The AMD-V problem can be fixed by checking for BIOS updates for your motherboard, checking if other software like KVM is running or has loaded modules that lock the CPU feature.

The crashes need more information. What part crashes, the Guest OS or the VM? Check their logs, attach here if you're unsure what the problem might be when the VM itself crashes.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
corrosion
Posts: 12
Joined: 28. Oct 2009, 15:45
Primary OS: Mac OS X other
VBox Version: OSE Debian
Guest OSses: Debian, *BSD

Re: No hardware acceleration

Post by corrosion »

Thanks for your help.
I had to install Windows to be able to update the BIOS. So I updated it and before installing Ubuntu Server again, I tried Virtualbox on Windows. It worked perfectly and with virtualization (able to boot 64bit OS guest). Then I installed Ubuntu Server and Virtualbox says I must enable virtualization in BIOS (which, of course, is enabled).
So hardware acceleration works on Windows (xp 32bit) but does not work on Ubuntu Server (64bit, 10.04).
Any help? Is this a bug of the Linux Virtualbox version?
Thanks and regards,
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: No hardware acceleration

Post by Sasquatch »

It's quite possible that Ubuntu Server has KVM modules installed by default. Please use your package manager (I prefer aptitude, especially when you don't have a GUI at all to work with) and look for these packages. You can first check if it is a problem by issuing an lsmod to see if there are KVM modules loaded. On AMD processors, the module would be KVM_AMD, on Intel systems, it's KVM_Intel. Unloading the modules with rmmod <modulename> will give you a direct result. Removing the packages will give you a more permanent solution.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
corrosion
Posts: 12
Joined: 28. Oct 2009, 15:45
Primary OS: Mac OS X other
VBox Version: OSE Debian
Guest OSses: Debian, *BSD

Re: No hardware acceleration

Post by corrosion »

How I didnt think about it!?
Thank you very much Sasquatch, it seems to work now!

Regards,
Post Reply