From owner-freebsd-xen@FreeBSD.ORG Mon Apr 13 10:42:38 2015 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 495DBBD5 for ; Mon, 13 Apr 2015 10:42:38 +0000 (UTC) Received: from SMTP.CITRIX.COM (smtp.citrix.com [66.165.176.89]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "Cybertrust Public SureServer SV CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 00955394 for ; Mon, 13 Apr 2015 10:42:37 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.11,569,1422921600"; d="scan'208";a="252540971" Message-ID: <552B9D9B.1090102@citrix.com> Date: Mon, 13 Apr 2015 12:42:35 +0200 From: =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Hannes Mehnert , 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> In-Reply-To: <552B9899.1090901@mehnert.org> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-DLP: MIA2 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:42:38 -0000 Hello, El 13/04/15 a les 12.21, Hannes Mehnert ha escrit: > On 04/13/2015 11:16, Roger Pau Monné wrote: >> > Can you trace the process in order to know what's failing? >> > >> > # ktrace xl list # kdump >> > >> > And paste the output here? > is attached. > > > hannes [...] > 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? Roger.