Re: tpmcrb0: Timeout while waiting for device to process cmd / Device failed to cancel command

From: Kevin Bowling <kevin.bowling_at_kev009.com>
Date: Tue, 03 Nov 2026 19:51:14 UTC
On Tue, Nov 3, 2026 at 12:24 PM Michael Tuexen <tuexen@freebsd.org> wrote:
>
> > On 2. Nov 2026, at 03:06, Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net> wrote:
> >
> > On Sun, 1 Nov 2026, Kevin Bowling wrote:
> >
> >> The timestamps are pretty far past boot, what happened during boot to
> >> the first occurrence?  A full(er) dmesg would go a long way.
> >>
> >> Adding Olivier as well since I don't have a Pluton to test against.
> >
> > [1.002805] tpmcrb0: <Trusted Platform Module 2.0, CRB mode (Pluton)> iomem 0xc0500000-0xc0500fff on acpi0
> > [1.002807] random: registering fast source TPM
> > [1498.337989] tpmcrb0: Timeout while waiting for device to process cmd
> > [1500.337990] tpmcrb0: Device failed to cancel command
> > [1502.337989] tpmcrb0: Device failed to cancel command
> > [2368.468930] tpmcrb0: Timeout while waiting for device to process cmd
> > [2370.468930] tpmcrb0: Device failed to cancel command
> > [2372.468928] tpmcrb0: Device failed to cancel command
> > [3249.081872] tpmcrb0: Timeout while waiting for device to process cmd
> > [3251.081868] tpmcrb0: Device failed to cancel command
> > [3253.081868] tpmcrb0: Device failed to cancel command
> > [4432.308789] tpmcrb0: Timeout while waiting for device to process cmd
> > [4434.308786] tpmcrb0: Device failed to cancel command
> > [4436.308786] tpmcrb0: Device failed to cancel command
> > [5736.004699] tpmcrb0: Timeout while waiting for device to process cmd
> > [5738.004697] tpmcrb0: Device failed to cancel command
> > [5740.004696] tpmcrb0: Device failed to cancel command
> >
> > The obvious question I'd have would be "what cmd" does it run or what does run these cmds?
> > Somehow this implies that something is using that thing?
> I also see this in a Framework amd laptop. Happy to test patches or provide debug
> information.

May you also try https://reviews.freebsd.org/D61128

> Best regards
> Michael
> >
> >
> >> Regards,
> >> Kevin
> >>
> >>
> >>
> >> On Sun, Nov 1, 2026 at 6:40 PM Adrian Chadd <adrian@freebsd.org> wrote:
> >>>
> >>> cc'ing kevin since he's working on tpm.
> >>>
> >>> He landed something a couple days ago? Maybe see if that was it?
> >>>
> >>>
> >>> -adrian
> >>>
> >>>
> >>> On Sun, 1 Nov 2026 at 17:02, Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net> wrote:
> >>>>
> >>>> Hi,
> >>>>
> >>>> just updated an AMD Laptop to main and I am now seeing these regularly:
> >>>>
> >>>> [3249.081872] tpmcrb0: Timeout while waiting for device to process cmd
> >>>> [3251.081868] tpmcrb0: Device failed to cancel command
> >>>> [3253.081868] tpmcrb0: Device failed to cancel command
> >>>> [4432.308789] tpmcrb0: Timeout while waiting for device to process cmd
> >>>> [4434.308786] tpmcrb0: Device failed to cancel command
> >>>> [4436.308786] tpmcrb0: Device failed to cancel command
> >>>>
> >>>> Any ideas what to do abbout this?  I can probably try to provide debug
> >>>> info but may be slow responding.
> >>>>
> >>>> /bz
> >>>>
> >>>> --
> >>>> For there shall arise false Christs, and false prophets, and shall shew
> >>>> great signs and wonders; insomuch that, if it were possible, they shall
> >>>> deceive the very elect. Behold, I have told you before. [Mat. 24:24-25]
> >>>>
> >>
> >
> > --
> > For there shall arise false Christs, and false prophets, and shall shew
> > great signs and wonders; insomuch that, if it were possible, they shall
> > deceive the very elect. Behold, I have told you before. [Mat. 24:24-25]
>
>