From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Bainbridge Subject: Re: Unable to create guest domain AND mm.c/grant_table.c errors Date: Thu, 22 Sep 2005 10:03:59 +0100 Message-ID: <623652d5050922020375622bc5@mail.gmail.com> References: <623652d505092107102af9e745@mail.gmail.com> <3525342c68fe94116bb4887a4e870bdf@cl.cam.ac.uk> <623652d505092110382f3af1e7@mail.gmail.com> <623652d50509220149425f45d9@mail.gmail.com> Reply-To: Chris Bainbridge Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <623652d50509220149425f45d9@mail.gmail.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 22/09/05, Chris Bainbridge wrote: > changeset: 6987:76f4c7ea7602 > > On 21/09/05, Chris Bainbridge wrote: > > > > # xm create ubuntu -c > > Using config file "ubuntu". > > Error: Error creating domain: int argument required ok, cpu=3D-1 in config fixed this error, as per Kips post. But the original problem with the block device still persists! # xm create ubuntu -c store_evtchn =3D 1 xen_mem: Initialising balloon driver. SCSI subsystem initialized Grant table initialized io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered loop: loaded (max 8 devices) Xen virtual console successfully installed as tty1 Event-channel device installed. xen_blk: Initialising virtual block device driver xen_blk: Timeout connecting to device! xen_net: Initialising virtual ethernet driver. NET: Registered protocol family 2 # xend-debug.log ERROR: do_evtchn_op: HYPERVISOR_event_channel_op failed: -1 ERROR: do_evtchn_op: HYPERVISOR_event_channel_op failed: -1 # xend.log [2005-09-22 09:58:07 xend] DEBUG (XendDomainInfo:143) XendDomainInfo.create(/domain, ...) [2005-09-22 09:58:07 xend] DEBUG (XendDomainInfo:210) parseConfig: config is ['vm', ['name', 'ubuntu'], ['memory', '96'], ['ssidref', '0'], ['cpu', '-1'], ['image', ['linux', ['kernel', '/boot/vmlinuzU'], ['root', '/dev/hda1'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c']]], ['device', ['vbd', ['uname', 'file:/var/tmp/ubuntu.img'], ['dev', 'hda1'], ['mode', 'w']]], ['device', ['vif', ['mac', 'aa:00:00:00:00:11'], ['bridge', 'xen-br0']]]] [2005-09-22 09:58:07 xend] DEBUG (XendDomainInfo:250) parseConfig: result is {'ssidref': 0, 'name': 'ubuntu', 'image': ['linux', ['kernel', '/boot/vmlinuzU'], ['root', '/dev/hda1'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c']], 'memory': 96, 'maxmem_kb': None, 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'mem_kb': None, 'device': [('vbd', ['vbd', ['uname', 'file:/var/tmp/ubuntu.img'], ['dev', 'hda1'], ['mode', 'w']]), ('vif', ['vif', ['mac', 'aa:00:00:00:00:11'], ['bridge', 'xen-br0']])], 'restart_mode': None, 'bootloader': None, 'cpu': -1, 'maxmem': None} [2005-09-22 09:58:07 xend] DEBUG (XendDomainInfo:712) XendDomainInfo.construct: calling initDomain(None 98304 0 -1 1.0) [2005-09-22 09:58:07 xend] DEBUG (image:158) initDomain: cpu=3D-1 mem_kb=3D98304 ssidref=3D0 dom=3D1 [2005-09-22 09:58:07 xend] DEBUG (XendDomainInfo:724) init_domain> Created domain=3D1 name=3Dubuntu memory=3D98304 [2005-09-22 09:58:08 xend] INFO (image:193) buildDomain os=3Dlinux dom=3D1 = vcpus=3D1 [2005-09-22 09:58:08 xend] DEBUG (image:239) dom =3D 1 [2005-09-22 09:58:08 xend] DEBUG (image:240) image =3D /boot/vmlin= uzU [2005-09-22 09:58:08 xend] DEBUG (image:241) store_evtchn =3D 1 [2005-09-22 09:58:08 xend] DEBUG (image:242) console_evtchn =3D 2 [2005-09-22 09:58:08 xend] DEBUG (image:243) cmdline =3D root=3D/de= v/hda1 [2005-09-22 09:58:08 xend] DEBUG (image:244) ramdisk =3D [2005-09-22 09:58:08 xend] DEBUG (image:245) flags =3D 0 [2005-09-22 09:58:08 xend] DEBUG (image:246) vcpus =3D 1 [2005-09-22 09:58:08 xend] DEBUG (XendDomainInfo:458) Storing {'xend/state': 'ok', 'memory_KiB': '98304', 'uuid': 'bfe56e71-e231-48fe-8743-979575e94bd7', 'bootloader': 'None', 'vcpus': '1', 'start_time': '1127379487.97', 'cpu': '-1', 'maxmem_KiB': '1073741824', 'memory/target': '98304', 'domid': '1', 'name': 'ubuntu', 'xend/restart_count': '0', 'xend/restart_mode': 'onreboot', 'restart_time': 'None', 'restart_mode': 'onreboot', 'device': "[('vbd', ['vbd', ['uname', 'file:/var/tmp/ubuntu.img'], ['dev', 'hda1'], ['mode', 'w']]), ('vif', ['vif', ['mac', 'aa:00:00:00:00:11'], ['bridge', 'xen-br0']])]", 'cpu_weight': '1.0', 'cpumap': '[1]', 'backend': '[]', 'image': "['linux', ['kernel', '/boot/vmlinuzU'], ['root', '/dev/hda1'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c']]", 'ssidref': '0'} [2005-09-22 09:58:08 xend] DEBUG (DevController:181) DevController: writing {'virtual-device': '769', 'backend-id': '0', 'backend': '/domain/2392ff85-b837-4d95-bbd6-9d76066f3eb1/backend/vbd/bfe56e71-e231-48f= e-8743-979575e94bd7/769'} to /domain/bfe56e71-e231-48fe-8743-979575e94bd7/device/vbd/769. [2005-09-22 09:58:08 xend] DEBUG (DevController:183) DevController: writing {'params': '/var/tmp/ubuntu.img', 'domain': 'ubuntu', 'type': 'file', 'frontend': '/domain/bfe56e71-e231-48fe-8743-979575e94bd7/device/vbd/769', 'frontend-id': '1'} to /domain/2392ff85-b837-4d95-bbd6-9d76066f3eb1/backend/vbd/bfe56e71-e231-48fe= -8743-979575e94bd7/769. [2005-09-22 09:58:08 xend] DEBUG (DevController:181) DevController: writing {'backend-id': '0', 'mac': 'aa:00:00:00:00:11', 'handle': '1', 'backend': '/domain/2392ff85-b837-4d95-bbd6-9d76066f3eb1/backend/vif/bfe56e= 71-e231-48fe-8743-979575e94bd7/1'} to /domain/bfe56e71-e231-48fe-8743-979575e94bd7/device/vif/1. [2005-09-22 09:58:08 xend] DEBUG (DevController:183) DevController: writing {'bridge': 'xen-br0', 'mac': 'aa:00:00:00:00:11', 'handle': '1', 'script': '/etc/xen/scripts/vif-bridge', 'frontend-id': '1', 'domain': 'ubuntu', 'frontend': '/domain/bfe56e71-e231-48fe-8743-979575e94bd7/device/vif/1'} to /domain/2392ff85-b837-4d95-bbd6-9d76066f3eb1/backend/vif/bfe56e71-e231-48fe= -8743-979575e94bd7/1. [2005-09-22 09:58:08 xend] DEBUG (XendDomainInfo:458) Storing {'xend/state': 'ok', 'memory_KiB': '98304', 'uuid': 'bfe56e71-e231-48fe-8743-979575e94bd7', 'bootloader': 'None', 'vcpus': '1', 'start_time': '1127379487.97', 'cpu': '-1', 'maxmem_KiB': '1073741824', 'memory/target': '98304', 'domid': '1', 'name': 'ubuntu', 'xend/restart_count': '0', 'xend/restart_mode': 'onreboot', 'restart_time': 'None', 'restart_mode': 'onreboot', 'device': "[('vbd', ['vbd', ['uname', 'file:/var/tmp/ubuntu.img'], ['dev', 'hda1'], ['mode', 'w']]), ('vif', ['vif', ['mac', 'aa:00:00:00:00:11'], ['bridge', 'xen-br0']])]", 'cpu_weight': '1.0', 'cpumap': '[1]', 'backend': '[]', 'image': "['linux', ['kernel', '/boot/vmlinuzU'], ['root', '/dev/hda1'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c']]", 'ssidref': '0'} [2005-09-22 09:58:08 xend] DEBUG (XendDomainInfo:458) Storing {'xend/state': 'ok', 'memory_KiB': '98304', 'uuid': 'bfe56e71-e231-48fe-8743-979575e94bd7', 'bootloader': 'None', 'vcpus': '1', 'start_time': '1127379487.97', 'cpu': '-1', 'maxmem_KiB': '1073741824', 'memory/target': '98304', 'domid': '1', 'name': 'ubuntu', 'xend/restart_count': '0', 'xend/restart_mode': 'onreboot', 'restart_time': 'None', 'restart_mode': 'onreboot', 'device': "[('vbd', ['vbd', ['uname', 'file:/var/tmp/ubuntu.img'], ['dev', 'hda1'], ['mode', 'w']]), ('vif', ['vif', ['mac', 'aa:00:00:00:00:11'], ['bridge', 'xen-br0']])]", 'cpu_weight': '1.0', 'cpumap': '[1]', 'backend': '[]', 'image': "['linux', ['kernel', '/boot/vmlinuzU'], ['root', '/dev/hda1'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c']]", 'ssidref': '0'} [2005-09-22 09:58:08 xend] INFO (XendRoot:141) EVENT> xend.domain.create ['ubuntu', 1] [2005-09-22 09:58:08 xend] INFO (XendRoot:141) EVENT> xend.domain.unpause ['ubuntu', 1] [2005-09-22 09:58:18 xend] DEBUG (XendDomain:227) domain died name=3Dubuntu domid=3D1 [2005-09-22 09:58:18 xend] DEBUG (XendDomainInfo:802) XendDomainInfo.destro= y [2005-09-22 09:58:18 xend] DEBUG (XendDomainInfo:458) Storing {'xend/state': 'terminated', 'memory_KiB': '98304', 'uuid': 'bfe56e71-e231-48fe-8743-979575e94bd7', 'bootloader': 'None', 'vcpus': '1', 'start_time': '1127379487.97', 'cpu': '-1', 'maxmem_KiB': '1073741824', 'memory/target': '98304', 'domid': '1', 'name': 'ubuntu', 'xend/restart_count': '0', 'xend/restart_mode': 'onreboot', 'restart_time': 'None', 'restart_mode': 'onreboot', 'device': "[('vbd', ['vbd', ['uname', 'file:/var/tmp/ubuntu.img'], ['dev', 'hda1'], ['mode', 'w']]), ('vif', ['vif', ['mac', 'aa:00:00:00:00:11'], ['bridge', 'xen-br0']])]", 'cpu_weight': '1.0', 'cpumap': '[1]', 'backend': '[]', 'image': "['linux', ['kernel', '/boot/vmlinuzU'], ['root', '/dev/hda1'], ['vcpus', '1'], ['vcpus', '1'], ['boot', 'c']]", 'ssidref': '0'} [2005-09-22 09:58:18 xend] DEBUG (XendDomainInfo:539) XendDomainInfo.update({'vcpu_to_cpu': [0, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], 'cpu_time': 16817804111L, 'ssidref': 0, 'shutdown_reason': 0, 'dying': 0, 'dom': 0, 'running': 1, 'maxmem_kb': -4, 'paused': 0, 'crashed': 0, 'vcpus': 2, 'shutdown': 0, 'mem_kb': 93184, 'cpumap': [-1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0}) on domain 0 [2005-09-22 09:58:18 xend] DEBUG (XendDomainInfo:550) XendDomainInfo.update done on domain 0: {'paused': 0, 'shutdown': 0, 'backend': [], 'dying': 0, 'maxmem_KiB': 1073741824, 'cpu_weight': 1.0, 'restart_mode': 'onreboot', 'blocked': 0, 'shutdown_reason': 0, 'crashed': 0, 'running': 1, 'device': [], 'cpumap': [-1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'bootloader': None, 'vcpu_to_cpu': [0, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], 'cpu_time': 16817804111L, 'ssidref': 0, 'memory_KiB': 93184, 'name': 'Domain-0', 'dom': 0, 'vcpus': 2} [2005-09-22 09:58:18 xend] INFO (XendRoot:141) EVENT> xend.domain.died ['ubuntu', 1]