kernel oops with external usb-c hub with ethernet port

Bug #2007158 reported by Sergio Callegari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Using an external USB-C hub with hdmi, usb and ethernet ports, I constantly see the following after ~ a couple of hours of usage:

CPU: 7 PID: 137 Comm: irq/122-pciehp Tainted: P OE 5.15.0-60-generic #66-Ubuntu
[37914.942824] Hardware name: SCHENKER SCHENKER_SLIM14_SSL14L19/N141CU , BIOS 1.07.04RTR1 10/02/2019
[37914.942825] RIP: 0010:ring_interrupt_active+0x1fe/0x270 [thunderbolt]
[37914.942849] Code: 4c 89 4d c8 44 89 45 d4 e8 6f 71 e9 d0 4c 8b 4d c8 44 8b 45 d4 4c 89 e1 48 89 c6 4c 89 f2 48 c7 c7 d8 b8 40 c0 e8 c0 21 32 d1 <0f> 0b e9 0c ff ff ff 41 0f b6 47 78 d3 e0 41 09 c5 e9 cb fe ff ff
[37914.942851] RSP: 0000:ffffb4048078ba90 EFLAGS: 00010086
[37914.942853] RAX: 0000000000000000 RBX: 00000000ffffffff RCX: 0000000000000027
[37914.942854] RDX: ffff8abf707e0588 RSI: 0000000000000001 RDI: ffff8abf707e0580
[37914.942856] RBP: ffffb4048078bad8 R08: 0000000000000003 R09: 000000000000a9a0
[37914.942857] R10: ffffffffffffffff R11: 0000000000000001 R12: ffffffffc040a44b
[37914.942858] R13: 0000000000038200 R14: ffff8abc01b834c0 R15: ffff8abc038ac3c0
[37914.942859] FS: 0000000000000000(0000) GS:ffff8abf707c0000(0000) knlGS:0000000000000000
[37914.942861] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[37914.942862] CR2: 0000555aaf675f14 CR3: 000000014f948004 CR4: 00000000003706e0
[37914.942864] Call Trace:
[37914.942865] <TASK>
[37914.942869] tb_ring_start+0x192/0x360 [thunderbolt]
[37914.942880] tb_ctl_start+0x1d/0xb0 [thunderbolt]
[37914.942892] tb_domain_runtime_resume+0x1a/0x40 [thunderbolt]
[37914.942907] nhi_runtime_resume+0x64/0x70 [thunderbolt]
[37914.942918] pci_pm_runtime_resume+0xb2/0xd0
[37914.942922] ? pci_pm_freeze_noirq+0x110/0x110
[37914.942924] __rpm_callback+0x4a/0x130
[37914.942928] ? pci_pm_freeze_noirq+0x110/0x110
[37914.942930] rpm_callback+0x67/0x70
[37914.942932] ? pci_pm_freeze_noirq+0x110/0x110
[37914.942933] rpm_resume+0x519/0x7c0
[37914.942936] ? pde_put+0x7c/0xb0
[37914.942939] __pm_runtime_resume+0x52/0x90
[37914.942942] __device_release_driver+0x2f/0x2a0
[37914.942945] device_release_driver+0x29/0x40
[37914.942948] pci_stop_bus_device+0x74/0xa0
[37914.942954] pci_stop_bus_device+0x30/0xa0
[37914.942956] pci_stop_bus_device+0x41/0xa0
[37914.942958] pci_stop_and_remove_bus_device+0x13/0x30
[37914.942960] pciehp_unconfigure_device+0x7e/0x140
[37914.942964] pciehp_disable_slot+0x6c/0x100
[37914.942967] pciehp_handle_presence_or_link_change+0xb7/0x110
[37914.942970] pciehp_ist+0x19a/0x1b0
[37914.942973] ? irq_forced_thread_fn+0x90/0x90
[37914.942977] irq_thread_fn+0x25/0x70
[37914.942980] irq_thread+0xdc/0x1b0
[37914.942983] ? irq_thread_fn+0x70/0x70
[37914.942986] ? irq_thread_check_affinity+0x100/0x100
[37914.942989] kthread+0x127/0x150
[37914.942992] ? set_kthread_struct+0x50/0x50
[37914.942995] ret_from_fork+0x1f/0x30
[37914.942999] </TASK>
[37914.943000] ---[ end trace 3d6e16cc93f67574 ]---
[37914.943004] ------------[ cut here ]------------
[37914.943004] thunderbolt 0000:03:00.0: interrupt for RX ring 0 is already enabled
[37914.943030] WARNING: CPU: 7 PID: 137 at drivers/thunderbolt/nhi.c:111 ring_interrupt_active+0x1fe/0x270 [thunderbolt]
[37914.943043] Modules linked in: cdc_mbim cdc_wdm cdc_ncm usbhid ax88179_178a snd_seq_dummy hid_generic hidp hid r8153_ecm cdc_ether usbnet r8152 mii ccm veth nft_masq nvme_fabrics nft_chain_nat nf_nat bridge stp llc zfs(PO) zunicode(PO) zzstd(O) zlua(O) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) vhost_vsock vmw_vsock_virtio_transport_common vhost vhost_iotlb vsock rfcomm vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) cmac algif_hash algif_skcipher af_alg bnep ip6t_REJECT nf_reject_ipv6 xt_hl ip6_tables ip6t_rt ipt_REJECT nf_reject_ipv4 xt_LOG nf_log_syslog xt_comment xt_recent xt_multiport nft_limit xt_limit xt_addrtype xt_tcpudp xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nft_counter snd_hda_codec_hdmi 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_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi soundwire_bus snd_soc_core
[37914.943081] snd_hda_codec_realtek snd_hda_codec_generic snd_compress ac97_bus ledtrig_audio snd_pcm_dmaengine snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec nf_tables snd_hda_core snd_hwdep nfnetlink binfmt_misc iwlmvm(OE) snd_pcm intel_rapl_msr snd_seq_midi intel_rapl_common mac80211(OE) intel_tcc_cooling x86_pkg_temp_thermal snd_seq_midi_event uvcvideo mei_hdcp btusb intel_powerclamp videobuf2_vmalloc libarc4 snd_rawmidi btrtl videobuf2_memops coretemp snd_seq btbcm videobuf2_v4l2 videobuf2_common btintel snd_seq_device iwlwifi(OE) snd_timer nls_iso8859_1 videodev bluetooth snd cfg80211(OE) joydev kvm_intel ecdh_generic mc ecc kvm rapl intel_cstate input_leds serio_raw intel_wmi_thunderbolt soundcore compat(OE) mei_me mei intel_pch_thermal intel_hid acpi_pad sparse_keymap mac_hid sch_fq_codel msr parport_pc ppdev lp parport ramoops reed_solomon pstore_blk pstore_zone efi_pstore ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c i915
[37914.943119] i2c_algo_bit ttm drm_kms_helper syscopyarea sysfillrect rtsx_pci_sdmmc sysimgblt crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel crypto_simd cryptd nvme r8169 fb_sys_fops psmouse cec rc_core realtek i2c_i801 rtsx_pci drm thunderbolt nvme_core i2c_smbus ahci libahci xhci_pci xhci_pci_renesas wmi video
[37914.943134] CPU: 7 PID: 137 Comm: irq/122-pciehp Tainted: P W OE 5.15.0-60-generic #66-Ubuntu
[37914.943136] Hardware name: SCHENKER SCHENKER_SLIM14_SSL14L19/N141CU , BIOS 1.07.04RTR1 10/02/2019
[37914.943137] RIP: 0010:ring_interrupt_active+0x1fe/0x270 [thunderbolt]
[37914.943148] Code: 4c 89 4d c8 44 89 45 d4 e8 6f 71 e9 d0 4c 8b 4d c8 44 8b 45 d4 4c 89 e1 48 89 c6 4c 89 f2 48 c7 c7 d8 b8 40 c0 e8 c0 21 32 d1 <0f> 0b e9 0c ff ff ff 41 0f b6 47 78 d3 e0 41 09 c5 e9 cb fe ff ff
[37914.943150] RSP: 0000:ffffb4048078ba90 EFLAGS: 00010086
[37914.943151] RAX: 0000000000000000 RBX: 00000000ffffffff RCX: 0000000000000027
[37914.943153] RDX: ffff8abf707e0588 RSI: 0000000000000001 RDI: ffff8abf707e0580
[37914.943154] RBP: ffffb4048078bad8 R08: 0000000000000003 R09: 000000000000be60
[37914.943155] R10: ffffffffffffffff R11: 0000000000000001 R12: ffffffffc040a453
[37914.943156] R13: 0000000000038200 R14: ffff8abc01b834c0 R15: ffff8abc038ac180
[37914.943157] FS: 0000000000000000(0000) GS:ffff8abf707c0000(0000) knlGS:0000000000000000
[37914.943158] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[37914.943160] CR2: 0000555aaf675f14 CR3: 000000014f948004 CR4: 00000000003706e0
[37914.943161] Call Trace:
[37914.943162] <TASK>
[37914.943163] tb_ring_start+0x192/0x360 [thunderbolt]
[37914.943178] tb_ctl_start+0x27/0xb0 [thunderbolt]
[37914.943195] tb_domain_runtime_resume+0x1a/0x40 [thunderbolt]
[37914.943215] nhi_runtime_resume+0x64/0x70 [thunderbolt]
[37914.943232] pci_pm_runtime_resume+0xb2/0xd0
[37914.943242] ? pci_pm_freeze_noirq+0x110/0x110
[37914.943245] __rpm_callback+0x4a/0x130
[37914.943248] ? pci_pm_freeze_noirq+0x110/0x110
[37914.943251] rpm_callback+0x67/0x70
[37914.943253] ? pci_pm_freeze_noirq+0x110/0x110
[37914.943256] rpm_resume+0x519/0x7c0
[37914.943259] ? pde_put+0x7c/0xb0
[37914.943263] __pm_runtime_resume+0x52/0x90
[37914.943266] __device_release_driver+0x2f/0x2a0
[37914.943270] device_release_driver+0x29/0x40
[37914.943273] pci_stop_bus_device+0x74/0xa0
[37914.943276] pci_stop_bus_device+0x30/0xa0
[37914.943279] pci_stop_bus_device+0x41/0xa0
[37914.943282] pci_stop_and_remove_bus_device+0x13/0x30
[37914.943284] pciehp_unconfigure_device+0x7e/0x140
[37914.943288] pciehp_disable_slot+0x6c/0x100
[37914.943292] pciehp_handle_presence_or_link_change+0xb7/0x110
[37914.943296] pciehp_ist+0x19a/0x1b0
[37914.943300] ? irq_forced_thread_fn+0x90/0x90
[37914.943304] irq_thread_fn+0x25/0x70
[37914.943307] irq_thread+0xdc/0x1b0
[37914.943310] ? irq_thread_fn+0x70/0x70
[37914.943313] ? irq_thread_check_affinity+0x100/0x100
[37914.943316] kthread+0x127/0x150
[37914.943318] ? set_kthread_struct+0x50/0x50
[37914.943321] ret_from_fork+0x1f/0x30
[37914.943325] </TASK>
[37914.943325] ---[ end trace 3d6e16cc93f67575 ]---

After this, the ethernet port on the hub is no more functional. HDMI port keeps working. Detaching and reattaching the hub makes it fully operational again.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-5.15.0-60-generic 5.15.0-60.66
ProcVersionSignature: Ubuntu 5.15.0-60.66-generic 5.15.78
Uname: Linux 5.15.0-60-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: callegar 1901 F.... pulseaudio
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Mon Feb 13 16:22:41 2023
EcryptfsInUse: Yes
InstallationDate: Installed on 2020-02-16 (1093 days ago)
InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
MachineType: SCHENKER SCHENKER_SLIM14_SSL14L19
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-60-generic root=/dev/mapper/VG_NVMe-root ro quiet splash zswap.enabled=1 vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-60-generic N/A
 linux-backports-modules-5.15.0-60-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.9
SourcePackage: linux
UpgradeStatus: Upgraded to jammy on 2022-06-03 (255 days ago)
dmi.bios.date: 10/02/2019
dmi.bios.release: 7.4
dmi.bios.vendor: INSYDE Corp.
dmi.bios.version: 1.07.04RTR1
dmi.board.asset.tag: Tag 12345
dmi.board.name: N141CU
dmi.board.vendor: SCHENKER
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Notebook
dmi.chassis.version: N/A
dmi.ec.firmware.release: 7.2
dmi.modalias: dmi:bvnINSYDECorp.:bvr1.07.04RTR1:bd10/02/2019:br7.4:efr7.2:svnSCHENKER:pnSCHENKER_SLIM14_SSL14L19:pvrNotApplicable:rvnSCHENKER:rnN141CU:rvrNotApplicable:cvnNotebook:ct10:cvrN/A:skuNotApplicable:
dmi.product.family: Not Applicable
dmi.product.name: SCHENKER_SLIM14_SSL14L19
dmi.product.sku: Not Applicable
dmi.product.version: Not Applicable
dmi.sys.vendor: SCHENKER

Revision history for this message
Sergio Callegari (callegar) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.