I'm using Linux kernel 3.0.0 built with the microblaze toolchain V1.0 (gcc 4.1.2) on Microblaze ( Spartan6).
One of our boards keep experiencing kernel BUG \panic. Mostly related to memory issues:
BUG: failure at mm/mmap.c:2282/exit_mmap()!
Looking at the code it seems that not all Virtual Memory was released.
It is also having these panics once in a while:
inconsistency deBUG: failure at mm/mmap.c:2282/exit_mmap()!
tected by ld.so: rtld.c: 1075: dl_main: Assertion `_rtld_local._dl_rtld_map.l_libname' failed!
Kernel panic - not syncing: BUG!
RootTsk invoked oom-killer: gfp_mask=0x0, order=0, oom_adj=0, oom_score_adj=0
BUG: Bad page map in process kworker/u:0 pte:c05034d2 pmd:c2c6a000
Any idea where I should start looking for the causes for these panics\BUG ?
I got a call trace from the last panic:
Call Trace:[<c000401c>] microblaze_unwind+0x74/0x8c[<c0003cec>] show_stack+0x104/0x164[<c0003d54>] dump_stack+0x8/0x20[<c0011500>] panic+0xa8/0x298[<c0075374>] exit_mmap+0x1c8/0x1d4[<c000eaa4>] mmput+0x54/0x124[<c001407c>] exit_mm+0x148/0x1ec[<c0015e8c>] do_exit+0x128/0x7c4[<c0016554>] do_group_exit+0x2c/0x104[<c0026e2c>] get_signal_to_deliver+0x1ec/0x4dc[<c0003570>] do_signal+0x60/0x29c[<c000641c>] ret_from_exc+0x3c/0x194