From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760268AbXGCPzw (ORCPT ); Tue, 3 Jul 2007 11:55:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753789AbXGCPzo (ORCPT ); Tue, 3 Jul 2007 11:55:44 -0400 Received: from smtp2.linux-foundation.org ([207.189.120.14]:60851 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756064AbXGCPzn (ORCPT ); Tue, 3 Jul 2007 11:55:43 -0400 Date: Tue, 3 Jul 2007 08:55:09 -0700 From: Andrew Morton To: Alan Cox Cc: linux-kernel@vger.kernel.org Subject: Re: 2.6.22-rc6-mm1 bad_page events. Message-Id: <20070703085509.2e652c73.akpm@linux-foundation.org> In-Reply-To: <20070703150656.4f618dd5@the-village.bc.nu> References: <20070703150656.4f618dd5@the-village.bc.nu> X-Mailer: Sylpheed 2.4.1 (GTK+ 2.8.17; x86_64-unknown-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 On Tue, 3 Jul 2007 15:06:56 +0100 Alan Cox wrote: > X86 32bit with lots of debug turned on I get this: > > > > Freeing unused kernel memory: 156k freed > Write protecting the kernel text: 1668k > Write protecting the kernel read-only data: 719k > Bad page state in process 'swapper' > page:c10000c0 flags:0x00000400 mapping:00000000 mapcount:0 count:0 > Trying to fix it up, but a reboot is needed > Backtrace: > [] bad_page+0x6c/0x100 > [] free_hot_cold_page+0x5d/0x140 > [] global_flush_tlb+0x112/0x130 > [] init_post+0xd/0xe0 > [] kernel_init+0x216/0x220 > [] schedule_tail+0x0/0xe0 > [] kernel_init+0x0/0x220 > [] kernel_init+0x0/0x220 > [] kernel_thread_helper+0x7/0x10 > ======================= > Hexdump: > 000: 00 06 00 00 01 00 00 00 ff ff ff ff 0f 00 00 00 > 010: 00 00 00 00 00 00 00 00 78 00 00 c1 b8 00 00 c1 > 020: 00 06 00 00 01 00 00 00 ff ff ff ff a7 03 00 00 > 030: 00 00 00 00 00 00 00 00 98 00 00 c1 d8 00 00 c1 > 040: 00 04 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 > 050: 00 00 00 00 00 00 00 00 b8 00 00 c1 f8 00 00 c1 > 060: 00 06 00 00 01 00 00 00 ff ff ff ff 00 04 00 00 > 070: 00 00 00 00 00 00 00 00 d8 00 00 c1 18 01 00 c1 > 080: 00 06 00 00 01 00 00 00 ff ff ff ff 9c 03 00 00 > 090: 00 00 00 00 00 00 00 00 f8 00 00 c1 38 01 00 c1 > 0a0: 00 06 00 00 01 00 00 00 ff ff ff ff 00 04 00 00 > 0b0: 00 00 00 00 00 00 00 00 18 01 00 c1 58 01 00 c1 Wow, freeing lots of PageReserved() pages. I assume via free_initmem(), but it's strange that free_initmem() makes no appearance in the backtrace. I don't know which change could have caused this. Nobody else has reported this, but 32-on-64 might be pretty rare. If you can send the config I'll see if it happens here?