lkml.org 
[lkml]   [2001]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: [?] __alloc_pages: 1-order allocation failed.
    On Tue, Feb 13, 2001 at 10:59:57AM +0100, Krzysztof Rusocki wrote:
    >
    > Hi,
    >
    > Here's what i've found today in logs:
    >
    > Feb 13 02:10:41 main kernel: __alloc_pages: 1-order allocation failed.
    > Feb 13 02:10:42 main last message repeated 143 times
    > Feb 13 02:10:47 main kernel: ed.
    > Feb 13 02:10:47 main kernel: __alloc_pages: 1-order allocation failed.
    > Feb 13 02:50:30 main syslogd 1.3-3: restart (remote reception).
    >
    >
    > After that there was possibly lock-up or reboot (i don't know, when i
    > connected to the machine it was already running).
    >
    > What can be possible cause of such things ?

    When you add the following patch you should see the addresses of functions
    that cause allocation failures. Look the hex value up in the System.map
    then. For this XFS should be compiled in, not be a module.
    Is it always the same address?




    -Andi

    Index: mm/page_alloc.c
    ===================================================================
    RCS file: /cvs/linux-2.4-xfs/linux/mm/page_alloc.c,v
    retrieving revision 1.32
    diff -u -r1.32 page_alloc.c
    --- mm/page_alloc.c 2000/12/17 19:15:00 1.32
    +++ mm/page_alloc.c 2001/02/13 13:54:33
    @@ -529,7 +529,8 @@
    }

    /* No luck.. */
    - printk(KERN_ERR "__alloc_pages: %lu-order allocation failed.\n", order);
    + printk(KERN_ERR "__alloc_pages: %lu-order allocation failed from %p\n",
    + order, __builtin_return_address(0));
    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/
    \
     
     \ /
      Last update: 2005-03-22 13:14    [W:0.021 / U:1.988 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site