2003-11-21 06:06:07

by jurriaan

[permalink] [raw]
Subject: 2.6.0-test9-mm4: page allocation failure. order 3, mode 0x20

After several runs of cdda2wav I get this message:

Nov 21 07:03:34 middle kernel: cdda2wav: page allocation failure. order:3, mode:0x20
Nov 21 07:03:34 middle last message repeated 36 times

MemTotal: 1032740 kB
MemFree: 4212 kB
Buffers: 21952 kB
Cached: 909920 kB
SwapCached: 0 kB
Active: 243228 kB
Inactive: 744460 kB
HighTotal: 131008 kB
HighFree: 252 kB
LowTotal: 901732 kB
LowFree: 3960 kB
SwapTotal: 4016232 kB
SwapFree: 4016232 kB
Dirty: 66352 kB
Writeback: 0 kB
Mapped: 64664 kB
Slab: 25816 kB
Committed_AS: 64280 kB
PageTables: 616 kB
VmallocTotal: 106488 kB
VmallocUsed: 40972 kB
VmallocChunk: 65516 kB

I ran cdda2wav a lot more under 2.9.0-test9-mm3 and didn't see this
message.

Kind regards,
Jurriaan
--
And though kids scrawl frustration on the back street wall
Most of them can't even spell bastard
New Model Army - Master Race
Debian (Unstable) GNU/Linux 2.6.0-test9-mm3 4276 bogomips 0.81 0.57


2003-11-21 06:20:33

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4: page allocation failure. order 3, mode 0x20

Jurriaan <[email protected]> wrote:
>
> After several runs of cdda2wav I get this message:
>
> Nov 21 07:03:34 middle kernel: cdda2wav: page allocation failure. order:3, mode:0x20
> Nov 21 07:03:34 middle last message repeated 36 times
>
> ...
>
> I ran cdda2wav a lot more under 2.9.0-test9-mm3 and didn't see this
> message.

Are you sure you were running -mm4 and not Linus's kernel? -mm has a tweak
for this, and it was present in -mm4.

It would help to add this patch; maybe the allocation is coming from
somewhere else.


diff -puN mm/page_alloc.c~a mm/page_alloc.c
--- 25/mm/page_alloc.c~a 2003-11-20 22:25:23.000000000 -0800
+++ 25-akpm/mm/page_alloc.c 2003-11-20 22:25:38.000000000 -0800
@@ -672,6 +672,7 @@ nopage:
printk("%s: page allocation failure."
" order:%d, mode:0x%x\n",
p->comm, order, gfp_mask);
+ dump_stack();
}
return NULL;
got_pg:

_

2003-11-23 08:20:40

by jurriaan

[permalink] [raw]
Subject: Re: 2.6.0-test9-mm4: page allocation failure. order 3, mode 0x20

From: Andrew Morton <[email protected]>
Date: Thu, Nov 20, 2003 at 10:26:16PM -0800
> Jurriaan <[email protected]> wrote:
> >
> > After several runs of cdda2wav I get this message:
> >
> > Nov 21 07:03:34 middle kernel: cdda2wav: page allocation failure. order:3, mode:0x20
> > Nov 21 07:03:34 middle last message repeated 36 times
> >
> > ...
> >
> > I ran cdda2wav a lot more under 2.9.0-test9-mm3 and didn't see this
> > message.
>
> Are you sure you were running -mm4 and not Linus's kernel? -mm has a tweak
> for this, and it was present in -mm4.

I was running -mm4, sure.

>
> It would help to add this patch; maybe the allocation is coming from
> somewhere else.
>
Unfortunately, I've been unable to reproduce it, even when running the
same programs as I remembered running at that time.

Jurriaan
--
> What does ELF stand for (in respect to Linux?)
ELF is the first rock group that Ronnie James Dio performed with back in
the early 1970's. In constrast, a.out is a misspelling of the French word
for the month of August. What the two have in common is beyond me, but
Linux users seem to use the two words together.
seen on c.o.l.misc
Debian (Unstable) GNU/Linux 2.6.0-test9-mm4 4259 bogomips 0.59 0.36