LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   kvm - theoretically installed, but missing /dev/kdm (https://www.linuxquestions.org/questions/linux-kernel-70/kvm-theoretically-installed-but-missing-dev-kdm-532022/)

Valkyrie_of_valhalla 02-24-2007 12:08 PM

kvm - theoretically installed, but missing /dev/kdm
 
I just compiled the new 2.6.20.1 kernel on my Slackware 11.0, with kvm (kernel based virtual machine) selected, as a driver, not a module. I then compiled (and installed) kvm-12 from sourceforge. After a while, I finally got that to work too.
Now, when I try to run it, this is what I get:
Quote:

$ /usr/local/bin/qemu . -hda vdisk.img -cdrom /dev/hdc -boot d \ -m 192
open /dev/kvm: No such file or directory
Could not initialize KVM, will disable KVM support
qemu: could not open hard disk image '192'
And, there is no /dev/kvm, although I double checked: it is selected in gconfig, as it was when I compiled the kernel....
I don't get it... what am I doing wrong?
Should I try to compile it as a module?
Thanks for reading. Any info/suggestion is welcomed.

puntjuh 02-24-2007 01:31 PM

Stupid question, Did you enable virtualization in the bios ? If you haven't search for something called "VMX" in your bios.

Valkyrie_of_valhalla 02-24-2007 02:16 PM

Hmm, thanks, I haven't thought about that...
Err... I take it that if I don't have that option, my processor doesn't support virtual machines, and I can't use KVM, right? Darn... Guess I'm stuck with having windoze partitions...
Me :newbie:

puntjuh 02-24-2007 07:21 PM

Well, if you tell me what CPU i can tell you if you have virtualization. AMD's virt is called Pacifica, and Intel's is called Vanderpool (VT).

But if it's not in the bios, i think you don't have the CPU for it :cry:

Valkyrie_of_valhalla 02-25-2007 07:10 AM

Well, it's an AMD Athlon 2200+
And it doesn't have virtualisation unfortunately... I forgot to check before I tried to make kvm run... :(
Do you think I could make it work with other programs (vmware, bochs,etc)? Bochs does work, but it does so incredibly slow, although I [think I] set it up correctly...
Although somehow I think it's easier to format my computer every time I want to try out a new linux distro or need to reinstall windoze (because it stopped working)...

puntjuh 02-25-2007 07:27 AM

Yes, you can use VMware or other software to install virtual distro's and I think this is faster then formatting all the time. Even if the installation of VMWare takes some time to make it all work the way it should. Then this is still faster then formatting all the time :).

I suggest taking a look at VMware alternatives such as VirtualBox by Innotek.

Here's a link:

virtualbox

Valkyrie_of_valhalla 02-25-2007 08:02 AM

cool, seems like just what I needed :) And it's open source too :D
thanks.

puntjuh 02-25-2007 11:13 AM

your welcome :). I use it myself as well, and it runs like a charm.

drjoms 02-21-2010 12:13 PM

Quote:

Originally Posted by Valkyrie_of_valhalla (Post 2645268)
Well, it's an AMD Athlon 2200+
Do you think I could make it work with other programs (vmware, bochs,etc)?

you don't have to use anything else.
While your processor doesn't support hardware virtualisation - you still can emulate things on CPU. In fact i am running another os on laptop that is 5 and a half years old. One of first amd64 CPU's on notebooks. If not the first one.(host - gentoo, guest - ubuntu)

As far as I am aware, KVM was built upon qemu. quemu didn't require hardware support.

I understand you probably dont care about it anymore, but there could be other poor souls affected by same problem.


All times are GMT -5. The time now is 03:10 AM.