W11 event shows TPM errors

Temporary forum to discuss issues and problems during a VirtualBox Beta or Release Candidate phase.
Locked
AndyCot
Posts: 296
Joined: 29. Feb 2020, 03:04

W11 event shows TPM errors

Post by AndyCot »

In the W11 I am seeing allot of TPM errors in the event log. The VB W11 is configured for <TrustedPlatformModule type="v2_0" location=""/>.

The TPM event info is:

Log Name: System
Source: TPM
Date: 26/08/2022 10:24:15 PM
Event ID: 15
Task Category: None
Level: Error
Keywords:
User: SYSTEM
Computer: VB-W11-Testing
Description:
The device driver for the Trusted Platform Module (TPM) encountered a non-recoverable error in the TPM hardware, which prevents TPM services (such as data encryption) from being used. For further help, please contact the computer manufacturer.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="TPM" Guid="{1b6b0772-251b-4d42-917d-faca166bc059}" />
<EventID>15</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2022-08-27T05:24:15.9220776Z" />
<EventRecordID>853</EventRecordID>
<Correlation />
<Execution ProcessID="1532" ThreadID="3608" />
<Channel>System</Channel>
<Computer>VB-W11-Testing</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData>
<Data Name="locationCode">0x2000170</Data>
<Data Name="Data">3221225524</Data>
</EventData>
</Event>
birdie
Posts: 428
Joined: 2. May 2010, 14:19
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: Windows, Linux, other Unixes
Location: Artem S. Tashkinov
Contact:

Re: W11 event shows TPM errors

Post by birdie »

Confirming, there are tons of errors (last hour: 417, and that's for like 15 minutes):

417 of "The initialization of the Trusted Platform Module (TPM) failed. The TPM may be in failure mode. To allow diagnosis, contact the TPM manufacturer with the attached information."

15 of "The device driver for the Trusted Platform Module (TPM) encountered a non-recoverable error in the TPM hardware, which prevents TPM services (such as data encryption) from being used. For further help, please contact the computer manufacturer."
birdie
Posts: 428
Joined: 2. May 2010, 14:19
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: Windows, Linux, other Unixes
Location: Artem S. Tashkinov
Contact:

Re: W11 event shows TPM errors

Post by birdie »

This is reproducible in Beta 2.
aeichner
Oracle Corporation
Posts: 193
Joined: 31. Aug 2007, 19:12

Re: W11 event shows TPM errors

Post by aeichner »

This should be fixed with the next Beta, thanks for the report.
AndyCot
Posts: 296
Joined: 29. Feb 2020, 03:04

Re: W11 event shows TPM errors

Post by AndyCot »

Thank the dev team for taking the time to fix this.
birdie
Posts: 428
Joined: 2. May 2010, 14:19
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: Windows, Linux, other Unixes
Location: Artem S. Tashkinov
Contact:

Re: W11 event shows TPM errors

Post by birdie »

One of the errors has been fixed, the other hasn't:

In Beta 3 for Windows 11 22H2.

Each cold boot/reboot produces six of such errors:

EventID 15, "The device driver for the Trusted Platform Module (TPM) encountered a non-recoverable error in the TPM hardware, which prevents TPM services (such as data encryption) from being used. For further help, please contact the computer manufacturer".
Attachments
errors.png
errors.png (36.46 KiB) Viewed 19932 times
randymca
Posts: 7
Joined: 13. Oct 2022, 20:23

Re: W11 event shows TPM errors

Post by randymca »

anyone know if this was fixed in Beta as the comments suggest or is there a known bug# as I have same TPM event with new 7.0.0 on Win 10 21H2 OS Build 19044.2130 , if fixed for Win 11 then I will start new topic with the details for Win 10, let me know

Event ID: 15

Description:
The device driver for the Trusted Platform Module (TPM) encountered a non-recoverable error in the TPM hardware, which prevents TPM services (such as data encryption) from being used. For further help, please contact the computer manufacturer.
AndyCot
Posts: 296
Joined: 29. Feb 2020, 03:04

Re: W11 event shows TPM errors

Post by AndyCot »

Try it and let us know. You can always go back to the previous VB version if you kept the files.
klaus
Oracle Corporation
Posts: 1115
Joined: 10. May 2007, 14:57

Re: W11 event shows TPM errors

Post by klaus »

In my test of BETA3 (just before it became publicly available) I saw no yellow exclamation mark in Device Manager (and the TPM was showing up there as expected). This was with a Windows 10 21H2 VM. Didn't test if using the TPM actually works.
randymca
Posts: 7
Joined: 13. Oct 2022, 20:23

Re: W11 event shows TPM errors

Post by randymca »

some checks inside vm indicate TPM is ok yet a couple indicate its not fully functional and has error , is TPM feature "Attestation" supported as indicated below ? , my real metal intel pc's show "Attestation Ready" but my vm shows "Not Supported" under VB 7.0.0 and Win 10 21H2 OS Build 19044.2130

Some checks make TPM look ok:
- device manager says TPM 2.0 is ok
- tpm.msc says device is ready
- windows 11 upgrade checker says TPM ok

BUT
- event logging of error eventid 15 [ non-recoverable error in the TPM hardware ] continues, generating about 6 of these eventids at once on some sort of schedule where elapsed time between the events is divisible by 15 minutes
AND
- Windows Security->Device security->Security processor shows Attestation feature of TPM isnt functional
Attestation Not Supported
Storage Ready
- Windows Security->Device security->Security processor->Troubleshooting displays error "Can't get TPM information. Contact your device manufacturer."

ALSO
dont want to throw to much into the mix yet, but I did change the disk from MBR to GPT before getting TPM/EFI/Secure boot to work else it would shell out in EFI , now that these are working ( according to msinfo32 ) I cant seem to get back into EFI to view things using the ESC key ...

If "Attestation" is suppose to work then I have an issue, if its suppose to be not supported maybe I just dont worry about it , just dont want to upgrade to win 11 and then get BSOD or glitches rather fix it now

thank you in advance
Poul
Posts: 18
Joined: 26. Sep 2015, 22:38

Re: W11 event shows TPM errors

Post by Poul »

I see exactly the same as @randymca.

Windows 11 22H2 guest (upgraded from Windows 10).
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: W11 event shows TPM errors

Post by mpack »

v7 is released, so no more beta feedback thanks.
Locked