Bug 111142 - Backtrace on plugging dock on drm-tip
Summary: Backtrace on plugging dock on drm-tip
Status: RESOLVED 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: 2019-07-16 05:51 UTC by Lionel Landwerlin
Modified: 2019-10-03 06:15 UTC (History)
1 user (show)

See Also:
i915 platform: KBL
i915 features:


Attachments
dmesg (441.71 KB, text/plain)
2019-07-16 08:04 UTC, Lionel Landwerlin
no flags Details
dmesg (226.26 KB, text/plain)
2019-07-25 18:23 UTC, Lionel Landwerlin
no flags Details
backtrace (38.29 KB, text/plain)
2019-08-24 14:42 UTC, Lionel Landwerlin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lionel Landwerlin 2019-07-16 05:51:19 UTC
Getting a few of those :

Jul 16 08:20:38 delly kernel: WARNING: CPU: 2 PID: 19135 at drivers/gpu/drm/drm_mode_object.c:45 __drm_mode_object_add+0x97/0xa0 [drm]
Jul 16 08:20:38 delly kernel: Modules linked in: thunderbolt ctr ccm snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device tun fuse rfcomm pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) cdc_ether usbnet nf_tables nfnetlink r8152 mii cpufreq_powersave cpufreq_conservative cpufreq_userspace cmac bnep btu
Jul 16 08:20:38 delly kernel:  snd_hda_intel rtsx_pci_ms snd_hda_codec snd_hda_core memstick snd_hwdep efivars snd_pcm pcspkr snd_timer iTCO_wdt cfg80211 iTCO_vendor_support snd soundcore rfkill mei_me idma64 mei ucsi_acpi typec_ucsi processor_thermal_device intel_soc_dts_iosf typec intel_pch_thermal battery soc_butt
Jul 16 08:20:38 delly kernel:  i2c_algo_bit prime_numbers drm_kms_helper i2c_hid aes_x86_64 xhci_pci crypto_simd nvme cryptd glue_helper nvme_core drm psmouse i2c_i801 xhci_hcd rtsx_pci intel_lpss_pci usbcore intel_lpss thermal wmi hid video
Jul 16 08:20:38 delly kernel: CPU: 2 PID: 19135 Comm: kworker/2:0 Tainted: G        W  O      5.2.0+ #147
Jul 16 08:20:38 delly kernel: Hardware name: Dell Inc. XPS 13 9360/0839Y6, BIOS 2.11.0 03/14/2019
Jul 16 08:20:38 delly kernel: Workqueue: events_long drm_dp_mst_link_probe_work [drm_kms_helper]
Jul 16 08:20:38 delly kernel: RIP: 0010:__drm_mode_object_add+0x97/0xa0 [drm]
Jul 16 08:20:38 delly kernel: Code: 74 0b 4c 89 75 18 c7 45 10 01 00 00 00 4c 89 ef e8 1e e8 19 ca 85 db b8 00 00 00 00 0f 4e c3 5b 5d 41 5c 41 5d 41 5e 41 5f c3 <0f> 0b eb 8e 0f 1f 44 00 00 0f 1f 44 00 00 45 31 c0 b9 01 00 00 00
Jul 16 08:20:38 delly kernel: RSP: 0000:ffffaf3e452ffbf0 EFLAGS: 00010246
Jul 16 08:20:38 delly kernel: RAX: ffffa09edf832780 RBX: ffffa09f21a50000 RCX: 0000000000000001
Jul 16 08:20:38 delly kernel: RDX: 00000000b0b0b0b0 RSI: ffffa09ee6ce3c10 RDI: ffffa09f21a50000
Jul 16 08:20:38 delly kernel: RBP: ffffa09ee6ce3c10 R08: 0000000000000000 R09: ffffa09edf832780
Jul 16 08:20:38 delly kernel: R10: ffffa09f2d8588f0 R11: ffffa09f21a501f8 R12: 00000000b0b0b0b0
Jul 16 08:20:38 delly kernel: R13: 0000000000000002 R14: 0000000000000000 R15: 0000000000000001
Jul 16 08:20:38 delly kernel: FS:  0000000000000000(0000) GS:ffffa09f2e300000(0000) knlGS:0000000000000000
Jul 16 08:20:38 delly kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 16 08:20:38 delly kernel: CR2: 0000399e42228000 CR3: 00000003d73a4006 CR4: 00000000003606e0
Jul 16 08:20:38 delly kernel: Call Trace:
Jul 16 08:20:38 delly kernel:  drm_property_create+0xc3/0x180 [drm]
Jul 16 08:20:38 delly kernel:  drm_property_create_range+0x1a/0x40 [drm]
Jul 16 08:20:38 delly kernel:  drm_connector_attach_max_bpc_property+0x67/0x80 [drm]
Jul 16 08:20:38 delly kernel:  intel_dp_add_mst_connector+0x124/0x150 [i915]
Jul 16 08:20:38 delly kernel:  drm_dp_add_port+0x20a/0x430 [drm_kms_helper]
Jul 16 08:20:38 delly kernel:  ? try_to_del_timer_sync+0x4d/0x80
Jul 16 08:20:38 delly kernel:  ? del_timer_sync+0x35/0x40
Jul 16 08:20:38 delly kernel:  ? schedule_timeout+0x168/0x320
Jul 16 08:20:38 delly kernel:  ? prepare_to_wait_event+0xb6/0x140
Jul 16 08:20:38 delly kernel:  ? finish_wait+0x3c/0x80
Jul 16 08:20:38 delly kernel:  ? _cond_resched+0x15/0x30
Jul 16 08:20:38 delly kernel:  ? drm_dp_mst_wait_tx_reply+0x6d/0x1f0 [drm_kms_helper]
Jul 16 08:20:38 delly kernel:  ? drm_dp_check_mstb_guid+0x3b/0x120 [drm_kms_helper]
Jul 16 08:20:38 delly kernel:  drm_dp_send_link_address+0x155/0x1d0 [drm_kms_helper]
Jul 16 08:20:38 delly kernel:  drm_dp_check_and_send_link_address+0x9b/0xa0 [drm_kms_helper]
Jul 16 08:20:38 delly kernel:  drm_dp_mst_link_probe_work+0x62/0x70 [drm_kms_helper]
Jul 16 08:20:38 delly kernel:  process_one_work+0x1ae/0x3d0
Jul 16 08:20:38 delly kernel:  worker_thread+0x30/0x3b0
Jul 16 08:20:38 delly kernel:  ? create_worker+0x1a0/0x1a0
Jul 16 08:20:38 delly kernel:  kthread+0x112/0x130
Jul 16 08:20:38 delly kernel:  ? __kthread_parkme+0x70/0x70
Jul 16 08:20:38 delly kernel:  ret_from_fork+0x35/0x40
Jul 16 08:20:38 delly kernel: WARNING: CPU: 2 PID: 19135 at drivers/gpu/drm/drm_mode_object.c:45 __drm_mode_object_add+0x97/0xa0 [drm]
Jul 16 08:20:38 delly kernel: ---[ end trace 58cebd1cf10dfb38 ]---
Jul 16 08:20:38 delly kernel: WARNING: CPU: 2 PID: 19135 at drivers/gpu/drm/drm_mode_object.c:45 __drm_mode_object_add+0x97/0xa0 [drm]
Jul 16 08:20:38 delly kernel: Modules linked in: thunderbolt ctr ccm snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device tun fuse rfcomm pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) cdc_ether usbnet nf_tables nfnetlink r8152 mii cpufreq_powersave cpufreq_conservative cpufreq_userspace cmac bnep btu
Jul 16 08:20:38 delly kernel:  snd_hda_intel rtsx_pci_ms snd_hda_codec snd_hda_core memstick snd_hwdep efivars snd_pcm pcspkr snd_timer iTCO_wdt cfg80211 iTCO_vendor_support snd soundcore rfkill mei_me idma64 mei ucsi_acpi typec_ucsi processor_thermal_device intel_soc_dts_iosf typec intel_pch_thermal battery soc_butt
Jul 16 08:20:38 delly kernel:  i2c_algo_bit prime_numbers drm_kms_helper i2c_hid aes_x86_64 xhci_pci crypto_simd nvme cryptd glue_helper nvme_core drm psmouse i2c_i801 xhci_hcd rtsx_pci intel_lpss_pci usbcore intel_lpss thermal wmi hid video
Jul 16 08:20:38 delly kernel: CPU: 2 PID: 19135 Comm: kworker/2:0 Tainted: G        W  O      5.2.0+ #147
Jul 16 08:20:38 delly kernel: Hardware name: Dell Inc. XPS 13 9360/0839Y6, BIOS 2.11.0 03/14/2019
Jul 16 08:20:38 delly kernel: Workqueue: events_long drm_dp_mst_link_probe_work [drm_kms_helper]
Jul 16 08:20:38 delly kernel: RIP: 0010:__drm_mode_object_add+0x97/0xa0 [drm]
Jul 16 08:20:38 delly kernel: Code: 74 0b 4c 89 75 18 c7 45 10 01 00 00 00 4c 89 ef e8 1e e8 19 ca 85 db b8 00 00 00 00 0f 4e c3 5b 5d 41 5c 41 5d 41 5e 41 5f c3 <0f> 0b eb 8e 0f 1f 44 00 00 0f 1f 44 00 00 45 31 c0 b9 01 00 00 00
Jul 16 08:20:38 delly kernel: RSP: 0000:ffffaf3e452ffbf0 EFLAGS: 00010246
Jul 16 08:20:38 delly kernel: RAX: ffffa09edf832820 RBX: ffffa09f21a50000 RCX: 0000000000000001
Jul 16 08:20:38 delly kernel: RDX: 00000000b0b0b0b0 RSI: ffffa09ee6ce3e10 RDI: ffffa09f21a50000
Jul 16 08:20:38 delly kernel: RBP: ffffa09ee6ce3e10 R08: 0000000000000000 R09: ffffa09edf832820
Jul 16 08:20:38 delly kernel: R10: ffffa09c701eb270 R11: ffffa09f21a501f8 R12: 00000000b0b0b0b0
Jul 16 08:20:38 delly kernel: R13: 0000000000000002 R14: 0000000000000000 R15: 0000000000000001
Jul 16 08:20:38 delly kernel: FS:  0000000000000000(0000) GS:ffffa09f2e300000(0000) knlGS:0000000000000000
Jul 16 08:20:38 delly kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 16 08:20:38 delly kernel: CR2: 0000399e42228000 CR3: 00000003d73a4006 CR4: 00000000003606e0
Jul 16 08:20:38 delly kernel: Call Trace:
Jul 16 08:20:38 delly kernel:  drm_property_create+0xc3/0x180 [drm]
Jul 16 08:20:38 delly kernel:  drm_property_create_range+0x1a/0x40 [drm]
Jul 16 08:20:38 delly kernel:  drm_connector_attach_max_bpc_property+0x67/0x80 [drm]
Jul 16 08:20:38 delly kernel:  intel_dp_add_mst_connector+0x124/0x150 [i915]
Jul 16 08:20:38 delly kernel:  drm_dp_add_port+0x20a/0x430 [drm_kms_helper]
Jul 16 08:20:38 delly kernel:  ? try_to_del_timer_sync+0x4d/0x80
Jul 16 08:20:38 delly kernel:  ? del_timer_sync+0x35/0x40
Jul 16 08:20:38 delly kernel:  ? schedule_timeout+0x168/0x320
Jul 16 08:20:38 delly kernel:  ? prepare_to_wait_event+0xb6/0x140
Jul 16 08:20:38 delly kernel:  ? finish_wait+0x3c/0x80
Jul 16 08:20:38 delly kernel:  ? _cond_resched+0x15/0x30
Jul 16 08:20:38 delly kernel:  ? drm_dp_mst_wait_tx_reply+0x6d/0x1f0 [drm_kms_helper]
Jul 16 08:20:38 delly kernel:  ? drm_dp_check_mstb_guid+0x3b/0x120 [drm_kms_helper]
Jul 16 08:20:38 delly kernel:  drm_dp_send_link_address+0x155/0x1d0 [drm_kms_helper]
Jul 16 08:20:38 delly kernel:  drm_dp_check_and_send_link_address+0x9b/0xa0 [drm_kms_helper]
Jul 16 08:20:38 delly kernel:  drm_dp_mst_link_probe_work+0x62/0x70 [drm_kms_helper]
Jul 16 08:20:38 delly kernel:  process_one_work+0x1ae/0x3d0
Jul 16 08:20:38 delly kernel:  worker_thread+0x30/0x3b0
Jul 16 08:20:38 delly kernel:  ? create_worker+0x1a0/0x1a0
Jul 16 08:20:38 delly kernel:  kthread+0x112/0x130
Jul 16 08:20:38 delly kernel:  ? __kthread_parkme+0x70/0x70
Jul 16 08:20:38 delly kernel:  ret_from_fork+0x35/0x40
Jul 16 08:20:38 delly kernel: WARNING: CPU: 2 PID: 19135 at drivers/gpu/drm/drm_mode_object.c:45 __drm_mode_object_add+0x97/0xa0 [drm]
Jul 16 08:20:38 delly kernel: ---[ end trace 58cebd1cf10dfb39 ]---
Jul 16 08:20:38 delly minissdpd[1496]: peer 192.168.0.104:42519 is not from a LAN
Jul 16 08:20:38 delly kernel: WARNING: CPU: 2 PID: 19135 at drivers/gpu/drm/drm_mode_object.c:45 __drm_mode_object_add+0x97/0xa0 [drm]
Jul 16 08:20:38 delly kernel: Modules linked in: thunderbolt ctr ccm snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device tun fuse rfcomm pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) cdc_ether usbnet nf_tables nfnetlink r8152 mii cpufreq_powersave cpufreq_conservative cpufreq_userspace cmac bnep btu
Jul 16 08:20:38 delly kernel:  snd_hda_intel rtsx_pci_ms snd_hda_codec snd_hda_core memstick snd_hwdep efivars snd_pcm pcspkr snd_timer iTCO_wdt cfg80211 iTCO_vendor_support snd soundcore rfkill mei_me idma64 mei ucsi_acpi typec_ucsi processor_thermal_device intel_soc_dts_iosf typec intel_pch_thermal battery soc_butt
Jul 16 08:20:38 delly kernel:  i2c_algo_bit prime_numbers drm_kms_helper i2c_hid aes_x86_64 xhci_pci crypto_simd nvme cryptd glue_helper nvme_core drm psmouse i2c_i801 xhci_hcd rtsx_pci intel_lpss_pci usbcore intel_lpss thermal wmi hid video
Jul 16 08:20:38 delly kernel: CPU: 2 PID: 19135 Comm: kworker/2:0 Tainted: G        W  O      5.2.0+ #147
Jul 16 08:20:38 delly kernel: Hardware name: Dell Inc. XPS 13 9360/0839Y6, BIOS 2.11.0 03/14/2019
Jul 16 08:20:38 delly kernel: Workqueue: events_long drm_dp_mst_link_probe_work [drm_kms_helper]
Jul 16 08:20:38 delly kernel: RIP: 0010:__drm_mode_object_add+0x97/0xa0 [drm]
Jul 16 08:20:38 delly kernel: Code: 74 0b 4c 89 75 18 c7 45 10 01 00 00 00 4c 89 ef e8 1e e8 19 ca 85 db b8 00 00 00 00 0f 4e c3 5b 5d 41 5c 41 5d 41 5e 41 5f c3 <0f> 0b eb 8e 0f 1f 44 00 00 0f 1f 44 00 00 45 31 c0 b9 01 00 00 00
Jul 16 08:20:38 delly kernel: RSP: 0000:ffffaf3e452ffbf0 EFLAGS: 00010246
Jul 16 08:20:38 delly kernel: RAX: ffffa09edf832180 RBX: ffffa09f21a50000 RCX: 0000000000000001
Jul 16 08:20:38 delly kernel: RDX: 00000000b0b0b0b0 RSI: ffffa09ee6ce3f90 RDI: ffffa09f21a50000
Jul 16 08:20:38 delly kernel: RBP: ffffa09ee6ce3f90 R08: 0000000000000000 R09: ffffa09edf832180
Jul 16 08:20:38 delly kernel: R10: ffffa09c701eb288 R11: ffffa09f21a501f8 R12: 00000000b0b0b0b0
Jul 16 08:20:38 delly kernel: R13: 0000000000000002 R14: 0000000000000000 R15: 0000000000000001
Jul 16 08:20:38 delly kernel: FS:  0000000000000000(0000) GS:ffffa09f2e300000(0000) knlGS:0000000000000000
Jul 16 08:20:38 delly kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 16 08:20:38 delly kernel: CR2: 0000564f68e322d9 CR3: 000000045a086004 CR4: 00000000003606e0
Jul 16 08:20:38 delly kernel: Call Trace:
Jul 16 08:20:38 delly kernel:  drm_property_create+0xc3/0x180 [drm]
Jul 16 08:20:38 delly kernel:  drm_property_create_range+0x1a/0x40 [drm]
Jul 16 08:20:38 delly kernel:  drm_connector_attach_max_bpc_property+0x67/0x80 [drm]
Jul 16 08:20:38 delly kernel:  intel_dp_add_mst_connector+0x124/0x150 [i915]
Jul 16 08:20:38 delly kernel:  drm_dp_add_port+0x20a/0x430 [drm_kms_helper]
Jul 16 08:20:38 delly kernel:  ? try_to_del_timer_sync+0x4d/0x80
Jul 16 08:20:38 delly kernel:  ? del_timer_sync+0x35/0x40
Jul 16 08:20:38 delly kernel:  ? schedule_timeout+0x168/0x320
Jul 16 08:20:38 delly kernel:  ? prepare_to_wait_event+0xb6/0x140
Jul 16 08:20:38 delly kernel:  ? finish_wait+0x3c/0x80
Jul 16 08:20:38 delly kernel:  ? _cond_resched+0x15/0x30
Jul 16 08:20:38 delly kernel:  ? drm_dp_mst_wait_tx_reply+0x6d/0x1f0 [drm_kms_helper]
Jul 16 08:20:38 delly kernel:  ? drm_dp_check_mstb_guid+0x3b/0x120 [drm_kms_helper]
Jul 16 08:20:38 delly kernel:  drm_dp_send_link_address+0x155/0x1d0 [drm_kms_helper]
Jul 16 08:20:38 delly kernel:  drm_dp_check_and_send_link_address+0x9b/0xa0 [drm_kms_helper]
Jul 16 08:20:38 delly kernel:  drm_dp_mst_link_probe_work+0x62/0x70 [drm_kms_helper]
Jul 16 08:20:38 delly kernel:  process_one_work+0x1ae/0x3d0
Jul 16 08:20:38 delly kernel:  worker_thread+0x30/0x3b0
Jul 16 08:20:38 delly kernel:  ? create_worker+0x1a0/0x1a0
Jul 16 08:20:38 delly kernel:  kthread+0x112/0x130
Jul 16 08:20:38 delly kernel:  ? __kthread_parkme+0x70/0x70
Jul 16 08:20:38 delly kernel:  ret_from_fork+0x35/0x40
Jul 16 08:20:38 delly kernel: WARNING: CPU: 2 PID: 19135 at drivers/gpu/drm/drm_mode_object.c:45 __drm_mode_object_add+0x97/0xa0 [drm]
Jul 16 08:20:38 delly kernel: ---[ end trace 58cebd1cf10dfb3a ]---
Comment 1 Lakshmi 2019-07-16 07:54:06 UTC
Lionel, Can you please attach the full dmesg from boot with kernel parameters kernel parameters drm.debug=0x1e log_buf_len=4M?

Apart from this warning, is there any other impact?
Comment 2 Lionel Landwerlin 2019-07-16 08:04:05 UTC
Created attachment 144795 [details]
dmesg

Kernel command options at the top of the file.
Not sure whether this is related, but I lost the wifi network at the same time this warnings happened.
Wired network still worked, display/3D was fine.
Comment 3 Lionel Landwerlin 2019-07-25 18:23:02 UTC
Created attachment 144868 [details]
dmesg

Another backtrace today on drm-tip :

commit 015f59f5b26406af6b2580fedd37fdb08e18f4a9
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Thu Jul 25 07:30:32 2019 +0200

    drm-tip: 2019y-07m-25d-05h-29m-55s UTC integration manifest
Comment 4 Lakshmi 2019-07-29 12:38:05 UTC
(In reply to Lionel Landwerlin from comment #2)
> Created attachment 144795 [details]
> dmesg
> 
Can you please attch with kernel parameters drm.debug=0x1e log_buf_len=4M from boot?
Comment 5 Lionel Landwerlin 2019-07-31 13:58:45 UTC
(In reply to Lakshmi from comment #4)
> (In reply to Lionel Landwerlin from comment #2)
> > Created attachment 144795 [details]
> > dmesg
> > 
> Can you please attch with kernel parameters drm.debug=0x1e log_buf_len=4M
> from boot?

Unfortunately I always forget to add the option when rebooting a new kernel...

Isn't there enough information from the backtrace to figure out what's going wrong?
Comment 6 Lionel Landwerlin 2019-08-24 14:42:57 UTC
Created attachment 145151 [details]
backtrace

Still happening on :

commit 49217109fcf691448235d332cbf9f4aa37fc026d (drm-tip/drm-tip)
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Aug 20 15:54:36 2019 +0100

    drm-tip: 2019y-08m-20d-14h-53m-52s UTC integration manifest
Comment 7 Lakshmi 2019-10-02 18:37:09 UTC
@Lionel, Do you still have the issue? 
The impact remains same as last time, you lose wifi nework when connect the machine to dock? Any other impact?
Comment 8 Lionel Landwerlin 2019-10-03 05:51:35 UTC
I can't repro anymore. Let's close?
Comment 9 Lakshmi 2019-10-03 06:15:21 UTC
(In reply to Lionel Landwerlin from comment #8)
> I can't repro anymore. Let's close?

Thanks!


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.