Steven Anderson
2005-Nov-14 05:46 UTC
[Xen-users] Xend fails to start on newly compiled xen dom0 kernel
Hello: I just gave 3 tries at compiling a xen kernel. I managed to get the networking in the host to work ok on the third try, unfortuately xend gives me the following errors in my xend.log and will not start. Any ideas? It fails to start with the following error ---------------------------------------------------- /usr/sbin/xend [root@localhost ~]# /usr/sbin/xend start Traceback (most recent call last): File "/usr/sbin/xend", line 33, in ? from xen.xend.server import SrvDaemon File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line 28, in ? import controller File "/usr/lib/python2.4/site-packages/xen/xend/server/controller.py", line 23 , in ? from xen.xend.xenstore import DBVar File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/__init__.py", line 17 , in ? from xsnode import * File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsnode.py", line 26, in ? from xen.lowlevel import xs ImportError: /usr/lib/python2.4/site-packages/xen/lowlevel/xs.so: undefined symb ol: xs_shutdown [root@localhost ~]# /usr/sbin/xend stop Traceback (most recent call last): File "/usr/sbin/xend", line 33, in ? from xen.xend.server import SrvDaemon File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line 28, in ? import controller File "/usr/lib/python2.4/site-packages/xen/xend/server/controller.py", line 23 , in ? from xen.xend.xenstore import DBVar File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/__init__.py", line 17 , in ? from xsnode import * File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsnode.py", line 26, in ? from xen.lowlevel import xs ImportError: /usr/lib/python2.4/site-packages/xen/lowlevel/xs.so: undefined symb ol: xs_shutdown ------------------------------------------------------ [2005-11-01 17:46:10 xend] INFO (SrvDaemon:296) Xend Daemon started [2005-11-01 17:46:13 xend] ERROR (XendDomain:144) Error recreating domain info: id=0 Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 142, in initial_refresh self._new_domain(domdb, doms[domid]) File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 165, in _new_domain dominfo = XendDomainInfo.recreate(db, info) File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 180, in recreate vm.importFromDB() File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 313, in importFromDB self.store_channel self.eventChannelOld("store_channel") File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 853, in eventChannelOld return EventChannel.restoreFromDB(db, 0, self.id) File "/usr/lib/python2.4/site-packages/xen/xend/server/channel.py", line 68, in restoreFromDB evtchn = cls.interdomain(dom1, dom2, port1=port1, port2=port2) File "/usr/lib/python2.4/site-packages/xen/xend/server/channel.py", line 39, in interdomain port1=port1, port2=port2) error: (22, ''Invalid argument'') [2005-11-01 17:46:13 xend] INFO (XendDomain:357) Creating entry for unknown domain: id=0 uuid=4bcd1bc6-446e-46ad-a74a-9a768f1ee333 [2005-11-01 17:46:14 xend] DEBUG (XendDomainInfo:182) info={''vcpu_to_cpu'': [0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -$[2005-11-01 17:46:14 xend] DEBUG (XendDomainInfo:183) config=''None'' [2005-11-01 17:46:14 xend] INFO (xsobj:326) DBMap>introduceDomain> 0 89836 <EventChannel dom1:0:14 dom2:0:16> /domain/4bcd1bc6-446e-46ad-a74a-9a768f1ee333 [2005-11-01 17:46:14 xend] INFO (XendRoot:141) EVENT> xend.domain.create [''Domain-0'', 0] [2005-11-01 17:46:14 xend] DEBUG (XendDomainInfo:698) writing key availability=online to path /cpu/0 in store [2005-11-01 17:46:14 xend] INFO (SrvServer:83) unix path=/var/lib/xend/xend-socket [2005-11-01 17:46:14 xend] INFO (XendRoot:141) EVENT> xend.start 0 [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] + set -e [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] + OP=start [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] + shift [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] + for arg in ''"$@"'' [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] + export bridge=xen-br0 [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] + bridge=xen-br0 [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] + for arg in ''"$@"'' [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] + export antispoof=no [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] + antispoof=no [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] + bridge=xen-br0 [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] + netdev=eth0 [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] + antispoof=no [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] + echo ''*network start bridge=xen-br0 netdev=eth0 antispoof=no'' [2005-11-01 17:46:14 xend] INFO (process:35) [network-bridge] network start bridge=xen-br0 netdev=eth0 antispoof=no [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] + case ${OP} in [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] + op_start [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] + ''['' xen-br0 == null '']'' [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] + create_bridge xen-br0 [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] + local bridge=xen-br0 [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] + brctl show [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] /etc/xen/scripts/network-bridge: line 122: brctl: command not found [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] + grep -q xen-br0 [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] + brctl addbr xen-br0 [2005-11-01 17:46:14 xend] ERROR (process:37) [network-bridge] /etc/xen/scripts/network-bridge: line 123: brctl: command not found [2005-11-01 17:48:22 xend] DEBUG (image:156) initDomain: cpu=-1 mem_kb=65536 ssidref=-1 dom=1 ------------------------------------------------------- The xend-debug.log seems to indicate missing directories as follows. Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 656, in construct self.configure() File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1072, in configure self.create_devices() File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 898, in create_devices self.create_configured_devices() File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 887, in create_configured_devices self.createDevice(ctrl_type, dev_config) File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 420, in createDevice backdb[''physical-device''] = "%li" % blkdev_name_to_number(node) File "/usr/lib/python2.4/site-packages/xen/util/blkif.py", line 27, in blkdev_name_to_number if re.match( ''/dev/sd[a-p]([1-9]|1[0-5])?'', n): File "/usr/lib/python2.4/sre.py", line 129, in match return _compile(pattern, flags).match(string) TypeError: expected string or buffer Exception in thread Watcher: Traceback (most recent call last): File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap self.run() File "/usr/lib/python2.4/threading.py", line 422, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xswatch.py", line 63, in watchMain watch.fn(*watch.args, **watch.kwargs) File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 98, in onReleaseDomain self.refresh(cleanup=True) File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 270, in refresh self._delete_domain(d.id) File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 201, in _delete_domain info.cleanup() File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 755, in cleanup self.release_devices() File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 803, in release_devices for d in t.list("vif"): File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line 110, in list ret.extend(self._list(key)) File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line 103, in _list return map(lambda x: key + "/" + x, xshandle().ls(path)) RuntimeError: (2, ''No such file or directory'') Exception exceptions.RuntimeError: (2, ''No such file or directory'') in <bound method xstransact.__del__ of <xen.xend.xenstore.xstransact.xstransact instance$Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line 78, in op_create dominfo = self.xd.domain_create(config) File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 293, in domain_create dominfo = XendDomainInfo.create(self.dbmap, config) File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 162, in create vm.construct(config) File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 663, in construct self.destroy() File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 786, in destroy self.cleanup() [ Read 610 lines ] ^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Txt ^T To Spell ----------------------------------------------------- Any help would be appreciated greatly! Thanks in advance! Regards, hikenboot __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users