From mboxrd@z Thu Jan 1 00:00:00 1970 From: Coney Wu Subject: Help, can't boot my arm linux guest on cubieboard2(arm host) Date: Tue, 13 May 2014 12:04:03 +0800 Message-ID: <2FAAA7CB-9CB5-4A15-A17C-411ACA04BBFC@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Content-Type: multipart/mixed; boundary="===============6569055654178027990==" Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Wk3wq-00059K-MR for xen-devel@lists.xenproject.org; Tue, 13 May 2014 04:04:13 +0000 Received: by mail-pa0-f41.google.com with SMTP id lj1so9640381pab.14 for ; Mon, 12 May 2014 21:04:08 -0700 (PDT) Received: from [10.29.2.230] ([222.126.143.209]) by mx.google.com with ESMTPSA id sy2sm25606238pbc.28.2014.05.12.21.04.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 May 2014 21:04:07 -0700 (PDT) List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org --===============6569055654178027990== Content-Type: multipart/alternative; boundary="Apple-Mail=_CD8C1483-D05F-4462-96EE-C254E9E01B98" --Apple-Mail=_CD8C1483-D05F-4462-96EE-C254E9E01B98 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi there, I am very new to xen, and this is the first time for me to use the xen. = I setup the xen host according to this article on my = cubieboard:http://openmirage.org/wiki/xen-on-cubieboard2 but when I want to start the the guest os, there is a problem: root@linaro-developer:~/vm# xl -vvv create domu_test -c Parsing config from domu_test libxl: debug: libxl_create.c:1342:do_domain_create: ao 0x374a0: create: = how=3D(nil) callback=3D(nil) poller=3D0x33e40 libxl: verbose: libxl_create.c:134:libxl__domain_build_info_setdefault: = qemu-xen is unavailable, use qemu-xen-traditional instead: No such file = or directory libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk = vdev=3Dxvda spec.backend=3Dunknown libxl: debug: libxl_device.c:286:libxl__device_disk_set_backend: Disk = vdev=3Dxvda, using backend phy libxl: debug: libxl_create.c:797: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:618:libxl__ev_xswatch_deregister: watch = w=3D0x377c0: deregister unregistered libxl: notice: libxl_numa.c:491:libxl__get_numa_candidate: NUMA = placement failed, performance might be affected domainbuilder: detail: xc_dom_allocate: cmdline=3D"console=3Dhvc0 = xencons=3Dtty root=3D/dev/xvda", features=3D"(null)" libxl: debug: libxl_dom.c:357:libxl__build_pv: pv kernel mapped 0 path = /boot/zImage domainbuilder: detail: xc_dom_kernel_file: filename=3D"/boot/zImage" domainbuilder: detail: xc_dom_malloc_filemap : 4730 kB domainbuilder: detail: xc_dom_boot_xen_init: ver 4.4, caps = xen-3.0-armv7l domainbuilder: detail: xc_dom_rambase_init: RAM starts at 80000 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: xc_dom_probe_zimage64_kernel: kernel is not an = arm64 Image domainbuilder: detail: loader probe failed domainbuilder: detail: xc_dom_find_loader: trying Linux zImage (ARM32) = loader ... domainbuilder: detail: loader probe OK domainbuilder: detail: xc_dom_parse_zimage32_kernel: called domainbuilder: detail: xc_dom_parse_zimage32_kernel: xen-3.0-armv7l: = 0x80008000 -> 0x804a6b68 libxl: debug: libxl_arm.c:433:libxl__arch_domain_configure: constructing = DTB for Xen version 4.4 guest libxl: debug: libxl_arm.c:497:libxl__arch_domain_configure: fdt total = size 1274 domainbuilder: detail: xc_dom_devicetree_mem: called domainbuilder: detail: xc_dom_mem_init: mem 512 MB, pages 0x20000 pages, = 4k each domainbuilder: detail: xc_dom_mem_init: 0x20000 pages domainbuilder: detail: xc_dom_boot_mem_init: called domainbuilder: detail: set_mode: guest xen-3.0-armv7l, address size 32 domainbuilder: detail: xc_dom_malloc : 1024 kB xc: detail: Failed allocation for dom 4: 131072 extents of order 0 domainbuilder: detail: arch_setup_meminit: devicetree: 0x88000000 -> = 0x880004fa domainbuilder: detail: xc_dom_build_image: called domainbuilder: detail: xc_dom_alloc_segment: kernel : 0x80008000 = -> 0x804a7000 (pfn 0x80008 + 0x49f pages) domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn = 0x80008+0x49f at 0xb6342000 domainbuilder: detail: xc_dom_load_zimage_kernel: called domainbuilder: detail: xc_dom_load_zimage_kernel: kernel seg = 0x80008000-0x804a7000 domainbuilder: detail: xc_dom_load_zimage_kernel: copy 4844392 bytes = from blob 0xb68e2000 to dst 0xb6342000 domainbuilder: detail: xc_dom_alloc_segment: devicetree : 0x88000000 = -> 0x88001000 (pfn 0x88000 + 0x1 pages) domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn = 0x88000+0x1 at 0xb6f9c000 domainbuilder: detail: alloc_magic_pages: called xc: detail: Failed allocation for dom 4: 2 extents of order 0 libxl: error: libxl_dom.c:423:libxl__build_pv: xc_dom_build_image = failed: Device or resource busy domainbuilder: detail: xc_dom_release: called libxl: error: libxl_create.c:1022:domcreate_rebuild_done: cannot = (re-)build domain: -3 libxl: debug: libxl_event.c:1591:libxl__ao_complete: ao 0x374a0: = complete, rc=3D-3 libxl: debug: libxl_create.c:1356:do_domain_create: ao 0x374a0: = inprogress: poller=3D0x33e40, flags=3Dic libxl: debug: libxl_event.c:1563:libxl__ao__destroy: ao 0x374a0: destroy xc: debug: hypercall buffer: total allocations:154 total releases:154 xc: debug: hypercall buffer: current allocations:0 maximum allocations:4 xc: debug: hypercall buffer: cache current size:4 xc: debug: hypercall buffer: cache hits:146 misses:4 toobig:4 the first time when I boot the guest os, it is stuck at the starting ssh = server, and I destroy the guest, and try to recreate it, I got this = issue. I tried to rebuild the guest system, and reboot the cubieboard, = but the problem is still here. Is there something wrong with my zImage ? Any documents for this error? Thank you! --Apple-Mail=_CD8C1483-D05F-4462-96EE-C254E9E01B98 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi = there,

I am very new to xen, and this is the first = time for me to use the xen. I setup the xen host according to this = article on my cubieboard:http://openmirage.o= rg/wiki/xen-on-cubieboard2
but when I want to start the = the guest os, there is a = problem:

root@linaro-developer:~/vm# xl = -vvv create domu_test -c
Parsing config from = domu_test
libxl: debug: libxl_create.c:1342:do_domain_create: = ao 0x374a0: create: how=3D(nil) callback=3D(nil) = poller=3D0x33e40
libxl: verbose: = libxl_create.c:134:libxl__domain_build_info_setdefault: qemu-xen is = unavailable, use qemu-xen-traditional instead: No such file or = directory
libxl: debug: = libxl_device.c:251:libxl__device_disk_set_backend: Disk vdev=3Dxvda = spec.backend=3Dunknown
libxl: debug: = libxl_device.c:286:libxl__device_disk_set_backend: Disk vdev=3Dxvda, = using backend phy
libxl: debug: = libxl_create.c:797: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:618:libxl__ev_xswatch_deregister: watch w=3D0x377c0: = deregister unregistered
libxl: notice: = libxl_numa.c:491:libxl__get_numa_candidate: NUMA placement failed, = performance might be affected
domainbuilder: detail: = xc_dom_allocate: cmdline=3D"console=3Dhvc0 xencons=3Dtty = root=3D/dev/xvda", features=3D"(null)"
libxl: debug: = libxl_dom.c:357:libxl__build_pv: pv kernel mapped 0 path = /boot/zImage
domainbuilder: detail: xc_dom_kernel_file: = filename=3D"/boot/zImage"
domainbuilder: detail: = xc_dom_malloc_filemap    : 4730 kB
domainbuilder: = detail: xc_dom_boot_xen_init: ver 4.4, caps = xen-3.0-armv7l
domainbuilder: detail: xc_dom_rambase_init: RAM = starts at 80000
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: = xc_dom_probe_zimage64_kernel: kernel is not an arm64 = Image
domainbuilder: detail: loader probe = failed
domainbuilder: detail: xc_dom_find_loader: trying Linux = zImage (ARM32) loader ...
domainbuilder: detail: loader probe = OK
domainbuilder: detail: xc_dom_parse_zimage32_kernel: = called
domainbuilder: detail: xc_dom_parse_zimage32_kernel: = xen-3.0-armv7l: 0x80008000 -> 0x804a6b68
libxl: debug: = libxl_arm.c:433:libxl__arch_domain_configure: constructing DTB for Xen = version 4.4 guest
libxl: debug: = libxl_arm.c:497:libxl__arch_domain_configure: fdt total size = 1274
domainbuilder: detail: xc_dom_devicetree_mem: = called
domainbuilder: detail: xc_dom_mem_init: mem 512 MB, = pages 0x20000 pages, 4k each
domainbuilder: detail: = xc_dom_mem_init: 0x20000 pages
domainbuilder: detail: = xc_dom_boot_mem_init: called
domainbuilder: detail: set_mode: = guest xen-3.0-armv7l, address size 32
domainbuilder: detail: = xc_dom_malloc            : 1024 = kB
xc: detail: Failed allocation for dom 4: 131072 extents of = order 0
domainbuilder: detail: arch_setup_meminit: devicetree: = 0x88000000 -> 0x880004fa
domainbuilder: detail: = xc_dom_build_image: called
domainbuilder: detail: = xc_dom_alloc_segment:   kernel       : 0x80008000 = -> 0x804a7000  (pfn 0x80008 + 0x49f = pages)
domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU = mapping: pfn 0x80008+0x49f at 0xb6342000
domainbuilder: = detail: xc_dom_load_zimage_kernel: called
domainbuilder: = detail: xc_dom_load_zimage_kernel: kernel seg = 0x80008000-0x804a7000
domainbuilder: detail: = xc_dom_load_zimage_kernel: copy 4844392 bytes from blob 0xb68e2000 to = dst 0xb6342000
domainbuilder: detail: xc_dom_alloc_segment: =   devicetree   : 0x88000000 -> 0x88001000  (pfn = 0x88000 + 0x1 pages)
domainbuilder: detail: = xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x88000+0x1 at = 0xb6f9c000
domainbuilder: detail: alloc_magic_pages: = called
xc: detail: Failed allocation for dom 4: 2 extents of = order 0
libxl: error: = libxl_dom.c:423:libxl__build_pv: xc_dom_build_image failed: Device or = resource busy
domainbuilder: detail: xc_dom_release: = called
libxl: error: = libxl_create.c:1022:domcreate_rebuild_done: cannot (re-)build domain: = -3
libxl: debug: libxl_event.c:1591:libxl__ao_complete: ao = 0x374a0: complete, rc=3D-3
libxl: debug: = libxl_create.c:1356:do_domain_create: ao 0x374a0: inprogress: = poller=3D0x33e40, flags=3Dic
libxl: debug: = libxl_event.c:1563:libxl__ao__destroy: ao 0x374a0: destroy
xc: = debug: hypercall buffer: total allocations:154 total = releases:154
xc: debug: hypercall buffer: current = allocations:0 maximum allocations:4
xc: debug: hypercall = buffer: cache current size:4
xc: debug: hypercall buffer: = cache hits:146 misses:4 = toobig:4


the first time = when I boot the guest os, it is stuck at the starting ssh server, and I = destroy the guest, and try to recreate it, I got this issue. I tried to = rebuild the guest system, and reboot the cubieboard, but the problem is = still here.

Is there something wrong with my = zImage ? Any documents for this error?

Thank = you!

= --Apple-Mail=_CD8C1483-D05F-4462-96EE-C254E9E01B98-- --===============6569055654178027990== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============6569055654178027990==--