Re: 2.4.8/2.4.9 problem

From: Daniel Phillips (phillips@bonn-fries.net)
Date: Mon Aug 20 2001 - 16:20:37 EST


On August 19, 2001 11:13 pm, Andrey Nekrasov wrote:
> Hello.
>
> I am have problem with "kernel: __alloc_pages: 0-order allocation failed."
>
> 1. syslog kern.*
>
> ...
> Aug 19 12:28:16 sol kernel: __alloc_pages: 0-order allocation failed.
> Aug 19 12:28:37 sol last message repeated 364 times
> Aug 19 12:29:17 sol last message repeated 47 times
> [etc]

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;
 }
 
-
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:37 EST