Comment 7 for bug 1576564

Revision history for this message
Stefan Bader (smb) wrote :

Bisected the problem and found that the first bad commit is:

92923ca "mm: meminit: only set page reserved in the memblock region"

Further debugging showed that the problem is due to the arguments of the new reserve_bootmem_region() function. Those are start and end addresses of memory ranges. With PAE there can be ranges above 4G even for 32bit i386. Which is just what happens if dom0 memory is initially limited but dom0 is allowed to balloon for more memory.

The patch below fixes the bad page errors for me on 4.2 and 4.4 (and resolves the crash on 4.4 as well).