Gge schrieb:
- Here is the modification done in pool.c file
#if defined(__GNUC__)
Block = EiAllocatePool(PoolType, NumberOfBytes, /*TAG_NONE*/__builtin_return_address(0), (PVOID)__builtin_return_address(0));
I've forgot a cast, '(ULONG) __builtin_return_address(0)' should work.
(mm/mdl.c:898) UserMode mapping - returning 0x441000 (mm/npool.c:1626) Trying to allocate 262144 bytes from nonpaged pool - nothing suitable found, returning NULL (mm/npool.c:1626) Trying to allocate 262144 bytes from nonpaged pool - nothing suitable found, returning NULL
I hoped to see the dump from the memory statistic before or within this lines. Can you add a bug check after line, 1626? This crashs ros and the stack dump shows the caller of the allocation. Im not sure how much memory colinux needs. If you start a clean windows with and without colinux, you can compare the using of the non paged pool. The task manager shows this value on the performance page as kernel memory.
- Hartmut