[Lguest] Error inserting lg: Cannot allocate memory

Fabio Checconi fabio at gandalf.sssup.it
Mon Feb 25 21:18:41 EST 2008


Hi,

> From: Stefan Hellermann <stefan at the2masters.de>
> Date: Sun, Feb 24, 2008 11:05:49PM +0100
>
> Hello,
> 
> # CONFIG_NOHIGHMEM is not set
> CONFIG_HIGHMEM4G=y
> # CONFIG_HIGHMEM64G is not set
> CONFIG_PAGE_OFFSET=0xC0000000
> CONFIG_HIGHMEM=y

maybe it is HIGHMEM that is pulling VMALLOC_END below (or too near to)
SWITCHER_ADDR.  To see the actual values passed to __get_vm_area()
you can use:

    make drivers/lguest/core.i

If this is the case, a workaround would be to use NOHIGHMEM.
Hope it helps.



More information about the Lguest mailing list