Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750777AbXACNx3 (ORCPT ); Wed, 3 Jan 2007 08:53:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750782AbXACNx3 (ORCPT ); Wed, 3 Jan 2007 08:53:29 -0500 Received: from mailout.stusta.mhn.de ([141.84.69.5]:3955 "HELO mailout.stusta.mhn.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1750777AbXACNx0 (ORCPT ); Wed, 3 Jan 2007 08:53:26 -0500 Date: Wed, 3 Jan 2007 14:53:26 +0100 From: Adrian Bunk To: Vivek Goyal Cc: linux kernel mailing list , Linus Torvalds , Andi Kleen , Morton Andrew Morton , "Eric W. Biederman" , Fastboot mailing list , Jean Delvare , Segher Boessenkool Subject: Re: [PATCH] i386 kernel instant reboot with older binutils fix Message-ID: <20070103135326.GF20714@stusta.de> References: <20070103041645.GA17546@in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070103041645.GA17546@in.ibm.com> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1996 Lines: 61 On Wed, Jan 03, 2007 at 09:46:45AM +0530, Vivek Goyal wrote: > > o i386 kernel reboots instantly if compiled with binutils older than > 2.6.15. Should that have been "2.15"? And is the following perhaps the same issue? Subject : kernel immediately reboots instead of booting References : http://lkml.org/lkml/2007/1/2/15 Submitter : Steve Youngs Status : unknown @Steve: You had binutils 2.14.90.0.6 . Does this patch fix it for you? > o Older binutils required explicit flags to mark a section allocatable > and executable(AX). Newer binutils automatically mark a section AX if > the name starts with .text. > > o While defining a new section using assembler "section" directive, > explicitly mention section flags. > > Signed-off-by: Segher Boessenkool > Signed-off-by: Vivek Goyal > --- > > arch/i386/boot/compressed/head.S | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -puN arch/i386/boot/compressed/head.S~jean-reboot-issue-fix arch/i386/boot/compressed/head.S > --- linux-2.6.20-rc2-reloc/arch/i386/boot/compressed/head.S~jean-reboot-issue-fix 2007-01-02 09:54:56.000000000 +0530 > +++ linux-2.6.20-rc2-reloc-root/arch/i386/boot/compressed/head.S 2007-01-02 09:57:46.000000000 +0530 > @@ -28,7 +28,7 @@ > #include > #include > > -.section ".text.head" > +.section ".text.head","ax",@progbits > .globl startup_32 > > startup_32: > _ cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed - 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/