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

[Xen-devel] Unexpected error: exceptions.OSError

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Unexpected error: exceptions.OSError
From: "Phil Winterfield (winterfi)" <winterfi@xxxxxxxxx>
Date: Thu, 13 Mar 2008 15:45:03 -0700
Authentication-results: sj-dkim-7; header.From=winterfi@xxxxxxxxx; dkim=pass ( sig from cisco.com/sjdkim7002 verified; );
Delivery-date: Thu, 13 Mar 2008 15:45:27 -0700
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; l=14443; t=1205448292; x=1206312292; c=relaxed/simple; s=sjdkim7002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=winterfi@xxxxxxxxx; z=From:=20=22Phil=20Winterfield=20(winterfi)=22=20<winterfi@ cisco.com> |Subject:=20Unexpected=20error=3A=20exceptions.OSError |Sender:=20; bh=KxWMhXpmjQZrFXCBQRyNnCAyYB5hojXOMvF+Tjitur0=; b=LuSIPzm0C7IacoWhlE6g8BIbpUTqai70CTsrQhQB9yoVzSiZZ6mykw6Pvn JYzuv8tqIOQSig4pm08YFHANslMmyTPD5GK/nFezHi/fWIy42VoFuFVus7C9 sqkz0u+ZvC;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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+iDEjqc9cTLuEEQLv9glvnQ==
Thread-topic: Unexpected error: exceptions.OSError

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
<Prev in Thread] Current Thread [Next in Thread>