← Back to team overview

openstack team mailing list archive

Xen image starts Kernel Panic in Diablo

 

Hello, I've upgraded to Diablo to see if this issue was resolved, but
apparently it isn't.

There is already a thread talking about it, but it didn't come to a solution
that I could use. After having Openstack configured with Xen and libvirt in
Ubuntu 10.04 whenever I run an instance it is started, but it stops with a
kernel panic trying to mount root by using xvda, but sda is the only
available.

I'm using Diablo's nova + glance and the
ubuntu1010-UEC-localuser-image.tar.gz from the manual.

The kernel panic is like this:

[    0.170563] VFS: Cannot open root device "xvda" or unknown-block(0,0)
[    0.170572] Please append a correct "root=" boot option; here are the
available partitions:
[    0.170585] ca00           32768 sda driver: vbd
[    0.170594] Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)
[    0.170604] Pid: 1, comm: swapper Not tainted 2.6.35-24-virtual
#42-Ubuntu

I've played with libvirt.xml.template, it changed a lot since Cactus, so I
tried to replace xvda with sda, and the kernel panic didn't go away, just
changed a little:

[    0.161237] List of all partitions:
[    0.161248] ca00           32768 sda driver: vbd
[    0.161257] No filesystem could mount root, tried:  ext3 ext2 ext4
fuseblk
[    0.161275] Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(202,0)
[    0.161286] Pid: 1, comm: swapper Not tainted 2.6.35-24-virtual
#42-Ubuntu

I've tried using --xenapi_remap_vbd_dev=true, but it didn't work (it
wouldn't also because I'm using libvirt, not xenapi).

Does anyone know a way I can stop this? Even if it is just a workaround.

Thanks.

Follow ups