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] Problems booting VM using unified Xen kernel

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Problems booting VM using unified Xen kernel
From: "David F. Barrera" <dfbp@xxxxxxxxxx>
Date: Wed, 03 May 2006 14:59:40 -0500
Delivery-date: Wed, 03 May 2006 13:00:19 -0700
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
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050921 Red Hat/1.7.12-1.4.1
I am having trouble booting a guest domain using the unified Xen kernel (it
works fine when using the XenU kernel). Whenever I try to create the domain, I 
get
the following message:
bl2-1:/tmp/xen # xm create -c vm1.cfg
Using config file "vm1.cfg".
Error: (9, 'Bad file descriptor')


---------------------------------
The build was done using 'make world' and 'make install', and there were no
build errors:

Xen version 3.0-unstable (root@xxxxxxxxxxxxxxxxxx 
<mailto:root@xxxxxxxxxxxxxxxxxx>) (gcc version 3.3.3 (SuSE
Linux)) Wed May  3 14:23:44 CDT 2006
Latest ChangeSet: Wed May  3 07:33:01 2006 +0100 9920:915d5af5dc18
-----------
'strace' shows that files are missing:

stat("/usr/lib64/python/xen/xm/signal", 0x7fffffe08e40) = -1 ENOENT (No such
file or directory)
open("/usr/lib64/python/xen/xm/signal.so", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/lib64/python/xen/xm/signalmodule.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib64/python/xen/xm/signal.py", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/lib64/python/xen/xm/signal.pyc", O_RDONLY) = -1 ENOENT (No such file
or directory)
futex(0x501680, FUTEX_WAKE, 1)          = 0
write(2, "Error:", 6Error:)                   = 6
write(2, " ", 1 )                        = 1
write(2, "(9, \'Bad file descriptor\')", 26(9, 'Bad file descriptor')) = 26
write(2, "\n", 1

----------------------------------------

domU config file:

kernel = "/boot/vmlinuz-2.6-xen"
# Optional ramdisk.
ramdisk = "/boot/initrd-2.6.16-xen"
# The domain build function. Default is 'linux'.
builder='linux'
# Initial memory allocation (in megabytes) for the new domain.
memory = 256
# A name for your domain. All domains must have different names.
name = "vm1"
disk = [ 'phy:sdb3,0813,w','phy:sdb2,0812,w' ]
# Set if you want dhcp to allocate the IP address.
# vif = [ 'mac= AA:00:00:47:CB:34, bridge=xen-br0' ]
vif = [ '' ]
# Set root device.
root = "/dev/sdb3 ro"

--
Regards,

David F Barrera
Linux Technology Center
Systems and Technology Group, IBM

"The wisest men follow their own direction. "
                                                      Euripides



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

<Prev in Thread] Current Thread [Next in Thread>