Skip to contentSkip to conversation

xl create

DISCUSSION Jonathan Tripathy 3 participants 3 messages Jun 9, 2011 – Jun 14, 2011

lore
Share & tools
lore
#0 lore raw

Hi Everyone,

I'm having some problems with the new xl command. When I try to start my DomU by doing xl create config.xen, I get the following error:

Parsing config file config.xen
the rate parameter for vifs is currently not supported
libxl: error: libxl_device.c:476:libxl__wait_for_device_model Device Model not ready
xl: fatal error: libxl_create.c:535, rc=-1: libxl__confirm_device_model_startup

My config.xen file looks like this:

bootloader = "/usr/bin/pygrub"
memory = 128
name = "u23018"
vif = [ 'ip=10.87.0.118,bridge=public,script=vif-bridge,mac=00:16:3e:29:a2:24,rate=50Mb/s,vifname=vifu23018' ] #disk = ['file:/home/sysadmin/xen/ubuntu-10.04-x86_64/ubuntu.10-04.x86-64.20100426.img,sda1,w'] disk = ['phy:/dev/vg0/u23018,xvda1,w']
root = "/dev/xvda1"
extra = "fastboot"
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'

Even when I comment out the vif line, the above problem still persists. I'm using CentOS 5.6 x86_64 as my DomU with kernel 2.6.18-238.12.1.el5xen

Using the xm command works fine.

Any help is appreciated.

Thanks

#1 lore raw
Quoted 14 lines · Jonathan Tripathy

Hi Everyone,

I'm having some problems with the new xl command. When I try to start my DomU by doing xl create config.xen, I get the following error:

Parsing config file config.xen
the rate parameter for vifs is currently not supported
libxl: error: libxl_device.c:476:libxl__wait_for_device_model Device Model not ready
xl: fatal error: libxl_create.c:535, rc=-1:
libxl__confirm_device_model_startup

My config.xen file looks like this:

Quoted 8 lines

bootloader = "/usr/bin/pygrub"
memory = 128
name = "u23018"
vif = [ 'ip=10.87.0.118,bridge=public,script=vif-bridge,mac=00:16:3e:29:a2:24,rate=50Mb/s,vifname=vifu23018' ]
#disk = ['file:/home/sysadmin/xen/ubuntu-10.04-x86_64/ubuntu.10-04.x86-64.20100426.img,sda1,w']

make sure both lines are commented out

Quoted 7 lines

disk = ['phy:/dev/vg0/u23018,xvda1,w']
root = "/dev/xvda1"
extra = "fastboot"
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'

Quoted 6 lines

Even when I comment out the vif line, the above problem still persists. I'm using CentOS 5.6 x86_64 as my DomU with kernel 2.6.18-238.12.1.el5xen

Using the xm command works fine.

Any help is appreciated.

Could you please post the output of "xl create -d"? This should help us understanding the problem.

#2 lore raw
In reply to Jonathan Tripathy
Quoted 3 lines · Jonathan Tripathy

Hi Everyone,

I'm having some problems with the new xl command.

Which specific version of Xen are you running?

Quoted 9 lines

When I try to start my
DomU by doing xl create config.xen, I get the following error:

Parsing config file config.xen
the rate parameter for vifs is currently not supported
libxl: error: libxl_device.c:476:libxl__wait_for_device_model Device Model not ready
xl: fatal error: libxl_create.c:535, rc=-1:
libxl__confirm_device_model_startup

It looks to me as if your config should not need to start a device model in the first place.

Do you have a version of Xen which has 23044:d4ca456c0c25 "libxl: do not start a xenpv qemu solely for tap devices if blktap is available" in it?

I don't recall if the problem when this happened was a failure (such as the above) or just a wasted process but it would be worth trying IMHO.

I thought that change was in xen-4.1-testing.hg but it looks like it isn't.

IanJ/Keir can we backport that one please?

Quoted 30 lines

My config.xen file looks like this:

bootloader = "/usr/bin/pygrub"
memory = 128
name = "u23018"
vif = [ 'ip=10.87.0.118,bridge=public,script=vif-bridge,mac=00:16:3e:29:a2:24,rate=50Mb/s,vifname=vifu23018' ]
#disk = ['file:/home/sysadmin/xen/ubuntu-10.04-x86_64/ubuntu.10-04.x86-64.20100426.img,sda1,w'] disk = ['phy:/dev/vg0/u23018,xvda1,w']
root = "/dev/xvda1"
extra = "fastboot"
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'

Even when I comment out the vif line, the above problem still persists. I'm using CentOS 5.6 x86_64 as my DomU with kernel 2.6.18-238.12.1.el5xen

Using the xm command works fine.

Any help is appreciated.

Thanks

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel