You are not logged in.
hi all!
i'm trying to install debian on virtual disk in qemu but i get this error
[egidio@localhost laboratorio]$ qemu -hda ./disco.img -cdrom ./debian-6.0.4-i386-netinst.iso -boot d
Could not access KVM kernel module: No such file or directory
failed to initialize KVM: No such file or directory
No accelerator found!
Last edited by Aegidius (2012-03-22 08:37:04)
Offline
Did you modprobe kvm and either kvm-intel or kvm-amd?
Offline
For KVM see here: https://wiki.archlinux.org/index.php/KVM (note it has an Italian page)
Also see here: https://wiki.archlinux.org/index.php/Qemu (unfortunately no Italian page)
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
What is the output of this?
grep -E "(vmx|svm)" --color=always /proc/cpuinfo
Also see this bit of the kvm page:
If modprobing kvm succeeds, but modprobing kvm-intel or kvm-amd fails (but /proc/cpuinfo claims that hardware acceleration is supported), check your BIOS settings. Some vendors (especially laptop vendors) disable these processor extensions by default. To determine whether there's no hardware support or there is but the extensions are disabled in BIOS, the output from dmesg after having failed to modprobe will tell.
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
[egidio@localhost ~]$ grep -E "(vmx|svm)" --color=always /proc/cpuinfo
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon bts aperfmperf pni monitor vmx est tm2 xtpr pdcm dts
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon bts aperfmperf pni monitor vmx est tm2 xtpr pdcm dts
VT is enabled in the BIOS.
Offline
I'm a bit stuck then. I use intel and those steps all worked for me (as far as I remember), so I'm not sure what else it could be.
Just to be sure, you did modprobe kvm first, didn't you? Are you running the standard kernel? If not check that it supports kvm.
You may find more info. here http://www.linux-kvm.org/page/Main_Page I'd look for your specific processor to see if there's anything that needs to be done.
I am a little unsure on your first qemu command. I thought you needed qemu-kvm for it to require kvm, or at least run with -enable-kvm. It was a year or so ago that I set it up though, so I may be out of date.
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
You have an Intel chip so run this command:
sudo modprobe kvm-intel
Offline
Or just run modprobe instead of rebooting, anyway good that you solved it!
Offline