All of lore.kernel.org
 help / color / mirror / Atom feed
* Unexpected error: exceptions.OSError
@ 2008-03-13 22:45 Phil Winterfield (winterfi)
  2008-03-14  9:02 ` Keir Fraser
  2008-03-14 14:45 ` Samuel Thibault
  0 siblings, 2 replies; 6+ messages in thread
From: Phil Winterfield (winterfi) @ 2008-03-13 22:45 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 2365 bytes --]

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@lists.xensource.com

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"

 

on_crash = 'destroy'


[-- Attachment #1.2: Type: text/html, Size: 10359 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Unexpected error: exceptions.OSError
@ 2008-03-29 20:17 Fermín Galán Márquez
  2008-05-15 12:23 ` Yann Dìnendal
  0 siblings, 1 reply; 6+ messages in thread
From: Fermín Galán Márquez @ 2008-03-29 20:17 UTC (permalink / raw)
  To: xen-devel

Hi,

Following the indications in the bug error message itself :), I'm 
reporting to the list:

bud:/usr/local/inteco# xm create vm2.cfg
Using config file "vm2.cfg".
VNC= 1
Unexpected error: exceptions.OSError

Please report to xen-devel@lists.xensource.com
Traceback (most recent call last):
   File "/usr/lib/xen-3.0.3-1/bin/xm", line 7, in ?
     main.main(sys.argv)
   File "/usr/lib/xen-3.0.3-1/lib/python/xen/xm/main.py", line 1446, in main
     rc = cmd(args)
   File "<string>", line 1, in <lambda>
   File "/usr/lib/xen-3.0.3-1/lib/python/xen/xm/main.py", line 751, in 
xm_importcommand
     cmd.main([command] + args)
   File "/usr/lib/xen-3.0.3-1/lib/python/xen/xm/create.py", line 1191, 
in main
     dom = make_domain(opts, config)
   File "/usr/lib/xen-3.0.3-1/lib/python/xen/xm/create.py", line 982, in 
make_domain
     os.kill(vncpid, signal.SIGKILL)
OSError: [Errno 3] No such process

vm2.cfg
-------

kernel       = '/usr/lib/xen-3.0.3-1/boot/hvmloader'
builder      = 'hvm'
memory       = '256'
device_model ='/usr/lib/xen-3.0.3-1/bin/qemu-dm'
disk         = [ 'file:/data/vms/vm2.img,ioemu:hda,w',
                  'file:/data/iso/WinxpSP1.iso,ioemu:hdb:cdrom,r' ]
name         = 'win01'
vif          = ['type=ioemu, bridge=xenbr1']
boot         = 'b'
vnc          = 1
vncviewer    = 1
sdl          = 0
usbdevice    = 'tablet'

Some hint regarding the cause of the problem and possible solution? Thanks!

Best regards

------
Fermín

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Unexpected error: exceptions.OSError
@ 2006-05-22 18:26 Jordi Borràs
  0 siblings, 0 replies; 6+ messages in thread
From: Jordi Borràs @ 2006-05-22 18:26 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 685 bytes --]

[root@SardanaLi Jordi]# /usr/sbin/xm top

Unexpected error: exceptions.OSError

 

Please report to xen-devel@lists.xensource.com

Traceback (most recent call last):

  File "/usr/sbin/xm", line 10, in ?

    main.main(sys.argv)

  File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 1021, in main

    rc = cmd(args)

  File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 654, in
xm_top

    os.execvp('xentop', ['xentop'])

  File "/usr/lib/python2.4/os.py", line 341, in execvp

    _execvpe(file, args)

  File "/usr/lib/python2.4/os.py", line 379, in _execvpe

    func(fullname, *argrest)

OSError: [Errno 2] No such file or directory

[root@SardanaLi Jordi]#


[-- Attachment #1.2: Type: text/html, Size: 4013 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

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

end of thread, other threads:[~2008-05-15 12:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-13 22:45 Unexpected error: exceptions.OSError Phil Winterfield (winterfi)
2008-03-14  9:02 ` Keir Fraser
2008-03-14 14:45 ` Samuel Thibault
  -- strict thread matches above, loose matches on Subject: below --
2008-03-29 20:17 Fermín Galán Márquez
2008-05-15 12:23 ` Yann Dìnendal
2006-05-22 18:26 Jordi Borràs

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.