Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752121AbaBFGTM (ORCPT ); Thu, 6 Feb 2014 01:19:12 -0500 Received: from smtp1.it.da.ut.ee ([193.40.5.66]:46267 "EHLO smtp1.it.da.ut.ee" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751361AbaBFGTK (ORCPT ); Thu, 6 Feb 2014 01:19:10 -0500 Date: Thu, 6 Feb 2014 08:19:05 +0200 (EET) From: Meelis Roos To: Peter Oberparleiter cc: Andrew Morton , Linux Kernel list , "H. Peter Anvin" Subject: Re: 3.13: BUG: unable to handle kernel paging request at 00000000b4343e88 In-Reply-To: <52F26E21.8000101@linux.vnet.ibm.com> Message-ID: References: <20140121141037.f76dba61212c5597ff733207@linux-foundation.org> <52E26EF3.1090901@linux.vnet.ibm.com> <52E68111.6010005@linux.vnet.ibm.com> <52E918C9.7030408@linux.vnet.ibm.com> <52EBC65C.5020404@linux.vnet.ibm.com> <52F26E21.8000101@linux.vnet.ibm.com> User-Agent: Alpine 1.00 (SOC 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > Using your config I was able to reproduce the crash and locate the > > cause. Commit d61931d89b, "x86: Add optimized popcnt variants" adds > > option -fcall-saved-rdi to the compile flags of lib/hweight.c when > > compiling for x86_64. Together with options --coverage and -O2, this > > results in a broken constructor being generated by GCC for this object > > file which in turn causes __gcov_init() to overwrite random memory > > locations (a mutex in your case). > > Could you give this patch a try? It is a variation of the approach > proposed in the discussion mentioned earlier and fixes the problem > on my system. It works for me too - the machine booted up with no problem. -- Meelis Roos (mroos@linux.ee) -- 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/