LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-15-2012, 02:03 PM   #1
malak33
Member
 
Registered: Dec 2011
Location: Amish Country PA, USA
Distribution: CentOS 6.2
Posts: 104

Rep: Reputation: 3
centos KVM


hi there guys,
having some trouble today. I'm trying to start trying to set up a virtual machine. When i start virtual machine manager this error comes up. Any help would be awesome guys

Error polling connection 'qemu:///system': internal error Cannot find suitable emulator for x86_64
 
Old 01-15-2012, 02:10 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Hi malak33,

Questions for you:

1. Is this the first time you are trying to setup KVM?
2. Architecture of your machine?

If you have got a 32 bit machine then I doubt KVM will going to work on it. Last time I checked KVM only works on 64 bit machines.
 
Old 01-15-2012, 02:13 PM   #3
malak33
Member
 
Registered: Dec 2011
Location: Amish Country PA, USA
Distribution: CentOS 6.2
Posts: 104

Original Poster
Rep: Reputation: 3
this is my first time setting it up, also i have a 64 bit processor
 
Old 01-15-2012, 02:17 PM   #4
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Alright. Refer to the following link and that might help: http://www.cyberciti.biz/faq/centos-...tion-tutorial/
 
1 members found this post helpful.
Old 01-15-2012, 03:28 PM   #5
malak33
Member
 
Registered: Dec 2011
Location: Amish Country PA, USA
Distribution: CentOS 6.2
Posts: 104

Original Poster
Rep: Reputation: 3
so i reinstalled centos 6.0 this time i didn't run yum update. i should take this time to be more specific i installed centos this time and last as a virtual host so kvm is already installed
i go to set up the kvm now and it works yay
until the end this error gets generated
Error creating virtual network: internal error Network 192.168.100.1/255.255.255.0 is already in use by interface virbr1

now i have not set this up before also the book im working through tells me to do these commands before hand

lsmod | grep kvm
i do not get any output from this, i looked at the /proc/cpuinfo file as well andi could not find the following flags "svm" or "vmx"

i do not know what that means??

i also have used the command uname -p
and the output for that is x86_64

please help me out guys thanks
 
Old 01-15-2012, 03:58 PM   #6
celthunder
Member
 
Registered: Feb 2009
Location: Newton, WI
Distribution: Arch
Posts: 84

Rep: Reputation: 8
the lsmod shows that there is not a kvm module loaded (not sure if that's ok or not never set it up) The network in use sounds like exactly that run ifconfig =a and see if theres a device already using that network/ip. As for the last bit that's good that it is 64 bit.
 
Old 01-15-2012, 04:02 PM   #7
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Please type the ouput of the following command:

Code:
ifconfig
 
Old 01-15-2012, 04:24 PM   #8
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Another thing that I would like to know is that how you have setup KVM. Did you refer the link I mentioned in my previous post? Did you install all the packages that are mentioned in that link?
 
Old 01-15-2012, 04:26 PM   #9
malak33
Member
 
Registered: Dec 2011
Location: Amish Country PA, USA
Distribution: CentOS 6.2
Posts: 104

Original Poster
Rep: Reputation: 3
when i type the ifconfig command it shows the eth0 lo and virt1 and virt2 network
when i click close to make the virtual network the gui box doesn't close then the second time i hit the finish button it pops that error up
after reading this book a little bit more, i think that kvm is not going to work on this computer, the cpu doesn't support it. i can run virtual box i think. however i want to mess with KVM because i never used it before.
does anyone reccomend any computers that will run KVM?
 
Old 01-15-2012, 04:28 PM   #10
malak33
Member
 
Registered: Dec 2011
Location: Amish Country PA, USA
Distribution: CentOS 6.2
Posts: 104

Original Poster
Rep: Reputation: 3
when i type groupinstall and groupinfo kvm it comes back saying that it does not know of that package "kvm"
 
Old 01-15-2012, 04:31 PM   #11
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

I will again emphasize on reading the link. The link clearly stats that you need Intel VT or AMD-V hardware. You need to check if your system has got that or not. If it has then there should be some setting in BIOS to enable it if not enabled by default.

Paste the output of:

Code:
cat /proc/cpuinfo
 
Old 01-15-2012, 04:36 PM   #12
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 128Reputation: 128
run this command:
Code:
grep -E '(vmx|svm)' /proc/cpuinfo >/dev/null && echo "KVM will work for me" || echo "I need to buy a new computer"
 
2 members found this post helpful.
Old 01-15-2012, 04:57 PM   #13
malak33
Member
 
Registered: Dec 2011
Location: Amish Country PA, USA
Distribution: CentOS 6.2
Posts: 104

Original Poster
Rep: Reputation: 3
lol..
i need a new computer
any reccomendations??
 
Old 01-16-2012, 01:46 PM   #14
malak33
Member
 
Registered: Dec 2011
Location: Amish Country PA, USA
Distribution: CentOS 6.2
Posts: 104

Original Poster
Rep: Reputation: 3
thanks for your help guys, I'm a linux noob and trying my best to change that.
I now see what the commands mean, my old computer doesn't support virtualization at the cpu level.
which is what KVM takes advantage of.
I was trying to use my old computer to handle this, but i cannot luckily i have a newer quad-core desktop.

After researching for a little bit i found that my cpu in my newer comp comes with virtualization.
Sry i was trying to avoid using this computer, because it is my windows machine that i use to store all my movies, etc...
Just more work really than i was trying to get into.
also i do not want to dual boot, i don't like to.
Anyway thank you guys for helping me understand what is going on and sry if i seem daft sometimes.loll
 
Old 01-16-2012, 05:43 PM   #15
celthunder
Member
 
Registered: Feb 2009
Location: Newton, WI
Distribution: Arch
Posts: 84

Rep: Reputation: 8
we all start somewhere. Anyway hope you find your desktop works if you choose to use that as for recommended hardware we can't really recommend anything as it depends on your usage.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Centos KVM and guests IP thunder11 Linux - Networking 0 11-29-2011 07:56 AM
KVM virtualization on centos linuxguy08 Linux - Server 1 09-14-2010 01:15 PM
CentOS 5 KVM virtualization danicg Linux - Newbie 1 08-19-2010 02:04 PM
CentOS KVM grob115 Linux - Virtualization and Cloud 3 06-13-2010 01:35 PM
FATAL: Error on KVM with CentOS 5 gstones Linux - Newbie 2 11-10-2008 06:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:40 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration