You are not logged in.

#1 2021-01-25 14:46:51

AckslD
Member
Registered: 2021-01-25
Posts: 5

[SOLVED] TPM error at login

I've recently installed arch linux on my second laptop. When I get to the login prompt I get the following error:

Arch Linux 5.10.10-arch1-1 (tty1)

<host> login: irg 31: nobody cared (try booting with the "irqpoll" option)
handlers:
[<...>] tis_int_handler [tpm_tis_core]
Disabling IRQ #31
tpm tpm0: tpm_try_transmit: send(): error -62
tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead

It still allows me to login and things seem to work as normal but I'm not sure why this error happens.
I'm on a Lenovo Thinkpad L390 Yoga and have secure boot turned off.

Any ideas why this is happening and how I can fix it?

Last edited by AckslD (2021-01-27 10:17:52)

Offline

#2 2021-01-25 15:02:00

seth
Member
Registered: 2012-09-03
Posts: 60,807

Re: [SOLVED] TPM error at login

blacklist the tpm module(s) - check lsmod and https://wiki.archlinux.org/index.php/Ke … acklisting

Offline

#3 2021-01-25 17:47:24

AckslD
Member
Registered: 2021-01-25
Posts: 5

Re: [SOLVED] TPM error at login

Thanks @seth! I blacklisted `tpm_crb` and `tpm_tis` and it indeed worked.

Offline

#4 2021-01-25 21:13:38

seth
Member
Registered: 2012-09-03
Posts: 60,807

Re: [SOLVED] TPM error at login

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#5 2021-01-27 10:18:39

AckslD
Member
Registered: 2021-01-25
Posts: 5

Re: [SOLVED] TPM error at login

Ah right, thanks for the reminder!

Offline

#6 2021-01-31 12:08:31

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: [SOLVED] TPM error at login

I know this topic is solved, but for reference if you need the tpm to be enabled, note that the tpm_tis 5.10.11-arch1-1 kernel module has...

modinfo tpm_tis
parm:           itpm:Force iTPM workarounds (found on some Lenovo laptops) (bool)

also...

tpm_tis.interrupts=0

might be useful as a boot option.

As an alternative to blacklisting as @seth describes, you should be able to disable the tpm in the startup bios.

Cheers
Paul.

Offline

#7 2021-01-31 12:31:43

AckslD
Member
Registered: 2021-01-25
Posts: 5

Re: [SOLVED] TPM error at login

Thanks for the additional information @paulkerry! I'm not very knowledgeable regarding tpm or boot options. Do I understand it correctly that there is a parameter itpm which could be set to true to possibly solve the issue I saw? How do I then set that as a boot option? Would I set that as tpm_tis.itpm=1. Furthermore if I'm using GRUB would I set that in /etc/default/grub as

GRUB_CMDLINE_LINUX_DEFAULT="tpm_tis.itpm=1"

?

Sorry if I have misunderstood your comment.

Offline

#8 2021-01-31 15:48:28

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: [SOLVED] TPM error at login

"tpm_tis.itpm=1" is correct yes, although you should revert the blacklisting you have done.
For testing purposes, you could revert the blacklisting, then on boot using grub, press "e" to edit the normal boot line before it starts booting and add the parameters there just for that boot: simply add the "tpm_tis.itpm=1" (without the quotes) onto the end of the existing boot options that are shown there and then press F10 to boot.
If that works for you, then add the option to /etc/default/grub
I should mention here that I don't have a Lenovo so don't use that particular option, but have a new Dell machine, on which I boot with tpm_tis.interrupts=0

Cheers
Paul.

Offline

#9 2021-02-01 10:32:24

AckslD
Member
Registered: 2021-01-25
Posts: 5

Re: [SOLVED] TPM error at login

@paulkerry, thanks a lot for the great explanation! smile

I edited the normal boot line but it didn't seem to work. I tried setting either "tpm_tis.itpm=1", "tpm_tis.interrupts=0" or both but I still go the same error at the login.

Disabling TPM in BIOS does indeed work.

Last edited by AckslD (2021-02-01 10:39:39)

Offline

Board footer

Powered by FluxBB