Hi guys,
I built xen 4.6.0 from source on an arm64 system with Ubuntu 16.04 as rootfs. After booting to xen 4.6.0 dom0 with 4.2 kernel, when trying to start domU with xl create, seems no error but domU does not go in running state. In fact state is blank, not in any other state either. Does anyone know if there is anything I'm missing in creating domU using xl create looking at the following steps and logs? Thanks. Here are the details. After compiling xen and tools on the system and make install, running xl gives the following error. root@bandera:~# xl info xc: error: Could not obtain handle on privileged command interface (2 = No such file or directory): Internal error libxl: error: libxl.c:116:libxl_ctx_alloc: cannot open libxc handle: No such file or directory cannot init xl context This is because /proc/xen is not mounted upon booting dom0. Had add the following line in /etc/fstab none /proc/xen xenfs defaults 0 0 xencommons init script is not ran upon booting dom0 Manually start xencommons gives an error. This is because in xencommons script when starting QEMU as disk backend for dom0, the QEMU it defaults to is qemu-system-i386 which does exist. And the system is an arm64 system. But xencommons script went through mounting /proc/xen, starting xenstored and xenconsoled, and setting domain 0 name. So even xencommons script gives an error, xl tool is working. root@bandera:~# /etc/init.d/xencommons start Starting /usr/local/sbin/xenstored.... Setting domain 0 name, domid and JSON config... Done setting up Dom0 Starting xenconsoled... Starting QEMU as disk backend for dom0 /etc/init.d/xencommons: line 102: /usr/local/lib/xen/bin/qemu-system-i386: No such file or directory root@bandera:~# xl list Name ID Mem VCPUs State Time(s) Domain-0 0 1024 1 r----- 32.2 root@bandera:~# Use xl to create dom1 with debug verbose option, it'll create dom1, but it's not in running state. It's not in any of the states. root@bandera:~# xl -vvv create /etc/xen/dom1.cfg Parsing config from /etc/xen/dom1.cfg libxl: debug: libxl_create.c:1557:do_domain_create: ao 0x1f67c9b0: create: how=(nil) callback=(nil) poller=0x1f67ced0 libxl: debug: libxl_arm.c:59:libxl__arch_domain_prepare_config: Configure the domain libxl: debug: libxl_arm.c:62:libxl__arch_domain_prepare_config: - Allocate 0 SPIs libxl: verbose: libxl_create.c:101:libxl__domain_build_info_setdefault: qemu-xen is unavailable, use qemu-xen-traditional instead: No such file or directory libxl: debug: libxl_create.c:945:initiate_domain_create: running bootloader libxl: debug: libxl_bootloader.c:330:libxl__bootloader_run: no bootloader configured, using user supplied kernel libxl: debug: libxl_event.c:691:libxl__ev_xswatch_deregister: watch w=0x1f67d8a0: deregister unregistered domainbuilder: detail: xc_dom_allocate: cmdline="earlycon=xenboot root=/dev/ram console=hvc0", features="(null)" libxl: debug: libxl_dom.c:624:libxl__build_pv: pv kernel mapped 0 path /var/lib/xen/Image42.dom0 domainbuilder: detail: xc_dom_kernel_file: filename="/var/lib/xen/Image42.dom0" domainbuilder: detail: xc_dom_malloc_filemap : 15478 kB domainbuilder: detail: xc_dom_ramdisk_file: filename="/var/lib/xen/buildroot64.cpio.gz" domainbuilder: detail: xc_dom_malloc_filemap : 2632 kB domainbuilder: detail: xc_dom_boot_xen_init: ver 4.6, caps xen-3.0-aarch64 xen-3.0-armv7l domainbuilder: detail: xc_dom_rambase_init: RAM starts at 40000 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 zImage (ARM64) loader ... domainbuilder: detail: loader probe OK domainbuilder: detail: xc_dom_parse_zimage64_kernel: called domainbuilder: detail: xc_dom_parse_zimage64_kernel: xen-3.0-aarch64: 0x40080000 -> 0x40f9da00 libxl: debug: libxl_arm.c:776:libxl__arch_domain_init_hw_description: constructing DTB for Xen version 4.6 guest libxl: debug: libxl_arm.c:777:libxl__arch_domain_init_hw_description: - vGIC version: V3 libxl: debug: libxl_arm.c:273:make_chosen_node: /chosen/bootargs = earlycon=xenboot root=/dev/ram console=hvc0 libxl: debug: libxl_arm.c:280:make_chosen_node: /chosen adding placeholder linux,initrd properties libxl: debug: libxl_arm.c:380:make_memory_nodes: Creating placeholder node /memory@40000000 libxl: debug: libxl_arm.c:380:make_memory_nodes: Creating placeholder node /memory@200000000 libxl: debug: libxl_arm.c:871:libxl__arch_domain_init_hw_description: fdt total size 1390 domainbuilder: detail: xc_dom_devicetree_mem: called 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: set_mode: guest xen-3.0-aarch64, address size 64 domainbuilder: detail: xc_dom_malloc : 2048 kB domainbuilder: detail: populate_guest_memory: populating RAM @ 0000000040000000-0000000080000000 (1024MB) domainbuilder: detail: populate_one_size: populated 0x200/0x200 entries with shift 9 domainbuilder: detail: arch_setup_meminit: placing boot modules at 0x48000000 domainbuilder: detail: arch_setup_meminit: ramdisk: 0x48000000 -> 0x48293000 domainbuilder: detail: arch_setup_meminit: devicetree: 0x48293000 -> 0x48294000 libxl: debug: libxl_arm.c:936:libxl__arch_domain_finalise_hw_description: /chosen updating initrd properties to cover 48000000-48293000 libxl: debug: libxl_arm.c:902:finalise_one_memory_node: Populating placeholder node /memory@40000000 libxl: debug: libxl_arm.c:896:finalise_one_memory_node: Nopping out placeholder node /memory@200000000 domainbuilder: detail: xc_dom_build_image: called domainbuilder: detail: xc_dom_alloc_segment: kernel : 0x40080000 -> 0x40f9e000 (pfn 0x40080 + 0xf1e pages) domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x40080+0xf1e at 0x7f96692000 domainbuilder: detail: xc_dom_load_zimage_kernel: called domainbuilder: detail: xc_dom_load_zimage_kernel: kernel seg 0x40080000-0x40f9e000 domainbuilder: detail: xc_dom_load_zimage_kernel: copy 15849984 bytes from blob 0x7f97a44000 to dst 0x7f96692000 domainbuilder: detail: xc_dom_alloc_segment: ramdisk : 0x48000000 -> 0x48293000 (pfn 0x48000 + 0x293 pages) domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x48000+0x293 at 0x7f963ff000 domainbuilder: detail: xc_dom_alloc_segment: devicetree : 0x48293000 -> 0x48294000 (pfn 0x48293 + 0x1 pages) domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x48293+0x1 at 0x7f98cc3000 domainbuilder: detail: alloc_magic_pages: called domainbuilder: detail: count_pgtables_arm: called domainbuilder: detail: xc_dom_build_image : virt_alloc_end : 0x48294000 domainbuilder: detail: xc_dom_build_image : virt_pgtab_end : 0x0 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-aarch64 <= matches domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-armv7l domainbuilder: detail: setup_pgtables_arm: called domainbuilder: detail: clear_page: pfn 0x39000, mfn 0x39000 domainbuilder: detail: clear_page: pfn 0x39001, mfn 0x39001 domainbuilder: detail: start_info_arm: called domainbuilder: detail: domain builder memory footprint domainbuilder: detail: allocated domainbuilder: detail: malloc : 2156 kB domainbuilder: detail: anon mmap : 0 bytes domainbuilder: detail: mapped domainbuilder: detail: file mmap : 18111 kB domainbuilder: detail: domU mmap : 18120 kB domainbuilder: detail: vcpu_arm64: called domainbuilder: detail: DTB 48293000 domainbuilder: detail: Initial state CPSR 0x1c5 PC 0x40080000 domainbuilder: detail: launch_vm: called, ctxt=0x7f98cc5004 domainbuilder: detail: xc_dom_gnttab_hvm_seed: called, pfn=0x38000 domainbuilder: detail: xc_dom_release: called libxl: debug: libxl_event.c:2183:libxl__ao_progress_report: ao 0x1f67c9b0: progress report: ignored libxl: debug: libxl_event.c:1874:libxl__ao_complete: ao 0x1f67c9b0: complete, rc=0 libxl: debug: libxl_create.c:1580:do_domain_create: ao 0x1f67c9b0: inprogress: poller=0x1f67ced0, flags=ic libxl: debug: libxl_event.c:1843:libxl__ao__destroy: ao 0x1f67c9b0: destroy xc: debug: hypercall buffer: total allocations:98 total releases:98 xc: debug: hypercall buffer: current allocations:0 maximum allocations:3 xc: debug: hypercall buffer: cache current size:3 xc: debug: hypercall buffer: cache hits:86 misses:3 toobig:9 root@bandera:~# root@bandera:~# xl list Name ID Mem VCPUs State Time(s) Domain-0 0 1024 1 r----- 34.5 dom1 1 1024 1 ------ 4.6 root@bandera:~# Because dom1 is not in running state, connecting to dom1 console using xl hangs root@bandera:~# xl console dom1 Things that are running at the time. root@bandera:/# ps -ef | grep xen root 17 2 0 23:25 ? 00:00:00 [xenwatch] root 38 2 0 23:25 ? 00:00:00 [xenbus] root 1222 2 0 23:25 ? 00:00:00 [xenbus_frontend] root 5266 1 0 23:28 ? 00:00:00 /usr/local/sbin/xenstored --pid-file /var/run/xenstored.pid root 5274 1 0 23:29 ? 00:00:00 /usr/local/sbin/xenconsoled --pid-file=/var/run/xenconsoled.pid root 5406 1 0 23:30 ? 00:00:00 xl create /etc/xen/dom1.cfg root 5409 5386 0 23:30 pts/1 00:00:00 /usr/local/lib/xen/bin/xenconsole 1 --num 0 --type pv root 5463 5324 0 23:53 pts/0 00:00:00 grep --color=auto xen Here is the content of dom1.cfg # ===================================================================== # Example PV Linux guest configuration # ===================================================================== # # This is a fairly minimal example of what is required for a # Paravirtualised Linux guest. For a more complete guide see xl.cfg(5) # Guest name name = "dom1" serial = 'pty' # 128-bit UUID for the domain as a hexadecimal number. # Use "uuidgen" to generate one if required. # The default behavior is to generate a new UUID each time the guest is started. #uuid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" # Kernel image to boot kernel = "/var/lib/xen/Image42.dom0" # Ramdisk (optional) ramdisk = "/var/lib/xen/buildroot64.cpio.gz" # Kernel command line options extra = "earlycon=xenboot root=/dev/ram console=hvc0" # Initial memory allocation (MB) memory = 1024 # Maximum memory (MB) # If this is greater than `memory' then the slack will start ballooned # (this assumes guest kernel support for ballooning) #maxmem = 512 # Number of VCPUS vcpus = 1 # Network devices # A list of 'vifspec' entries as described in # docs/misc/xl-network-configuration.markdown #vif = [ '' ] # Disk Devices # A list of `diskspec' entries as described in # docs/misc/xl-disk-configuration.txt #disk = [ '/dev/vg/guest-volume,raw,xvda,rw' ] The content of /var/log/xen/xl-dom1.log Waiting for domain dom1 (domid 1) to die [pid 5357] libxl: debug: libxl_event.c:639:libxl__ev_xswatch_register: watch w=0x32db8038 wpath=@releaseDomain token=3/0: register slotnum=3 libxl: debug: libxl_event.c:576:watchfd_callback: watch w=0x32db8038 wpath=@releaseDomain token=3/0: event epath=@releaseDomain libxl: debug: libxl.c:1207:domain_death_xswatch_callback: [evg=0x32db7ab0:1] nentries=1 rc=1 1..1 libxl: debug: libxl.c:1218:domain_death_xswatch_callback: [evg=0x32db7ab0:1] got=domaininfos[0] got->domain=1 libxl: debug: libxl.c:1245:domain_death_xswatch_callback: exists shutdown_reported=0 dominf.flags=ffff0000 libxl: debug: libxl.c:1211:domain_death_xswatch_callback: [evg=0] all reported libxl: debug: libxl.c:1274:domain_death_xswatch_callback: domain death search done The content of /var/log/xen/xenstored-trace.log *** TDB: tdb_open_ex: could not open file /var/lib/xenstored/tdb: No such file or directory Checking store ... Checking store complete. CREATE connection 0x33c262d0 CREATE connection 0x33c26c50 IN 0x33c26c50 20160328 05:22:09 READ (/ ) DESTROY connection 0x33c26c50 CREATE connection 0x33c26c50 CREATE connection 0x33c27090 IN 0x33c27090 20160328 05:22:11 READ (/local/domain/0/domid ) OUT 0x33c27090 20160328 05:22:11 ERROR (ENOENT ) IN 0x33c27090 20160328 05:22:11 READ (/local/domain/0/name ) OUT 0x33c27090 20160328 05:22:11 ERROR (ENOENT ) IN 0x33c27090 20160328 05:22:11 WRITE (/local/domain/0/domid 0) OUT 0x33c27090 20160328 05:22:11 WRITE (OK ) IN 0x33c27090 20160328 05:22:11 WRITE (/local/domain/0/name Domain-0) OUT 0x33c27090 20160328 05:22:11 WRITE (OK ) DESTROY connection 0x33c26c50 DESTROY connection 0x33c27090 CREATE connection 0x33c27090 IN 0x33c27090 20160328 05:22:11 WATCH (@introduceDomain domlist ) CREATE watch 0x33c26fa0 OUT 0x33c27090 20160328 05:22:11 WATCH (OK ) OUT 0x33c27090 20160328 05:22:11 WATCH_EVENT (@introduceDomain domlist ) IN 0x33c27090 20160328 05:22:11 WATCH (@releaseDomain domlist ) CREATE watch 0x33c26ea0 OUT 0x33c27090 20160328 05:22:11 WATCH (OK ) OUT 0x33c27090 20160328 05:22:11 WATCH_EVENT (@releaseDomain domlist ) CREATE connection 0x33c26c50 IN 0x33c26c50 20160328 05:22:12 READ (/local/domain/0/name ) OUT 0x33c26c50 20160328 05:22:12 READ (Domain-0) DESTROY connection 0x33c26c50 CREATE connection 0x33c26c50 IN 0x33c26c50 20160328 05:22:12 READ (/local/domain/0/name ) OUT 0x33c26c50 20160328 05:22:12 READ (Domain-0) DESTROY connection 0x33c26c50 CREATE connection 0x33c26c50 IN 0x33c26c50 20160328 05:29:45 READ (/local/domain/0/name ) OUT 0x33c26c50 20160328 05:29:45 READ (Domain-0) DESTROY connection 0x33c26c50 CREATE connection 0x33c26c50 IN 0x33c26c50 20160328 05:30:29 READ (/local/pool/0/name ) OUT 0x33c26c50 20160328 05:30:29 ERROR (ENOENT ) IN 0x33c26c50 20160328 05:30:29 GET_DOMAIN_PATH (1 ) OUT 0x33c26c50 20160328 05:30:29 GET_DOMAIN_PATH (/local/domain/1 ) IN 0x33c26c50 20160328 05:30:29 TRANSACTION_START ( ) OUT 0x33c26c50 20160328 05:30:29 TRANSACTION_START (1 ) IN 0x33c26c50 20160328 05:30:29 RM (/local/domain/1 ) OUT 0x33c26c50 20160328 05:30:29 RM (OK ) IN 0x33c26c50 20160328 05:30:29 MKDIR (/local/domain/1 ) OUT 0x33c26c50 20160328 05:30:29 MKDIR (OK ) IN 0x33c26c50 20160328 05:30:29 SET_PERMS (/local/domain/1 n0 r1 ) OUT 0x33c26c50 20160328 05:30:29 SET_PERMS (OK ) IN 0x33c26c50 20160328 05:30:29 RM (/vm/0f9e3910-04f4-4d88-acd6-4b4679c737f2 ) OUT 0x33c26c50 20160328 05:30:29 ERROR (ENOENT ) IN 0x33c26c50 20160328 05:30:29 MKDIR (/vm/0f9e3910-04f4-4d88-acd6-4b4679c737f2 ) OUT 0x33c26c50 20160328 05:30:29 MKDIR (OK ) IN 0x33c26c50 20160328 05:30:29 SET_PERMS (/vm/0f9e3910-04f4-4d88-acd6-4b4679c737f2 n0 r1 ) OUT 0x33c26c50 20160328 05:30:29 SET_PERMS (OK ) IN 0x33c26c50 20160328 05:30:29 RM (/libxl/1 ) OUT 0x33c26c50 20160328 05:30:29 ERROR (ENOENT ) IN 0x33c26c50 20160328 05:30:29 MKDIR (/libxl/1 ) OUT 0x33c26c50 20160328 05:30:29 MKDIR (OK ) IN 0x33c26c50 20160328 05:30:29 SET_PERMS (/libxl/1 n0 ) OUT 0x33c26c50 20160328 05:30:29 SET_PERMS (OK ) IN 0x33c26c50 20160328 05:30:29 WRITE (/local/domain/1/vm /vm/0f9e3910-04f4-4d88-acd6-4b4679c737f2) OUT 0x33c26c50 20160328 05:30:29 WRITE (OK ) IN 0x33c26c50 20160328 05:30:29 GET_DOMAIN_PATH (1 ) OUT 0x33c26c50 20160328 05:30:29 GET_DOMAIN_PATH (/local/domain/1 ) IN 0x33c26c50 20160328 05:30:29 GET_DOMAIN_PATH (1 ) OUT 0x33c26c50 20160328 05:30:29 GET_DOMAIN_PATH (/local/domain/1 ) IN 0x33c26c50 20160328 05:30:29 READ (/local/domain/1/image/device-model-domid ) OUT 0x33c26c50 20160328 05:30:29 ERROR (ENOENT ) IN 0x33c26c50 20160328 05:30:29 READ (/local/domain/0/name ) OUT 0x33c26c50 20160328 05:30:29 READ (Domain-0) IN 0x33c26c50 20160328 05:30:29 READ (/local/domain/1/name ) OUT 0x33c26c50 20160328 05:30:29 ERROR (ENOENT ) IN 0x33c26c50 20160328 05:30:29 WRITE (/local/domain/1/name dom1) OUT 0x33c26c50 20160328 05:30:29 WRITE (OK ) IN 0x33c26c50 20160328 05:30:29 WRITE (/vm/0f9e3910-04f4-4d88-acd6-4b4679c737f2/name dom1) OUT 0x33c26c50 20160328 05:30:29 WRITE (OK ) IN 0x33c26c50 20160328 05:30:29 MKDIR (/local/domain/1/cpu ) OUT 0x33c26c50 20160328 05:30:29 MKDIR (OK ) IN 0x33c26c50 20160328 05:30:29 SET_PERMS (/local/domain/1/cpu n0 r1 ) OUT 0x33c26c50 20160328 05:30:29 SET_PERMS (OK ) IN 0x33c26c50 20160328 05:30:29 MKDIR (/local/domain/1/memory ) OUT 0x33c26c50 20160328 05:30:29 MKDIR (OK ) IN 0x33c26c50 20160328 05:30:29 SET_PERMS (/local/domain/1/memory n0 r1 ) OUT 0x33c26c50 20160328 05:30:29 SET_PERMS (OK ) IN 0x33c26c50 20160328 05:30:29 MKDIR (/local/domain/1/device ) OUT 0x33c26c50 20160328 05:30:29 MKDIR (OK ) IN 0x33c26c50 20160328 05:30:29 SET_PERMS (/local/domain/1/device n0 r1 ) OUT 0x33c26c50 20160328 05:30:29 SET_PERMS (OK ) IN 0x33c26c50 20160328 05:30:29 MKDIR (/local/domain/1/control ) OUT 0x33c26c50 20160328 05:30:29 MKDIR (OK ) IN 0x33c26c50 20160328 05:30:29 SET_PERMS (/local/domain/1/control n0 r1 ) OUT 0x33c26c50 20160328 05:30:29 SET_PERMS (OK ) IN 0x33c26c50 20160328 05:30:29 MKDIR (/local/domain/1/control/shutdown ) OUT 0x33c26c50 20160328 05:30:29 MKDIR (OK ) IN 0x33c26c50 20160328 05:30:29 SET_PERMS (/local/domain/1/control/shutdown n1 ) OUT 0x33c26c50 20160328 05:30:29 SET_PERMS (OK ) IN 0x33c26c50 20160328 05:30:29 MKDIR (/local/domain/1/device/suspend/event-channel ) OUT 0x33c26c50 20160328 05:30:29 MKDIR (OK ) IN 0x33c26c50 20160328 05:30:29 SET_PERMS (/local/domain/1/device/suspend/event-channel n1 ) OUT 0x33c26c50 20160328 05:30:29 SET_PERMS (OK ) IN 0x33c26c50 20160328 05:30:29 MKDIR (/local/domain/1/data ) OUT 0x33c26c50 20160328 05:30:29 MKDIR (OK ) IN 0x33c26c50 20160328 05:30:29 SET_PERMS (/local/domain/1/data n1 ) OUT 0x33c26c50 20160328 05:30:29 SET_PERMS (OK ) IN 0x33c26c50 20160328 05:30:29 GET_DOMAIN_PATH (1 ) OUT 0x33c26c50 20160328 05:30:29 GET_DOMAIN_PATH (/local/domain/1 ) IN 0x33c26c50 20160328 05:30:29 READ (/local/domain/1/target ) OUT 0x33c26c50 20160328 05:30:29 ERROR (ENOENT ) IN 0x33c26c50 20160328 05:30:29 WRITE (/vm/0f9e3910-04f4-4d88-acd6-4b4679c737f2/uuid 0f9e3910-04f4-4d88-acd6-4b4679c737f2) OUT 0x33c26c50 20160328 05:30:29 WRITE (OK ) IN 0x33c26c50 20160328 05:30:29 WRITE (/vm/0f9e3910-04f4-4d88-acd6-4b4679c737f2/name dom1) OUT 0x33c26c50 20160328 05:30:29 WRITE (OK ) IN 0x33c26c50 20160328 05:30:29 WRITE (/local/domain/1/control/platform-feature-multiprocessor-suspend 1) OUT 0x33c26c50 20160328 05:30:29 WRITE (OK ) IN 0x33c26c50 20160328 05:30:29 WRITE (/local/domain/1/control/platform-feature-xs_reset_watches 1) OUT 0x33c26c50 20160328 05:30:29 WRITE (OK ) IN 0x33c26c50 20160328 05:30:29 TRANSACTION_END (T ) DESTROY transaction 0x33c37470 OUT 0x33c26c50 20160328 05:30:29 TRANSACTION_END (OK ) IN 0x33c26c50 20160328 05:30:29 READ (/local/pool/0/name ) OUT 0x33c26c50 20160328 05:30:29 ERROR (ENOENT ) IN 0x33c26c50 20160328 05:30:29 READ (/tool/xenstored/domid ) OUT 0x33c26c50 20160328 05:30:29 ERROR (ENOENT ) IN 0x33c26c50 20160328 05:30:29 READ (/tool/xenconsoled/domid ) OUT 0x33c26c50 20160328 05:30:29 ERROR (ENOENT ) IN 0x33c26c50 20160328 05:30:33 READ (/local/pool/0/name ) OUT 0x33c26c50 20160328 05:30:33 ERROR (ENOENT ) IN 0x33c26c50 20160328 05:30:33 GET_DOMAIN_PATH (1 ) OUT 0x33c26c50 20160328 05:30:33 GET_DOMAIN_PATH (/local/domain/1 ) IN 0x33c26c50 20160328 05:30:33 READ (/local/domain/1/vm ) OUT 0x33c26c50 20160328 05:30:33 READ (/vm/0f9e3910-04f4-4d88-acd6-4b4679c737f2) IN 0x33c26c50 20160328 05:30:33 TRANSACTION_START ( ) OUT 0x33c26c50 20160328 05:30:33 TRANSACTION_START (2 ) IN 0x33c26c50 20160328 05:30:33 WRITE (/local/domain/1/memory/static-max 1048576) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/local/domain/1/memory/target 1048576) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/local/domain/1/memory/videoram 0) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/local/domain/1/domid 1) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/local/domain/1/store/port 1) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/local/domain/1/store/ring-ref 233473) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/local/domain/1/cpu/0/availability online) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/vm/0f9e3910-04f4-4d88-acd6-4b4679c737f2/image/ostype linux) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/vm/0f9e3910-04f4-4d88-acd6-4b4679c737f2/image/kernel /var/lib/xen/Image42.dom0) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/vm/0f9e3910-04f4-4d88-acd6-4b4679c737f2/start_time 1459143029.82) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/vm/0f9e3910-04f4-4d88-acd6-4b4679c737f2/image/ramdisk /var/lib/xen/buildroot64.cpio.gz) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/vm/0f9e3910-04f4-4d88-acd6-4b4679c737f2/image/cmdline earlycon=xenboot root=/dev/ram console=hvc0) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 TRANSACTION_END (T ) DESTROY transaction 0x33c47c70 OUT 0x33c26c50 20160328 05:30:33 TRANSACTION_END (OK ) IN 0x33c26c50 20160328 05:30:33 INTRODUCE (1 233473 1 ) CREATE connection 0x33c475f0 OUT 0x33c27090 20160328 05:30:33 WATCH_EVENT (@introduceDomain domlist ) OUT 0x33c26c50 20160328 05:30:33 INTRODUCE (OK ) IN 0x33c27090 20160328 05:30:33 GET_DOMAIN_PATH (1 ) IN 0x33c26c50 20160328 05:30:33 WRITE (/libxl/1/dm-version qemu_xen_traditional) OUT 0x33c27090 20160328 05:30:33 GET_DOMAIN_PATH (/local/domain/1 ) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c27090 20160328 05:30:33 WATCH (/local/domain/1/console dom1 ) CREATE watch 0x33c272c0 IN 0x33c26c50 20160328 05:30:33 GET_DOMAIN_PATH (1 ) OUT 0x33c27090 20160328 05:30:33 WATCH (OK ) OUT 0x33c26c50 20160328 05:30:33 GET_DOMAIN_PATH (/local/domain/1 ) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/ring-ref ) IN 0x33c26c50 20160328 05:30:33 GET_DOMAIN_PATH (0 ) OUT 0x33c27090 20160328 05:30:33 WATCH_EVENT (/local/domain/1/console dom1 ) OUT 0x33c26c50 20160328 05:30:33 GET_DOMAIN_PATH (/local/domain/0 ) OUT 0x33c27090 20160328 05:30:33 ERROR (ENOENT ) IN 0x33c26c50 20160328 05:30:33 TRANSACTION_START ( ) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/ring-ref ) OUT 0x33c26c50 20160328 05:30:33 TRANSACTION_START (3 ) OUT 0x33c27090 20160328 05:30:33 ERROR (ENOENT ) IN 0x33c26c50 20160328 05:30:33 RM (/local/domain/1/console ) OUT 0x33c26c50 20160328 05:30:33 RM (OK ) IN 0x33c26c50 20160328 05:30:33 MKDIR (/local/domain/1/console ) OUT 0x33c26c50 20160328 05:30:33 MKDIR (OK ) IN 0x33c26c50 20160328 05:30:33 SET_PERMS (/local/domain/1/console n0 r1 ) OUT 0x33c26c50 20160328 05:30:33 SET_PERMS (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/local/domain/1/console/backend /local/domain/0/backend/console/1/0) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/local/domain/1/console/backend-id 0) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 SET_PERMS (/local/domain/1/console/backend-id n1 r0 ) OUT 0x33c26c50 20160328 05:30:33 SET_PERMS (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/local/domain/1/console/limit 1048576) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 SET_PERMS (/local/domain/1/console/limit n0 r1 ) OUT 0x33c26c50 20160328 05:30:33 SET_PERMS (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/local/domain/1/console/type xenconsoled) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 SET_PERMS (/local/domain/1/console/type n0 r1 ) OUT 0x33c26c50 20160328 05:30:33 SET_PERMS (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/local/domain/1/console/output pty) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 SET_PERMS (/local/domain/1/console/output n0 r1 ) OUT 0x33c26c50 20160328 05:30:33 SET_PERMS (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/local/domain/1/console/tty ) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 SET_PERMS (/local/domain/1/console/tty n0 r1 ) OUT 0x33c26c50 20160328 05:30:33 SET_PERMS (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/local/domain/1/console/port 2) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 SET_PERMS (/local/domain/1/console/port n0 r1 ) OUT 0x33c26c50 20160328 05:30:33 SET_PERMS (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/local/domain/1/console/ring-ref 233472) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 SET_PERMS (/local/domain/1/console/ring-ref n0 r1 ) OUT 0x33c26c50 20160328 05:30:33 SET_PERMS (OK ) IN 0x33c26c50 20160328 05:30:33 RM (/local/domain/0/backend/console/1/0 ) OUT 0x33c26c50 20160328 05:30:33 ERROR (ENOENT ) IN 0x33c26c50 20160328 05:30:33 MKDIR (/local/domain/0/backend/console/1/0 ) OUT 0x33c26c50 20160328 05:30:33 MKDIR (OK ) IN 0x33c26c50 20160328 05:30:33 SET_PERMS (/local/domain/0/backend/console/1/0 n0 r1 ) OUT 0x33c26c50 20160328 05:30:33 SET_PERMS (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/local/domain/0/backend/console/1/0/frontend /local/domain/1/console) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/local/domain/0/backend/console/1/0/frontend-id 1) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/local/domain/0/backend/console/1/0/online 1) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/local/domain/0/backend/console/1/0/state 1) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 WRITE (/local/domain/0/backend/console/1/0/protocol vt100) OUT 0x33c26c50 20160328 05:30:33 WRITE (OK ) IN 0x33c26c50 20160328 05:30:33 TRANSACTION_END (T ) DESTROY transaction 0x33c37240 OUT 0x33c27090 20160328 05:30:33 WATCH_EVENT (/local/domain/1/console dom1 ) OUT 0x33c26c50 20160328 05:30:33 TRANSACTION_END (OK ) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/ring-ref ) OUT 0x33c27090 20160328 05:30:33 WATCH_EVENT (/local/domain/1/console/backend dom1 ) OUT 0x33c27090 20160328 05:30:33 WATCH_EVENT (/local/domain/1/console/backend-id dom1 ) OUT 0x33c27090 20160328 05:30:33 WATCH_EVENT (/local/domain/1/console/limit dom1 ) OUT 0x33c27090 20160328 05:30:33 WATCH_EVENT (/local/domain/1/console/type dom1 ) OUT 0x33c27090 20160328 05:30:33 WATCH_EVENT (/local/domain/1/console/output dom1 ) OUT 0x33c27090 20160328 05:30:33 WATCH_EVENT (/local/domain/1/console/tty dom1 ) OUT 0x33c27090 20160328 05:30:33 WATCH_EVENT (/local/domain/1/console/port dom1 ) OUT 0x33c27090 20160328 05:30:33 WATCH_EVENT (/local/domain/1/console/ring-ref dom1 ) OUT 0x33c27090 20160328 05:30:33 READ (233472) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/port ) OUT 0x33c27090 20160328 05:30:33 READ (2) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/type ) OUT 0x33c27090 20160328 05:30:33 READ (xenconsoled) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/limit ) OUT 0x33c27090 20160328 05:30:33 READ (1048576) IN 0x33c27090 20160328 05:30:33 WRITE (/local/domain/1/console/tty /dev/pts/1) OUT 0x33c27090 20160328 05:30:33 WATCH_EVENT (/local/domain/1/console/tty dom1 ) OUT 0x33c27090 20160328 05:30:33 WRITE (OK ) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/ring-ref ) OUT 0x33c27090 20160328 05:30:33 READ (233472) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/port ) OUT 0x33c27090 20160328 05:30:33 READ (2) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/type ) OUT 0x33c27090 20160328 05:30:33 READ (xenconsoled) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/ring-ref ) OUT 0x33c27090 20160328 05:30:33 READ (233472) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/port ) OUT 0x33c27090 20160328 05:30:33 READ (2) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/type ) OUT 0x33c27090 20160328 05:30:33 READ (xenconsoled) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/ring-ref ) OUT 0x33c27090 20160328 05:30:33 READ (233472) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/port ) OUT 0x33c27090 20160328 05:30:33 READ (2) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/type ) OUT 0x33c27090 20160328 05:30:33 READ (xenconsoled) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/ring-ref ) OUT 0x33c27090 20160328 05:30:33 READ (233472) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/port ) OUT 0x33c27090 20160328 05:30:33 READ (2) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/type ) OUT 0x33c27090 20160328 05:30:33 READ (xenconsoled) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/ring-ref ) CREATE connection 0x33c48440 OUT 0x33c27090 20160328 05:30:33 READ (233472) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/port ) OUT 0x33c27090 20160328 05:30:33 READ (2) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/type ) OUT 0x33c27090 20160328 05:30:33 READ (xenconsoled) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/ring-ref ) OUT 0x33c27090 20160328 05:30:33 READ (233472) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/port ) OUT 0x33c27090 20160328 05:30:33 READ (2) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/type ) OUT 0x33c27090 20160328 05:30:33 READ (xenconsoled) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/ring-ref ) IN 0x33c48440 20160328 05:30:33 WATCH (@releaseDomain 3/0 ) CREATE watch 0x33c27ee0 OUT 0x33c27090 20160328 05:30:33 READ (233472) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/port ) OUT 0x33c48440 20160328 05:30:33 WATCH (OK ) OUT 0x33c27090 20160328 05:30:33 READ (2) OUT 0x33c48440 20160328 05:30:33 WATCH_EVENT (@releaseDomain 3/0 ) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/type ) OUT 0x33c27090 20160328 05:30:33 READ (xenconsoled) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/ring-ref ) OUT 0x33c27090 20160328 05:30:33 READ (233472) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/port ) OUT 0x33c27090 20160328 05:30:33 READ (2) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/type ) OUT 0x33c27090 20160328 05:30:33 READ (xenconsoled) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/ring-ref ) OUT 0x33c27090 20160328 05:30:33 READ (233472) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/port ) OUT 0x33c27090 20160328 05:30:33 READ (2) IN 0x33c27090 20160328 05:30:33 READ (/local/domain/1/console/type ) OUT 0x33c27090 20160328 05:30:33 READ (xenconsoled) CREATE connection 0x33c378b0 IN 0x33c378b0 20160328 05:30:43 READ (/local/domain/0/name ) OUT 0x33c378b0 20160328 05:30:43 READ (Domain-0) IN 0x33c378b0 20160328 05:30:43 READ (/local/domain/1/name ) OUT 0x33c378b0 20160328 05:30:43 READ (dom1) DESTROY connection 0x33c378b0 ./configure output before compiling xen on system root@bandera:/home/ubuntu/xen# ./configure --enable-rpath checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu Will build the following subsystems: xen tools docs configure: creating ./config.status config.status: creating config/Toplevel.mk config.status: creating config/Paths.mk === configuring in tools (/home/ubuntu/xen/tools) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' '--disable-qemu-traditional' '--enable-rpath' --cache-file=/dev/null --srcdir=. checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking for bison... /usr/bin/bison checking for flex... no checking for perl... /usr/bin/perl checking for awk... /usr/bin/awk checking for ocamlc... no checking for ocaml... no checking for ocamldep... no checking for ocamlmktop... no checking for ocamlmklib... no checking for ocamldoc... no checking for ocamlbuild... no checking for ocamlfind... no checking for gawk... /usr/bin/awk checking for checkpolicy... no checking for bash... /bin/bash checking for python... /usr/bin/python checking for python version >= 2.3 ... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for python-config... /usr/bin/python-config checking Python.h usability... yes checking Python.h presence... yes checking for Python.h... yes checking for PyArg_ParseTuple in -lpython2.7... yes checking whether Python setup.py brokenly enables -D_FORTIFY_SOURCE... yes checking for xgettext... /usr/bin/xgettext checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking for uuid_clear in -luuid... yes checking uuid.h usability... no checking uuid.h presence... no checking for uuid.h... no checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for clear in -lcurses... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for clear in -lncurses... yes checking for define_key in -ltinfo... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for glib... yes checking for pixman... yes checking for wget... /usr/bin/wget checking bzlib.h usability... no checking bzlib.h presence... no checking for bzlib.h... no checking lzma.h usability... no checking lzma.h presence... no checking for lzma.h... no checking lzo/lzo1x.h usability... no checking lzo/lzo1x.h presence... no checking for lzo/lzo1x.h... no checking for io_setup in -laio... yes checking for MD5 in -lcrypto... yes checking ext2fs/ext2fs.h usability... no checking ext2fs/ext2fs.h presence... no checking for ext2fs/ext2fs.h... no checking ext4fs/ext2fs.h usability... no checking ext4fs/ext2fs.h presence... no checking for ext4fs/ext2fs.h... no checking for gcry_md_hash_buffer in -lgcrypt... no checking for pthread flag... -pthread checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking for openpty et al... -lutil checking for yajl_alloc in -lyajl... yes checking for deflateCopy in -lz... yes checking for libiconv_open in -liconv... no checking argp.h usability... yes checking argp.h presence... yes checking for argp.h... yes checking for argp_usage in -largp... no checking for fdt_create in -lfdt... yes checking for fdt_first_property_offset... yes checking for fdt_first_subnode... no checking for fdt_next_subnode... no checking whether fdt_first_subnode is declared... yes checking whether fdt_next_subnode is declared... yes checking whether fdt_property_u32 is declared... yes checking yajl/yajl_version.h usability... yes checking yajl/yajl_version.h presence... yes checking for yajl/yajl_version.h... yes checking sys/eventfd.h usability... yes checking sys/eventfd.h presence... yes checking for sys/eventfd.h... yes checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking for LIBNL3... no configure: WARNING: Disabling support for Remus network buffering. Please install libnl3 libraries, command line tools and devel headers - version 3.2.8 or higher checking for SYSTEMD... no configure: creating ./config.status config.status: creating ../config/Tools.mk config.status: creating hotplug/FreeBSD/rc.d/xencommons config.status: creating hotplug/FreeBSD/rc.d/xendriverdomain config.status: creating hotplug/Linux/init.d/sysconfig.xencommons config.status: creating hotplug/Linux/init.d/xen-watchdog config.status: creating hotplug/Linux/init.d/xencommons config.status: creating hotplug/Linux/init.d/xendomains config.status: creating hotplug/Linux/init.d/xendriverdomain config.status: creating hotplug/Linux/vif-setup config.status: creating hotplug/Linux/xen-hotplug-common.sh config.status: creating hotplug/Linux/xendomains config.status: creating hotplug/NetBSD/rc.d/xencommons config.status: creating hotplug/NetBSD/rc.d/xendriverdomain config.status: creating libxl/xenlight.pc.in config.status: creating libxl/xlutil.pc.in config.status: creating config.h config.status: config.h is unchanged === configuring in docs (/home/ubuntu/xen/docs) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' '--disable-qemu-traditional' '--enable-rpath' --cache-file=/dev/null --srcdir=. checking for fig2dev... /usr/bin/fig2dev checking for pod2man... /usr/bin/pod2man checking for pod2html... /usr/bin/pod2html checking for pod2text... /usr/bin/pod2text checking for pandoc... /usr/bin/pandoc checking for markdown... /usr/bin/markdown checking for perl... /usr/bin/perl configure: creating ./config.status config.status: creating ../config/Docs.mk make world make install - Jiandi An
_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel