Proxmox Kernel does't have x86_64 kvm packages

A

anoopkjayan

Guest
Hi,

I installed proxmox on Debian Squeeze x86_64 . However while creating a vm I am
stuck with the message


Code:
[FONT=tahoma]Could not access KVM kernel module: No such file or directory
failed to initialize KVM: No such file or directory
No accelerator found!
TASK
ERROR: start failed: command '/usr/bin/kvm -id 100 -chardev
'socket,id=monitor,path=/var/run/qemu-server/100.mon,server,nowait'
-mon 'chardev=monitor,mode=readline' -vnc
unix:/var/run/qemu-server/100.vnc,x509,password -pidfile
/var/run/qemu-server/100.pid -daemonize -usbdevice tablet -name Test1
-smp 'sockets=1,cores=1' -nodefaults -boot 'menu=on' -vga cirrus -k
en-us -drive
'file=/dev/cdrom,if=none,id=drive-ide2,media=cdrom,aio=native' -device
'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -drive
'file=/var/lib/vz/images/100/vm-100-disk-1.raw,if=none,id=drive-ide0,aio=native,cache=none'
-device
'ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=100' -m
1024 -netdev
'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge'
-device
'rtl8139,mac=36:31:FA:6F:9A:C3,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300'
-cpuunits 1000' failed: exit code 1
[/FONT]

uname -a gives the following

Linux vms1 2.6.32-12-pve #1 SMP Tue May 15 06:02:20 CEST 2012 x86_64 GNU/Linux

It seems that the pve kernel doesn't contain kvm package for intel x86_64 platform.

Any help is appreciated.
 
should work without problems, seems something is wrong on your side. post your 'pveversion -v'
 
and enable VT in the bios! what physical CPU do you have?
 
Dear tom,

Thanks for your fast response.

pveversion -v
Output:
pve-manager: 2.1-1 (pve-manager/2.1/f9b0f63a)
running kernel: 2.6.32-12-pve
proxmox-ve-2.6.32: 2.1-68
pve-kernel-2.6.32-12-pve: 2.6.32-68
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.3-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-2
pve-cluster: 1.0-26
qemu-server: 2.0-39
pve-firmware: 1.0-16
libpve-common-perl: 1.0-27
libpve-access-control: 1.0-21
libpve-storage-perl: 2.0-18
vncterm: 1.0-2
vzctl: 3.0.30-2pve5
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-9
ksm-control-daemon: 1.1-1

My error message quoted below

Could not access KVM kernel module: No such file or directory
failed to initialize KVM: No such file or directory
No accelerator found!
TASK ERROR: start failed: command '/usr/bin/kvm -id 100 -chardev 'socket,id=monitor,path=/var/run/qemu-server/100.mon,server,nowait' -mon 'chardev=monitor,mode=readline' -vnc unix:/var/run/qemu-server/100.vnc,x509,password -pidfile /var/run/qemu-server/100.pid -daemonize -usbdevice tablet -name Debian -smp 'sockets=1,cores=1' -nodefaults -boot 'menu=on' -vga cirrus -k en-us -drive 'file=/dev/cdrom,if=none,id=drive-ide2,media=cdrom,aio=native' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -drive 'file=/var/lib/vz/images/100/vm-100-disk-1.raw,if=none,id=drive-ide0,aio=native,cache=none' -device 'ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=100' -m 1024 -netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge' -device 'rtl8139,mac=F6:C0:7D:8B:9D:E0,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -cpuunits 1000' failed: exit code 1
 
software version is ok, seems your hardware does not have VT enabled. enable it in the bios.
 
I already enabled VT and showing vmx flag in /proc/cpuinfo

flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx tm2 ssse3 cx16 xtpr pdcm dca lahf_lm dts tpr_shadow vnmi flexpriority

My Server Details with BIOS Info:
Manufacturer: HP
Product Name: ProLiant DL580 G5
BIOS Version: P61 09/03/2008
 
what cpu do you use?

try poweroff, remove the power cord, wait a minute and power on again.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!