Site icon EfmSoft

What does HRESULT 0x8028400D (TBS_E_COMMAND_CANCELED) mean?

 
Previous Next
TBS_E_PPI_NOT_SUPPORTED TBS_E_BUFFER_TOO_LARGE

TBS_E_COMMAND_CANCELED

Technical interpretation

TBS_E_COMMAND_CANCELED (0x8028400D) belongs to the public and internal TPM Base Services path. It indicates a command submitted through TBS was canceled before a normal TPM result was returned.

Inputs and state to capture

QuestionEvidence
What exact state was rejected?a command submitted through TBS was canceled before a normal TPM result was returned
Which layer owns the result?The TBS client library, local RPC service and command scheduler before or around device execution.
What must be correlated?context handle, cancel request, power transition, service shutdown, command duration, caller timeout, and whether the command has side effects
Controlled comparisonrepeat a known idempotent command without cancellation and trace the context until completion

Validate without broad changes

Use the following verification sequence:

  1. Capture the unmodified failing input and 0x8028400D.
  2. Repeat a known idempotent command without cancellation and trace the context until completion.
  3. Compare the first divergent field or state transition.
  4. Repeat the operation only after restoring the same baseline, with a bounded retry policy where the specification permits retry.

Neighboring response codes

Other codeWhy a different remedy follows
TBS_E_BUFFER_TOO_LARGEThe input or output buffer is too large.
TBS_E_SERVICE_START_PENDINGThe TBS service has been started but is not yet running.
TBS_E_ACCESS_DENIEDThe caller does not have the appropriate rights to perform the requested operation.

TPM_E_RETRY is a device request to resubmit; cancellation is imposed by TBS, the caller, or power management. The result difference determines whether to change serialization, authorization, resource lifetime, firmware/PPI state, command policy or only retry timing.

Fix and verify

Correct the original boundary by choosing this direction: coordinate cancellation and object lifetime, then recreate volatile state that may have been lost across the canceled operation. Do not restart or disable TBS before capturing its service and event data. Most caller-contract errors are reproducible without touching TPM ownership, firmware state or stored keys.

Technical references


Looking for a different code? Search another status or error code.

Exit mobile version