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]
Message-ID: <4A295AFB.80909@kernel.org>
Date:	Fri, 05 Jun 2009 10:50:51 -0700
From:	Yinghai Lu <yinghai@...nel.org>
To:	Tao Ma <tao.ma@...cle.com>
CC:	Amerigo Wang <xiyou.wangcong@...il.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu>,
	Andi Kleen <ak@...ux.intel.com>
Subject: Re: /proc/kcore has a unreasonable size(281474974617600) in x86_64
 2.6.30-rc8.

Tao Ma wrote:
> 
> 
> Amerigo Wang wrote:
>> On Fri, Jun 05, 2009 at 05:30:49PM +0800, Tao Ma wrote:
>>>> Please send the boot logs: dmesg -s 1000000 > foo
>>> attached.
>>
>>> #######high memory 18446612137615818752, size_t 18446612137615818752
>>> #######kcore size 5301604352, PAGE_OFFSET 0, PAGE_SIZE 4096
>>
>>
>> These two lines must be added by yourself...
>>
>> What?!
>> How can PAGE_OFFSET be 0??
>> Can you show us these two printk() you just added?
>>
>> And, the size of kcore is not the crazy number in the subject...
>> This one is much saner..
> Sorry, I used the wrong printk. the correct one is:
> #######high memory 18446612137615818752, size_t 18446612137615818752
> #######kcore size 5301604352, PAGE_OFFSET 18446612132314218496,
> PAGE_SIZE 4096
> 

%lx should be used.

also you compiler doesn't like

high_memory = (void *)__va(max_pfn * PAGE_SIZE - 1) + 1;

in setup.c?

YH

--
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