xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* xl create failure on arm64 with XEN 4.9rc6
@ 2017-05-25 18:58 Feng Kan
  2017-05-25 19:56 ` Julien Grall
  0 siblings, 1 reply; 8+ messages in thread
From: Feng Kan @ 2017-05-25 18:58 UTC (permalink / raw)
  To: xen-devel, Julien Grall, sstabellini

Hi All:

This is not specifically against the XEN 4.9. I am using 4.12rc2
kernel on arm64 platform. Started dom0 fine with ACPI enabled, but
failed when creating the domU guest. Xen is built natively on the
arm64 platform. Using the same kernel and ramdisk as dom0. Any idea as
why it is stuck here
would be greatly appreciated?

xc: error: panic: xc_dom_boot.c:178: xc_dom_boot_domU_map: failed to
mmap domU pages 0x450c2+0x2f3d [mmap, errno=22 (Invalid ar
gument), chunksize 0x1000]: Internal error
libxl: error: libxl_dom.c:679:libxl__build_dom: xc_dom_build_image
failed: Invalid argument
domainbuilder: detail: xc_dom_release: called
libxl: error: libxl_create.c:1217:domcreate_rebuild_done: Domain
1:cannot (re-)build domain: -3
libxl: debug: libxl_domain.c:1140:devices_destroy_cb: Domain 1:Forked
pid 2477 for destroy of domain
libxl: debug: libxl_create.c:1646:do_domain_create: Domain 0:ao
0x1ae10cb0: inprogress: poller=0x1ae10d40, flags=i
libxl: debug: libxl_event.c:1869:libxl__ao_complete: ao 0x1ae10cb0:
complete, rc=-3
libxl: debug: libxl_event.c:1838:libxl__ao__destroy: ao 0x1ae10cb0: destroy
libxl: debug: libxl_domain.c:871:libxl_domain_destroy: Domain 1:ao
0x1ae10cb0: create: how=(nil) callback=(nil) poller=0x1ae10d
40

Seem to failed when mmapping pages for the ramdisk. I did some digging
and the failure
occurs during the  IOCTL_PRIVCMD_MMAPBATCH_V2 call. It seems the
8192's page had a err code of -22. The system have plenty of memory.
Afterward, a null guest is created.
As a side note, how do I get rid of it?


[root@localhost xen-guest]# xl list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0 65536    32     r-----      16.3
(null)                                       1     0     0     --p--d       0.0

[root@localhost xen-guest]# xl info
host                   : localhost.localdomain
release                : 4.12.0-rc2
version                : #1 SMP Thu May 25 13:17:35 EDT 2017
machine                : aarch64
nr_cpus                : 32
max_cpu_id             : 31
nr_nodes               : 1
cores_per_socket       : 1
threads_per_core       : 1
cpu_mhz                : 50
hw_caps                :
00000000:00000000:00000000:00000000:00000000:00000000:00000000:00000000
virt_caps              :
total_memory           : 130700
free_memory            : 61637
sharing_freed_memory   : 0
sharing_used_memory    : 0
outstanding_claims     : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 9
xen_extra              : -rc
xen_version            : 4.9-rc
xen_caps               : xen-3.0-aarch64 xen-3.0-armv7l
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0x200000
xen_changeset          : Tue May 23 19:21:04 2017 -0400 git:4108ded-dirty
xen_commandline        : xen.efi dom0_mem=64G loglvl=all
guest_loglvl=all conswitch=x acpi=force
cc_compiler            : gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)
cc_compile_by          : root
cc_compile_domain      :
cc_compile_date        : Thu May 25 14:38:25 EDT 2017
build_id               : 22732b38d4e0ea99d541519eb49a7d50115717da
xend_config_format     : 4

Thanks in advance.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-05-31 13:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-25 18:58 xl create failure on arm64 with XEN 4.9rc6 Feng Kan
2017-05-25 19:56 ` Julien Grall
2017-05-26  0:37   ` Feng Kan
2017-05-26 12:40     ` Julien Grall
2017-05-26 22:22       ` Feng Kan
2017-05-28 17:12         ` Julien Grall
2017-05-30 17:41           ` Feng Kan
2017-05-31 13:04             ` Julien Grall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).