Re: 3-order allocation failed

From: Andrew Morton (andrewm@uow.edu.au)
Date: Thu Oct 26 2000 - 08:52:02 EDT

  • Next message: Yuri Pudgorodsky: "BUG: block_read_full_page with NULL page->mapping"

    "Pasi Kärkkäinen" wrote:
    >
    > Ok. I recompiled the kernel and modules with 2.95.2 and it still seems not
    > to work. This is from syslog:
    >
    > __alloc_pages: 2-order allocation failed.
    > __alloc_pages: 2-order allocation failed.
    > __alloc_pages: 5-order allocation failed.
    > __alloc_pages: 4-order allocation failed.
    > __alloc_pages: 3-order allocation failed.
    > __alloc_pages: 2-order allocation failed.
    > __alloc_pages: 5-order allocation failed.
    >
    > Any ideas?

    Nope - USB problem. I suggest you apply this:

    --- linux-2.4.0-test10-pre5/mm/page_alloc.c Tue Oct 24 21:34:13 2000
    +++ linux-akpm/mm/page_alloc.c Thu Oct 26 23:40:13 2000
    @@ -527,6 +527,7 @@
     
             /* No luck.. */
             printk(KERN_ERR "__alloc_pages: %lu-order allocation failed.\n", order);
    + BUG();
             return NULL;
     }
     

    and when the kernel crashes, feed the log through ksymoops so we
    can see where the failing allocation attempt is occurring.

    [ You could put a show_stack(0) in here, but I believe ksymoops
      doesn't understand show_stack() output ].
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Thu Oct 26 2000 - 08:55:38 EDT