← Back to team overview

openstack team mailing list archive

Re: Ubuntu run instance error + xen

 

It looks you specified "root=/dev/xvda", but the disk that is
instantiated is /dev/sda.
But I didn't see why it happened. Did you customized the template
for libvirt, libvirt.xml.template?


On Thu, Aug 18, 2011 at 05:54:45PM -0700, Joshua Harlow wrote:
> Hi all,
> 
> On xen + openstack diaboli-3 when running an instance with the generic ubuntu
> UEC images  from http://wiki.openstack.org/RunningNova#Registering_the_image  I
> am seeing the following:
> 
> [    0.210681] VFS: Cannot open root device "xvda" or unknown-block(0,0)
> [    0.210691] Please append a correct "root=" boot option; here are the
> available partitions:
> [    0.210708] ca00            8192 sda driver: vbd
> [    0.210720] Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(0,0)
> 
> This is on debian 6 (x86-64), is this a location that exists for others?
> 
> Here is the xml that was used to create this instance. It looks pretty
> standard. Any xen users out there encountered this?
> 
> <domain type='xen' id='18'>
>   <name>instance-0000002b</name>
>   <uuid>a1655436-d1c6-3e2c-bf57-a9c487f21e27</uuid>
>   <memory>524288</memory>
>   <currentMemory>524288</currentMemory>
>   <vcpu>1</vcpu>
>   <bootloader></bootloader>
>   <os>
>     <type>linux</type>
>     <kernel>/home/ctoteam/nova/nova/..//instances/instance-0000002b/kernel</
> kernel>
>     <cmdline>root=/dev/xvda ro</cmdline>
>   </os>
>   <clock offset='utc'/>
>   <on_poweroff>destroy</on_poweroff>
>   <on_reboot>restart</on_reboot>
>   <on_crash>destroy</on_crash>
>   <devices>
>     <emulator>/usr/lib/xen-4.0/bin/qemu-dm</emulator>
>     <disk type='file' device='disk'>
>       <driver name='file'/>
>       <source file='/home/ctoteam/nova/nova/..//instances/instance-0000002b/
> disk'/>
>       <target dev='sda' bus='scsi'/>
>     </disk>
>     <interface type='bridge'>
>       <mac address='02:16:3e:65:67:59'/>
>       <source bridge='pan0'/>
>       <script path='/etc/xen/scripts/vif-bridge'/>
>       <target dev='vif18.0'/>
>     </interface>
>     <console type='pty' tty='/dev/pts/2'>
>       <source path='/dev/pts/2'/>
>       <target type='xen' port='0'/>
>     </console>
>     <input type='mouse' bus='xen'/>
>     <graphics type='vnc' port='5900' autoport='yes' listen='0.0.0.0' keymap=
> 'en-us'/>
>   </devices>
> </domain>
> 
> 
>  
> 

> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp


-- 
yamahata


Follow ups

References