From: Ingo Molnar Subject: Re: tip: origin tree boot crash Date: Thu, 4 Mar 2010 04:00:52 +0100 Message-ID: <20100304030052.GD23633@elte.hu> References: <20081225001724.GA2813@gondor.apana.org.au> <20081225002020.GA2912@gondor.apana.org.au> <20090324044932.GA18245@gondor.apana.org.au> <20091204135530.GA29371@gondor.apana.org.au> <20100226004914.GA20812@gondor.apana.org.au> <20100301075024.GA4753@elte.hu> <20100301145519.GB20729@secunet.com> <20100303144240.GA14373@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Steffen Klassert , Linus Torvalds , "David S. Miller" , Linux Kernel Mailing List , Linux Crypto Mailing List To: Herbert Xu Return-path: Received: from mx3.mail.elte.hu ([157.181.1.138]:41556 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753529Ab0CDDBM (ORCPT ); Wed, 3 Mar 2010 22:01:12 -0500 Content-Disposition: inline In-Reply-To: <20100303144240.GA14373@gondor.apana.org.au> Sender: linux-crypto-owner@vger.kernel.org List-ID: * Herbert Xu wrote: > On Mon, Mar 01, 2010 at 03:55:19PM +0100, Steffen Klassert wrote: > > > > On Mon, Mar 01, 2010 at 08:50:24AM +0100, Ingo Molnar wrote: > > > > > > * Herbert Xu wrote: > > > > > > > crypto: pcrypt - Add pcrypt crypto parallelization wrapper > > > > > > -tip testing started triggering the following frequent boot crash yesterday, > > > on 64-bit x86: > > > > > > | calling pcrypt_init+0x0/0xee @ 1 > > > | BUG: unable to handle kernel NULL pointer dereference at (null) > > > | IP: [] memcpy+0xb/0xb0 > > > | Call Trace: > > > | [] ? padata_alloc+0x98/0x150 > > > | [] ? pcrypt_init+0x0/0xee > > > | [] pcrypt_init+0x7b/0xee > > > > > > > Ugh, it seems that I forgot to allocate one of the cpumasks. Looking at the > > configs of my test systems I noticed, that CONFIG_CPUMASK_OFFSTACK was > > not set on all the configs, so I did not notice it. > > > > The patch below fixes the boot crash if CONFIG_CPUMASK_OFFSTACK is > > enabled on my test systems. Does the patch fix it for you too? > > Ingo, any luck with this patch from Steffen? I'm still busy with the merge window - please dont wait for me and consider it fixed, i'll re-report if there's still any problems. Thanks, Ingo