lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 8 Nov 2013 11:56:02 +0800
From:	Axel Lin <axel.lin@...ics.com>
To:	Rusty Russell <rusty@...tcorp.com.au>
Cc:	Ming Lei <tom.leiming@...il.com>,
	Russell King <linux@....linux.org.uk>,
	Michal Marek <mmarek@...e.cz>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>
Subject: Re: kernel BUG at kernel/kallsyms.c:222!

2013/11/8 Rusty Russell <rusty@...tcorp.com.au>:
> Axel Lin <axel.lin@...ics.com> writes:
>> 2013/11/7 Ming Lei <tom.leiming@...il.com>:
>>> Hi,
>>>
>>> On Thu, Nov 7, 2013 at 10:47 AM, Axel Lin <axel.lin@...ics.com> wrote:
>>>>
>>>> hi Ming,
>>>> Seems CONFIG_PAGE_OFFSET is not configurabe in "make menuconfig".
>>>> And I found CONFIG_PAGE_OFFSET=0xC0000000 for all below configs...
>>>> $ make at91_dt_defconfig; grep  CONFIG_PAGE_OFFSET .config
>>>> $ make ep93xx_defconfig; grep  CONFIG_PAGE_OFFSET .config
>>>> $ make imx_v4_v5_defconfig; grep CONFIG_PAGE_OFFSET .config
>>>> $ make mxs_defconfig; grep CONFIG_PAGE_OFFSET .config
>>>> $ make omap2plus_defconfig; grep CONFIG_PAGE_OFFSET .config
>>>> $ make s3c6400_defconfig; grep CONFIG_PAGE_OFFSET .config
>>>> $ make at91x40_defconfig; grep CONFIG_PAGE_OFFSET .config
>>>> ( at91x40_defconfig is also arm7tdmi )
>>>
>>> Firstly it can be configured via VMSPLIT_3GVMSPLIT_2G/VMSPLIT_1G.
>>>
>>> Secondly, configurable or not isn't the point, and maybe some uclinux
>>> platforms do not use CONFIG_PAGE_OFFSET at all, but they should
>>> set it as a reasonable value or at least be below than the start link
>>> address of vmlinux.
>>
>> Hi Ming,
>>
>> I found in arch/arm/include/asm/memory.h:
>> CONFIG_PAGE_OFFSET is not used if !CONFIG_MMU.
>> So looks like setting CONFIG_PAGE_OFFSET to other value still won't work.
>
> This seems like the simplest solution, but it may mean you still have
> crap in /proc/kallsyms.
>
> Does it work for you?

Yes, it works.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ