LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-06-2011, 07:50 AM   #1
paruhang
Member
 
Registered: Aug 2011
Location: /home
Posts: 96

Rep: Reputation: Disabled
KVM


hellow, m using rhel 6.0 64 bits in my machine.
i have problem in kvm. when i run kvm try to create new guest. no hypervisor options were found for this connection so i reinstall rhel 6.0 and try to run kvm same problem, ERROR: NO HYPERVISOR OPTIONS WERE FOUND FOR THIS CONNECTION messages display. but when i press enter key it goes to 2nd stepd out of 5.
i have tired to check for bios settings to enable cpu to support kvm but there is no options.
i have checked to my local machine as follows:

# rpm -qa | grep -i kvm
qemu-kvm-0.12.1.2-2.113.el6.x86_64

# cat /proc/cpuinfo
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow constant_tsc up rep_good nonstop_tsc extd_apicid pni cx16 lahf_lm extapic cr8_legacy 3dnowprefetch osvw skinit.
can anybody tell me what is my problem in kvm.
 
Old 08-06-2011, 12:49 PM   #2
roger_heslop
Member
 
Registered: Oct 2009
Location: Leander, TX
Distribution: Fedora 20
Posts: 97

Rep: Reputation: 35
Has KVM worked before on this box? In the BIOS, you'll need to ensure the virtualization option is turned on, you may not have that option as you should have a vmx or svm flag in /proc/cpuinfo, this being the case, it is doubtful that KVM will work. If you do have a system that has virtualization in the CPU hardware, check that all of the below packages that are needed for KVM are installed:

Code:
qemu-kvm
python-virtinst
virt-manager
virt-top
virt-viewer
libvirt
libvirt-client
Also check that the dependent module is loaded:
Code:
modprobe kvm
That should do it for you.
 
Old 08-07-2011, 04:25 AM   #3
paruhang
Member
 
Registered: Aug 2011
Location: /home
Posts: 96

Original Poster
Rep: Reputation: Disabled
i have search in add/remove software:

qemu-kvm qemu-kvm-2:0.12.1.2.113.el6(x86_64)
python-virtinst python-virtinst-0.5000.3-7.el6(noarch)
virt-manager virt-manager-0.8.4-8.el6(noarch)
virt-top virt-top-1.0.4-3.1.el6(x86_64)
virt-viewer virt-viewer-0.2.1-2.el6(x86_64)
libvirt libvirt-0.8.1-27.el6(x86_64),libvirt-client-0.8.1-27.el6(x86_64)
libvirt-client libvirt-client-0.8.1.27.el6(x86_64)

modprobe kvm no result found
 
Old 08-07-2011, 10:17 AM   #4
paruhang
Member
 
Registered: Aug 2011
Location: /home
Posts: 96

Original Poster
Rep: Reputation: Disabled
but still same problem ERROR: NO HYPERVISOR OPTIONS WERE FOUND FOR THIS CONNECTION.
can anybody help me to troubleshoot this;
 
Old 08-07-2011, 12:31 PM   #5
roger_heslop
Member
 
Registered: Oct 2009
Location: Leander, TX
Distribution: Fedora 20
Posts: 97

Rep: Reputation: 35
Are you running an Intel or AMD processor. If Intel, you must have the vmx flag in /proc/cpuinfo. If AMD, you must have svm. Having not seen either in the flags from the posted
Code:
cat /proc/cpuinfo
it may very well not be likely on this box. Did you see anything in the BIOS regarding hardware based virtualization that can be toggled on and off?

Also, when you say modprobe kvm is not found, are you talking about the module? On a fresh installation of Centos 6 the command had run without any errors after installing all necessary packages, so seeing 'no result found' isn't a good sign.
 
Old 08-08-2011, 04:36 AM   #6
paruhang
Member
 
Registered: Aug 2011
Location: /home
Posts: 96

Original Poster
Rep: Reputation: Disabled
i have AMD SEMPRON cup and RHEL 6.0, 64 bits.does lm support KVM or not...?
 
Old 08-08-2011, 07:55 AM   #7
roger_heslop
Member
 
Registered: Oct 2009
Location: Leander, TX
Distribution: Fedora 20
Posts: 97

Rep: Reputation: 35
Unfortunately the AMD Sempron does not support hardware based virtualization. KVM would need to be set up on another system.
 
Old 08-11-2011, 05:33 AM   #8
paruhang
Member
 
Registered: Aug 2011
Location: /home
Posts: 96

Original Poster
Rep: Reputation: Disabled
hi,
iam using AMD SEMPRON 64 bits and iam using rhel 6.0 and i installed virtualbox while installing virtual box this error occurs and i download kernel-devel and install, again i reinstall virtualbox same error occurs. can anyone help me!


[root@server Downloads]# rpm -ivh VirtualBox-4.1-4.1.0_73009_rhel6-1.x86_64.rpm
warning: VirtualBox-4.1-4.1.0_73009_rhel6-1.x86_64(2).rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY
Preparing... ########################################### [100%]
1:VirtualBox-4.1 ########################################### [100%]

Creating group 'vboxusers'. VM users must be member of that group!

No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.

Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMS [FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
 
  


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
LXer: Set up Spicevmc Channel on Ubuntu 11.04 as KVM Server and spice-vdagent as a KVM guest LXer Syndicated Linux News 0 06-15-2011 07:10 PM
[Debian/Qemu/KVM] Why qemu --enable-kvm works but not kvm directly? gb2312 Linux - Virtualization and Cloud 2 03-21-2011 02:05 PM
LXer: Set up Ubuntu 11.04 KVM to run is spice session on Fedora 14 KVM Server ( Libvirt Preview Env) LXer Syndicated Linux News 0 03-20-2011 12:00 AM
LXer: Set up RH VirtIO SCSI driver on Windows XP KVM at KVM-QEMU Instance on F14 LXer Syndicated Linux News 14 01-09-2011 12:21 PM
LXer: Install Oracle 11gR2 on SL6 KVM at KVM-QEMU Instance on SL 6 (alpha 3) LXer Syndicated Linux News 2 01-01-2011 06:42 AM

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

All times are GMT -5. The time now is 04:03 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
Open Source Consulting | Domain Registration