From mboxrd@z Thu Jan 1 00:00:00 1970 From: tom.leiming@gmail.com (Ming Lei) Date: Mon, 11 Nov 2013 17:57:29 +0800 Subject: kernel BUG at kernel/kallsyms.c:222! In-Reply-To: References: <1383789208.5970.1.camel@phoenix> <87zjpf4w0j.fsf@rustcorp.com.au> <87y54vzszo.fsf@rustcorp.com.au> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, On Mon, Nov 11, 2013 at 4:37 PM, Axel Lin wrote: > 2013/11/11 Ming Lei : > > 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