lkml.org 
[lkml]   [2013]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: kernel BUG at kernel/kallsyms.c:222!
From
Hi,

On Mon, Nov 11, 2013 at 4:37 PM, Axel Lin <axel.lin@ingics.com> wrote:
> 2013/11/11 Ming Lei <tom.leiming@gmail.com>:
>
> Hi Ming,
>
> commit f6537f2f "scripts/kallsyms: filter symbols not in kernel address space",
> uses CONFIG_PAGE_OFFSET as kernel_start_addr.
> However, for !CONFIG_MMU case we have :
> PAGE_OFFSET != CONFIG_PAGE_OFFSET.

Yes, it is the cause, and strictly speaking, commit f6537f2f is wrong,
but triggered with bogus CONFIG_PAGE_OFFSET if !CONFIG_MMU.

We can fix it either by Rusty's patch or removing the bogus
CONFIG_PAGE_OFFSET for !CONFIG_MMU.


Thanks,
--
Ming Lei


\
 
 \ /
  Last update: 2013-11-11 11:21    [W:0.065 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site