From owner-freebsd-xen@FreeBSD.ORG Mon Apr 13 10:48:17 2015 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D426CCF7 for ; Mon, 13 Apr 2015 10:48:17 +0000 (UTC) Received: from mail.mehnert.org (mail.mehnert.org [213.73.89.200]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 919163D9 for ; Mon, 13 Apr 2015 10:48:17 +0000 (UTC) Received: from [128.232.110.109] (c109.al.cl.cam.ac.uk [128.232.110.109]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "hannes@mehnert.org", Issuer "mehnert root CA" (not verified)) by mail.mehnert.org (Postfix) with ESMTPS id A55E61FAE; Mon, 13 Apr 2015 12:48:15 +0200 (CEST) Message-ID: <552B9EF0.9050109@mehnert.org> Date: Mon, 13 Apr 2015 11:48:16 +0100 From: Hannes Mehnert User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= , freebsd-xen@freebsd.org Subject: Re: [fixed] Re: GELI encrypted root and FreeBSD dom0 ; libxl cannot allocate memory References: <552AA3AE.20205@mehnert.org> <552B8A1C.1000000@mehnert.org> <552B91EB.4060709@citrix.com> <552B9528.5080009@mehnert.org> <552B9781.80204@citrix.com> <552B9899.1090901@mehnert.org> <552B9D9B.1090102@citrix.com> In-Reply-To: <552B9D9B.1090102@citrix.com> OpenPGP: id=11B5464249B5BD858FFF6328BC896588DF7C28EE Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2015 10:48:17 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA384 On 04/13/2015 11:42, Roger Pau Monné wrote: >> 36280 xl CALL >> mmap(0,0x19000,0x3,0x1002,0xffffffff,0) >> >> 36280 xl RET mmap 34366500864/0x800673000 >> 36280 xl CALL mlock(0x800673000,0x19000) 36280 xl >> RET mlock -1 errno 12 Cannot allocate memory > > mlock is indeed failing to wire the pages, can you try to set: > > # sysctl -w vm.max_wired=1048576 > > And try again? Results in the very same trace (or do I need to set it in sysctl.conf and reboot?).. hannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCQAGBQJVK57vAAoJELyJZYjffCjuEYQP/j2nzR6yS8fycvc4ZWxPn3Vd CE4vcY/wm92PG/4Au6aOg0zzBWLlMh03kYDVuSkl9YLN4h3nyx+XxyGpjC1NPAFX E+FKiv5v8FZV5HzazkT7EUVon3Y0svflzVUHWCoF3LbMv+lCf4PvSzEawS6vL8mM zC7AMMfTV2aLxcb0Q5cBDm4RVXO2ZSThqEBxPGSG30bOqofVz+7vms7uhfkXGL6x q8hKyX7NukmhrnMJ/ddZTXzUXiFVIorskMfqAr2TgTta6+C09OWbIHKFKthPIxhg u8KwdeCCVFuDAY3JAVztaqyssOI2GhiacXDlqvHKrrfZRxcIkQTiBJ1sYZi2luTM kKj0lmfWbUn7RmTrFmc2F4USnIt2KaXvj0ZAzE/wy7xgylhCGmkyZVpl7c3O/Tsu 2cN8TCjwhiKOO2SZoiAP+WeIibNSwyDJw8/GuATL1z+oCS8No4VjoCIgQNEsvgYY vFKhYej3HqJ4LygFLgvpp1+lSqC9eKHVbqLJ8wXMoqrD2aX2ngAGPvIdc8R4I0R0 sLlj3+xct9mQ+IFd/iLEW87y3S+umgVgVttRDAhBQE7HhJNcZsJ9GJozDmNLbHkw s/mmtRIRJcbapTb/5SAqC6AK5tfINM36rvi8y6wlpi2b3WeU+fRp8/dmvXWyEEee woU/nX48JKwkeZhFqNvd =l/z9 -----END PGP SIGNATURE-----