[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen 3.3.1 and Pv-grub don't work



Ian Murray ÐÐÑÐÑ:



----- Original Message ----
From: Andrey <basketboy@xxxxx>
To: xen-users@xxxxxxxxxxxxxxxxxxx
Sent: Sat, 27 February, 2010 22:53:13
Subject: [Xen-users] Xen 3.3.1 and Pv-grub don't work

Hello,

I'm trying to test pv-grub on existing Xen 3.3.1 installation on Debian Etch Dom0. I got the following error:

Unexpected error: exceptions.OSError

Please report to xen-devel@xxxxxxxxxxxxxxxxxxx
Traceback (most recent call last):
  File "/usr/sbin/xm", line 10, in ?
    main.main(sys.argv)
  File "//usr/lib/python/xen/xm/main.py", line 2884, in main
    _, rc = _run_cmd(cmd, cmd_name, args)
  File "//usr/lib/python/xen/xm/main.py", line 2908, in _run_cmd
    return True, cmd(args)
File "", line 1, in File "//usr/lib/python/xen/xm/main.py", line 1376, in xm_importcommand
    cmd.main([command] + args)
  File "//usr/lib/python/xen/xm/create.py", line 1328, in main
    do_console(sxp.child_value(config, 'name', -1))
  File "//usr/lib/python/xen/xm/create.py", line 1355, in do_console
    (p, rv) = os.waitpid(cpid, os.WNOHANG)
OSError: [Errno 10] No child processes

Messages in xend.log:

...
[2010-02-28 01:38:36 4739] DEBUG (__init__:1072) Waiting for devices vtpm.
[2010-02-28 01:38:36 4739] WARNING (__init__:1072) Domain has crashed: name=xxxxx id=45. [2010-02-28 01:38:36 4739] ERROR (__init__:1072) VM xxxxx restarting too fast (1.321834 seconds since the last restart). R efusing to restart to avoid loops. [2010-02-28 01:38:36 4739] DEBUG (__init__:1072) XendDomainInfo.destroy: domid=45
...

Here is my DomU configuration file:

kernel = "/usr/lib/xen/boot/pv-grub-x86_32.gz"
extra = "(hd0,0)/boot/grub/grub.conf"
disk        = ['tap:aio:/data/domU/disk.img,xvda,w']
name        = 'xxxxx'
vif         = [ 'ip=xx.xx.xx.xx,mac=xx:xx:xx:xx:xx:xx,bridge=eth1' ]


With 'bootloader="/usr/bin/pygrub"' everything works fine.

/usr/lib/xen/boot/pv-grub-x86_32.gz exists and was created during Xen dom) installation.

Where is the problem?

With regards, Andrey

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

I could not get it to work with tap:aio and I read later that it hadn't been 
tested against tap:aio. Try using an LV or file.


Oh. It's a pity. Do you know why it does not work with tap:aio? And is it in the current TODO list?...8)



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.