WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Unexpected error: exceptions.OSError

To: "Phil Winterfield (winterfi)" <winterfi@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Unexpected error: exceptions.OSError
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 14 Mar 2008 09:02:54 +0000
Delivery-date: Fri, 14 Mar 2008 02:04:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <38AD81989214D54EB5F20C69477AF6C105C4FD2B@xxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AciFW+A+iDEjqc9cTLuEEQLv9glvnQAVk/9w
Thread-topic: [Xen-devel] Unexpected error: exceptions.OSError
User-agent: Microsoft-Entourage/11.3.6.070618
Have a look in /var/log/xen/xend.log and there’ll probably be something useful printed there.

 -- Keir

On 13/3/08 22:45, "Phil Winterfield (winterfi)" <winterfi@xxxxxxxxx> wrote:

The ‘xm create’ python script is taking an exception before ever launching the domU guest.  After looking at the archives, this seems to occur frequently enough but for obscure and unexplained reasons.  In the cases where a resolution was found, it was usually by removing some option, e.g. vncviewer=1, in the config script.  My script is very simple and I don’t see much of anything to remove.  
 
Is there anyone who can shed some light on how to go about debugging these sorts of errors
 
Thanks,
Phil
 
 
[root@localhost ios]# xm create -c domain_config
Using config file "./domain_config".
Started domain IOSonXEN
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 2595, in main
    _, rc = _run_cmd(cmd, cmd_name, args)
  File "//usr/lib/python/xen/xm/main.py", line 2619, in _run_cmd
    return True, cmd(args)
  File "<string>", line 1, in <lambda>
  File "//usr/lib/python/xen/xm/main.py", line 1315, in xm_importcommand
    cmd.main([command] + args)
  File "//usr/lib/python/xen/xm/create.py", line 1197, in main
    do_console(sxp.child_value(config, 'name', -1))
  File "//usr/lib/python/xen/xm/create.py", line 1219, in do_console
    (p, rv) = os.waitpid(cpid, os.WNOHANG)
OSError: [Errno 10] No child processes
[root@localhost ios]# cat domain_config
#  -*- mode: python; -*-
#============================================================================
# Python configuration setup for 'xm create'.
# This script sets the parameters used when a domain is created using 'xm create'.
# You use a separate script for each domain you want to create, or
# you can set the parameters for the domain on the xm command line.
#============================================================================
 
#----------------------------------------------------------------------------
# Kernel image file.
kernel = "i86linux-i-m"
 
# Initial memory allocation (in megabytes) for the new domain.
memory =512
 
# A name for your domain. All domains must have different names.
name = "IOSonXEN"
 



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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>