Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761555AbYGOOWu (ORCPT ); Tue, 15 Jul 2008 10:22:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761252AbYGOOWf (ORCPT ); Tue, 15 Jul 2008 10:22:35 -0400 Received: from ra.tuxdriver.com ([70.61.120.52]:2887 "EHLO ra.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761231AbYGOOWe (ORCPT ); Tue, 15 Jul 2008 10:22:34 -0400 Date: Tue, 15 Jul 2008 10:21:57 -0400 From: Neil Horman To: Ingo Molnar Cc: Simon Arlott , Linux Kernel Mailing List , Andrew Morton , Herbert Xu Subject: Re: BUG: unable to handle kernel NULL pointer dereference at 000000000000000e (reset_prng_context) Message-ID: <20080715142157.GA4918@hmsreliant.think-freely.org> References: <487BE071.80101@simon.arlott.org.uk> <20080715020428.GA27463@hmsendeavour.rdu.redhat.com> <20080715113304.GA30565@elte.hu> <20080715115117.GA3300@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080715115117.GA3300@elte.hu> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2043 Lines: 60 On Tue, Jul 15, 2008 at 01:51:17PM +0200, Ingo Molnar wrote: > > * Ingo Molnar wrote: > > > i have just triggered this crash too. Please, when you know about > > bootup crashes in your code send a patch to the lkml thread so that > > people can apply it and have a working system. > > here's the band-aid patch i'm using. > > Ingo > > --------------> > commit 3fdcd29e5c272c66424ac7616fcd4a9a725bc206 > Author: Ingo Molnar > Date: Tue Jul 15 13:34:15 2008 +0200 > > crypto: exclude broken CRYPTO_PRNG code > > Signed-off-by: Ingo Molnar > --- > crypto/Kconfig | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/crypto/Kconfig b/crypto/Kconfig > index ea50357..2cf66ca 100644 > --- a/crypto/Kconfig > +++ b/crypto/Kconfig > @@ -670,6 +670,8 @@ comment "Random Number Generation" > > config CRYPTO_PRNG > tristate "Pseudo Random Number Generation for Cryptographic modules" > + # causes bootup crashes with config-Tue_Jul_15_10_35_22_CEST_2008.bad > + depends on 0 > help > This option enables the generic pseudo random number generator > for cryptographic modules. Uses the Algorithm specified in Who's using this at the moment Ingo? its part of a larger effort for pseudo random initial vectors for ipsec. Nothing should depend on or load this module yet, let alone alloc a context. Not that that forgives the oops (which incidentally doesn't occur on my systems, since I build with CRYPTO_CTR enabled). The patch to fix this is trivial, I'll be posting it later today, after I test it. Neil -- /**************************************************** * Neil Horman * Software Engineer, Red Hat ****************************************************/ -- 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/