Kernel Newbies archive on lore.kernel.org
 help / color / Atom feed
* TPM error 256 (TPM_RC_INITIALIZE)
@ 2020-07-08 15:18 Tomek The Messenger
  0 siblings, 0 replies; only message in thread
From: Tomek The Messenger @ 2020-07-08 15:18 UTC (permalink / raw)
  To: kernelnewbies

[-- Attachment #1.1: Type: text/plain, Size: 1216 bytes --]

Hi
Was anyone dealing with TPM?
I have error during TPM initialization:
tpm tpm0: A TPM error (256) occurred continue seltest

And I have similar error when executing /sbin/reboot:
tpm tpm0: A TMP error (256) occurred stopping the TPM

What I might say is that in filesystem there are files:
dev/tmp0
dev/tmprm0

Looking solution in google I found two different opinions:
One is not to matter with this error:
"Yeah, those messages are confusing if you are not used to them, maybe I
get to clean that up at some point.

In this case, the kernel
<https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/drivers/char/tpm/tpm2-cmd.c?h=v4.9.56#n970>
assumes
that the platform has started the TPM, but as RC_INITIALIZE shows this is
not the case. So the kernel will happily start the TPM and retry the
action, but you do not get any success message for that. But you should get
your /dev/tpm* if everything works."


Second opinion is:

"The device is usable but not with a full potential. It's seems that TPM is
not getting initialized correctly in the firmware."


Is something needed to debug here? Maybe I should ask authors of this
drivers what those errors during linux startup and close mean?

[-- Attachment #1.2: Type: text/html, Size: 3283 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-08 15:18 TPM error 256 (TPM_RC_INITIALIZE) Tomek The Messenger

Kernel Newbies archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kernelnewbies/0 kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ https://lore.kernel.org/kernelnewbies \
		kernelnewbies@kernelnewbies.org
	public-inbox-index kernelnewbies

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernelnewbies.kernelnewbies


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git