On 14/06/18 19:26, Michael Büsch wrote: > On Thu, 14 Jun 2018 12:47:19 +0300 > Wirz <spam@xxxxxxxxxxxxx> wrote: > >>>>>> You can edit drivers/net/wireless/broadcom/b43/Kconfig >>>>>> go to the section config B43_HWRNG >>>>>> and change 'default y' to 'default n' >>>>>> >>>>>> That should disable it. >>>>> >>>>> >>>>> >>>>> Could you please also try the attached patch? >>>>> There seems to be a problem in hwrng core in that it does not disable >>>>> the current RNG, if the new RNG fails to initialize. >>>>> I don't know if that's the problem here, though. >>>> >>>> Ok. Do I apply your patch to the first version that fails for me, and >>>> revert my change to Kconfig? >>> >>> >>> Yes, please test the patch with a version that would otherwise fail. >>> You can use 4.16 or the latest kernel for that. I created it with latest >>> linus' version. >> >> I tested both suggested cases. When I disable B43_HWRNG by editing >> Kconfig, 'rmmod b43' succeeds in the first version where it previously >> failed. When I apply your patch on top of an unmodified 4.16 it also >> succeeds. > > > Thank you _very_ much for testing. > > I will submit this patch to the hw_random maintainers. Great, thank you! I look forward to using a current kernel again. cheers, lukas -- Do not believe the naysayers who say it cannot be done.
Attachment:
signature.asc
Description: OpenPGP digital signature