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

[Xen-devel] Unable to start a domain with no disks

Trying to start a very simple domain with no disk from:
Results in:
        xl: libxl_event.c:1522: libxl__ao_complete_check_progress_reports: 
Assertion `ao->in_initiator' failed.
if I try to autoconnnect the console (ie. xl cr -c).

If I don't try and auto connect to the console then everything is fine
and I can subsequently use "xl cons" to connect.

Backtrace is:
        xl: libxl_event.c:1522: libxl__ao_complete_check_progress_reports: 
Assertion `ao->in_initiator' failed.
        Program received signal SIGABRT, Aborted.
        0xff7fe424 in __kernel_vsyscall ()
        (gdb) bt
        #0  0xff7fe424 in __kernel_vsyscall ()
        #1  0xb7e18781 in raise () from /lib/i686/cmov/libc.so.6
        #2  0xb7e1bbb2 in abort () from /lib/i686/cmov/libc.so.6
        #3  0xb7e118e8 in __assert_fail () from /lib/i686/cmov/libc.so.6
        #4  0xb7faf7c1 in libxl__ao_complete_check_progress_reports 
(egc=0xbffff42c, ao=0x806a870) at libxl_event.c:1522
        #5  0xb7fb035b in egc_run_callbacks (egc=0xbffff42c) at 
        #6  libxl__egc_cleanup (egc=0xbffff42c) at libxl_event.c:1116
        #7  0xb7f95059 in do_domain_create (ctx=<value optimized out>, 
d_config=<value optimized out>, domid=0xbffff74c, restore_fd=-1, ao_how=0x0, 
aop_console_how=0xbffff54c) at libxl_create.c:1197
        #8  0xb7f9510f in libxl_domain_create_new (ctx=0x806a030, 
d_config=0xbffff59c, domid=0xbffff74c, ao_how=0x0, aop_console_how=0xbffff54c) 
at libxl_create.c:1218
        #9  0x0805c5a7 in create_domain (dom_info=<value optimized out>) at 
        #10 0x0805ded2 in main_create (argc=3, argv=0xbffffe5a) at 
        #11 0x0804d41e in main (argc=4, argv=0xbffffd24) at xl.c:285

Full log follows below. Any ideas?


        # xl -vvv cr -c x
        Parsing config from x
        libxl: debug: libxl_create.c:1184:do_domain_create: ao 0x806a870: 
create: how=(nil) callback=(nil) poller=0x806a8b0
        libxl: debug: libxl_create.c:677:initiate_domain_create: running 
        libxl: debug: libxl_bootloader.c:327:libxl__bootloader_run: no 
bootloader configured, using user supplied kernel
        libxl: debug: libxl_event.c:561:libxl__ev_xswatch_deregister: watch 
w=0x806aa84: deregister unregistered
        libxl: debug: libxl_numa.c:435:libxl__get_numa_candidate: New best NUMA 
placement candidate found: nr_nodes=1, nr_cpus=4, nr_vcpus=5, free_memkb=3467
        libxl: detail: libxl_dom.c:192:numa_place_domain: NUMA placement 
candidate with 1 nodes, 4 cpus and 3467 KB free selected
        domainbuilder: detail: xc_dom_allocate: cmdline="console=hvc0", 
        libxl: debug: libxl_dom.c:380:libxl__build_pv: pv kernel mapped 0 path 
        domainbuilder: detail: xc_dom_kernel_file: 
        domainbuilder: detail: xc_dom_malloc_filemap    : 2367 kB
        domainbuilder: detail: xc_dom_ramdisk_file: 
        domainbuilder: detail: xc_dom_malloc_filemap    : 19090 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 ELF-generic loader 
        domainbuilder: detail: loader probe failed
        domainbuilder: detail: xc_dom_find_loader: trying Linux bzImage loader 
        domainbuilder: detail: xc_dom_malloc            : 11914 kB
        domainbuilder: detail: xc_dom_do_gunzip: unzip ok, 0x2485c8 -> 0xba2b00
        domainbuilder: detail: loader probe OK
        xc: detail: elf_parse_binary: phdr: paddr=0x1000000 memsz=0x42d000
        xc: detail: elf_parse_binary: phdr: paddr=0x142d000 memsz=0xd6150
        xc: detail: elf_parse_binary: phdr: paddr=0x1504000 memsz=0x888
        xc: detail: elf_parse_binary: phdr: paddr=0x1505000 memsz=0x160d8
        xc: detail: elf_parse_binary: phdr: paddr=0x151c000 memsz=0x1de000
        xc: detail: elf_parse_binary: memory: 0x1000000 -> 0x16fa000
        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 = 0xffffffff8151c200
        xc: detail: elf_xen_parse_note: HYPERCALL_PAGE = 0xffffffff81009000
        xc: detail: elf_xen_parse_note: FEATURES = 
        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        = 0xffffffff816fa000
        xc: detail:     virt_entry       = 0xffffffff8151c200
        xc: detail:     p2m_base         = 0xffffffffffffffff
        domainbuilder: detail: xc_dom_parse_elf_kernel: xen-3.0-x86_64: 
0xffffffff81000000 -> 0xffffffff816fa000
        domainbuilder: detail: xc_dom_mem_init: mem 128 MB, pages 0x8000 pages, 
4k each
        domainbuilder: detail: xc_dom_mem_init: 0x8000 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            : 128 kB
        domainbuilder: detail: xc_dom_build_image: called
        domainbuilder: detail: xc_dom_alloc_segment:   kernel       : 
0xffffffff81000000 -> 0xffffffff816fa000  (pfn 0x1000 + 0x6fa pages)
        domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 
0x1000+0x6fa at 0xb4ce6000
        xc: detail: elf_load_binary: phdr 0 at 0x0xb4ce6000 -> 0x0xb5113000
        xc: detail: elf_load_binary: phdr 1 at 0x0xb5113000 -> 0x0xb51e9150
        xc: detail: elf_load_binary: phdr 2 at 0x0xb51ea000 -> 0x0xb51ea888
        xc: detail: elf_load_binary: phdr 3 at 0x0xb51eb000 -> 0x0xb52010d8
        xc: detail: elf_load_binary: phdr 4 at 0x0xb5202000 -> 0x0xb5288000
        domainbuilder: detail: xc_dom_alloc_segment:   ramdisk      : 
0xffffffff816fa000 -> 0xffffffff8481c000  (pfn 0x16fa + 0x3122 pages)
        domainbuilder: detail: xc_dom_malloc            : 294 kB
        domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 
0x16fa+0x3122 at 0xb1b7a000
        domainbuilder: detail: xc_dom_do_gunzip: unzip ok, 0x12a4954 -> 
        domainbuilder: detail: xc_dom_alloc_segment:   phys2mach    : 
0xffffffff8481c000 -> 0xffffffff8485c000  (pfn 0x481c + 0x40 pages)
        domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x481c+0x40 
at 0xb1b3a000
        domainbuilder: detail: xc_dom_alloc_page   :   start info   : 
0xffffffff8485c000 (pfn 0x485c)
        domainbuilder: detail: xc_dom_alloc_page   :   xenstore     : 
0xffffffff8485d000 (pfn 0x485d)
        domainbuilder: detail: xc_dom_alloc_page   :   console      : 
0xffffffff8485e000 (pfn 0x485e)
        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 -> 0xffffffff84bfffff, 38 table(s)
        domainbuilder: detail: xc_dom_alloc_segment:   page tables  : 
0xffffffff8485f000 -> 0xffffffff84888000  (pfn 0x485f + 0x29 pages)
        domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x485f+0x29 
at 0xb1b11000
        domainbuilder: detail: xc_dom_alloc_page   :   boot stack   : 
0xffffffff84888000 (pfn 0x4888)
        domainbuilder: detail: xc_dom_build_image  : virt_alloc_end : 
        domainbuilder: detail: xc_dom_build_image  : virt_pgtab_end : 
        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: 
        domainbuilder: detail: xc_dom_compat_check: supported guest type: 
        domainbuilder: detail: xc_dom_compat_check: supported guest type: 
        domainbuilder: detail: xc_dom_compat_check: supported guest type: 
        domainbuilder: detail: xc_dom_update_guest_p2m: dst 64bit, pages 0x8000
        domainbuilder: detail: clear_page: pfn 0x485e, mfn 0xdc43d
        domainbuilder: detail: clear_page: pfn 0x485d, mfn 0xdc43e
        domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x485c+0x1 
at 0xb1b0e000
        domainbuilder: detail: start_info_x86_64: called
        domainbuilder: detail: setup_hypercall_page: vaddr=0xffffffff81009000 
        domainbuilder: detail: domain builder memory footprint
        domainbuilder: detail:    allocated
        domainbuilder: detail:       malloc             : 12383 kB
        domainbuilder: detail:       anon mmap          : 0 bytes
        domainbuilder: detail:    mapped
        domainbuilder: detail:       file mmap          : 21457 kB
        domainbuilder: detail:       domU mmap          : 56 MB
        domainbuilder: detail: arch_setup_bootlate: shared_info: pfn 0x0, mfn 
        domainbuilder: detail: shared_info_x86_64: called
        domainbuilder: detail: vcpu_x86_64: called
        domainbuilder: detail: vcpu_x86_64: cr3: pfn 0x485f mfn 0xdc43c
        domainbuilder: detail: launch_vm: called, ctxt=0xbfd9c2ec
        domainbuilder: detail: xc_dom_release: called
        libxl: debug: libxl_event.c:1677:libxl__ao_progress_report: ao 
0x806a870: progress report: callback queued aop=0x806c010
        libxl: debug: libxl_event.c:1497:libxl__ao_complete: ao 0x806a870: 
complete, rc=0
        libxl: debug: libxl_create.c:1197:do_domain_create: ao 0x806a870: 
inprogress: poller=0x806a8b0, flags=ic
        libxl: debug: libxl_event.c:1469:libxl__ao__destroy: ao 0x806a870: 
        libxl: debug: libxl_event.c:1090:egc_run_callbacks: ao 0x806a870: 
progress report: callback aop=0x806c010
        xl: libxl_event.c:1522: libxl__ao_complete_check_progress_reports: 
Assertion `ao->in_initiator' failed.

Xen-devel mailing list



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