Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 2019 18:28:14 +0200
From:      Roger Pau =?utf-8?B?TW9ubsOp?= <roger.pau@citrix.com>
To:        YAMAMOTO Shigeru <shigeru@os-hackers.jp>
Cc:        <freebsd-xen@freebsd.org>
Subject:   Re: Error: xc: error: panic: xc_dom_boot.c:159: xc_dom_boot_domU_map: failed to mmap domU pages 0x100+0x33 [mmap, errno=-6 (Unknown error:-6)]: Internal error
Message-ID:  <20190722162814.pvnqpl3luy4vvwvi@Air-de-Roger.citrite.net>
In-Reply-To: <20190722.235435.2145386066089105720.shigeru@os-hackers.jp>
References:  <20190722.235435.2145386066089105720.shigeru@os-hackers.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 22, 2019 at 11:54:35PM +0900, YAMAMOTO Shigeru wrote:
> 
> Hi, all,
> 
> I'm using Xen Dom0 on FreeBSD/amd64.
> When following error occurs, I can not create new Xen DomU and I need rebooting
> Xen Dom0 to recover from error.
> 
> # xl create jenkins-01.cfg
> Parsing config from jenkins-01.cfg
> xc: error: panic: xc_dom_boot.c:159: xc_dom_boot_domU_map: failed to mmap
> domU pages 0x100+0x33 [mmap, errno=-6 (Unknown error: -6)]: Internal error
> libxl: error: libxl_dom.c:760:libxl__build_dom: xc_dom_build_image failed:
> Invalid argument
> libxl: error: libxl_create.c:1286:domcreate_rebuild_done: Domain 9:cannot
> (re-)build domain: -3
> libxl: error: libxl_domain.c:1038:libxl__destroy_domid: Domain
> 9:Non-existant domain
> libxl: error: libxl_domain.c:993:domain_destroy_callback: Domain 9:Unable to
> destroy guest
> libxl: error: libxl_domain.c:920:domain_destroy_cb: Domain 9:Destruction of
> domain failed

Thanks for the report!

I've fixed this in upstream Xen quite recently, and haven't backported
the patch to FreeBSD yet. I've now created a differential revision at:

https://reviews.freebsd.org/D21028

With the fix. Feel free to apply it to your ports tree and rebuild
xen-kernel, this should give you a working system.

Roger.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190722162814.pvnqpl3luy4vvwvi>