[fixed] Re: GELI encrypted root and FreeBSD dom0 ; libxl cannot allocate memory

Roger Pau Monné roger.pau at citrix.com
Mon Apr 13 10:42:38 UTC 2015


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.


More information about the freebsd-xen mailing list