On Thu, Nov 12, 2026 at 12:46:57AM +0200, Jarkko Sakkinen wrote: > On Thu, Nov 12, 2026 at 12:43:59AM +0200, Jarkko Sakkinen wrote: > > $ tpm2sh return-code 256 > > TPM_RC_INITIALIZE > > > > I.e. TPM has not been properly initialized by TPM2_Startup(). > > > > I.e. TPM is also saying that it is *disabled*. > > > > So acting on this proven fact makes most sense to me. > > > Actually, should we even disable TPM if it returns this error code > already at the level of tpm_transmit(). It is a guaranteed dead-end > to any possible TPM operation. > > I.e. while this fixes hwrng issue I think it might be addressing the > issue at a wrong level. I leave room for figuring out 1/2 but for the second issue I would just do what the attached patch does and call it a day. Br, Jarkko