The kernel seems try to set up the interrupt and send data, but failed.
After got error returned, the kernel will disable interrupt and using polling 
instead.

I beleve it will have the following messages in dmesg log
kernel: tpm tpm0: tpm_try_transmit: send(): error -62
kernel: tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead

The call trace seems from the patch which add the checking for the invalid 
status,
https://patchwork.kernel.org/project/linux-integrity/patch/9bad3da0c31ae2620aaae0d75748c3387afa3d47.ca...@hansenpartnership.com/#23649371

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1933547

Title:
  tpm driver causes non-fatal kernel crash on boot

Status in linux package in Ubuntu:
  New
Status in linux source package in Hirsute:
  New

Bug description:
  tpm driver appears to be causng a non-fatal crash on boot.

  Trace below

  Jun 24 07:22:45 munin kernel: [    1.138595] ------------[ cut here 
]------------
  Jun 24 07:22:45 munin kernel: [    1.138596] TPM returned invalid status
  Jun 24 07:22:45 munin kernel: [    1.138611] WARNING: CPU: 8 PID: 1 at 
drivers/char/tpm/tpm_tis_core.c:205 tpm_tis_st
  atus+0x82/0x90
  Jun 24 07:22:45 munin kernel: [    1.138627] Modules linked in:
  Jun 24 07:22:45 munin kernel: [    1.138631] CPU: 8 PID: 1 Comm: swapper/0 
Not tainted 5.11.0-22-generic #23-Ubuntu
  Jun 24 07:22:45 munin kernel: [    1.138635] Hardware name: IT Channel Pty 
Ltd NH50_70RA                     /NH50_70
  RA                     , BIOS 1.07.13TMB1 06/06/2020
  Jun 24 07:22:45 munin kernel: [    1.138638] RIP: 
0010:tpm_tis_status+0x82/0x90
  Jun 24 07:22:45 munin kernel: [    1.138644] Code: 25 28 00 00 00 75 2b c9 c3 
31 c0 80 3d 8d df 76 01 00 75 e4 48 c7 
  c7 24 44 04 a2 88 45 ef c6 05 7a df 76 01 01 e8 fb a3 43 00 <0f> 0b 0f b6 45 
ef eb c6 e8 71 77 49 00 90 0f 1f 44 00 0
  0 55 48 89
  Jun 24 07:22:45 munin kernel: [    1.138649] RSP: 0000:ffffbfc80007b860 
EFLAGS: 00010286
  Jun 24 07:22:45 munin kernel: [    1.138653] RAX: 0000000000000000 RBX: 
ffff9a2617bf8000 RCX: ffffffffa2723528
  Jun 24 07:22:45 munin kernel: [    1.138656] RDX: c0000000ffffdfff RSI: 
0000000000000000 RDI: 0000000000000247
  Jun 24 07:22:45 munin kernel: [    1.138659] RBP: ffffbfc80007b878 R08: 
0000000000000000 R09: ffffbfc80007b640
  Jun 24 07:22:45 munin kernel: [    1.138661] R10: ffffbfc80007b638 R11: 
ffffffffa2753568 R12: ffff9a2617bf8000
  Jun 24 07:22:45 munin kernel: [    1.138663] R13: ffff9a26032fa558 R14: 
ffff9a2603300000 R15: ffff9a2617bf8000
  Jun 24 07:22:45 munin kernel: [    1.138666] FS:  0000000000000000(0000) 
GS:ffff9a2d50600000(0000) knlGS:000000000000
  0000
  Jun 24 07:22:45 munin kernel: [    1.138670] CS:  0010 DS: 0000 ES: 0000 CR0: 
0000000080050033
  Jun 24 07:22:45 munin kernel: [    1.138673] CR2: 0000000000000000 CR3: 
0000000288e10001 CR4: 00000000003706e0
  Jun 24 07:22:45 munin kernel: [    1.138676] Call Trace:
  Jun 24 07:22:45 munin kernel: [    1.138680]  tpm_tis_send_data+0x42/0x250
  Jun 24 07:22:45 munin kernel: [    1.138688]  tpm_tis_send_main+0x32/0xf0
  Jun 24 07:22:45 munin kernel: [    1.138693]  ? 
kernel_init_free_pages+0x4a/0x60
  Jun 24 07:22:45 munin kernel: [    1.138699]  tpm_tis_send+0x30/0xa0
  Jun 24 07:22:45 munin kernel: [    1.138704]  tpm_try_transmit+0x64/0x1d0
  Jun 24 07:22:45 munin kernel: [    1.138709]  tpm_transmit+0x92/0x250
  Jun 24 07:22:45 munin kernel: [    1.138713]  tpm_transmit_cmd+0x2a/0x90
  Jun 24 07:22:45 munin kernel: [    1.138717]  tpm2_get_tpm_pt+0xe9/0x150
  Jun 24 07:22:45 munin kernel: [    1.138722]  
tpm_tis_probe_irq_single+0x17f/0x223
  Jun 24 07:22:45 munin kernel: [    1.138728]  ? tpm_tcg_write32+0x1a/0x20
  Jun 24 07:22:45 munin kernel: [    1.138734]  
tpm_tis_core_init.cold+0x179/0x2e7
  Jun 24 07:22:45 munin kernel: [    1.138739]  tpm_tis_init.part.0+0xa0/0x120
  Jun 24 07:22:45 munin kernel: [    1.138744]  tpm_tis_plat_probe+0xd4/0x100
  Jun 24 07:22:45 munin kernel: [    1.138751]  platform_probe+0x45/0xa0
  Jun 24 07:22:45 munin kernel: [    1.138757]  really_probe+0xff/0x460
  Jun 24 07:22:45 munin kernel: [    1.138762]  driver_probe_device+0xe9/0x160
  Jun 24 07:22:45 munin kernel: [    1.138767]  device_driver_attach+0xab/0xb0
  Jun 24 07:22:45 munin kernel: [    1.138772]  __driver_attach+0x8f/0x150
  Jun 24 07:22:45 munin kernel: [    1.138776]  ? device_driver_attach+0xb0/0xb0
  Jun 24 07:22:45 munin kernel: [    1.138781]  bus_for_each_dev+0x7e/0xc0
  Jun 24 07:22:45 munin kernel: [    1.138785]  driver_attach+0x1e/0x20
  Jun 24 07:22:45 munin kernel: [    1.138789]  bus_add_driver+0x135/0x1f0
  Jun 24 07:22:45 munin kernel: [    1.138793]  driver_register+0x95/0xf0
  Jun 24 07:22:45 munin kernel: [    1.138798]  ? tpm_init+0xf6/0xf6
  Jun 24 07:22:45 munin kernel: [    1.138805]  
__platform_driver_register+0x1e/0x20
  Jun 24 07:22:45 munin kernel: [    1.138811]  init_tis+0x87/0xdd
  Jun 24 07:22:45 munin kernel: [    1.138817]  ? kobject_uevent+0xb/0x10
  Jun 24 07:22:45 munin kernel: [    1.138823]  ? driver_register+0xcd/0xf0
  Jun 24 07:22:45 munin kernel: [    1.138828]  ? agp_intel_init+0x2f/0x2f
  Jun 24 07:22:45 munin kernel: [    1.138833]  ? 
__pci_register_driver+0x54/0x60
  Jun 24 07:22:45 munin kernel: [    1.138838]  ? tpm_init+0xf6/0xf6
  Jun 24 07:22:45 munin kernel: [    1.138844]  do_one_initcall+0x48/0x1d0
  Jun 24 07:22:45 munin kernel: [    1.138851]  do_initcalls+0xcc/0xec
  Jun 24 07:22:45 munin kernel: [    1.138856]  kernel_init_freeable+0x136/0x182
  Jun 24 07:22:45 munin kernel: [    1.138861]  ? rest_init+0xba/0xba
  Jun 24 07:22:45 munin kernel: [    1.138867]  kernel_init+0xe/0x116
  Jun 24 07:22:45 munin kernel: [    1.138871]  ret_from_fork+0x22/0x30
  Jun 24 07:22:45 munin kernel: [    1.138888] ---[ end trace 6cb7540ffe33f117 
]---

  ProblemType: Bug
  DistroRelease: Ubuntu 21.04
  Package: linux-image-5.11.0-22-generic 5.11.0-22.23
  ProcVersionSignature: Ubuntu 5.11.0-22.23-generic 5.11.21
  Uname: Linux 5.11.0-22-generic x86_64
  ApportVersion: 2.20.11-0ubuntu65.1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  tmc        3555 F.... pulseaudio
   /dev/snd/controlC1:  tmc        3555 F.... pulseaudio
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Jun 25 06:55:02 2021
  InstallationDate: Installed on 2019-11-25 (577 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: IT Channel Pty Ltd NH50_70RA
  ProcFB:
   0 nouveaudrmfb
   1 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.11.0-22-generic 
root=UUID=5ab51348-1b59-4485-8882-2f163d400d7f ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-5.11.0-22-generic N/A
   linux-backports-modules-5.11.0-22-generic  N/A
   linux-firmware                             1.197.1
  SourcePackage: linux
  UpgradeStatus: Upgraded to hirsute on 2021-04-15 (69 days ago)
  dmi.bios.date: 06/06/2020
  dmi.bios.release: 7.13
  dmi.bios.vendor: INSYDE Corp.
  dmi.bios.version: 1.07.13TMB1
  dmi.board.asset.tag: Tag 12345
  dmi.board.name: NH50_70RA
  dmi.board.vendor: IT Channel Pty Ltd
  dmi.board.version: Not Applicable
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: IT Channel Pty Ltd
  dmi.chassis.version: N/A
  dmi.ec.firmware.release: 7.7
  dmi.modalias: 
dmi:bvnINSYDECorp.:bvr1.07.13TMB1:bd06/06/2020:br7.13:efr7.7:svnITChannelPtyLtd:pnNH50_70RA:pvrNotApplicable:rvnITChannelPtyLtd:rnNH50_70RA:rvrNotApplicable:cvnITChannelPtyLtd:ct10:cvrN/A:
  dmi.product.family: Not Applicable
  dmi.product.name: NH50_70RA
  dmi.product.sku: Not Applicable
  dmi.product.version: Not Applicable
  dmi.sys.vendor: IT Channel Pty Ltd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1933547/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to