<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Have you rebooted or forced the appropriate kernel modules to load via modprobe since installing kvm/kmod-kvm? You'll need kvm and kvm_intel or kvm-amd loaded. That should happen automatically on reboot after installing kmod-kvm. If you want to avoid a reboot you can manually load them with modprobe.<div><br></div><div>Jason</div><div><br><div><div>On Aug 10, 2010, at 7:14 PM, Phuwadon (Aun) Danrahan wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div bgcolor="#ffffff" text="#000000">
Hello Jaime,<br>
<br>
I'm running the testing box with <br>
<br>
- CentOS 5.5 64 bit<br>
- kvm-83-164.el5_5.15<br>
- kmod-kvm-83-164.el5_5.15<br>
- kvm-qemu-img-83-164.el5_5.15<br>
- libvirt-python-0.6.3-33.el5_5.1<br>
- libvirt-0.6.3-33.el5_5.1<br>
- libvirt-0.6.3-33.el5_5.1<br>
- one-1.4.0-1<br>
<br>
Brs,<br>
<br>
On 10/8/2553 23:02, Jaime Melis wrote:
<blockquote cite="mid:AANLkTi=O3bNT1DuwgmQ+VShYGdRAt1Se9wn_TWmOLS-O@mail.gmail.com" type="cite">Hello,
<div><br>
</div>
<div>Also, that error might also be produced by an out-dated version
of KVM. What version of KVM and libvirt are you running and under what
OS?</div>
<div><br>
</div>
<div>cheers,</div>
<div>Jaime</div>
<div><br>
<br>
<div class="gmail_quote">On Tue, Aug 10, 2010 at 5:24 PM, Jaime Melis
<span dir="ltr"><<a moz-do-not-send="true" href="mailto:j.melis@fdi.ucm.es">j.melis@fdi.ucm.es</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,
<div><br>
</div>
<div>KVM supports both para-virtualization and full-virtualization.
In libvirt (used by OpenNebula for KVM), the type of virtualization is
specified in the domain file, under the "type" element. If
<type>hvm</type> (hardware virtual machine) then it
requires full-virtualization. Take a look at: <a moz-do-not-send="true" href="http://libvirt.org/formatdomain.html#elementsOSBIOS" target="_blank">http://libvirt.org/formatdomain.html#elementsOSBIOS</a></div>
<div><br>
</div>
<div>I'm guessing the problem you're having is that either your
hardware does not support hardware virtualization or, as suggested by
Ricky Melgares, it's not enabled in the BIOS.</div>
<div><br>
</div>
<div>To check for harware virtualization support take a look at:</div>
<div><a moz-do-not-send="true" href="http://www.linux-kvm.org/page/FAQ#Preparing_to_use_KVM" target="_blank">http://www.linux-kvm.org/page/FAQ#Preparing_to_use_KVM</a></div>
<div><br>
</div>
<div>cheers,</div>
<div>Jaime</div>
<div>
<div class="h5">
<div><br>
<div class="gmail_quote">On Tue, Aug 10, 2010 at 1:52 PM, Chris
Sarginson <span dir="ltr"><<a moz-do-not-send="true" href="mailto:Chris.Sarginson@ukfast.co.uk" target="_blank">Chris.Sarginson@ukfast.co.uk</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-GB">
<div><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Is hvm not for Xen
deployments, rather than KVM?</span></p><div><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><br class="webkit-block-placeholder"></div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;"><p class="MsoNormal" style="margin-left: 36pt;"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> <a moz-do-not-send="true" href="mailto:users-bounces@lists.opennebula.org" target="_blank">users-bounces@lists.opennebula.org</a>
[mailto:<a moz-do-not-send="true" href="mailto:users-bounces@lists.opennebula.org" target="_blank">users-bounces@lists.opennebula.org</a>]
<b>On Behalf Of </b>Diego Perez
Fabado<br>
<b>Sent:</b> 10 August 2010 08:51<br>
<b>To:</b> Phuwadon (Aun) Danrahan</span></p>
<div><br>
<b>Cc:</b> <a moz-do-not-send="true" href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a><br>
</div>
<div><b>Subject:</b> Re: [one-users] Failed during boot</div>
</div><div style="margin-left: 36pt; "> <br class="webkit-block-placeholder"></div><p class="MsoNormal" style="margin-left: 36pt;">Hello I'm also
having a similar
problem with kvm, any help would be very appreciated </p>
<div>
<div>
<div><div style="margin-left: 36pt; "> <br class="webkit-block-placeholder"></div>
</div>
<div>
<div><p class="MsoNormal" style="margin-left: 36pt;">Tue Aug 10
10:40:43 2010 [VMM][I]:
Generating deployment file: /opt/opennebula/var/89/deployment.0</p>
</div>
<div><p class="MsoNormal" style="margin-left: 36pt;">Tue Aug 10
10:40:43 2010
[VMM][I]: Command execution fail: 'mkdir -p
/opt/opennebula/var/89/images
&& cat > /opt/opennebula/var/89/images/deployment.0
&& virsh
--connect <a href="qemu:///system">qemu:///system</a> create
/opt/opennebula/var/89/images/deployment.0'</p>
</div>
<div><p class="MsoNormal" style="margin-left: 36pt;">Tue Aug 10
10:40:43 2010
[VMM][I]: STDERR follows.</p>
</div>
<div><p class="MsoNormal" style="margin-left: 36pt;">Tue Aug 10
10:40:43 2010
[VMM][I]: error: Failed to create domain from
/opt/opennebula/var/89/images/deployment.0</p>
</div>
<div><p class="MsoNormal" style="margin-left: 36pt;">Tue Aug 10
10:40:43 2010
[VMM][I]: error: internal error no supported architecture for os type
'hvm'</p>
</div>
<div><p class="MsoNormal" style="margin-left: 36pt;">Tue Aug 10
10:40:43 2010
[VMM][I]: ExitCode: 1</p>
</div>
<div><p class="MsoNormal" style="margin-left: 36pt;">Tue Aug 10
10:40:43 2010
[VMM][E]: Error deploying virtual machine</p>
</div>
<div><div style="margin-left: 36pt; "> <br class="webkit-block-placeholder"></div>
</div><p class="MsoNormal" style="margin-left: 36pt;">Thank you very
much!!!</p>
</div>
<div><div style="margin-left: 36pt; "> <br class="webkit-block-placeholder"></div>
</div>
<div><div style="margin-left: 36pt; "> <br class="webkit-block-placeholder"></div>
<div><p class="MsoNormal" style="margin-left: 36pt;">2010/8/10
Phuwadon (Aun) Danrahan
<<a moz-do-not-send="true" href="mailto:phuwadon@tarad.com" target="_blank">phuwadon@tarad.com</a>></p><p class="MsoNormal" style="margin-left: 36pt;">Note: i manually
create the .img
file by using command "qemu-img create -f qcow2 /opt/image/myimage.img
14G" . I'm very new to OpenNebula.</p>
<div><p class="MsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><br>
<br>
<br>
Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 Command
execution
fail: 'mkdir -p /srv/cloud/one/var//21/images && cat >
/srv/cloud/one/var//21/images/deployment.0 && virsh --connect
<a href="qemu:///system">qemu:///system</a> create /srv/cloud/one/var//21/images/deployment.0'<br>
<br>
Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 STDERR
follows.</p>
</div><p class="MsoNormal" style="margin-left: 36pt;">Tue Aug 10
11:54:18 2010
[VMM][D]: Message received: LOG - 21 error: Failed to create domain
from
/srv/cloud/one/var//21/images/deployment.0<br>
<br>
Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 error:
internal
error Domain one-21 didn't show up</p>
<div><p class="MsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><br>
<br>
Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21</p>
</div><p class="MsoNormal" style="margin-left: 36pt;">Tue Aug 10
11:54:18 2010
[VMM][D]: Message received: LOG - 21 ExitCode: 1<br>
<br>
Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: DEPLOY FAILURE 21 -<br>
<br>
Tue Aug 10 11:54:19 2010 [TM][D]: Message received: LOG - 21
tm_delete.sh:
Deleting /srv/cloud/one/var//21/images<br>
<br>
Tue Aug 10 11:54:19 2010 [TM][D]: Message received: LOG - 21
tm_delete.sh:
Executed "ssh devvm1 rm -rf /srv/cloud/one/var//21/images".<br>
<br>
Tue Aug 10 11:54:19 2010 [TM][D]: Message received: TRANSFER SUCCESS 21
-<br>
<br>
<br>
On 10/8/2553 12:07, Ricky Melgares wrote:</p><p class="MsoNormal" style="margin-left: 36pt;">Can you please
list the next
couple of lines that follow the STDERR line.</p>
<div><p class="MsoNormal" style="margin-left: 36pt;"><br>
<br>
On Aug 10, 2010, at 1:02 AM, Phuwadon (Aun) Danrahan wrote:<br>
<br>
</p><p class="MsoNormal" style="margin-left: 36pt;">Hello,<br>
<br>
I'm testing my first OpenNebular cloud and got an error that need your
support.
Anyone, know howto fix this error.<br>
<br>
<br>
Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 Command
execution
fail: 'mkdir -p /srv/cloud/one/var//21/images&& cat>
/srv/cloud/one/var//21/images/deployment.0&& virsh
--connect <a href="qemu:///system">qemu:///system</a> create
/srv/cloud/one/var//21/images/deployment.0'<br>
<br>
Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 STDERR
follows.<br>
<br>
<br>
This error occurred after i ran "onevm create myvhost". I did not see
the file /srv/cloud/one/var//21/images/deployment.0 but i could see
/srv/cloud/one/var//21/deployment.0<br>
</p><div style="margin-left: 36pt; "> <br class="webkit-block-placeholder"></div>
</div><div style="margin-left: 36pt; "> <br class="webkit-block-placeholder"></div>
<div>
<div><p class="MsoNormal" style="margin-left: 36pt;">_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true" href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a moz-do-not-send="true" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a></p>
</div>
</div>
</div><div style="margin-left: 36pt; "> <br class="webkit-block-placeholder"></div>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true" href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a moz-do-not-send="true" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>http://lists.opennebula.org/listinfo.cgi/users-opennebula.org<br></blockquote></div><br></div></body></html>