bad pmd

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Dec 1 15:14:40 EST 2010


On Wed, Dec 01, 2010 at 02:54:26PM -0500, Aric D. Blumer wrote:
> Hi.  I'm using the long-term stable kernel 2.6.32 on a PXA320 platform,
> and I'm seeing errors like the following:
> 
> /home/aric/sdg/git/linux/mm/memory.c:144: bad pmd 8040542e.
> 
> I have seen these messages on both the 2.6.32.15 and 2.6.32.24 kernels
> (haven't tried others).  Can someone tell me what the message means?  I
> suspect memory is being clobbered.  One interesting thing is that
> whenever that message is printed, the 8040542e is always the same.  I
> have not been able to establish any correlation yet with what causes it.

A pmd value of 0x8040542e is a section mapping, which the generic MM
code will not understand.

It is for address 0x80400000, is read/writable from SVC mode, inaccessible
from user mode, domain 1 (which is normally for 'user' memory), and has
a memory type of TEXCB=10111.

As standard mainline doesn't create mappings with TEX=101, and we don't
create mappings with the 'user' domain using sections, the question this
immediately raises is: have you modified this kernel?



More information about the linux-arm-kernel mailing list