Re: 2.4.8/2.4.9 problem

From: Daniel Phillips (phillips@bonn-fries.net)
Date: Thu Aug 23 2001 - 09:46:54 EST


On August 23, 2001 12:04 pm, Andrey Nekrasov wrote:
> Hello Daniel Phillips,
>
> > > I am have problem with "kernel: __alloc_pages: 0-order allocation failed."
> >
> > Could you please try it with this patch, which will tell us a little more
> > about what's happening (patch -p0):
> >
> > --- ../2.4.9.clean/mm/page_alloc.c Thu Aug 16 12:43:02 2001
> > +++ ./mm/page_alloc.c Mon Aug 20 22:05:40 2001
> > @@ -502,7 +502,7 @@
> > }
> >
> > /* No luck.. */
> > - printk(KERN_ERR "__alloc_pages: %lu-order allocation failed.\n", order);
> > + printk(KERN_ERR "__alloc_pages: %lu-order allocation failed (gfp=0x%x/%i).\n", order, gfp_mask, !!(current->flags & PF_MEMALLOC));
> > return NULL;
> > }
>
> I applied patch, this is result:
>
> ...
> Aug 23 14:00:29 sol kernel: __alloc_pages: 0-order allocation failed (gfp=0x30/1).
> Aug 23 14:00:29 sol last message repeated 12 times
> Aug 23 14:00:29 sol kernel: cation failed (gfp=0x30/1).
> Aug 23 14:00:29 sol kernel: __alloc_pages: 0-order allocation failed (gfp=0x30/1).
> Aug 23 14:00:53 sol last message repeated 334 times
> Aug 23 14:00:53 sol kernel: cation failed (gfp=0x30/1).
> Aug 23 14:00:53 sol kernel: __alloc_pages: 0-order allocation failed (gfp=0x30/1).
> Aug 23 14:00:55 sol last message repeated 300 times
> Aug 23 14:00:55 sol kernel: cation failed (gfp=0x30/1).
> Aug 23 14:00:55 sol kernel: __alloc_pages: 0-order allocation failed (gfp=0x30/1).
> Aug 23 14:00:55 sol last message repeated 281 times
> ...
>
>
> Hm. That is it?

Marcelo already posted a patch to fix this problem (bounce buffer allocation).
Look under subject "Re: With Daniel Phillips Patch (was: aic7xxx with 2.4.9 on
7899P)" with a correction in his next post.

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



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:57 EST