[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Can't get a DomU to run
Hi, I have booted into a Dom0 kernel on a fairly stripped down machine just running the basics needed. However, I haven't yet managed to get a DomU booting. I constantly get the following error "Error: Received invalid response from Xend, twice." on trying to start the domain Where do I actually look to try and debug this further? I do have SELinux compiled in on this kernel, but it's in non-enforcing mode nn1 xen # xm create -c ttylinux Using config file "ttylinux". Error: Received invalid response from Xend, twice. nn1 xen # xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 125 2 r----- 641.6 Domain-16 16 64 1 --p--- 0.0 nn1 xen # more ttylinux kernel = "/boot/vmlinuz-2.6.12.6-xenU" memory = 64 name = "ttylinux" vif = [ '' ] ip = "80.77.245.163" disk = ['file:/tmp/ttylinux/ttylinux-xen/rootfs,sda1,w'] root = "/dev/sda1 ro" nn1 xen # ls /tmp/ttylinux/ttylinux-xen /tmp/ttylinux/ttylinux-xen /var/log/xend says:[2006-02-09 15:20:48 xend.XendDomainInfo] DEBUG (XendDomainInfo:177) XendDomainInfo.create(['vm', ['name', 'ttylinux'], ['memory', '64'], ['vcpus', '1'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xenU'], ['ip', '80.77.245.163:1.2.3.4::::eth0:off'], ['root', '/dev/sda1 ro']]], ['device', ['vbd', ['uname', 'file:/tmp/ttylinux/ttylinux-xen'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vif']]]) [2006-02-09 15:20:48 xend.XendDomainInfo] DEBUG (XendDomainInfo:282) parseConfig: config is ['vm', ['name', 'ttylinux'], ['memory', '64'], ['vcpus', '1'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xenU'], ['ip', '80.77.245.163:1.2.3.4::::eth0:off'], ['root', '/dev/sda1 ro']]], ['device', ['vbd', ['uname', 'file:/tmp/ttylinux/ttylinux-xen'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vif']]] [2006-02-09 15:20:48 xend.XendDomainInfo] DEBUG (XendDomainInfo:376) parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash': None, 'on_reboot': None, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xenU'], ['ip', '80.77.245.163:1.2.3.4::::eth0:off'], ['root', '/dev/sda1 ro']], 'on_poweroff': None, 'cpus': None, 'name': 'ttylinux', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail': None, 'memory': 64, 'device': [('vbd', ['vbd', ['uname', 'file:/tmp/ttylinux/ttylinux-xen'], ['dev', 'sda1'], ['mode', 'w']]), ('vif', ['vif'])], 'bootloader': None, 'cpu': None, 'maxmem': None} [2006-02-09 15:20:48 xend.XendDomainInfo] DEBUG (XendDomainInfo:1130) XendDomainInfo.construct: None 0 [2006-02-09 15:20:48 xend.XendDomainInfo] DEBUG (XendDomainInfo:1162) XendDomainInfo.initDomain: 16 1.0 [2006-02-09 15:20:48 xend] DEBUG (balloon:84) Balloon: free 1895; need 65; done. [2006-02-09 15:20:48 xend] INFO (image:133) buildDomain os=linux dom=16 vcpus=1 [2006-02-09 15:20:48 xend] DEBUG (image:171) dom = 16[2006-02-09 15:20:48 xend] DEBUG (image:172) image = /boot/vmlinuz-2.6.12.6-xenU [2006-02-09 15:20:48 xend] DEBUG (image:173) store_evtchn = 1 [2006-02-09 15:20:48 xend] DEBUG (image:174) console_evtchn = 2[2006-02-09 15:20:48 xend] DEBUG (image:175) cmdline = ip=80.77.245.163:1.2.3.4::::eth0:off root=/dev/sda1 ro [2006-02-09 15:20:48 xend] DEBUG (image:176) ramdisk = [2006-02-09 15:20:48 xend] DEBUG (image:177) vcpus = 1[2006-02-09 15:20:48 xend] CRITICAL (SrvDaemon:190) Xend died due to signal 11! Restarting it. [2006-02-09 15:20:48 xend] INFO (SrvDaemon:278) Xend Daemon started[2006-02-09 15:20:48 xend] INFO (SrvDaemon:282) Xend changeset: Tue Jan 31 11:04:12 2006 +0100 8738:eff96462fde8. [2006-02-09 15:20:48 xend.XendDomainInfo] DEBUG (XendDomainInfo:199) XendDomainInfo.recreate({'paused': 0, 'cpu_time': 640829708489L, 'ssidref': 0, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'shutdown_reason': 0, 'dying': 0, 'dom': 0, 'mem_kb': 128000, 'maxmem_kb': -4, 'max_vcpu_id': 1, 'crashed': 0, 'running': 1, 'shutdown': 0, 'online_vcpus': 2, 'blocked': 0}) [2006-02-09 15:20:48 xend.XendDomainInfo] INFO (XendDomainInfo:211) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. [2006-02-09 15:20:48 xend] DEBUG (XendDomain:151) number of vcpus to use is 0 [2006-02-09 15:20:48 xend.XendDomainInfo] DEBUG (XendDomainInfo:199) XendDomainInfo.recreate({'paused': 1, 'cpu_time': 0L, 'ssidref': 0, 'handle': [95, 69, 121, 38, 202, 12, 213, 93, 246, 190, 23, 141, 252, 207, 203, 47], 'shutdown_reason': 0, 'dying': 0, 'dom': 16, 'mem_kb': 65536, 'maxmem_kb': 65536, 'max_vcpu_id': 0, 'crashed': 0, 'running': 0, 'shutdown': 0, 'online_vcpus': 1, 'blocked': 0}) [2006-02-09 15:20:48 xend.XendDomainInfo] INFO (XendDomainInfo:211) Recreating domain 16, UUID 5f457926-ca0c-d55d-f6be-178dfccfcb2f. [2006-02-09 15:20:48 xend.XendDomainInfo] DEBUG (XendDomainInfo:663) Storing VM details: {'ssidref': '0', 'uuid': '5f457926-ca0c-d55d-f6be-178dfccfcb2f', 'on_reboot': 'restart', 'image': '()', 'on_poweroff': 'destroy', 'name': 'Domain-16', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '64', 'on_crash': 'restart', 'maxmem': '64'} [2006-02-09 15:20:48 xend.XendDomainInfo] DEBUG (XendDomainInfo:688) Storing domain details: {'cpu/0/availability': 'online', 'memory/target': '65536', 'name': 'Domain-16', 'console/limit': '1048576', 'vm': '/vm/5f457926-ca0c-d55d-f6be-178dfccfcb2f', 'domid': '16'} [2006-02-09 15:20:48 xend] INFO (SrvServer:114) unix path=/var/lib/xend/xend-socket [2006-02-09 15:20:53 xend.XendDomainInfo] DEBUG (XendDomainInfo:177) XendDomainInfo.create(['vm', ['name', 'ttylinux'], ['memory', '64'], ['vcpus', '1'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xenU'], ['ip', '80.77.245.163:1.2.3.4::::eth0:off'], ['root', '/dev/sda1 ro']]], ['device', ['vbd', ['uname', 'file:/tmp/ttylinux/ttylinux-xen'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vif']]]) [2006-02-09 15:20:53 xend.XendDomainInfo] DEBUG (XendDomainInfo:282) parseConfig: config is ['vm', ['name', 'ttylinux'], ['memory', '64'], ['v cpus', '1'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xenU'], ['ip', '80.77.245.163:1.2.3.4::::eth0:off'], ['root', '/dev/sda1 ro']]], ['device', ['vbd', ['uname', 'file:/tmp/ttylinux/ttylinux-xen'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vif']]] [2006-02-09 15:20:53 xend.XendDomainInfo] DEBUG (XendDomainInfo:376) parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash': None, 'on_reboot': None, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xenU'], ['ip', '80.77.245.163:1.2.3.4::::eth0:off'], ['root', '/dev/sda1 ro']], 'on_poweroff': None, 'cpus': None, 'name': 'ttylinux', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail': None, 'memory': 64, 'device': [('vbd', ['vbd', ['uname', 'file:/tmp/ttylinux/ttylinux-xen'], ['dev', 'sda1'], ['mode', 'w']]), ('vif', ['vif'])], 'bootloader': None, 'cpu': None, 'maxmem': None} [2006-02-09 15:20:53 xend.XendDomainInfo] DEBUG (XendDomainInfo:1130) XendDomainInfo.construct: None 0 [2006-02-09 15:20:53 xend.XendDomainInfo] DEBUG (XendDomainInfo:1162) XendDomainInfo.initDomain: 17 1.0 [2006-02-09 15:20:53 xend] DEBUG (balloon:84) Balloon: free 1831; need 65; done. [2006-02-09 15:20:53 xend] INFO (image:133) buildDomain os=linux dom=17 vcpus=1 [2006-02-09 15:20:53 xend] DEBUG (image:171) dom = 17[2006-02-09 15:20:53 xend] DEBUG (image:172) image = /boot/vmlinuz-2.6.12.6-xenU [2006-02-09 15:20:53 xend] DEBUG (image:173) store_evtchn = 1 [2006-02-09 15:20:53 xend] DEBUG (image:174) console_evtchn = 2[2006-02-09 15:20:53 xend] DEBUG (image:175) cmdline = ip=80.77.245.163:1.2.3.4::::eth0:off root=/dev/sda1 ro [2006-02-09 15:20:53 xend] DEBUG (image:176) ramdisk = [2006-02-09 15:20:53 xend] DEBUG (image:177) vcpus = 1[2006-02-09 15:20:53 xend] CRITICAL (SrvDaemon:190) Xend died due to signal 11! Restarting it. [2006-02-09 15:20:53 xend] INFO (SrvDaemon:278) Xend Daemon started[2006-02-09 15:20:53 xend] INFO (SrvDaemon:282) Xend changeset: Tue Jan 31 11:04:12 2006 +0100 8738:eff96462fde8. [2006-02-09 15:20:53 xend.XendDomainInfo] DEBUG (XendDomainInfo:199) XendDomainInfo.recreate({'paused': 0, 'cpu_time': 641138787157L, 'ssidref': 0, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'shutdown_reason': 0, 'dying': 0, 'dom': 0, 'mem_kb': 128000, 'maxmem_kb': -4, 'max_vcpu_id': 1, 'crashed': 0, 'running': 1, 'shutdown': 0, 'online_vcpus': 2, 'blocked': 0}) [2006-02-09 15:20:53 xend.XendDomainInfo] INFO (XendDomainInfo:211) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. [2006-02-09 15:20:53 xend] DEBUG (XendDomain:151) number of vcpus to use is 0 [2006-02-09 15:20:53 xend.XendDomainInfo] DEBUG (XendDomainInfo:199) XendDomainInfo.recreate({'paused': 1, 'cpu_time': 0L, 'ssidref': 0, 'handle': [95, 69, 121, 38, 202, 12, 213, 93, 246, 190, 23, 141, 252, 207, 203, 47], 'shutdown_reason': 0, 'dying': 0, 'dom': 16, 'mem_kb': 65536, 'maxmem_kb': 65536, 'max_vcpu_id': 0, 'crashed': 0, 'running': 0, 'shutdown': 0, 'online_vcpus': 1, 'blocked': 0}) [2006-02-09 15:20:53 xend.XendDomainInfo] INFO (XendDomainInfo:211) Recreating domain 16, UUID 5f457926-ca0c-d55d-f6be-178dfccfcb2f. [2006-02-09 15:20:53 xend.XendDomainInfo] DEBUG (XendDomainInfo:199) XendDomainInfo.recreate({'paused': 1, 'cpu_time': 0L, 'ssidref': 0, 'handle': [95, 69, 121, 38, 202, 12, 213, 93, 246, 190, 23, 141, 252, 207, 203, 47], 'shutdown_reason': 0, 'dying': 0, 'dom': 17, 'mem_kb': 65536, 'maxmem_kb': 65536, 'max_vcpu_id': 0, 'crashed': 0, 'running': 0, 'shutdown': 0, 'online_vcpus': 1, 'blocked': 0}) [2006-02-09 15:20:53 xend.XendDomainInfo] INFO (XendDomainInfo:211) Recreating domain 17, UUID 5f457926-ca0c-d55d-f6be-178dfccfcb2f. [2006-02-09 15:20:53 xend] ERROR (XendDomain:209) Failed to recreate information for domain 17. Destroying it in the hope of recovery. Traceback (most recent call last):File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 203, in refresh self._add_domain(File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 235, in recreate vm = XendDomainInfo(xeninfo, domid, dompath, True, priv)File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 433, in __init__ self.validateInfo()File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 561, in validateInfo self.check_name(self.info['name'])File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1118, in check_name raise VmError("VM name '%s' is used in both domains %d and %d" % VmError: VM name 'Domain-16' is used in both domains 17 and 16[2006-02-09 15:20:53 xend] INFO (SrvServer:114) unix path=/var/lib/xend/xend-socket _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |