Dom0 = centos 5 (32bit), 4GB Ram<br>DomU = centos 5 (PV) (32bit)<br><br>xen 3.1.2 rc1, compiled using XEN_TARGET_X86_PAE=Y<br><br>kernel 2.6.18, modified to load areca card drivers<br><br>initrd image created using the following command
<br><br>mkinitrd -v -f --with=aacraid --with=arcmsr --with=sd_mod --with=scsi_mod initrd-2.6.18-xen.img 2.6.18-xen<br clear="all"><br>When i issue xm create for a domU which was working earlier i get the following error<br>
<br>xm create ldap <br>Using config file "./ldap".<br>Error: (9, 'Bad file descriptor')<br><br><span style="text-decoration: underline;">Log snippet when the error appears</span><br><br>[2007-11-01 01:01:09 4605] ERROR (xmlrpclib2:178) Internal error handling 
xend.domain.create<br>Traceback (most recent call last):<br>  File "/home/xen/xen-3.1-testing.hg/dist/install/usr/lib/python/xen/util/xmlrpclib2.py", line 131, in _marshaled_dispatch<br>    response = self._dispatch(method, params)
<br>  File "/usr/lib/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch<br>    return func(*params)<br>  File "/home/xen/xen-3.1-testing.hg/dist/install/usr/lib/python/xen/xend/server/XMLRPCServer.py", line 72, in domain_create
<br>    info = XendDomain.instance().domain_create(config)<br>  File "/home/xen/xen-3.1-testing.hg/dist/install/usr/lib/python/xen/xend/XendDomain.py", line 918, in domain_create<br>    self._refresh()<br>  File "/home/xen/xen-
3.1-testing.hg/dist/install/usr/lib/python/xen/xend/XendDomain.py", line 402, in _refresh<br>    self.domains[domid].update(dom, refresh_shutdown)<br>  File "/home/xen/xen-3.1-testing.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py", line 2198, in update
<br>    self._update_consoles()<br>  File "/home/xen/xen-3.1-testing.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py", line 792, in _update_consoles<br>    self.console_port = self.readDom('console/port')
<br>  File "/home/xen/xen-3.1-testing.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py", line 845, in readDom<br>    return xstransact.Read(self.dompath, *args)<br>  File "/home/xen/xen-3.1-testing.hg
/dist/install/usr/lib/python/xen/xend/xenstore/xstransact.py", line 298, in Read<br>    return complete(path, lambda t: t.read(*args))<br>  File "/home/xen/xen-3.1-testing.hg/dist/install/usr/lib/python/xen/xend/xenstore/xstransact.py", line 352, in complete
<br>    t = xstransact(path)<br>  File "/home/xen/xen-3.1-testing.hg/dist/install/usr/lib/python/xen/xend/xenstore/xstransact.py", line 21, in __init__<br>    self.transaction = xshandle().transaction_start()<br>
Error: (9, 'Bad file descriptor')<br><br><br><span style="text-decoration: underline;">Config file</span><br><br>kernel = "/boot/vmlinuz-2.6.18-xen"<br>ramdisk = "/boot/initrd-2.6.18-xen.img"<br>
name = "ldap"<br>memory = "1024"<br>disk = [ 'phy:/dev/VolGroup00/ldap,sda1,w']<br>root = "/dev/sda1 ro"<br>vif = [ 'mac=00:16:3e:12:34:a8, bridge=xenbr0', ]<br>uuid = "bee5f62b-7193-a454-e37e-a151a5be8f45"
<br>vcpus=7<br><br>The above domU was booting up properly so i am guessing its an issue with the way i have setup xen.<br><br>-- <br>regards,<br><br>Anand Gupta