From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756133AbYDJLCW (ORCPT ); Thu, 10 Apr 2008 07:02:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755117AbYDJLCN (ORCPT ); Thu, 10 Apr 2008 07:02:13 -0400 Received: from fg-out-1718.google.com ([72.14.220.153]:13491 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755046AbYDJLCM (ORCPT ); Thu, 10 Apr 2008 07:02:12 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=vZ9GphXkobd/WfYvPXOmPfymxxpWHrr4taDgBsOIY+g78MGJggsVlQig3525O+85n3Gc8TPNJYji1W6hOkrJYHXqJGvnBVGZTk3GWVVf21U+e7FuDT4qnZ62tFqChQgdyWag3O+Xm29MoSturGooD4krUkeD25OoqyfknShGPCc= Message-ID: <47FDF2DF.6030006@gmail.com> Date: Thu, 10 Apr 2008 12:58:39 +0200 From: Jacek Luczak User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: Kamalesh Babulal CC: Stephen Rothwell , linux-next@vger.kernel.org, LKML , Andy Whitcroft Subject: Re: [BUG] linux-next: Tree for April 9 warning on CC_STACKPROTECTOR, followed by kernel panic References: <20080409185309.b94c9d15.sfr@canb.auug.org.au> <47FDE045.4070509@linux.vnet.ibm.com> <47FDE881.1030409@gmail.com> <47FDF11D.40407@linux.vnet.ibm.com> In-Reply-To: <47FDF11D.40407@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kamalesh Babulal pisze: > Jacek Luczak wrote: >> Kamalesh Babulal pisze: >>> Hi Stephen, >>> >>> The next-20080409 kernel warns while booting up on a x86_64 machine. >>> When compiled the kernel with CONFIG_CC_STACKPROTECTOR=y, the warning >>> is followed by the kernel panic. >>> >>> Testing -fstack-protector-all feature >>> No -fstack-protector-stack-frame! >>> -fstack-protector-all test failed >>> ------------[ cut here ]------------ >>> WARNING: at kernel/panic.c:365 __stack_chk_test+0x4b/0x50() >>> Modules linked in: >>> Pid: 1, comm: swapper Not tainted 2.6.25-rc8-next-20080409-autotest #1 >>> >>> Call Trace: >>> [] warn_on_slowpath+0x51/0x63 >>> [] printk+0x4e/0x56 >>> [] extract_entropy+0x47/0x90 >>> [] dup_mm+0xca/0x3fd >>> [] __stack_chk_test_func+0x21/0x32 >>> [] __stack_chk_test+0x4b/0x50 >>> [] kernel_init+0x189/0x2f9 >>> [] _spin_unlock_irq+0x9/0xc >>> [] child_rip+0xa/0x12 >>> [] kernel_init+0x0/0x2f9 >>> [] child_rip+0x0/0x12 >>> >>> ---[ end trace d88d2f3a71e3b32c ]--- >> Hi, >> >> what version of GCC are you using? >> >> -Jacek > Hi Jacek, > > I use the gcc version (GCC) 4.1.1 20060525 (Red Hat 4.1.1-1) IMO it's GCC problem (I've seen a lot of problems with stack-protector and GCC 4.1 branch). Can you make some tests with 4.2 branch? -Jacek -Jacek