You are not logged in.
Pages: 1
Hi
I'm getting an error message in the journal, every 10 seconds:
ArchPC2 kernel: tpm tpm0: A TPM error (28) occurred attempting get randomI reinstalled Arch in September 2022 to fix a few issues, and have been getting message on each boot:
kernel: random: crng init doneand on resume:
ArchPC2 kernel: random: crng reseeded on system resumptionHowever, earlier this month the TPM error messages started.
If I reboot, the messages stop for a few days. During those days, I suspend/resume with no problem. Then they start again, on resuming from suspend.
I can see nothing that I did or any update that coincided with the start of these errors.
There are several posts in the forums with this message in the log, but only with another problem reported, such as suspend/resume failure. I'm getting no issues with it, other than a huge journal.
I'm hoping someone can provide a solution, I don't like error messages!
Offline
I've got the same, dude.
what is your hardware?
Offline
This may be related, but starts with the suspend/resume failure: https://lore.kernel.org/all/Y8sn%2FfLG0 … ernel.org/
Last edited by progandy (2023-01-31 05:42:38)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
@cypa
System:
Host: ArchPC2 Kernel: 6.1.7-arch1-1 arch: x86_64 bits: 64 Desktop: sway
v: 1.8 Distro: Arch Linux
Machine:
Type: Desktop System: Hewlett-Packard product: HP EliteDesk 800 G1 SFF
v: N/A serial: <superuser required>
Mobo: Hewlett-Packard model: 1998 serial: <superuser required>
UEFI: Hewlett-Packard v: L01 v02.65 date: 07/13/2015
CPU:
Info: quad core model: Intel Core i5-4690 bits: 64 type: MCP cache:
L2: 1024 KiB
Speed (MHz): avg: 2191 min/max: 800/3900 cores: 1: 3900 2: 800 3: 800
4: 3265
Graphics:
Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics
driver: i915 v: kernel@progandy
- yes I do recall a suspend failure a few weeks ago, I will look at the journal.
In the meantime, I changed the BIOS settings, there's nothing which says 'TPM', but there is
'OS management of Embedded security device', which I disabled.
I have not had any TPM errors since, but will keep you posted.
Offline
The TPM errors are back again, after several weeks without. PC was running for 9 days (suspended overnight) without triggering TPM errors.
every 10 seconds:
ArchPC2 kernel: tpm tpm0: A TPM error (28) occurred attempting get randomI saw a suggestion from Seth to blacklist the tpm module:
https://bbs.archlinux.org/viewtopic.php?id=233554
I assume this would mean this module:
lsmod | grep tpm
tpm_infineon 20480 0but is blacklisting tpm_infineon sufficient? I see systemd also has its tentacles in TPM (+TPM2, below):
systemctl --version
systemd 253 (253-1-arch)
+PAM +AUDIT -SELINUX -APPARMOR -IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT -QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK +XKBCOMMON +UTMP -SYSVINIT default-hierarchy=unifiedOffline
I saw a suggestion from Seth to blacklist the tpm module:
https://bbs.archlinux.org/viewtopic.php?id=233554
I assume this would mean this module:
lsmod | grep tpm tpm_infineon 20480 0but is blacklisting tpm_infineon sufficient?
Why not try it?
Offline
I blacklisted tpm_infineon, and the PC has been fine for over 2 days, but after resuming from suspend this morning, the TPM errors are back again.
Any ideas how I should proceed from here?
Offline
I blacklisted tpm_infineon, and the PC has been fine for over 2 days, but after resuming from suspend this morning, the TPM errors are back again.
Any ideas how I should proceed from here?
Update your motherboard's bios or compile your own kernel and don´t build TPM related stuff.
# CONFIG_TCG_TPM is not set
# CONFIG_HW_RANDOM_TPM is not set
# CONFIG_TCG_TIS_CORE is not set
# CONFIG_TCG_TIS is not set
# CONFIG_TCG_TIS_SPI is not set
# CONFIG_TCG_TIS_I2C is not set
# CONFIG_TCG_TIS_I2C_CR50 is not set
# CONFIG_TCG_TIS_I2C_ATMEL is not set
# CONFIG_TCG_TIS_I2C_INFINEON is not set
# CONFIG_TCG_TIS_I2C_NUVOTON is not set
# CONFIG_TCG_NSC is not set
# CONFIG_TCG_ATMEL is not set
# CONFIG_TCG_INFINEON is not set
# CONFIG_TCG_CRB is not set
# CONFIG_TCG_VTPM_PROXY is not set
# CONFIG_TCG_TIS_ST33ZP24_I2C is not set
# CONFIG_TCG_TIS_ST33ZP24_SPI is not set
# CONFIG_TELCLOCK is not set
# CONFIG_XILLYBUS is not set
# CONFIG_XILLYUSB is not set Excuse my poor English.
Offline
What about install module_name /bin/true?
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
Upgraded my kernel recently to 6.1.22-1-lts #1 SMP PREEMPT_DYNAMIC Thu, 30 Mar 2023 14:10:04 +0000 x86_64 GNU/Linux and noticed these error starting to appear today:
Apr 16 14:23:33 clevo kernel: tpm tpm0: A TPM error (28) occurred continue selftest
...
Apr 16 14:23:33 clevo kernel: random: crng reseeded on system resumption
...
Apr 16 14:24:31 clevo kernel: tpm tpm0: A TPM error (28) occurred attempting get random
Apr 16 14:24:41 clevo kernel: tpm tpm0: A TPM error (28) occurred attempting get random
Apr 16 14:24:51 clevo kernel: tpm tpm0: A TPM error (28) occurred attempting get random
Apr 16 14:25:01 clevo kernel: tpm tpm0: A TPM error (28) occurred attempting get random
Apr 16 14:25:11 clevo kernel: tpm tpm0: A TPM error (28) occurred attempting get random
Apr 16 14:25:21 clevo kernel: tpm tpm0: A TPM error (28) occurred attempting get random
...I'm not really sure if I need TPM or not.
Offline
Hi everyone,
I manage to work around this problem by sending `TPM2_SU_STATE` after each suspend by using:
https://gist.github.com/guilhem/d372e8a … c662c48f39
Offline
Pages: 1