Bug 2212346

Summary: [abrt] tb_ring_start: WARNING: CPU: 7 PID: 654 at drivers/thunderbolt/nhi.c:137 ring_interrupt_active+0x243/0x2d0 [thunderbolt] [thunderbolt]
Product: [Fedora] Fedora Reporter: clobrano
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: acaringi, adscvr, airlied, alciregi, bskeggs, clobrano, hdegoede, hpa, jarodwilson, josef, kernel-maint, lgoncalv, linville, lszubowi, masami256, mchehab, michael.kalisz, omosnacek, ptalbert, steved
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/029817ec2aec60073b3a3d9bd05631ca6ced590
Whiteboard: abrt_hash:bfcf14539e31cb7767d0d0af3a7a7497a4fd5327;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: dmesg none

Description clobrano 2023-06-05 11:11:38 UTC
Additional info:
reporter:       libreport-2.17.10
WARNING: CPU: 7 PID: 654 at drivers/thunderbolt/nhi.c:137 ring_interrupt_active+0x243/0x2d0 [thunderbolt]
Modules linked in: uinput xt_conntrack xt_MASQUERADE nf_conntrack_netlink xt_addrtype nft_compat br_netfilter bridge stp llc rfcomm snd_seq_dummy snd_hrtimer nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack hid_logitech_hidpp nf_defrag_ipv6 nf_defrag_ipv4 ip_set overlay nf_tables nfnetlink qrtr hid_logitech_dj hid_lenovo rmi_smbus rmi_core bnep sunrpc snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi snd_sof_probes r8153_ecm cdc_ether usbnet binfmt_misc snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic vfat fat 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 snd_soc_skl iwlmvm snd_soc_hdac_hda snd_hda_ext_core intel_tcc_cooling iTCO_wdt x86_pkg_temp_thermal
 snd_soc_sst_ipc intel_pmc_bxt intel_powerclamp snd_soc_sst_dsp coretemp iTCO_vendor_support snd_soc_acpi_intel_match mac80211 ee1004 snd_soc_acpi mei_pxp kvm_intel snd_soc_core mei_wdt mei_hdcp intel_rapl_msr libarc4 kvm snd_compress ac97_bus snd_pcm_dmaengine irqbypass rapl snd_hda_intel r8152 intel_cstate uvcvideo snd_intel_dspcfg mii snd_intel_sdw_acpi snd_usb_audio iwlwifi btusb snd_hda_codec uvc btrtl videobuf2_vmalloc snd_hda_core snd_usbmidi_lib intel_uncore btbcm videobuf2_memops sparse_keymap pcspkr snd_rawmidi videobuf2_v4l2 btintel snd_hwdep think_lmi btmtk processor_thermal_device_pci_legacy snd_seq processor_thermal_device firmware_attributes_class intel_wmi_thunderbolt wmi_bmof cfg80211 snd_seq_device i2c_i801 videobuf2_common processor_thermal_rfim bluetooth processor_thermal_mbox i2c_smbus thinkpad_acpi snd_pcm videodev thunderbolt mei_me processor_thermal_rapl ledtrig_audio platform_profile intel_rapl_common mc mei snd_timer intel_soc_dts_iosf intel_pch_thermal rfkill snd int3403_thermal
 int3400_thermal soundcore int340x_thermal_zone acpi_thermal_rel acpi_pad acpi_tad joydev loop zram i915 rtsx_pci_sdmmc mmc_core crct10dif_pclmul crc32_pclmul crc32c_intel polyval_clmulni i2c_algo_bit drm_buddy polyval_generic drm_display_helper nvme ghash_clmulni_intel ucsi_acpi nvme_core cec sha512_ssse3 rtsx_pci typec_ucsi ttm nvme_common typec video wmi pinctrl_cannonlake serio_raw ip6_tables ip_tables fuse
CPU: 7 PID: 654 Comm: kworker/u24:10 Not tainted 6.3.4-201.fc38.x86_64 #1
Hardware name: LENOVO 20TJS2F44A/20TJS2F44A, BIOS N2VET29W (1.14 ) 03/15/2021
Workqueue: events_unbound async_run_entry_fn
RIP: 0010:ring_interrupt_active+0x243/0x2d0 [thunderbolt]
Code: 08 44 89 04 24 e8 6d e0 e2 d6 44 8b 04 24 48 8b 4c 24 08 4d 89 f1 48 8b 54 24 10 48 89 c6 48 c7 c7 68 c4 cc c0 e8 fd cd 47 d6 <0f> 0b 44 8b 5c 24 04 49 8b 47 08 40 84 ed 0f 85 e9 fe ff ff f6 40
RSP: 0018:ffffb36fc0903c38 EFLAGS: 00010082
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000027
RDX: ffff8da99c3e1548 RSI: 0000000000000001 RDI: ffff8da99c3e1540
RBP: 0000000000000001 R08: ffffffff990660c0 R09: 000000009a98c074
R10: ffffffffffffffff R11: 0000000000001001 R12: 0000000000000001
R13: 0000000000038200 R14: ffffffffc0ccabef R15: ffff8da246115f00
FS:  0000000000000000(0000) GS:ffff8da99c3c0000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdd3deacd58 CR3: 000000056b022002 CR4: 00000000007706e0
PKRU: 55555554
Call Trace:
 <TASK>
 tb_ring_start+0x152/0x300 [thunderbolt]
 tb_ctl_start+0x26/0xa0 [thunderbolt]
 ? __pfx_pci_pm_runtime_resume+0x10/0x10
 tb_domain_runtime_resume+0x19/0x40 [thunderbolt]
 __rpm_callback+0x41/0x170
 ? __pfx_pci_pm_runtime_resume+0x10/0x10
 rpm_callback+0x5d/0x70
 ? __pfx_pci_pm_runtime_resume+0x10/0x10
 rpm_resume+0x572/0x7b0
 ? select_task_rq_fair+0x320/0x1930
 ? wait_for_completion+0x3b/0x160
 __pm_runtime_resume+0x4b/0x80
 pci_pm_suspend+0x62/0x170
 ? __pfx_pci_pm_suspend+0x10/0x10
 dpm_run_callback+0x89/0x1e0
 __device_suspend+0x10a/0x560
 async_suspend+0x1e/0x70
 async_run_entry_fn+0x31/0x130
 process_one_work+0x1c4/0x3d0
 worker_thread+0x51/0x390
 ? __pfx_worker_thread+0x10/0x10
 kthread+0xdb/0x110
 ? __pfx_kthread+0x10/0x10
 ret_from_fork+0x29/0x50
 </TASK>

Comment 1 clobrano 2023-06-05 11:11:43 UTC
Created attachment 1969038 [details]
File: dmesg

Comment 2 Lenny Szubowicz 2023-06-06 00:39:46 UTC
Possibly a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=2211983

Comment 3 Joe Talerico 2023-06-23 13:48:01 UTC
Description of problem:
Walked away from the laptop for a couple of minutes, it was idle for the most part. Came back to a blank screen, and sysmem was locked.

Version-Release number of selected component:
kernel-core-6.3.8-200.fc38

Additional info:
reporter:       libreport-2.17.10
kernel:         6.3.8-200.fc38.x86_64
crash_function: ring_interrupt_active
reason:         WARNING: CPU: 6 PID: 87512 at drivers/thunderbolt/nhi.c:137 ring_interrupt_active+0x243/0x2d0 [thunderbolt] [thunderbolt]
type:           Kerneloops
cmdline:        BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.3.8-200.fc38.x86_64 root=UUID=4dedf75c-0a55-4a62-b479-13211f76d7c8 ro rootflags=subvol=root rd.luks.uuid=luks-5625b966-a12c-4738-b0a8-462c2ea694f4 rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
package:        kernel-core-6.3.8-200.fc38
runlevel:       N 5
comment:        Walked away from the laptop for a couple of minutes, it was idle for the most part. Came back to a blank screen, and sysmem was locked.

Truncated backtrace:
#1 [TASK] ? ring_interrupt_active in thunderbolt
#2 [TASK] ? __warn
#3 [TASK] ? ring_interrupt_active in thunderbolt
#4 [TASK] ? report_bug
#5 [TASK] ? prb_read_valid
#6 [TASK] ? handle_bug
#7 [TASK] ? exc_invalid_op
#8 [TASK] ? asm_exc_invalid_op
#9 [TASK] ? ring_interrupt_active in thunderbolt
#10 [TASK] ? ring_interrupt_active in thunderbolt
#11 [TASK] tb_ring_start in thunderbolt
#12 [TASK] tb_ctl_start in thunderbolt
#13 [TASK] ? __pfx_pci_pm_runtime_resume
#14 [TASK] tb_domain_runtime_resume in thunderbolt
#15 [TASK] __rpm_callback
#16 [TASK] ? __pfx_pci_pm_runtime_resume
#17 [TASK] rpm_callback
#18 [TASK] ? __pfx_pci_pm_runtime_resume
#19 [TASK] rpm_resume
#20 [TASK] ? pcie_pme_work_fn
#21 [TASK] pm_runtime_work
#22 [TASK] ? __pfx_worker_thread
#23 [TASK] ? __pfx_kthread
#24 [TASK] ret_from_fork

Comment 4 Ondrej Mosnáček 2023-07-06 06:50:45 UTC
Description of problem:
Happened upon waking up from suspend. Lenovo Thinkpad T14s (was connected to a Lenovo Thunderbolt 4 dock while suspended).

Version-Release number of selected component:
kernel-core-6.3.8-200.fc38

Additional info:
reporter:       libreport-2.17.11
kernel:         6.3.8-200.fc38.x86_64
comment:        Happened upon waking up from suspend. Lenovo Thinkpad T14s (was connected to a Lenovo Thunderbolt 4 dock while suspended).
cmdline:        BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.3.8-200.fc38.x86_64 root=/dev/mapper/fedora-root ro resume=/dev/mapper/fedora-swap rd.lvm.lv=fedora/root rd.luks.uuid=luks-ada046ca-51fb-46cb-9336-298c2ba43d94 rd.lvm.lv=fedora/swap rhgb quiet
reason:         WARNING: CPU: 0 PID: 7 at drivers/thunderbolt/nhi.c:137 ring_interrupt_active+0x243/0x2d0 [thunderbolt] [thunderbolt]
package:        kernel-core-6.3.8-200.fc38
runlevel:       N 5
type:           Kerneloops
crash_function: ring_interrupt_active

Truncated backtrace:
#1 [TASK] ? ring_interrupt_active in thunderbolt
#2 [TASK] ? __warn
#3 [TASK] ? ring_interrupt_active in thunderbolt
#4 [TASK] ? report_bug
#5 [TASK] ? prb_read_valid
#6 [TASK] ? handle_bug
#7 [TASK] ? exc_invalid_op
#8 [TASK] ? asm_exc_invalid_op
#9 [TASK] ? ring_interrupt_active in thunderbolt
#10 [TASK] ? ring_interrupt_active in thunderbolt
#11 [TASK] tb_ring_start in thunderbolt
#12 [TASK] tb_ctl_start in thunderbolt
#13 [TASK] ? __pfx_pci_pm_runtime_resume
#14 [TASK] tb_domain_runtime_resume in thunderbolt
#15 [TASK] __rpm_callback
#16 [TASK] ? __pfx_pci_pm_runtime_resume
#17 [TASK] rpm_callback
#18 [TASK] ? __pfx_pci_pm_runtime_resume
#19 [TASK] rpm_resume
#20 [TASK] ? __pm_runtime_resume
#21 [TASK] pm_runtime_work
#22 [TASK] ? __pfx_worker_thread
#23 [TASK] ? __pfx_kthread
#24 [TASK] ret_from_fork

Comment 5 Ondrej Mosnáček 2023-07-06 20:12:00 UTC
(In reply to Ondrej Mosnáček from comment #4)
> Description of problem:
> Happened upon waking up from suspend. Lenovo Thinkpad T14s (was connected to
> a Lenovo Thunderbolt 4 dock while suspended).

Never mind... this was probably a different bug. (Laptop crashed while waking up from suspend, but actually nothing was written into logs. This backtrace is likely not related to that.)