Bug 2211983

Summary: WARNING: CPU: 9 PID: 3649 at drivers/thunderbolt/nhi.c:137 ring_interrupt_active+0x243/0x2d0 [thunderbolt]
Product: [Fedora] Fedora Reporter: Lenny Szubowicz <lszubowi>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 38CC: acaringi, adscvr, airlied, alciregi, bskeggs, hdegoede, hpa, jarodwilson, josef, kernel-maint, lgoncalv, linville, masami256, mchehab, omosnacek, ptalbert, steved
Target Milestone: ---Keywords: Desktop, Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-22 11:16:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lenny Szubowicz 2023-06-02 20:43:55 UTC
[   49.749183] ------------[ cut here ]------------
[   49.749185] thunderbolt 0000:06:00.0: interrupt for TX ring 0 is already enabled
[   49.749221] WARNING: CPU: 9 PID: 3649 at drivers/thunderbolt/nhi.c:137 ring_interrupt_active+0x243/0x2d0 [thunderbolt]
[   49.749241] Modules linked in: uinput rfcomm snd_seq_dummy snd_hrtimer nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fi
b_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nf_tables nfnetlink qrtr bnep sunrpc binfmt_misc snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi snd_sof_probes snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_soc_dmic snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils soundwire_bus rmi_smbus rmi_core intel_tcc_cooling snd_soc_skl x86_pkg_temp_thermal snd_soc_hdac_hda snd_hda_ext_core intel_powerclamp iwlmvm snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match coretemp iTCO_wdt snd_soc_acpi intel_pmc_bxt mei_wdt ee1004 mei_hdcp mei_pxp iTCO_vendor_support intel_rapl_msr snd_soc_core mac80211
[   49.749277]  snd_compress kvm_intel ac97_bus snd_pcm_dmaengine libarc4 kvm snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi snd_usb_audio snd_hda_codec irqbypass btusb snd_usbmidi_lib rapl btrtl iwlwifi snd_hda_core uvcvideo snd_rawmidi snd_hwdep btbcm btintel uvc intel_cstate snd_seq videobuf2_vmalloc pcspkr videobuf2_memops btmtk intel_uncore sparse_keymap think_lmi snd_seq_device videobuf2_v4l2 firmware_attributes_class cfg80211 intel_wmi_thunderbolt thinkpad_acpi snd_pcm processor_thermal_device_pci_legacy bluetooth processor_thermal_device videobuf2_common i2c_i801 processor_thermal_rfim ledtrig_audio snd_timer wmi_bmof platform_profile processor_thermal_mbox videodev i2c_smbus processor_thermal_rapl snd mei_me intel_rapl_common thunderbolt vfat mc mei rfkill intel_soc_dts_iosf intel_pch_thermal fat soundcore int3403_thermal int340x_thermal_zone int3400_thermal acpi_thermal_rel acpi_tad acpi_pad joydev loop zram dm_crypt hid_logitech_hidpp hid_logitech_dj i915 rtsx_pci_sdmmc crct10dif_pclmul crc32_pclmul
[   49.749317]  i2c_algo_bit crc32c_intel drm_buddy polyval_clmulni mmc_core drm_display_helper polyval_generic nvme ucsi_acpi cec typec_ucsi ghash_clmulni_intel nvme_core rtsx_pci sha512_ssse3 ttm typec nvme_common video wmi pinctrl_cannonlake serio_raw scsi_dh_rdac scsi_dh_emc scsi_dh_alua ip6_tables ip_tables dm_multipath fuse
[   49.749331] CPU: 9 PID: 3649 Comm: fwupd Not tainted 6.3.4-201.fc38.x86_64 #1
[   49.749334] Hardware name: LENOVO 20TJS2F40X/20TJS2F40X, BIOS N2VET42W (1.27 ) 01/03/2023
[   49.749335] RIP: 0010:ring_interrupt_active+0x243/0x2d0 [thunderbolt]
[   49.749349] Code: 08 44 89 04 24 e8 6d 30 f7 d9 44 8b 04 24 48 8b 4c 24 08 4d 89 f1 48 8b 54 24 10 48 89 c6 48 c7 c7 68 74 b8 c0 e8 fd 1d 5c d9 <0f> 0b 44 8b 5c 24 04 49 8b 47 08 40 84 ed 0f 85 e9 fe ff ff f6 40
[   49.749351] RSP: 0018:ffffa87fc62d7b60 EFLAGS: 00010082
[   49.749353] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000027
[   49.749354] RDX: ffff9a12dc461548 RSI: 0000000000000001 RDI: ffff9a12dc461540
[   49.749355] RBP: 0000000000000001 R08: 0000000000000000 R09: ffffa87fc62d79f0
[   49.749356] R10: 0000000000000003 R11: ffffffff9c146108 R12: 0000000000000001
[   49.749357] R13: 0000000000038200 R14: ffffffffc0b85bef R15: ffff9a0b88e9bd80
[   49.749358] FS:  00007fd2314d0b40(0000) GS:ffff9a12dc440000(0000) knlGS:0000000000000000
[   49.749359] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   49.749360] CR2: 0000563fdc30bc18 CR3: 000000013b802005 CR4: 00000000007706e0
[   49.749361] PKRU: 55555554
[   49.749362] Call Trace:
[   49.749363]  <TASK>
[   49.749366]  tb_ring_start+0x152/0x300 [thunderbolt]
[   49.749382]  tb_ctl_start+0x26/0xa0 [thunderbolt]
[   49.749396]  ? __pfx_pci_pm_runtime_resume+0x10/0x10
[   49.749401]  tb_domain_runtime_resume+0x19/0x40 [thunderbolt]
[   49.749422]  __rpm_callback+0x41/0x170
[   49.749424]  ? __pfx_pci_pm_runtime_resume+0x10/0x10
[   49.749427]  rpm_callback+0x5d/0x70
[   49.749429]  ? __pfx_pci_pm_runtime_resume+0x10/0x10
[   49.749431]  rpm_resume+0x572/0x7b0
[   49.749432]  ? terminate_walk+0x61/0x100
[   49.749443]  ? path_lookupat+0x96/0x1a0
[   49.749446]  rpm_resume+0x2b2/0x7b0
[   49.749448]  rpm_resume+0x2b2/0x7b0
[   49.749449]  __pm_runtime_resume+0x4b/0x80
[   49.749451]  nvm_read+0x33/0xd0 [thunderbolt]
[   49.749467]  bin_attr_nvmem_read+0x7a/0xb0
[   49.749469]  kernfs_fop_read_iter+0xa8/0x1b0
[   49.749472]  vfs_read+0x23d/0x310
[   49.749475]  ksys_read+0x6f/0xf0
[   49.749476]  do_syscall_64+0x5d/0x90
[   49.749478]  ? syscall_exit_to_user_mode+0x1b/0x40
[   49.749481]  ? do_syscall_64+0x6c/0x90
[   49.749482]  entry_SYSCALL_64_after_hwframe+0x72/0xdc
[   49.749488] RIP: 0033:0x7fd2331400fa
[   49.749515] Code: 55 48 89 e5 48 83 ec 20 48 89 55 e8 48 89 75 f0 89 7d f8 e8 98 79 f8 ff 48 8b 55 e8 48 8b 75 f0 41 89 c0 8b 7d f8 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 2e 44 89 c7 48 89 45 f8 e8 f2 79 f8 ff 48 8b
[   49.749517] RSP: 002b:00007ffdec547b20 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[   49.749518] RAX: ffffffffffffffda RBX: 00007ffdec547e50 RCX: 00007fd2331400fa
[   49.749519] RDX: 0000000000000080 RSI: 0000563fdc300a40 RDI: 000000000000000f
[   49.749520] RBP: 00007ffdec547b40 R08: 0000000000000000 R09: 0000563fdbe4c570
[   49.749521] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[   49.749522] R13: 0000000000000080 R14: 0000563fdc300a40 R15: 0000563fdc2f48f0
[   49.749524]  </TASK>
[   49.749525] ---[ end trace 0000000000000000 ]---


Reproducible: Always

Steps to Reproduce:
1. Normal boot of F38 on a Lenovo Thinkpad P1 Gen with a Lenovo Thunderbolt 3 dock using kernel-6.3.4-201.fc38.x86_64

Actual Results:  
First noticed that there was no sound output from web-based videos in both FireFox and Chrome. Then noticed that gnome settings->sound applet also couldn't play sound over any device. Lastly, noticed multiple kernel dmesg WARNING splats that occur during boot.

Expected Results:  
If I boot to the prior kernel-6.2.15-300.fc38.x86_64 I don't get the kernel dmesg WARNINGs and sound output works as expected.

Comment 1 Lenny Szubowicz 2023-06-05 01:20:38 UTC
Just a note that the problem is also present in kernel-6.3.5-200.fc38.x86_64.

Comment 2 Aoife Moloney 2024-05-22 11:16:37 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.