<HTML>
<HEAD>
<TITLE>Re: [Openstack] Xen image starts Kernel Panic in Diablo</TITLE>
</HEAD>
<BODY>
<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).<BR>
<BR>
On 9/27/11 7:11 PM, "Todd Deshane" <<a href="todd.deshane@xen.org">todd.deshane@xen.org</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>2011/9/27 Rogério Vinhal Nunes <<a href="rogervn@dcc.ufmg.br">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">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/">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">http://www.linkedin.com/in/deshantm</a><BR>
<a href="http://www.xen.org/products/cloudxen.html">http://www.xen.org/products/cloudxen.html</a><BR>
<a href="http://runningxen.com/">http://runningxen.com/</a><BR>
<BR>
_______________________________________________<BR>
Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><BR>
Post to     : <a href="openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><BR>
Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><BR>
More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>