Could not load kernel virtualization module in Centos
Hi,
I am not quite sure what went wrong on with my KVM. After reboot, When I tried starting my VM - I get the below message:-
"error: Failed to start domain "XXXXX"
error: unsupported configuration: Domain requires KVM, but it is not available. Check that virtualization is enabled in the host BIOS, and host configuration is setup to load the kvm modules."
In fact my box was working perfectly alright. Looks like after the reboot something got changed.
I have already performed the below:-
a) Verified Virtualization support in BIOS.
b) Make sure /proc/cpuinfo shows the vmx flag.
c) Verified no hardware issue (using smartctl)
I could also see there is no kvm module loaded, and when I tried, it gives me another error.
$SHELL: modprobe kvm
FATAL: Error inserting kvm (/lib/modules/2.6.32-573.1.1.el6.x86_64/kernel/arch/x86/kvm/kvm.ko): Accessing a corrupted shared library
tried with insmod too.. still the same. Also, I did tried to read the kvm.ko file using readelf and even it throws error. The error says some like below:-
"readelf: Error: Unable to read in 0xf80 bytes of section headers
readelf: Error: Section headers are not available!
"
Couldn't anyone please look into the same and share any ?
Appreciate your help....
Last edited by shads2k5; 01-26-2017 at 02:39 AM.
|