Re: Memory Problem in 2.4.9 ?

From: Daniel Phillips (phillips@bonn-fries.net)
Date: Tue Aug 21 2001 - 09:33:27 EST


On August 21, 2001 03:46 pm, Stephan von Krawczynski wrote:
> Hello all,
>
> can anybody enlighten me about the following kernel-message:
>
> Aug 21 14:37:39 admin kernel: __alloc_pages: 3-order allocation failed.
> Aug 21 14:37:39 admin kernel: __alloc_pages: 2-order allocation failed.
> Aug 21 14:37:39 admin kernel: __alloc_pages: 3-order allocation failed.
> Aug 21 14:37:39 admin kernel: __alloc_pages: 3-order allocation failed.
> Aug 21 14:37:39 admin kernel: __alloc_pages: 2-order allocation failed.
> Aug 21 14:37:39 admin kernel: __alloc_pages: 3-order allocation failed.
> Aug 21 14:37:39 admin last message repeated 69 times
>
> I get tons of them during verifying burned CDs with xcdroast (which takes
> a really long time, and must have some problem therefore). I would not
> worry you if it didn't work with earlier kernel-versions, but in fact it
> did.

The following patch will tell us more about the failure, could you please
apply (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;
 }
 
-
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:42 EST