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-users

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

To: "Xen Users" <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Error: (9, 'Bad file descriptor')
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type; bh=tiLke9jY4xgbkD6VJC++WxNI1WfRdYbJVSfhHPtC8lA=; b=iPwcePYXChXrLBF4msEFlPm2395YBGGdRd0f7xqAQeUOj0m5v75zAfweN9aKGKp2CEPJlnu0/PZarmOIJphhw+bfYCkjqLopSY25ZlN7UzPMP2jR+tzW2X7N50EPMfA61XxW3na+giAyu4jv5LhaG3PhhpUtqrB7Xz3vF7SdJZ8=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>