xmm7360_usb icon indicating copy to clipboard operation
xmm7360_usb copied to clipboard

Occasional system failure with kernel warnings about 'kobject_add_internal' triggered by resuming from sleep

Open turtleizzy opened this issue 3 years ago • 0 comments

I have experienced system failures that necessitates cold restart after resuming from sleep state for several times. After some digging on kernel logs I noticed 'kobject_add_internal' kernel warning was usually present right before system becomes irresponsive. Here is a sample of kernel log. (The card is on 0000:03:00.0)

Have anyone experienced similar issue?

Dec 28 14:09:31 tix1c kernel: [94212.671357] Restarting tasks ... 
Dec 28 14:09:31 tix1c kernel: [94212.671979] usb 1-6: USB disconnect, device number 19
Dec 28 14:09:31 tix1c kernel: [94212.672305] xmm7360_usb: Found a PCI device 8086:7360
Dec 28 14:09:31 tix1c kernel: [94212.672322] xmm7360_usb: Link status changed, trying to reset the device
Dec 28 14:09:31 tix1c kernel: [94212.678108] cdc_ncm 1-6:1.6 enx000011121314: unregister 'cdc_ncm' usb-0000:00:14.0-6, CDC NCM
Dec 28 14:09:31 tix1c kernel: [94212.686457] done.
Dec 28 14:09:31 tix1c kernel: [94212.699773] thermal thermal_zone6: failed to read out thermal zone (-61)
Dec 28 14:09:31 tix1c kernel: [94212.726849] cdc_ncm 1-6:1.8 enx000011121316: unregister 'cdc_ncm' usb-0000:00:14.0-6, CDC NCM
Dec 28 14:09:31 tix1c kernel: [94212.741262] PM: suspend exit
Dec 28 14:09:31 tix1c kernel: [94212.758854] cdc_ncm 1-6:1.10 enx000011121318: unregister 'cdc_ncm' usb-0000:00:14.0-6, CDC NCM
Dec 28 14:09:31 tix1c kernel: [94213.099328] xmm7360_usb: Device reset successfully
Dec 28 14:09:31 tix1c kernel: [94213.100305] pci 0000:03:00.0: [8086:7360] type 00 class 0x0d4000
Dec 28 14:09:31 tix1c kernel: [94213.100389] pci 0000:03:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
Dec 28 14:09:31 tix1c kernel: [94213.100421] pci 0000:03:00.0: reg 0x18: [mem 0x00000000-0x000003ff 64bit]
Dec 28 14:09:31 tix1c kernel: [94213.100679] pci 0000:03:00.0: PME# supported from D0 D3hot D3cold
Dec 28 14:09:31 tix1c kernel: [94213.101036] kobject_add_internal failed for 0000:03:00.0 (error: -2 parent: �S�M�Kǘ1c.2)
Dec 28 14:09:31 tix1c kernel: [94213.101161] ------------[ cut here ]------------
Dec 28 14:09:31 tix1c kernel: [94213.101175] WARNING: CPU: 5 PID: 383980 at drivers/pci/probe.c:2439 pci_device_add+0x26a/0x280
Dec 28 14:09:31 tix1c kernel: [94213.101177] Modules linked in: xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 bpfilter br_netfilter bridge stp llc thunderbolt cdc_mbim cdc_wdm cdc_ncm usbnet cdc_acm mii acpi_call(OE) l2tp_ppp l2tp_netlink l2tp_core ip6_udp_tunnel udp_tunnel pppox xfrm_user xfrm_algo ccm mei_hdcp rfcomm cmac algif_hash algif_skcipher af_alg vboxnetadp(OE) vboxnetflt(OE) bnep vboxdrv(OE) aufs msr overlay btusb btrtl btbcm btintel bluetooth ecdh_generic ecc binfmt_misc nls_iso8859_1 intel_rapl_msr snd_hda_codec_hdmi x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_realtek coretemp snd_hda_codec_generic iwlmvm kvm_intel mac80211 kvm snd_hda_intel libarc4 intel_cstate snd_intel_dspcfg intel_rapl_perf joydev input_leds wmi_bmof snd_hda_codec iwlwifi serio_raw intel_wmi_thunderbolt snd_hda_core snd_hwdep cfg80211 ucsi_acpi thinkpad_acpi mei_me intel_xhci_usb_role_switch typec_ucsi nvram
Dec 28 14:09:31 tix1c kernel: [94213.101258]  processor_thermal_device intel_pch_thermal mei xmm7360_usb(OE) typec roles ledtrig_audio intel_rapl_common int3403_thermal int340x_thermal_zone intel_soc_dts_iosf acpi_pad int3400_thermal acpi_thermal_rel mac_hid sch_fq_codel snd_aloop snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd soundcore videodev mc parport_pc ppdev lp parport binder_linux ashmem_linux(CE) sunrpc ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq libcrc32c dm_mirror dm_region_hash dm_log hid_generic usbhid uas usb_storage crct10dif_pclmul crc32_pclmul i915 ghash_clmulni_intel nvme aesni_intel i2c_algo_bit crypto_simd drm_kms_helper cryptd glue_helper syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse e1000e drm i2c_i801 nvme_core wmi i2c_hid hid video
Dec 28 14:09:31 tix1c kernel: [94213.101330] CPU: 5 PID: 383980 Comm: kworker/u16:46 Tainted: G        WC OE     5.4.0-40-generic #44-Ubuntu
Dec 28 14:09:31 tix1c kernel: [94213.101332] Hardware name: LENOVO 20KH002HUS/20KH002HUS, BIOS N23ET74W (1.49 ) 06/03/2020
Dec 28 14:09:31 tix1c kernel: [94213.101342] Workqueue: kacpi_hotplug acpi_hotplug_work_fn
Dec 28 14:09:31 tix1c kernel: [94213.101351] RIP: 0010:pci_device_add+0x26a/0x280
Dec 28 14:09:31 tix1c kernel: [94213.101356] Code: ff ff 48 89 df e8 16 05 03 00 48 85 c0 0f 85 3d ff ff ff 48 8b 43 10 48 8b 80 20 03 00 00 e9 2d ff ff ff 0f 0b e9 16 ff ff ff <0f> 0b e9 3d ff ff ff e8 7a 5c b2 ff 66 2e 0f 1f 84 00 00 00 00 00
Dec 28 14:09:31 tix1c kernel: [94213.101359] RSP: 0018:ffffa62e03b87cf0 EFLAGS: 00010282
Dec 28 14:09:31 tix1c kernel: [94213.101363] RAX: 00000000fffffffe RBX: ffff91298a409000 RCX: 00000000000080b9
Dec 28 14:09:31 tix1c kernel: [94213.101366] RDX: 00000000000080b8 RSI: 49fa8d4ee87f1387 RDI: ffff91298a4090e8
Dec 28 14:09:31 tix1c kernel: [94213.101369] RBP: ffffa62e03b87d18 R08: 0000000000000871 R09: ffffffffa75c0fbc
Dec 28 14:09:31 tix1c kernel: [94213.101371] R10: ffffffffa75941a8 R11: ffffa62e03b87a68 R12: ffff912cce438828
Dec 28 14:09:31 tix1c kernel: [94213.101374] R13: ffff91298a4090b0 R14: ffff91298a409000 R15: ffff912ccea827e0
Dec 28 14:09:31 tix1c kernel: [94213.101379] FS:  0000000000000000(0000) GS:ffff912cd1540000(0000) knlGS:0000000000000000
Dec 28 14:09:31 tix1c kernel: [94213.101382] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Dec 28 14:09:31 tix1c kernel: [94213.101386] CR2: 000055c3d0ae74a8 CR3: 0000000188e0a003 CR4: 00000000003606e0
Dec 28 14:09:31 tix1c kernel: [94213.101389] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Dec 28 14:09:31 tix1c kernel: [94213.101392] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Dec 28 14:09:31 tix1c kernel: [94213.101394] Call Trace:
Dec 28 14:09:31 tix1c kernel: [94213.101408]  pci_scan_single_device+0xa7/0xd0
Dec 28 14:09:31 tix1c kernel: [94213.101415]  pci_scan_slot+0x5b/0x120
Dec 28 14:09:31 tix1c kernel: [94213.101422]  acpiphp_rescan_slot+0x70/0x80
Dec 28 14:09:31 tix1c kernel: [94213.101428]  acpiphp_hotplug_notify+0x1cb/0x200
Dec 28 14:09:31 tix1c kernel: [94213.101434]  ? _cond_resched+0x19/0x30
Dec 28 14:09:31 tix1c kernel: [94213.101439]  ? free_bridge+0x120/0x120
Dec 28 14:09:31 tix1c kernel: [94213.101447]  acpi_device_hotplug+0xa4/0x3f0
Dec 28 14:09:31 tix1c kernel: [94213.101455]  acpi_hotplug_work_fn+0x22/0x30
Dec 28 14:09:31 tix1c kernel: [94213.101462]  process_one_work+0x1eb/0x3b0
Dec 28 14:09:31 tix1c kernel: [94213.101469]  worker_thread+0x4d/0x400
Dec 28 14:09:31 tix1c kernel: [94213.101477]  kthread+0x104/0x140
Dec 28 14:09:31 tix1c kernel: [94213.101483]  ? process_one_work+0x3b0/0x3b0
Dec 28 14:09:31 tix1c kernel: [94213.101488]  ? kthread_park+0x90/0x90
Dec 28 14:09:31 tix1c kernel: [94213.101497]  ret_from_fork+0x35/0x40
Dec 28 14:09:31 tix1c kernel: [94213.101505] ---[ end trace f490fe07996dc7a4 ]---
Dec 28 14:09:31 tix1c kernel: [94213.101649] pci 0000:03:00.0: BAR 0: assigned [mem 0xee200000-0xee200fff 64bit]
Dec 28 14:09:31 tix1c kernel: [94213.101679] pci 0000:03:00.0: BAR 2: assigned [mem 0xee201000-0xee2013ff 64bit]

turtleizzy avatar Jan 04 '21 15:01 turtleizzy