* Fwd: [ARM]crash on 2.6.35.11
[not found] <BANLkTimLd-qY-OeKqnf2EoTfvAHWQZVchw@mail.gmail.com>
@ 2011-05-04 10:16 ` naveen yadav
2011-05-11 19:36 ` Russell King - ARM Linux
[not found] ` <BANLkTi=xz4w3p4bc5T4-YvkC3tYdwKhWGA@mail.gmail.com>
1 sibling, 1 reply; 3+ messages in thread
From: naveen yadav @ 2011-05-04 10:16 UTC (permalink / raw)
To: linux-arm-kernel
Attaching test case
Dear all,
We are running linux kernel 2.6.35.11 on Cortex a-8. when I run a
simple program expect to give oom.
?But it crash with following crash log
./DiffSize
BUG: Bad page state in process DiffSize ?pfn:50769c
page:c9907380 count:892679477 mapcount:892679478 mapping:35353535
index:0x35353535
page flags: 0x35353535(locked|referenced|dirty|lru|owner_priv_1|reserved|private_2|writeback|swapcache|reclaim|swapbacked|unevictable)
Backtrace:
[<c0023b90>] (dump_backtrace+0x0/0x110) from [<c02de8f0>] (dump_stack+0x18/0x1c)
?r6:c9907380 r5:c040674c r4:c9907380 r3:00000000
[<c02de8d8>] (dump_stack+0x0/0x1c) from [<c007b60c>] (bad_page+0xe0/0x10c)
[<c007b52c>] (bad_page+0x0/0x10c) from [<c007c864>]
(get_page_from_freelist+0x364/0x4bc)
?r5:c03cd21c r4:00000000
[<c007c500>] (get_page_from_freelist+0x0/0x4bc) from [<c007cac8>]
(__alloc_pages_nodemask+0x10c/0x578)
[<c007c9bc>] (__alloc_pages_nodemask+0x0/0x578) from [<c008b3e0>]
(handle_mm_fault+0x218/0xd68)
[<c008b1c8>] (handle_mm_fault+0x0/0xd68) from [<c0026514>]
(do_page_fault+0x10c/0x200)
[<c0026408>] (do_page_fault+0x0/0x200) from [<c001f2bc>]
(do_DataAbort+0x3c/0xa0)
[<c001f280>] (do_DataAbort+0x0/0xa0) from [<c001ff24>]
(ret_from_exception+0x0/0x10)
Exception stack(0xc9281fb0 to 0xc9281ff8)
1fa0: ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 48166008 00000035 50166008 35353535
1fc0: 072be000 35353535 48ea7f88 4001f080 00000000 00000000 be87e880 be87e86c
1fe0: 48ea8008 be87e844 00008514 400b449c 20000010 ffffffff
?r7:4001f080 r6:48ea7f88 r5:35353535 r4:ffffffff
Disabling lock debugging due to kernel taint
regards
Naveen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DiffAllocs.c
Type: text/x-csrc
Size: 366 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110504/4a01ff98/attachment-0001.bin>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ARM]crash on 2.6.35.11
[not found] ` <BANLkTik17MGwWwFb=CzBduFy9Mn-Ze+ptA@mail.gmail.com>
@ 2011-05-04 14:21 ` Catalin Marinas
0 siblings, 0 replies; 3+ messages in thread
From: Catalin Marinas @ 2011-05-04 14:21 UTC (permalink / raw)
To: linux-arm-kernel
(fixing up the linux-arm-kernel list address)
On 4 May 2011 14:18, naveen yadav <yad.naveen@gmail.com> wrote:
> On Wed, May 4, 2011 at 3:55 PM, Catalin Marinas <catalin.marinas@arm.com> wrote:
>> On 4 May 2011 11:09, naveen yadav <yad.naveen@gmail.com> wrote:
>>> We are running linux kernel 2.6.35.11 on Cortex a-8. when I run a
>>> simple program expect to give oom.
>>> ?But it crash with following crash log
>>
>> Could you post the full kernel boot log and .config file?
>
> Pls find attached log
It looks like a problem with the memory configuration on your board.
You have sparsemem sections which are not fully populated. The
mainline kernel still has problems in this area.
You can try this patch (not sure it applies cleanly on 2.6.35 but it's
not difficult to fix):
http://article.gmane.org/gmane.linux.ports.arm.kernel/112994
--
Catalin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Fwd: [ARM]crash on 2.6.35.11
2011-05-04 10:16 ` Fwd: [ARM]crash on 2.6.35.11 naveen yadav
@ 2011-05-11 19:36 ` Russell King - ARM Linux
0 siblings, 0 replies; 3+ messages in thread
From: Russell King - ARM Linux @ 2011-05-11 19:36 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, May 04, 2011 at 03:46:55PM +0530, naveen yadav wrote:
> Attaching test case
>
> Dear all,
>
> We are running linux kernel 2.6.35.11 on Cortex a-8. when I run a
> simple program expect to give oom.
> ?But it crash with following crash log
You need to include the memory layout information - eg, the boot log,
and /proc/iomem. Also are you using sparsemem? If so, how is it
configured?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-11 19:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <BANLkTimLd-qY-OeKqnf2EoTfvAHWQZVchw@mail.gmail.com>
2011-05-04 10:16 ` Fwd: [ARM]crash on 2.6.35.11 naveen yadav
2011-05-11 19:36 ` Russell King - ARM Linux
[not found] ` <BANLkTi=xz4w3p4bc5T4-YvkC3tYdwKhWGA@mail.gmail.com>
[not found] ` <BANLkTik17MGwWwFb=CzBduFy9Mn-Ze+ptA@mail.gmail.com>
2011-05-04 14:21 ` Catalin Marinas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).