[lkml]   [2008]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 9a2d43b: __alloc_bootmem_core(): zero-sized request
On Sat, Aug 23, 2008 at 9:12 AM, Johannes Weiner <> wrote:
> "Vegard Nossum" <> writes:
>> I was trying out
>> commit 9a2d43b7566caeeeb414aa628bc2759028897dbb
>> Date: Tue Jul 15 21:21:43 2008 +0200
>> part of the debugging of a different issue, but I got this:
>> __alloc_bootmem_core(): zero-sized request


>> I saw some bootmem errata lately, can I cherry-pick anything to fix
>> this?
> This behaviour hasn't changed after the rewrite.

Yep, the error is somewhere else.

Inserted a printk("nr_kernel_pages = %llu\n", nr_kernel_pages); and
this is the output:

nr_kernel_pages = 13869392367443771392 looks very, very big. I think this is initialized via
free_area_init_*() functions, which come from arch code. Does x86
experts know if any of this changed recently (i.e. after July 15)?

The whole dmesg and config can be seen here:


"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
-- E. W. Dijkstra, EWD1036

 \ /
  Last update: 2008-08-24 10:01    [W:0.061 / U:11.804 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site