Bug 109139 - Locked up kernel when connecting usb dock
Summary: Locked up kernel when connecting usb dock
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: Triaged
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-24 07:43 UTC by Lionel Landwerlin
Modified: 2019-03-27 11:31 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lionel Landwerlin 2018-12-24 07:43:07 UTC
I get my kernel locked up quite often when plugin my dock.
This is the last backtrace I got on 4.19.2 :

Dec 24 07:34:45 delly kernel: [ 5393.839629] PGD 0 P4D 0 
Dec 24 07:34:45 delly kernel: [ 5393.839632] Oops: 0000 [#1] SMP PTI
Dec 24 07:34:45 delly kernel: [ 5393.839635] CPU: 0 PID: 6027 Comm: kworker/u8:26 Tainted: G        W  O      4.19.2+ #72
Dec 24 07:34:45 delly kernel: [ 5393.839636] Hardware name: Dell Inc. XPS 13 9360/0839Y6, BIOS 2.9.0 07/09/2018
Dec 24 07:34:45 delly kernel: [ 5393.839667] Workqueue: i915-dp i915_digport_work_func [i915]
Dec 24 07:34:45 delly kernel: [ 5393.839672] RIP: 0010:refcount_inc_not_zero_checked+0x0/0x50
Dec 24 07:34:45 delly kernel: [ 5393.839674] Code: c0 74 01 c3 80 3d 75 d0 d2 00 00 75 f6 48 c7 c7 50 ae 47 a4 c6 05 65 d0 d2 00 01 e8 a4 15 cb ff 0f 0b c3 0f 1f 80 00 00 00 00 <8b> 07 8d 50 01 85 c0 74 15 85 d2 74 0b f0 0f b1 17 75 ef 83 fa ff
Dec 24 07:34:45 delly kernel: [ 5393.839675] RSP: 0018:ffff9d60c5437d18 EFLAGS: 00010246
Dec 24 07:34:45 delly kernel: [ 5393.839677] RAX: 0000000000000000 RBX: ffff8ca6e8ae2a60 RCX: ffff8ca6ebeb6ac1
Dec 24 07:34:45 delly kernel: [ 5393.839678] RDX: ffff8ca6e8ae2a70 RSI: 0000000000000001 RDI: 0000000000000000
Dec 24 07:34:45 delly kernel: [ 5393.839679] RBP: 0000000000000000 R08: ffff8ca6ee222660 R09: 0000000000000000
Dec 24 07:34:45 delly kernel: [ 5393.839680] R10: 0000000000000000 R11: ffff8ca6ee220be8 R12: ffff8ca6e8ae2908
Dec 24 07:34:45 delly kernel: [ 5393.839681] R13: 0000000000000001 R14: 0000000000000000 R15: ffff8ca6e8ae2798
Dec 24 07:34:45 delly kernel: [ 5393.839683] FS:  0000000000000000(0000) GS:ffff8ca6ee200000(0000) knlGS:0000000000000000
Dec 24 07:34:45 delly kernel: [ 5393.839684] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Dec 24 07:34:45 delly kernel: [ 5393.839685] CR2: 0000000000000000 CR3: 0000000162c0a001 CR4: 00000000003606f0
Dec 24 07:34:45 delly kernel: [ 5393.839686] Call Trace:
Dec 24 07:34:45 delly kernel: [ 5393.839690]  refcount_inc_checked+0x5/0x30
Dec 24 07:34:45 delly kernel: [ 5393.839696]  drm_dp_get_mst_branch_device+0xc2/0xe0 [drm_kms_helper]
Dec 24 07:34:45 delly kernel: [ 5393.839701]  drm_dp_mst_hpd_irq+0xde/0x990 [drm_kms_helper]
Dec 24 07:34:45 delly kernel: [ 5393.839723]  ? intel_dp_check_mst_status+0xba/0x1e0 [i915]
Dec 24 07:34:45 delly kernel: [ 5393.839742]  intel_dp_check_mst_status+0xba/0x1e0 [i915]
Dec 24 07:34:45 delly kernel: [ 5393.839761]  intel_dp_hpd_pulse+0x1bd/0x2d0 [i915]
Dec 24 07:34:45 delly kernel: [ 5393.839765]  ? __switch_to_asm+0x34/0x70
Dec 24 07:34:45 delly kernel: [ 5393.839783]  i915_digport_work_func+0xcf/0x160 [i915]
Dec 24 07:34:45 delly kernel: [ 5393.839786]  process_one_work+0x1ae/0x3c0
Dec 24 07:34:45 delly kernel: [ 5393.839788]  worker_thread+0x30/0x3b0
Dec 24 07:34:45 delly kernel: [ 5393.839790]  ? pwq_unbound_release_workfn+0xd0/0xd0
Dec 24 07:34:45 delly kernel: [ 5393.839792]  kthread+0x112/0x130
Dec 24 07:34:45 delly kernel: [ 5393.839793]  ? kthread_bind+0x30/0x30
Dec 24 07:34:45 delly kernel: [ 5393.839795]  ret_from_fork+0x35/0x40
Dec 24 07:34:45 delly kernel: [ 5393.839797] Modules linked in: tun fuse ctr ccm snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device sd_mod sg uas usb_storage scsi_mod cdc_ether usbnet r8152 mii thunderbolt ipt_MASQUERADE nf_conntrack_netlink xfrm_user xfrm_algo nft_counter rfcomm nft_chain_nat_ipv4 nf_nat_ipv4 
ebtable_filter xt_addrtype ebtables nft_compat xt_conntrack devlink nf_nat nf_conntrack nf_defrag_ipv6 nf_tables nf_defrag_ipv4 nfnetlink br_netfilter bridge stp llc cmac bnep overlay btusb btrtl btbcm btintel bluetooth arc4 uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media dr
bg ansi_cprng ecdh_generic pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) cpufreq_powersave cpufreq_conservative cpufreq_userspace snd_hda_codec_hdmi msr snd_hda_codec_realtek snd_hda_codec_generic
Dec 24 07:34:45 delly kernel: [ 5393.839833]  joydev wmi_bmof dell_wmi snd_soc_skl dell_laptop snd_soc_skl_ipc dell_smbios snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core ath10k_pci snd_soc_acpi_intel_match snd_soc_acpi dell_wmi_descriptor dcdbas ath10k_core ath binfmt_misc snd_soc_core intel_rapl snd_compress nls_a
scii x86_pkg_temp_thermal intel_powerclamp mac80211 snd_hda_intel coretemp nls_cp437 vfat fat snd_hda_codec kvm_intel snd_hda_core kvm snd_hwdep irqbypass cfg80211 snd_pcm intel_cstate snd_timer intel_uncore intel_rapl_perf efi_pstore snd evdev i915 serio_raw efivars pcspkr iTCO_wdt iTCO_vendor_support prime_numbers 
drm_kms_helper rtsx_pci_ms soundcore drm memstick mei_me ucsi_acpi processor_thermal_device typec_ucsi rfkill i2c_algo_bit idma64 mei intel_soc_dts_iosf intel_pch_thermal wmi hid_multitouch typec intel_vbtn
Dec 24 07:34:45 delly kernel: [ 5393.839864]  soc_button_array int3403_thermal video int340x_thermal_zone battery int3400_thermal acpi_thermal_rel intel_hid acpi_pad sparse_keymap button ac pcc_cpufreq nfsd auth_rpcgss nfs_acl lockd grace parport_pc ppdev lp sunrpc parport efivarfs ip_tables x_tables autofs4 ext4 crc
16 mbcache jbd2 fscrypto btrfs zstd_decompress zstd_compress xxhash algif_skcipher af_alg dm_crypt dm_mod raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor usbhid raid6_pq libcrc32c crc32c_generic raid1 raid0 multipath linear md_mod hid_generic crct10dif_pclmul crc32_pclmul crc32c_intel rt
sx_pci_sdmmc ghash_clmulni_intel pcbc mmc_core aesni_intel aes_x86_64 crypto_simd cryptd glue_helper psmouse nvme xhci_pci i2c_i801 xhci_hcd nvme_core intel_lpss_pci rtsx_pci intel_lpss usbcore thermal i2c_hid
Dec 24 07:34:45 delly kernel: [ 5393.839901]  hid
Dec 24 07:34:45 delly kernel: [ 5393.839903] CR2: 0000000000000000
Dec 24 07:34:45 delly kernel: [ 5393.839905] ---[ end trace 074745869fb168da ]---
Comment 1 Francesco Balestrieri 2018-12-27 11:12:27 UTC
Would you mind trying to reproduce with drm-tip?
Comment 2 Lakshmi 2019-02-13 11:31:55 UTC
Lionel, Do you see the issue with latest drmtip? If so, can you add the full dmesg log from boot with kernel parameters drm.debug=0x1e log_buf_len=4M?
Comment 3 Lakshmi 2019-03-27 11:09:31 UTC
Lionel, do yo have similar issue with latest kernel (or drmtip)? Any feedback?
Comment 4 Lionel Landwerlin 2019-03-27 11:26:05 UTC
(In reply to Lakshmi from comment #3)
> Lionel, do yo have similar issue with latest kernel (or drmtip)? Any
> feedback?

Sorry, I'm not able to run drm-tip often enough :(
I haven't run into the issue on 4.19.2 though, I assumed it was fixed.
Comment 5 Lakshmi 2019-03-27 11:30:58 UTC
Thanks for the feedback. I will close this bug for now. Please reopen if this issue is persists on latest drmtip. Please attach full dmesg from boot with kernel parameters drm.debug=0x1e log_buf_len=4M when reopening this bug.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.