Re: 2.6.37-rc7: Regression: b43: crashes in hwrng_register()

From: Herbert Xu
Date: Tue Jan 04 2011 - 07:38:39 EST


On Tue, Jan 04, 2011 at 01:19:57PM +0100, Mario 'BitKoenig' Holbe wrote:
>
> Hmmm, yes - the patch fixes the crashes, i.e. no more crashes with
> either sequence of module-loading, cat rng_available works as well,
> but...
>
> Having this patch active rngd complains:
> rngd[1435]: rngd 2-unofficial-mt.13 starting up...
> rngd[1435]: block failed FIPS test: 0x1f
> rngd[1435]: block failed FIPS test: 0x1f
> ...
> rngd[1435]: stats: entropy added to kernel pool: 0
> rngd[1435]: stats: FIPS 140-2 successes: 0
> rngd[1435]: stats: FIPS 140-2 failures: 10
>
> It doesn't do this without the patch.
> The only available rng was via, I did blacklist the others just to be
> sure.

Hmm, can you print out what it's actually producing (e.g., by
stracing rngd)?

Can you also double-check that this doesn't happen with Larry's
patch?

Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/