Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2015 12:42:35 +0200
From:      =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= <roger.pau@citrix.com>
To:        Hannes Mehnert <hannes@mehnert.org>, <freebsd-xen@freebsd.org>
Subject:   Re: [fixed] Re: GELI encrypted root and FreeBSD dom0 ; libxl cannot allocate memory
Message-ID:  <552B9D9B.1090102@citrix.com>
In-Reply-To: <552B9899.1090901@mehnert.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,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.



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