Re: 2.6.0-test7 DEBUG_PAGEALLOC oops

From: Manfred Spraul
Date: Sat Oct 11 2003 - 04:39:54 EST


Mike wrote:

Unable to handle kernel paging request at virtual address c034a000
printing eip:
c0134d5a
*pde = 00102027
*pte = 0034a000

Fault trying to read from address 0xc034a000: the page is not mapped.

Oops: 0000 [#1]
CPU: 0
EIP: 0060:[<c0134d5a>] Not tainted
EFLAGS: 00010002
EIP is at store_stackinfo+0x4e/0x80

In store_stackinfo: the function stores a backtrace of the last kmem_cache_free caller in the object - might be useful, and the memory is not used.

eax: 00000000 ebx: c7802f98 ecx: c0301390 edx: c030138c
esi: c0349ffe edi: 017e0008 ebp: c0349da6 esp: c0349d96
ds: 007b es: 007b ss: 0068
Process swapper (pid: 0, threadinfo=c0348000 task=c02fcbe0)

The esp value is sane, the stack is at 0xc0348000, and the fault is at 'a000: just behind the end of the stack.
I assume the fauling line is
svalue = *sptr++;

It looks like store stackinfo accesses memory behind the end of the stack.
Which gcc version do you use? Could you send me mm/slab.o?

--
Manfred

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/