xen-users
Re: [Xen-users] SLES9 xenU - Error: (9, 'Bad file descriptor')
Is your hypervisor 32 bit? This is typically the error one gets when
you mix and match hypervisor/kernel bitness.
Regards,
Anthony Liguori
Marvin Stark wrote:
Am Dienstag, den 27.06.2006, 10:34 +0200 schrieb Marvin Stark:
Hi,
while booting a SLES9_x86_64 xenU I'm getting following error:
----8<----
Error: (9, 'Bad file descriptor')
----8<----
My xenU config file looks like this:
----8<----
kernel = "/boot/vmlinuz-2.6-xen"
ramdisk = "/boot/initrd-suse.img"
builder='linux'
memory = 128
name = "SLES9_x86_64"
vcpus = ""
vif = [ '' ]
disk = [ 'phy:sda5,sda1,w', 'file:/vserver/suse/swap.img,sda2,w' ]
hostname= "SLES9"
root = "/dev/sda1 ro"
extra = "4"
----8<----
I built the initrd file under a SLES9 chroot with follwing command:
----8<----
mkinitrd -k vmlinuz-2.6-xenU -i initrd-suse.img
----8<----
I guess the problem is python related?
I also built a RHEL4_x86_64 this way and it's running fine.
Best Regards,
Marvin Stark
In addition to this, the xend-debug.log and xend.log output:
---- start xend.log ----
[2006-06-27 12:34:58 xend.XendDomainInfo] DEBUG (XendDomainInfo:1327)
XendDomainInfo.destroy: domid=9
[2006-06-27 12:34:58 xend.XendDomainInfo] DEBUG (XendDomainInfo:1335)
XendDomainInfo.destroyDomain(9)
[2006-06-27 12:34:58 xend] ERROR (xmlrpclib2:124) (9, 'Bad file
descriptor')
Traceback (most recent call last):
File
"/usr/src/xen-3.0.2-2/dist/install/usr/lib/python/xen/util/xmlrpclib2.py", line
103, in _marshaled_dispatch
response = self._dispatch(method, params)
File "/usr/lib/python2.3/SimpleXMLRPCServer.py", line 407, in
_dispatch
return func(*params)
File
"/usr/src/xen-3.0.2-2/dist/install/usr/lib/python/xen/xend/server/XMLRPCServer.py",
line 63, in domain_create
info = XendDomain.instance().domain_create(config)
File
"/usr/src/xen-3.0.2-2/dist/install/usr/lib/python/xen/xend/XendDomain.py", line
227, in domain_create
dominfo = XendDomainInfo.create(config)
File
"/usr/src/xen-3.0.2-2/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 183, in create
vm.initDomain()
File
"/usr/src/xen-3.0.2-2/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1225, in initDomain
channel_details = self.image.createImage()
File
"/usr/src/xen-3.0.2-2/dist/install/usr/lib/python/xen/xend/image.py",
line 118, in createImage
return self.createDomain()
File
"/usr/src/xen-3.0.2-2/dist/install/usr/lib/python/xen/xend/image.py",
line 137, in createDomain
result = self.buildDomain()
File
"/usr/src/xen-3.0.2-2/dist/install/usr/lib/python/xen/xend/image.py",
line 188, in buildDomain
features = self.features)
error: (9, 'Bad file descriptor')
---- end xend.log ----
---- start xend-debug.log ----
ERROR: Error constructing guest OS
ERROR: Initial guest OS requires too much space
(3500MB is greater than 256MB limit)
---- end xend-debug.log ----
Best Regards,
Marvin Stark
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|