xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* xl create
@ 2011-06-09 20:17 Jonathan Tripathy
  2011-06-10 11:00 ` Stefano Stabellini
  2011-06-14  9:04 ` Ian Campbell
  0 siblings, 2 replies; 3+ messages in thread
From: Jonathan Tripathy @ 2011-06-09 20:17 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: xl create
  2011-06-09 20:17 xl create Jonathan Tripathy
@ 2011-06-10 11:00 ` Stefano Stabellini
  2011-06-14  9:04 ` Ian Campbell
  1 sibling, 0 replies; 3+ messages in thread
From: Stefano Stabellini @ 2011-06-10 11:00 UTC (permalink / raw)
  To: Jonathan Tripathy; +Cc: xen-devel@lists.xensource.com

On Thu, 9 Jun 2011, Jonathan Tripathy wrote:
> 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']

make sure both lines are commented out

> 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.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: xl create
  2011-06-09 20:17 xl create Jonathan Tripathy
  2011-06-10 11:00 ` Stefano Stabellini
@ 2011-06-14  9:04 ` Ian Campbell
  1 sibling, 0 replies; 3+ messages in thread
From: Ian Campbell @ 2011-06-14  9:04 UTC (permalink / raw)
  To: Jonathan Tripathy; +Cc: Keir Fraser, xen-devel@lists.xensource.com, Ian Jackson

On Thu, 2011-06-09 at 21:17 +0100, Jonathan Tripathy wrote:
> Hi Everyone,
> 
> I'm having some problems with the new xl command.

Which specific version of Xen are you running?

>  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?

> 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
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-14  9:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-09 20:17 xl create Jonathan Tripathy
2011-06-10 11:00 ` Stefano Stabellini
2011-06-14  9:04 ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).