* What does error code 38 mean?
@ 2017-04-23 19:57 Paul Menzel
0 siblings, 0 replies; 4+ messages in thread
From: Paul Menzel @ 2017-04-23 19:57 UTC (permalink / raw)
To: tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Dear Linux folks,
On resume, Linux 4.11-rc7 logs the messages below.
```
[…]
Apr 23 21:42:05 lenovox60t kernel: pciehp 0000:00:1c.0:pcie004: Timeout
on hotplug command 0x1038 (issued 109528 msec ago)
Apr 23 21:42:05 lenovox60t kernel: tpm tpm0: A TPM error (38) occurred
continue selftest
Apr 23 21:42:05 lenovox60t kernel: pciehp 0000:00:1c.0:pcie004: Device
0000:01:00.0 already exists at 0000:01:00, cannot hot-add
Apr 23 21:42:05 lenovox60t kernel: pciehp 0000:00:1c.0:pcie004: Cannot
add device at 0000:01:00
Apr 23 21:42:05 lenovox60t kernel: ata1.00: configured for UDMA/33
Apr 23 21:42:05 lenovox60t kernel: pciehp 0000:00:1c.0:pcie004: Device
0000:01:00.0 already exists at 0000:01:00, cannot hot-add
Apr 23 21:42:05 lenovox60t kernel: pciehp 0000:00:1c.0:pcie004: Cannot
add device at 0000:01:00
Apr 23 21:42:05 lenovox60t kernel: pcieport 0000:00:1c.0: System wakeup
disabled by ACPI
Apr 23 21:42:05 lenovox60t kernel: e1000e 0000:01:00.0: Disabling ASPM
L0s L1
Apr 23 21:42:05 lenovox60t kernel: usb 5-6: reset high-speed USB device
number 2 using ehci-pci
Apr 23 21:42:05 lenovox60t kernel: ata3: SATA link up 1.5 Gbps (SStatus
113 SControl 300)
Apr 23 21:42:05 lenovox60t kernel: PM: resume of devices complete after
499.821 msecs
Apr 23 21:42:05 lenovox60t kernel: PM: Finishing wakeup.
Apr 23 21:42:05 lenovox60t kernel: Restarting tasks ... done.
Apr 23 21:42:05 lenovox60t kernel: video LNXVIDEO:00: Restoring
backlight state
[…]
```
What does error code 38 mean in `tpm tpm0: A TPM error (38) occurred
continue selftest`?
Kind regards,
Paul
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
tpmdd-devel mailing list
tpmdd-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tpmdd-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: What does error code 38 mean?
[not found] ` <0603ee8e-ce81-9a46-4bb3-5fe4d7bda463-KUpvgZVWgV9o1qOY/usvUg@public.gmane.org>
@ 2017-04-26 17:52 ` Ken Goldman
0 siblings, 0 replies; 4+ messages in thread
From: Ken Goldman @ 2017-04-26 17:52 UTC (permalink / raw)
To: tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On 4/24/2017 10:50 AM, Paul Menzel wrote:
>
> Thank you for the quick reply. As this is during resume, could you
> please point me to documentation, what is expected for resume from the
> firmware?
If "resume" means: from the sleep state where the platform suspends to
RAM and there is no OS reboot, that's
Shutdown(STATE) followed by Startup(STATE).
The TPM 2.0 specifications use the key word "TPM Resume".
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: What does error code 38 mean?
2017-04-24 1:32 Peter Huewe
@ 2017-04-24 14:50 ` Paul Menzel
[not found] ` <0603ee8e-ce81-9a46-4bb3-5fe4d7bda463-KUpvgZVWgV9o1qOY/usvUg@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Paul Menzel @ 2017-04-24 14:50 UTC (permalink / raw)
To: Peter Huewe, tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Cc: Patrick Rudolph, Arthur Heymans
Dear Peter, dear TPM folks,
On 04/24/17 03:32, Peter Huewe wrote:
>> x60t kernel: tpm tpm0: A TPM error (38) occurred continue selftest
>
> 38=0x26= invalid post init, which means tpm did not receive tpm_startup command
> after reset.
Thank you for the quick reply. As this is during resume, could you
please point me to documentation, what is expected for resume from the
firmware?
Kind regards,
Paul
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: What does error code 38 mean?
@ 2017-04-24 1:32 Peter Huewe
2017-04-24 14:50 ` Paul Menzel
0 siblings, 1 reply; 4+ messages in thread
From: Peter Huewe @ 2017-04-24 1:32 UTC (permalink / raw)
To: Paul Menzel, tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: text/html, Size: 221 bytes --]
[-- Attachment #2: Type: text/plain, Size: 202 bytes --]
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
[-- Attachment #3: Type: text/plain, Size: 192 bytes --]
_______________________________________________
tpmdd-devel mailing list
tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/tpmdd-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-04-26 17:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-23 19:57 What does error code 38 mean? Paul Menzel
2017-04-24 1:32 Peter Huewe
2017-04-24 14:50 ` Paul Menzel
[not found] ` <0603ee8e-ce81-9a46-4bb3-5fe4d7bda463-KUpvgZVWgV9o1qOY/usvUg@public.gmane.org>
2017-04-26 17:52 ` Ken Goldman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).