[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Error: (9, 'Bad file descriptor')


  • To: "Xen Users" <Xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Anand Gupta" <xen.mails@xxxxxxxxx>
  • Date: Thu, 1 Nov 2007 01:07:59 +0530
  • Cc: Fedora Xen <fedora-xen@xxxxxxxxxx>
  • Delivery-date: Wed, 31 Oct 2007 12:38:47 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:mime-version:content-type; b=PZKjiTG9YXoT+C8w5bhcY85fH2TxyrcnI/vGz8h2J07pY4x/WUW4B4/1dqZ4tuULXmk2X+fuyT3V+r/omFkec48C+DJibIgcN5VZRinFudlXGlgiOfxIVqRpO+bCuvxo3AyyKgxxwp/PJozBwU14KFEokHPI9M6La+QRtFhkRgA=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Dom0 = centos 5 (32bit), 4GB Ram
DomU = centos 5 (PV) (32bit)

xen 3.1.2 rc1, compiled using XEN_TARGET_X86_PAE=Y

kernel 2.6.18, modified to load areca card drivers

initrd image created using the following command

mkinitrd -v -f --with=aacraid --with=arcmsr --with=sd_mod --with=scsi_mod initrd-2.6.18-xen.img 2.6.18-xen

When i issue xm create for a domU which was working earlier i get the following error

xm create ldap
Using config file "./ldap".
Error: (9, 'Bad file descriptor')

Log snippet when the error appears

[2007-11-01 01:01:09 4605] ERROR (xmlrpclib2:178) Internal error handling xend.domain.create
Traceback (most recent call last):
  File "/home/xen/xen-3.1-testing.hg/dist/install/usr/lib/python/xen/util/xmlrpclib2.py", line 131, in _marshaled_dispatch
    response = self._dispatch(method, params)
  File "/usr/lib/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch
    return func(*params)
  File "/home/xen/xen-3.1-testing.hg/dist/install/usr/lib/python/xen/xend/server/XMLRPCServer.py", line 72, in domain_create
    info = XendDomain.instance().domain_create(config)
  File "/home/xen/xen-3.1-testing.hg/dist/install/usr/lib/python/xen/xend/XendDomain.py", line 918, in domain_create
    self._refresh()
  File "/home/xen/xen- 3.1-testing.hg/dist/install/usr/lib/python/xen/xend/XendDomain.py", line 402, in _refresh
    self.domains[domid].update(dom, refresh_shutdown)
  File "/home/xen/xen-3.1-testing.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py", line 2198, in update
    self._update_consoles()
  File "/home/xen/xen-3.1-testing.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py", line 792, in _update_consoles
    self.console_port = self.readDom('console/port')
  File "/home/xen/xen-3.1-testing.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py", line 845, in readDom
    return xstransact.Read(self.dompath, *args)
  File "/home/xen/xen-3.1-testing.hg /dist/install/usr/lib/python/xen/xend/xenstore/xstransact.py", line 298, in Read
    return complete(path, lambda t: t.read(*args))
  File "/home/xen/xen-3.1-testing.hg/dist/install/usr/lib/python/xen/xend/xenstore/xstransact.py", line 352, in complete
    t = xstransact(path)
  File "/home/xen/xen-3.1-testing.hg/dist/install/usr/lib/python/xen/xend/xenstore/xstransact.py", line 21, in __init__
    self.transaction = xshandle().transaction_start()
Error: (9, 'Bad file descriptor')


Config file

kernel = "/boot/vmlinuz-2.6.18-xen"
ramdisk = "/boot/initrd-2.6.18-xen.img"
name = "ldap"
memory = "1024"
disk = [ 'phy:/dev/VolGroup00/ldap,sda1,w']
root = "/dev/sda1 ro"
vif = [ 'mac=00:16:3e:12:34:a8, bridge=xenbr0', ]
uuid = "bee5f62b-7193-a454-e37e-a151a5be8f45"
vcpus=7

The above domU was booting up properly so i am guessing its an issue with the way i have setup xen.

--
regards,

Anand Gupta
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.