From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754580AbZD2Ks7 (ORCPT ); Wed, 29 Apr 2009 06:48:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751873AbZD2Kst (ORCPT ); Wed, 29 Apr 2009 06:48:49 -0400 Received: from pfepb.post.tele.dk ([195.41.46.236]:35638 "EHLO pfepb.post.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752005AbZD2Kss (ORCPT ); Wed, 29 Apr 2009 06:48:48 -0400 Date: Wed, 29 Apr 2009 12:50:56 +0200 From: Sam Ravnborg To: Ingo Molnar Cc: LKML , Tim Abbott , Linus Torvalds , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" Subject: Re: [PATCH/RFT 0/13] x86: unify vmlinux.lds Message-ID: <20090429105056.GA28720@uranus.ravnborg.org> References: <20090429073510.GA26386@uranus.ravnborg.org> <20090429075730.GD22129@elte.hu> <20090429100013.GA23717@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090429100013.GA23717@elte.hu> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 29, 2009 at 12:00:13PM +0200, Ingo Molnar wrote: > > Ok, first problem hit in testing: > > Freeing unused kernel memory: 1800k freed > BUG: Bad page state in process swapper pfn:01c00 > page:f666b000 flags:00840000 count:0 mapcount:0 mapping:(null) index:0 > Pid: 1, comm: swapper Not tainted 2.6.30-rc3-tip-01696-g9b182a3-dirty #37518 > Call Trace: > [] ? printk+0x15/0x1d > [] bad_page+0xdb/0x150 > [] free_hot_cold_page+0x1b7/0x2f0 > [] free_hot_page+0xf/0x20 > [] __free_pages+0x37/0x40 > [] free_pages+0x3f/0x50 > [] free_init_pages+0xb0/0xd0 > [] free_initmem+0x1c/0x20 > [] init_post+0x12/0x170 > [] kernel_init+0x14b/0x161 > [] ? kernel_init+0x0/0x161 > [] kernel_thread_helper+0x7/0x10 > Disabling lock debugging due to kernel taint > Write protecting the kernel text: 7660k > Testing CPA: Reverting c0100000-c087b000 > > more details attached. (sendig the System.map separately, it's too > large) Commit used was v2.6.30-rc3-1696-g9b182a3. OK - I think I know what is wrong. You have: CONFIG_RELOCATABLE=y And I moved a few symbols out of an output section. But they were there for a purpose as the comment in the top of the file says. I am on my way out of the door. Patch follows tonight. Sam