LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-24-2007, 12:08 PM   #1
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Rep: Reputation: 30
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.
 
Old 02-24-2007, 01:31 PM   #2
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 42
Stupid question, Did you enable virtualization in the bios ? If you haven't search for something called "VMX" in your bios.
 
Old 02-24-2007, 02:16 PM   #3
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Original Poster
Rep: Reputation: 30
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
 
Old 02-24-2007, 07:21 PM   #4
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 42
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
 
Old 02-25-2007, 07:10 AM   #5
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Original Poster
Rep: Reputation: 30
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)...
 
Old 02-25-2007, 07:27 AM   #6
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 42
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
 
Old 02-25-2007, 08:02 AM   #7
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Original Poster
Rep: Reputation: 30
cool, seems like just what I needed And it's open source too
thanks.
 
Old 02-25-2007, 11:13 AM   #8
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 42
your welcome . I use it myself as well, and it runs like a charm.
 
Old 02-21-2010, 12:13 PM   #9
drjoms
LQ Newbie
 
Registered: Jan 2006
Posts: 7

Rep: Reputation: 0
Quote:
Originally Posted by Valkyrie_of_valhalla View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing buttons in KDM login screen digiplaya Slackware 4 03-10-2005 04:43 PM
/dev/cdrom & /dev/hdc missing! Lord_Devi Slackware 4 06-25-2004 09:17 AM
KDM kicks because of missing login widget slangenhoven Linux - Newbie 2 03-26-2004 03:22 PM
problem with starting kdm: /dev/apm_bios severinw Linux - Newbie 1 11-01-2003 04:03 PM
Theoretically is it possible to set up apt-get or portage on a slackware system? Athos Slackware 2 06-22-2003 11:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration