Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #93065 > unrolled thread
| Started by | gresser@riseup.net |
|---|---|
| First post | 2026-06-21 03:50 +0200 |
| Last post | 2026-06-24 18:40 +0200 |
| Articles | 7 — 4 participants |
Back to article view | Back to linux.debian.kernel
Bug#1140461: spam wave of kernel: tpm tpm0: tpm_try_transmit: send(): error -62 gresser@riseup.net - 2026-06-21 03:50 +0200
Bug#1140461: spam wave of kernel: tpm tpm0: tpm_try_transmit: send(): error -62 Marc Haber <mh+debian-bugs@zugschlus.de> - 2026-06-21 09:10 +0200
Bug#1140461: spam wave of kernel: tpm tpm0: tpm_try_transmit: send(): error -62 gresser@riseup.net - 2026-06-23 02:30 +0200
Bug#1140461: spam wave of kernel: tpm tpm0: tpm_try_transmit: send(): error -62 Ben Hutchings <ben@decadent.org.uk> - 2026-06-23 11:00 +0200
Bug#1140461: workaround for this bug gresser@riseup.net - 2026-06-23 02:40 +0200
Bug#1140461: workaround for this bug Uwe Kleine-König <ukleinek@debian.org> - 2026-06-24 18:40 +0200
Bug#1140461: spam wave of kernel: tpm tpm0: tpm_try_transmit: send(): error -62 Uwe Kleine-König <ukleinek@debian.org> - 2026-06-24 18:40 +0200
| From | gresser@riseup.net |
|---|---|
| Date | 2026-06-21 03:50 +0200 |
| Subject | Bug#1140461: spam wave of kernel: tpm tpm0: tpm_try_transmit: send(): error -62 |
| Message-ID | <N8ftT-eog4-5@gated-at.bofh.it> |
Package: linux-image-amd64
Version: 6.12.90-2
I freshly installed Debian Stable on some PCs and those are getting
spammed by the kernel. Those are way frequent, pushing other logs in
journal.
Could you please tone this down, maybe stop writing to journal so
frequently?
This is not just my problem, because searching for it yields similar
reports;
-
https://forums.unraid.net/topic/192064-kernel-tpm-tpm0-tpm_try_transmit-send-error-62/
-
https://community.st.com/interface-and-connectivity-ics-52/linux-driver-for-tcg-tpm-i2c-drv-returning-error-62-after-chip-reset-through-gpio-131942
-
https://lists.debian.org/.internal/challenge.html?original=%2fdebian-kernel%2f2025%2f04%2fmsg00146.html
(BTW your "I challenge thee" loops forever until I press F5 on browser)
# lsmod | grep tpm_
tpm_infineon 16384 0
# cat /sys/class/tpm/tpm*/tpm_version_major 2>/dev/null
1
# journalctl --all|grep tpm|head -n 10
XX:00:06 kernel: tpm tpm0: tpm_try_transmit: send(): error -62
XX:00:18 kernel: tpm tpm0: tpm_try_transmit: send(): error -62
XX:00:30 kernel: tpm tpm0: tpm_try_transmit: send(): error -62
XX:00:42 kernel: tpm tpm0: tpm_try_transmit: send(): error -62
XX:00:54 kernel: tpm tpm0: tpm_try_transmit: send(): error -62
XX:01:06 kernel: tpm tpm0: tpm_try_transmit: send(): error -62
XX:01:18 kernel: tpm tpm0: tpm_try_transmit: send(): error -62
XX:01:30 kernel: tpm tpm0: tpm_try_transmit: send(): error -62
XX:01:42 kernel: tpm tpm0: tpm_try_transmit: send(): error -62
XX:01:54 kernel: tpm tpm0: tpm_try_transmit: send(): error -62
# dpkg --list|grep linux-
ii linux-base 4.12.1
all Linux image base package
ii linux-image-6.12.74+deb13+1-amd64 6.12.74-2
amd64 Linux 6.12 for 64-bit PCs (signed)
ii linux-image-6.12.90+deb13.1-amd64 6.12.90-2
amd64 Linux 6.12 for 64-bit PCs (signed)
ii linux-image-amd64 6.12.90-2
amd64 Linux for 64-bit PCs (meta-package)
ii linux-sysctl-defaults 4.12.1
all default sysctl configuration for Linux
(I thought about blacklisting the 'tpm_infineon' using modprobe but I'm
not sure this is the good solution so I'm not doing it. I'm running
Debian using "Encrypted KVM" so if I disable tpm I might lose access)
[toc] | [next] | [standalone]
| From | Marc Haber <mh+debian-bugs@zugschlus.de> |
|---|---|
| Date | 2026-06-21 09:10 +0200 |
| Message-ID | <N8ktz-esod-17@gated-at.bofh.it> |
| In reply to | #93065 |
On Sun, Jun 21, 2026 at 01:38:06AM +0000, gresser@riseup.net wrote: >(I thought about blacklisting the 'tpm_infineon' using modprobe but I'm >not sure this is the good solution so I'm not doing it. I'm running >Debian using "Encrypted KVM" so if I disable tpm I might lose access) Are you experiencing this on the VM host, or inside the VM? If inside the VM and you're not using the TPM, consider removing the TPM from the VM or try a Debian cloud kernel. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421
[toc] | [prev] | [next] | [standalone]
| From | gresser@riseup.net |
|---|---|
| Date | 2026-06-23 02:30 +0200 |
| Message-ID | <N8Xbz-7KS-1@gated-at.bofh.it> |
| In reply to | #93068 |
I didn't write Virtual Machine at all - all of them are bare metal with monitor (PC). Here's another similar report: - https://forum.manjaro.org/t/repeated-tpm-try-transmit-send-error-62/172139/3 "using the infineon kernel module" It seems this 'infineon' TPM have a problem. If you can fix this on linux side, by not spamming journal, that'll be appreciated by everyone who have similar symptom. I _could_ disable TPM via BIOS, but I'm not sure I can do this because: 1. This PC's BIOS is old & it may not have TPM settings 2. I had an incident when I disabled TPM & could not boot anymore when I was using Windows. Now I moved everything to Debian, I don't want to touch TPM at all as it may break my Encrypted KVM... On 2026-06-21 06:58, Marc Haber wrote: >>(I thought about blacklisting the 'tpm_infineon' using modprobe but I'm >>not sure this is the good solution so I'm not doing it. I'm running >>Debian using "Encrypted KVM" so if I disable tpm I might lose access) > > Are you experiencing this on the VM host, or inside the VM? If inside the VM and you're not using the TPM, consider removing the TPM from the VM or try a Debian cloud kernel. > > Greetings > Marc
[toc] | [prev] | [next] | [standalone]
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Date | 2026-06-23 11:00 +0200 |
| Message-ID | <N9597-d5Q-3@gated-at.bofh.it> |
| In reply to | #93088 |
[Multipart message — attachments visible in raw view] — view raw
On Tue, 2026-06-23 at 00:21 +0000, gresser@riseup.net wrote: > I didn't write Virtual Machine at all - all of them are bare metal with > monitor (PC). [...] I think there was some confusion because you are referring to "Encrypted KVM" and KVM is the Linux kernel virtual machine facility. Presumably that should be "Encrypted LVM"? Ben. -- Ben Hutchings Larkinson's Law: All laws are basically false.
[toc] | [prev] | [next] | [standalone]
| From | gresser@riseup.net |
|---|---|
| Date | 2026-06-23 02:40 +0200 |
| Subject | Bug#1140461: workaround for this bug |
| Message-ID | <N8Xlf-7Ou-1@gated-at.bofh.it> |
| In reply to | #93065 |
For the temporary workaround - here's how I solved this. I guess I need to run this script on cron's @reboot for now. > rmmod does NOT remove module root:/tmp# lsmod | grep -i tpm tpm_infineon 16384 0 root:/tmp# rmmod tpm_infineon root:/tmp# journalctl --all --since="1 minute ago" 00:26:53 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62 00:27:05 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62 00:27:17 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62 00:27:29 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62 00:27:41 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62 root:/tmp# journalctl --all --since="1 minute ago" 00:27:05 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62 00:27:17 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62 00:27:29 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62 00:27:41 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62 00:27:53 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62 <--- NEW! > tea-thing worked!! root:/tmp# ls /sys/class/tpm/tpm0/device/driver 00:01 bind uevent unbind root:/tmp# echo 00:01|tee /sys/class/tpm/tpm0/device/driver/unbind 00:01 root:/tmp# journalctl --all --since="1 minute ago" 00:28:53 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62 00:29:05 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62 00:29:17 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62 00:29:30 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62 00:29:42 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62 root:/tmp# journalctl --all --since="1 minute ago" -- No entries --
[toc] | [prev] | [next] | [standalone]
| From | Uwe Kleine-König <ukleinek@debian.org> |
|---|---|
| Date | 2026-06-24 18:40 +0200 |
| Subject | Bug#1140461: workaround for this bug |
| Message-ID | <N9yNP-xOM-9@gated-at.bofh.it> |
| In reply to | #93089 |
[Multipart message — attachments visible in raw view] — view raw
Hello, On Tue, Jun 23, 2026 at 12:34:57AM +0000, gresser@riseup.net wrote: > For the temporary workaround - here's how I solved this. > I guess I need to run this script on cron's @reboot for now. Alternatively you could pass module_blacklist=tpm_infineon on the kernel commandline to get this worked around a bit cleaner. Best regards Uwe
[toc] | [prev] | [next] | [standalone]
| From | Uwe Kleine-König <ukleinek@debian.org> |
|---|---|
| Date | 2026-06-24 18:40 +0200 |
| Message-ID | <N9yNP-xOM-11@gated-at.bofh.it> |
| In reply to | #93065 |
[Multipart message — attachments visible in raw view] — view raw
Hello, On Sun, Jun 21, 2026 at 01:38:06AM +0000, gresser@riseup.net wrote: > Package: linux-image-amd64 > Version: 6.12.90-2 > > I freshly installed Debian Stable on some PCs and those are getting > spammed by the kernel. Those are way frequent, pushing other logs in > journal. > > Could you please tone this down, maybe stop writing to journal so > frequently? > > This is not just my problem, because searching for it yields similar > reports; > > - > https://forums.unraid.net/topic/192064-kernel-tpm-tpm0-tpm_try_transmit-send-error-62/ > - > https://community.st.com/interface-and-connectivity-ics-52/linux-driver-for-tcg-tpm-i2c-drv-returning-error-62-after-chip-reset-through-gpio-131942 > - > https://lists.debian.org/.internal/challenge.html?original=%2fdebian-kernel%2f2025%2f04%2fmsg00146.html > (BTW your "I challenge thee" loops forever until I press F5 on browser) > > # lsmod | grep tpm_ > tpm_infineon 16384 0 > > # cat /sys/class/tpm/tpm*/tpm_version_major 2>/dev/null > 1 this is probably the same bug as https://bugs.debian.org/1139269 . For that we (= Debian kernel team) wait for the reporter to provide a full kernel log. So your full kernel log would help, too. (Without the blacklist_module parameter that I suggested on the other end of this bug thread.) Best regards Uwe
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web