[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Trying to create new domain on 4.3 but domU is starting crashed (-sc-)


  • To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Ian Murray <murrayie@xxxxxxxxxxx>
  • Date: Wed, 24 Jul 2013 19:22:17 +0100 (BST)
  • Delivery-date: Wed, 24 Jul 2013 18:23:31 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=GUb+CfLWHXF/Yeib3o/66usftQGB5+JEtxD2hhE326IXKcz7EODoRizCORkhfNivN7tA7YB2u2ACS3v7FYTClCAl3xBZAFBA4xPFbe/aRwYfKB3Bsvr6vx2c0nTvMii4X5piiWwwnwWAMkgig3bFCW152ShG0G4GgqNmuae7lqY=;
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hi,

I am trying to create a new domain (Ubuntu 12.04 64 bit) but the installer is starting up crashed. This is on Xen 4.3 but on a previous version of Xen (can't remember exactly - post 4.1), I was successful using this config file and the same Ubuntu kernel installer files. In fact the resultant domU from the first time still works fine.

Config file is...


name      = "ubuntu-email"
memory    = 1024
disk      = ['phy:/dev/xen6/ubuntu-email,xvda,w' ]
vif = [ 'mac=00:16:31:xx:xx:xx' ]
kernel    = "/root/xen/ubuntu1204-64/vmlinuz"
ramdisk   = "/root/xen/ubuntu1204-64/initrd.gz"
vcpus     = 2

on_crash  = 'destroy'

When I set it to ,and I try to create it, I get....

root@xen6:/var/log/xen# xl create -c /etc/xen/ubuntu-email-install
Parsing config from /etc/xen/ubuntu-email-install
Daemon running with PID 12086
libxl: error: libxl_dom.c:35:libxl__domain_type: unable to get domain type for domid=34
Unable to attach console
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: console child [0] exited with error status 1

xl list yields...
ubuntu-vpndns                               33  1256     1     ---sc-       0.1

xl -vvvvvv create yields...
root@xen6:/var/log/xen# xl -vvvvvvv create -c /etc/xen/ubuntu-email-install
Parsing config from /etc/xen/ubuntu-email-install
libxl: debug: libxl_create.c:1230:do_domain_create: ao 0x12de690: create: how=(nil) callback=(nil) poller=0x12de6f0
libxl: debug: libxl_device.c:257:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=unknown
libxl: debug: libxl_device.c:296:libxl__device_disk_set_backend: Disk vdev=xvda, using backend phy
libxl: debug: libxl_create.c:675:initiate_domain_create: running bootloader
libxl: debug: libxl_bootloader.c:327:libxl__bootloader_run: no bootloader configured, using user supplied kernel
libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0x12d4118: deregister unregistered
libxl: debug: libxl_numa.c:475:libxl__get_numa_candidate: New best NUMA placement candidate found: nr_nodes=1, nr_cpus=2, nr_vcpus=5, free_memkb=14844
libxl: detail: libxl_dom.c:195:numa_place_domain: NUMA placement candidate with 1 nodes, 2 cpus and 14844 KB free selected
domainbuilder: detail: xc_dom_allocate: cmdline="", features="(null)"
libxl: debug: libxl_dom.c:341:libxl__build_pv: pv kernel mapped 0 path /root/xen/ubuntu1204-64/vmlinuz

domainbuilder: detail: xc_dom_kernel_file: filename="/root/xen/ubuntu1204-64/vmlinuz"
domainbuilder: detail: xc_dom_malloc_filemap    : 4849 kB
domainbuilder: detail: xc_dom_ramdisk_file: filename="/root/xen/ubuntu1204-64/initrd.gz"
domainbuilder: detail: xc_dom_malloc_filemap    : 30178 kB
domainbuilder: detail: xc_dom_boot_xen_init: ver 4.3, caps xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
domainbuilder: detail: xc_dom_parse_image: called
domainbuilder: detail: xc_dom_find_loader: trying multiboot-binary loader ...
domainbuilder: detail: loader probe failed
domainbuilder: detail: xc_dom_find_loader: trying Linux bzImage loader ...
domainbuilder: detail: xc_dom_malloc            : 18254 kB
domainbuilder: detail: xc_dom_do_gunzip: unzip ok, 0x4b34e6 -> 0x11d3aa0
domainbuilder: detail: loader probe OK
xc: detail: elf_parse_binary: phdr: paddr=0x1000000 memsz=0xad5000
xc: detail: elf_parse_binary: phdr: paddr=0x1c00000 memsz=0xe50e0
xc: detail: elf_parse_binary: phdr: paddr=0x1ce6000 memsz=0x14480
xc: detail: elf_parse_binary: phdr: paddr=0x1cfb000 memsz=0x364000
xc: detail: elf_parse_binary: memory: 0x1000000 -> 0x205f000
xc: detail: elf_xen_parse_note: GUEST_OS = "linux"
xc: detail: elf_xen_parse_note: GUEST_VERSION = "2.6"
xc: detail: elf_xen_parse_note: XEN_VERSION = "xen-3.0"
xc: detail: elf_xen_parse_note: VIRT_BASE = 0xffffffff80000000
xc: detail: elf_xen_parse_note: ENTRY = 0xffffffff81cfb200
xc: detail: elf_xen_parse_note: HYPERCALL_PAGE = 0xffffffff81001000
xc: detail: elf_xen_parse_note: FEATURES = "!writable_page_tables|pae_pgdir_above_4gb"
xc: detail: elf_xen_parse_note: PAE_MODE = "yes"
xc: detail: elf_xen_parse_note: LOADER = "generic"
xc: detail: elf_xen_parse_note: unknown xen elf note (0xd)
xc: detail: elf_xen_parse_note: SUSPEND_CANCEL = 0x1
xc: detail: elf_xen_parse_note: HV_START_LOW = 0xffff800000000000
xc: detail: elf_xen_parse_note: PADDR_OFFSET = 0x0
xc: detail: elf_xen_addr_calc_check: addresses:
xc: detail:     virt_base        = 0xffffffff80000000
xc: detail:     elf_paddr_offset = 0x0
xc: detail:     virt_offset      = 0xffffffff80000000
xc: detail:     virt_kstart      = 0xffffffff81000000
xc: detail:     virt_kend        = 0xffffffff8205f000
xc: detail:     virt_entry       = 0xffffffff81cfb200
xc: detail:     p2m_base         = 0xffffffffffffffff
domainbuilder: detail: xc_dom_parse_elf_kernel: xen-3.0-x86_64: 0xffffffff81000000 -> 0xffffffff8205f000
domainbuilder: detail: xc_dom_mem_init: mem 1024 MB, pages 0x40000 pages, 4k each
domainbuilder: detail: xc_dom_mem_init: 0x40000 pages
domainbuilder: detail: xc_dom_boot_mem_init: called
domainbuilder: detail: x86_compat: guest xen-3.0-x86_64, address size 64
domainbuilder: detail: xc_dom_malloc            : 2048 kB
domainbuilder: detail: xc_dom_build_image: called
domainbuilder: detail: xc_dom_alloc_segment:   kernel       : 0xffffffff81000000 -> 0xffffffff8205f000  (pfn 0x1000 + 0x105f pages)
domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x1000+0x105f at 0x7faa7d68f000
xc: detail: elf_load_binary: phdr 0 at 0x7faa7d68f000 -> 0x7faa7e164000
xc: detail: elf_load_binary: phdr 1 at 0x7faa7e28f000 -> 0x7faa7e3740e0
xc: detail: elf_load_binary: phdr 2 at 0x7faa7e375000 -> 0x7faa7e389480
xc: detail: elf_load_binary: phdr 3 at 0x7faa7e38a000 -> 0x7faa7e462000
domainbuilder: detail: xc_dom_alloc_segment:   ramdisk      : 0xffffffff8205f000 -> 0xffffffff86b0a000  (pfn 0x205f + 0x4aab pages)
domainbuilder: detail: xc_dom_malloc            : 448 kB
domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x205f+0x4aab at 0x7faa78be4000
domainbuilder: detail: xc_dom_do_gunzip: unzip ok, 0x1d78b44 -> 0x4aaa810
domainbuilder: detail: xc_dom_alloc_segment:   phys2mach    : 0xffffffff86b0a000 -> 0xffffffff86d0a000  (pfn 0x6b0a + 0x200 pages)
domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x6b0a+0x200 at 0x7faa789e4000
domainbuilder: detail: xc_dom_alloc_page   :   start info   : 0xffffffff86d0a000 (pfn 0x6d0a)
domainbuilder: detail: xc_dom_alloc_page   :   xenstore     : 0xffffffff86d0b000 (pfn 0x6d0b)
domainbuilder: detail: xc_dom_alloc_page   :   console      : 0xffffffff86d0c000 (pfn 0x6d0c)
domainbuilder: detail: nr_page_tables: 0x0000ffffffffffff/48: 0xffff000000000000 -> 0xffffffffffffffff, 1 table(s)
domainbuilder: detail: nr_page_tables: 0x0000007fffffffff/39: 0xffffff8000000000 -> 0xffffffffffffffff, 1 table(s)
domainbuilder: detail: nr_page_tables: 0x000000003fffffff/30: 0xffffffff80000000 -> 0xffffffffbfffffff, 1 table(s)
domainbuilder: detail: nr_page_tables: 0x00000000001fffff/21: 0xffffffff80000000 -> 0xffffffff86ffffff, 56 table(s)
domainbuilder: detail: xc_dom_alloc_segment:   page tables  : 0xffffffff86d0d000 -> 0xffffffff86d48000  (pfn 0x6d0d + 0x3b pages)
domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x6d0d+0x3b at 0x7faa83b34000
domainbuilder: detail: xc_dom_alloc_page   :   boot stack   : 0xffffffff86d48000 (pfn 0x6d48)
domainbuilder: detail: xc_dom_build_image  : virt_alloc_end : 0xffffffff86d49000
domainbuilder: detail: xc_dom_build_image  : virt_pgtab_end : 0xffffffff87000000
domainbuilder: detail: xc_dom_boot_image: called
domainbuilder: detail: arch_setup_bootearly: doing nothing
domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-x86_64 <= matches
domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-x86_32p
domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_32
domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_32p
domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_64
domainbuilder: detail: xc_dom_update_guest_p2m: dst 64bit, pages 0x40000
domainbuilder: detail: clear_page: pfn 0x6d0c, mfn 0x2f06bb
domainbuilder: detail: clear_page: pfn 0x6d0b, mfn 0x2f06bc
domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x6d0a+0x1 at 0x7faa83b31000
domainbuilder: detail: start_info_x86_64: called
domainbuilder: detail: setup_hypercall_page: vaddr=0xffffffff81001000 pfn=0x1001
domainbuilder: detail: domain builder memory footprint
domainbuilder: detail:    allocated
domainbuilder: detail:       malloc             : 20865 kB
domainbuilder: detail:       anon mmap          : 0 bytes
domainbuilder: detail:    mapped
domainbuilder: detail:       file mmap          : 34 MB
domainbuilder: detail:       domU mmap          : 93 MB
domainbuilder: detail: arch_setup_bootlate: shared_info: pfn 0x0, mfn 0xdaa21
domainbuilder: detail: shared_info_x86_64: called
domainbuilder: detail: vcpu_x86_64: called
domainbuilder: detail: vcpu_x86_64: cr3: pfn 0x6d0d mfn 0x2f06ba
domainbuilder: detail: launch_vm: called, ctxt=0x7fff267abd00
domainbuilder: detail: xc_dom_release: called
libxl: debug: libxl_device.c:257:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=phy
libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0x12da608 wpath=/local/domain/0/backend/vbd/37/51712/state token=3/0: register slotnum=3
libxl: debug: libxl_create.c:1243:do_domain_create: ao 0x12de690: inprogress: poller=0x12de6f0, flags=i
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x12da608 wpath=/local/domain/0/backend/vbd/37/51712/state token=3/0: event epath=/local/domain/0/backend/vbd/37/51712/state
libxl: debug: libxl_event.c:647:devstate_watch_callback: backend /local/domain/0/backend/vbd/37/51712/state wanted state 2 still waiting state 1
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x12da608 wpath=/local/domain/0/backend/vbd/37/51712/state token=3/0: event epath=/local/domain/0/backend/vbd/37/51712/state
libxl: debug: libxl_event.c:643:devstate_watch_callback: backend /local/domain/0/backend/vbd/37/51712/state wanted state 2 ok
libxl: debug: libxl_event.c:596:libxl__ev_xswatch_deregister: watch w=0x12da608 wpath=/local/domain/0/backend/vbd/37/51712/state token=3/0: deregister slotnum=3
libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0x12da608: deregister unregistered
libxl: debug: libxl_device.c:959:device_hotplug: calling hotplug script: /etc/xen/scripts/block add
libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0x12dc2c8 wpath=/local/domain/0/backend/vif/37/0/state token=3/1: register slotnum=3
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x12dc2c8 wpath=/local/domain/0/backend/vif/37/0/state token=3/1: event epath=/local/domain/0/backend/vif/37/0/state
libxl: debug: libxl_event.c:643:devstate_watch_callback: backend /local/domain/0/backend/vif/37/0/state wanted state 2 ok
libxl: debug: libxl_event.c:596:libxl__ev_xswatch_deregister: watch w=0x12dc2c8 wpath=/local/domain/0/backend/vif/37/0/state token=3/1: deregister slotnum=3
libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0x12dc2c8: deregister unregistered
libxl: debug: libxl_device.c:959:device_hotplug: calling hotplug script: /etc/xen/scripts/vif-bridge online
libxl: debug: libxl_event.c:472:watchfd_callback: watch epath=/local/domain/0/backend/vif/37/0/state token=3/1: empty slot
libxl: debug: libxl_event.c:1747:libxl__ao_progress_report: ao 0x12de690: progress report: callback queued aop=0x12dd790
libxl: debug: libxl_event.c:1569:libxl__ao_complete: ao 0x12de690: complete, rc=0
libxl: debug: libxl_event.c:1160:egc_run_callbacks: ao 0x12de690: progress report: callback aop=0x12dd790
libxl: debug: libxl_event.c:1541:libxl__ao__destroy: ao 0x12de690: destroy
Daemon running with PID 12734
xc: debug: hypercall buffer: total allocations:496 total releases:496
xc: debug: hypercall buffer: current allocations:0 maximum allocations:4
xc: debug: hypercall buffer: cache current size:4
xc: debug: hypercall buffer: cache hits:486 misses:4 toobig:6


root@xen6:/var/log/xen# xl list
Name                                        ID   Mem VCPUs    State    Time(s)
Domain-0                                     0  1021     2     r-----     985.3
ubuntu-email                                37  1024     1     ---sc-       0.1


Looking at the logs yields....

root@xen6:/var/log/xen# cat xl-ubuntu-email.log


Waiting for domain ubuntu-email (domid 37) to die [pid 12735]
libxl: debug: libxl_event.c:559:libxl__ev_xswatch_register: watch w=0x12da610 wpath=@releaseDomain token=3/0: register slotnum=3
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x12da610 wpath=@releaseDomain token=3/0: event epath=@releaseDomain
libxl: debug: libxl.c:999:domain_death_xswatch_callback: [evg=0x12da420:37] from domid=37 nentries=1 rc=1
libxl: debug: libxl.c:1010:domain_death_xswatch_callback: [evg=0x12da420:37]   got=domaininfos[0] got->domain=37
libxl: debug: libxl.c:1037:domain_death_xswatch_callback:  exists shutdown_reported=0 dominf.flags=ffff0020
libxl: debug: libxl.c:1003:domain_death_xswatch_callback: [evg=0] all reported
libxl: debug: libxl.c:1067:domain_death_xswatch_callback: domain death search done
libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x12da610 wpath=@releaseDomain token=3/0: event epath=@releaseDomain
libxl: debug: libxl.c:999:domain_death_xswatch_callback: [evg=0x12da420:37] from domid=37 nentries=1 rc=1
libxl: debug: libxl.c:1010:domain_death_xswatch_callback: [evg=0x12da420:37]   got=domaininfos[0] got->domain=37
libxl: debug: libxl.c:1037:domain_death_xswatch_callback:  exists shutdown_reported=0 dominf.flags=30004
libxl: debug: libxl.c:1049:domain_death_xswatch_callback:  shutdown reporting
libxl: debug: libxl.c:1003:domain_death_xswatch_callback: [evg=0] all reported
libxl: debug: libxl.c:1067:domain_death_xswatch_callback: domain death search done
Domain 37 has shut down, reason code 3 0x3
Action for shutdown reason code 3 is preserve
Done. Exiting now
libxl: debug: libxl_event.c:596:libxl__ev_xswatch_deregister: watch w=0x12da610 wpath=@releaseDomain token=3/0: deregister slotnum=3
xc: debug: hypercall buffer: total allocations:4 total releases:4
xc: debug: hypercall buffer: current allocations:0 maximum allocations:2
xc: debug: hypercall buffer: cache current size:2
xc: debug: hypercall buffer: cache hits:2 misses:2 toobig:0
root@xen6:/var/log/xen#

Any suggestions would be greatly received.

Thanks,

Ian.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.