Yes, I've tried the ttylinux right now, it starts the instance, but it booted up a busybox, probably a recover from initrd (see output in the end of this e-maill). I can access the instance by doing a xl console in the host, describe-instances shows the status "running test". <br>
<br>I've successfully booted a separated vm with an old image I used with Xen with Xen + libvirt just changing the openstack's libvirt.xml. It just works fine.<br><br>The instance dir in /var/lib/nova/instances files look like this:<br>
<br>   0 -rw-r----- 1 nova nogroup    0 2011-09-28 15:43 console.log<br> 15M -rw-r--r-- 1 nova nogroup  18M 2011-09-28 15:43 disk<br>4,3M -rw-r--r-- 1 nova nogroup 4,3M 2011-09-28 15:43 kernel<br>4,0K -rw-r--r-- 1 nova nogroup 1,3K 2011-09-28 15:43 libvirt.xml<br>
5,7M -rw-r--r-- 1 nova nogroup 5,7M 2011-09-28 15:43 ramdisk<br><br>this is the last output I get when I get into the instance console:<br><br>[    0.078066] blkfront: sda: barriers enabled<br>[    0.078394]  sda: unknown partition table<br>
[    0.170040] XENBUS: Device with no driver: device/vkbd/0<br>[    0.170051] XENBUS: Device with no driver: device/vfb/0<br>[    0.170056] XENBUS: Device with no driver: device/console/0<br>[    0.170074]   Magic number: 1:252:3141<br>
[    0.170114] /build/buildd/linux-2.6.35/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)<br>[    0.170122] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found<br>[    0.170127] EDD information not available.<br>
[    0.170259] Freeing unused kernel memory: 828k freed<br>[    0.170460] Write protecting the kernel read-only data: 10240k<br>[    0.173975] Freeing unused kernel memory: 308k freed<br>[    0.174481] Freeing unused kernel memory: 1620k freed<br>
badness occurred in ramdisk<br><br><br>BusyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash)<br>Enter 'help' for a list of built-in commands.<br><br>/bin/sh: can't access tty; job control turned off<br>
/ # <br>/ # <br><br><br><div class="gmail_quote">Em 28 de setembro de 2011 14:06, Joshua Harlow <span dir="ltr"><<a href="mailto:harlowja@yahoo-inc.com">harlowja@yahoo-inc.com</a>></span> escreveu:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




<div>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Can u try with the ttylinux images and see if those work for you?<br>
<br>
I know when I tried it I had to adjust the libvirt xml was creating (which may have not been the right solution) to get those to work.<br>
<br>
I think the ttylinux ones might work better (from the last time I tried).<div><div></div><div class="h5"><br>
<br>
On 9/27/11 7:11 PM, "Todd Deshane" <<a href="http://todd.deshane@xen.org" target="_blank">todd.deshane@xen.org</a>> wrote:<br>
<br>
</div></div></span></font><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><div><div></div><div class="h5">2011/9/27 Rogério Vinhal Nunes <<a href="http://rogervn@dcc.ufmg.br" target="_blank">rogervn@dcc.ufmg.br</a>>:<br>

> Hello, I've upgraded to Diablo to see if this issue was resolved, but<br>
> apparently it isn't.<br>
><br>
> There is already a thread talking about it, but it didn't come to a solution<br>
> that I could use. After having Openstack configured with Xen and libvirt in<br>
> Ubuntu 10.04 whenever I run an instance it is started, but it stops with a<br>
> kernel panic trying to mount root by using xvda, but sda is the only<br>
> available.<br>
><br>
> I'm using Diablo's nova + glance and the<br>
> ubuntu1010-UEC-localuser-image.tar.gz from the manual.<br>
><br>
> The kernel panic is like this:<br>
><br>
> [    0.170563] VFS: Cannot open root device "xvda" or unknown-block(0,0)<br>
> [    0.170572] Please append a correct "root=" boot option; here are the<br>
> available partitions:<br>
> [    0.170585] ca00           32768 sda driver: vbd<br>
> [    0.170594] Kernel panic - not syncing: VFS: Unable to mount root fs on<br>
> unknown-block(0,0)<br>
> [    0.170604] Pid: 1, comm: swapper Not tainted 2.6.35-24-virtual<br>
> #42-Ubuntu<br>
><br>
> I've played with libvirt.xml.template, it changed a lot since Cactus, so I<br>
> tried to replace xvda with sda, and the kernel panic didn't go away, just<br>
> changed a little:<br>
><br>
> [    0.161237] List of all partitions:<br>
> [    0.161248] ca00           32768 sda driver: vbd<br>
> [    0.161257] No filesystem could mount root, tried:  ext3 ext2 ext4<br>
> fuseblk<br>
> [    0.161275] Kernel panic - not syncing: VFS: Unable to mount root fs on<br>
> unknown-block(202,0)<br>
> [    0.161286] Pid: 1, comm: swapper Not tainted 2.6.35-24-virtual<br>
> #42-Ubuntu<br>
><br>
<br>
Are you able to start a guest manually with Xen + libvirt (without OpenStack)?<br>
<br>
That's the first step to debugging this issue.<br>
<br>
> I've tried using --xenapi_remap_vbd_dev=true, but it didn't work (it<br>
> wouldn't also because I'm using libvirt, not xenapi).<br>
><br>
<br>
Would XCP or XenServer work for you in general? (The XenAPI-based<br>
hypervisors are more tested and even have more features compared with<br>
libvirt - <a href="http://wiki.openstack.org/XenAPI" target="_blank">http://wiki.openstack.org/XenAPI</a>)<br>
<br>
<br>
Or even Project Kronos (also uses XCP/XenServer toolstack)<br>
<a href="http://blog.xen.org/index.php/2011/07/22/project-kronos/" target="_blank">http://blog.xen.org/index.php/2011/07/22/project-kronos/</a><br>
<br>
Thanks,<br>
Todd<br>
<br>
--<br>
Todd Deshane<br>
<a href="http://www.linkedin.com/in/deshantm" target="_blank">http://www.linkedin.com/in/deshantm</a><br>
<a href="http://www.xen.org/products/cloudxen.html" target="_blank">http://www.xen.org/products/cloudxen.html</a><br>
<a href="http://runningxen.com/" target="_blank">http://runningxen.com/</a><br>
<br></div></div>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="http://openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br>
</span></font></blockquote>
</div>


</blockquote></div><br>