Re: ACPI warning from alloc_pages_nodemask on boot (2.6.33 regression)

Peter Zijlstra
2009-12-30T15:36:11Z

On Wed, 2009-12-30 at 15:21 +0900, KOSAKI Motohiro wrote:
> >> [ 1.630020] ------------[ cut here ]------------
> >> [ 1.630026] WARNING: at mm/page_alloc.c:1812 __alloc_pages_nodemask+0x617/0x730()
> >
> > if (order >= MAX_ORDER) {
> > WARN_ON_ONCE(!(gfp_mask & __GFP_NOWARN));
> > return NULL;
> > }
> >
> > I don't know what the mm alloc code is complaining about here.

> >> [ 1.630028] Hardware name: System Product Name
> >> [ 1.630029] Modules linked in:
> >> [ 1.630032] Pid: 1, comm: swapper Not tainted 2.6.33-rc2 #4
> >> [ 1.630034] Call Trace:

> >> [ 1.630064] [<ffffffff812cae3e>] acpi_os_allocate+0x25/0x27

Right, so ACPI is trying to allocate something larger than 2^MAX_ORDER
pages, which on x86 computes to 4K * 2^11 = 8M.

That's not going to work.

Did this machine properly boot before? I seem to remember people working
on moving away from bootmem and getting th page/slab stuff up and
running sooner, it might be fallout from that...