[?] __alloc_pages: 1-order allocation failed.
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 ?
I am running 2.4.1-XFS (2001/02/10) on a Mendocino 366/128MB/VT82C596A/PDC20262.
Regards,
- Krzysztof
PS.
lkml subscribers: please reply to my email if it's possible :)
Quoted 12 lines · Krzysztof Rusocki
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).
Quoted 4 lines
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
page_alloc.c +2 -1
@@ -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 ; }
Quoted 11 lines · Krzysztof Rusocki
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).
I typically get thousands of such messages when using my SCSI CDRW (I think it's specifically when I'm cat'ing or dd'ing from the drive. Specifically, I get 2- and 3-order allocation failures. I'll use the patch Andi Kleen posted to track down the exact locations of these errors. There seem to be no ill effects at all from these errors.
Signature · 6 lines
-> -/- - Rahul Jain - -\- <- -> -\- http://linux.rice.edu/~rahul -=- mailto:[email protected] -/- <- -> -/- "I never could get the hang of Thursdays." - HHGTTG by DNA -\- <- |--|--------|--------------|----|-------------|------|---------|-----|-| Version 11.423.999.220020101.23.50110101.042 (c)1996-2000, All rights reserved. Disclaimer available upon request.