Skip to contentSkip to conversation

Python OSError, VM does not start

DISCUSSION Smurf 1 participant 1 message Aug 13, 2009

lore
Share & tools
lore

Smurf

author
#0 lore raw

Hello,

I'm running Xen on Debian Lenny. I've installed Xen from packages. All things went well. THe dom0 works fine.

When I try to launch a VM with the "-c" option, I get this error message :

Please report to [email protected]
Traceback (most recent call last):
File "/usr/lib/xen-3.2-1/bin/xm", line 7, in <module>
main.main(sys.argv)
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 2528, in main

    _, rc = _run_cmd(cmd, cmd_name, args)

File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 2552, in _run_cmd
return True, cmd(args)
File "<string>", line 1, in <lambda>
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 1306, in
xm_importcommand
cmd.main([command] + args)
File "/usr/lib/xen-3.2-1/lib/python/xen/xm/create.py", line 1186, in main

    do_console(sxp.child_value(config, 'name', -1))

File "/usr/lib/xen-3.2-1/lib/python/xen/xm/create.py", line 1208, in
do_console
(p, rv) = os.waitpid(cpid, os.WNOHANG)
OSError: [Errno 10] No child processes

If I don't use the -c option, I don't get any error, the VM just doesn't start.

The server is a Core2Quad with 4GB RAM.
Here is my configuration file :

kernel="/boot/vmlinuz-2.6.26-2-xen-686"
memory = "256"
maxmem = "512"
name = "debian"
vcpus=1
vif = [ 'bridge=xenbr0' ]
disk = [ 'phy:/dev/xen_domU/debian,/dev/hda1,w']

root = "/dev/hda1"
extra="console=xvc0 xencons=xvc0"

Thank you,
Louis