Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264102AbUDGGXL (ORCPT ); Wed, 7 Apr 2004 02:23:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264106AbUDGGXL (ORCPT ); Wed, 7 Apr 2004 02:23:11 -0400 Received: from fw.osdl.org ([65.172.181.6]:51109 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S264102AbUDGGXG (ORCPT ); Wed, 7 Apr 2004 02:23:06 -0400 Date: Tue, 6 Apr 2004 23:22:15 -0700 From: Andrew Morton To: Jaco Kroon Cc: linux-kernel@vger.kernel.org Subject: Re: OOPS in __alloc_pages on x86 Message-Id: <20040406232215.62d88593.akpm@osdl.org> In-Reply-To: <40739A96.6010604@cs.up.ac.za> References: <4072E822.9040304@kroon.co.za> <40739A96.6010604@cs.up.ac.za> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2604 Lines: 73 Jaco Kroon wrote: > > And on 2.6.5: > > ifconfig: page allocation failure. order:0, mode:0x20 > Call Trace: > [] __alloc_pages+0x2d7/0x390 > [] __get_free_pages+0x22/0x60 > [] cache_grow+0x11f/0x470 > [] cache_alloc_refill+0x16f/0x4e0 > [] kmem_cache_alloc+0x19f/0x1c0 > [] alloc_skb+0x1c/0xe0 > [] tulip_init_ring+0xa1/0x160 > [] tulip_open+0x36/0x50 > [] dev_open+0xb7/0xf0 > [] dev_change_flags+0x58/0x140 > [] devinet_ioctl+0x2b7/0x6a0 > [] inet_ioctl+0xb0/0xf0 > [] sock_ioctl+0xac/0x260 > [] sys_ioctl+0x8d/0x220 > [] syscall_call+0x7/0xb > > When configuring the network card upon boot. I don't know why you'd fail an allocation on boot. How much memory does that machine have? > Jaco Kroon wrote: > > > Hello all > > > > I'm getting lot's of these today: > > > > kswapd0: page allocation failure. order:0, mode:0x20 > > Call Trace: > > [] __alloc_pages+0x2d7/0x390 > > [] __get_free_pages+0x22/0x60 > > [] cache_grow+0x11f/0x470 > > [] cache_alloc_refill+0x16f/0x4e0 > > [] kmem_cache_alloc+0x19f/0x1c0 > > [] alloc_skb+0x1c/0xe0 > > [] tulip_refill_rx+0x91/0x100 > > [] tulip_interrupt+0x8cc/0x8e0 > > [] do_timer+0xf3/0x100 > > [] handle_IRQ_event+0x33/0x60 > > [] do_IRQ+0x10d/0x2f0 > > [] common_interrupt+0x18/0x20 > > [] free_hot_cold_page+0x1d/0xf0 > > [] __pagevec_free+0x1c/0x30 > > [] __pagevec_release_nonlru+0x67/0x90 > > [] unlock_page+0xd/0x50 > > [] shrink_list+0x61c/0x890 > > [] __pte_chain_free+0x3d/0x50 > > [] shrink_cache+0x1d2/0x530 > > [] shrink_zone+0x6f/0xa0 > > [] balance_pgdat+0x159/0x1f0 > > [] kswapd+0xde/0xf0 > > [] autoremove_wake_function+0x0/0x40 > > [] autoremove_wake_function+0x0/0x40 > > [] kswapd+0x0/0xf0 > > [] kernel_thread_helper+0x5/0x10 You should increase /proc/sys/vm/min_free_kbytes. There's not a lot more we can do about this really, unless the driver is actually buggy. Perhaps the default min_free_kbytes could be increased for however much memory you have. - 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/