lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 3 Jan 2007 14:53:26 +0100
From:	Adrian Bunk <bunk@...sta.de>
To:	Vivek Goyal <vgoyal@...ibm.com>
Cc:	linux kernel mailing list <linux-kernel@...r.kernel.org>,
	Linus Torvalds <torvalds@...l.org>, Andi Kleen <ak@....de>,
	Morton Andrew Morton <akpm@...l.org>,
	"Eric W. Biederman" <ebiederm@...ssion.com>,
	Fastboot mailing list <fastboot@...ts.osdl.org>,
	Jean Delvare <khali@...ux-fr.org>,
	Segher Boessenkool <segher@...nel.crashing.org>
Subject: Re: [PATCH] i386 kernel instant reboot with older binutils fix

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 <steve@...ngs.au.com>
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 <segher@...nel.crashing.org>
> Signed-off-by: Vivek Goyal <vgoyal@...ibm.com>
> ---
> 
>  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 <asm/page.h>
>  #include <asm/boot.h>
>  
> -.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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ