Re: [Intel-gfx] [PATCH] drm/i915: drm locks up when connecting laptop to docking station
On Wed, Apr 08, 2015 at 10:38:40AM +0200, Nicolas Kalkhof wrote: Which branch are you exactly using - we added calls to this function in i915 only for the 4.1 -next branch, but you claim that you're running 4.0-rc kernels ... -Daniel I'm using the latest drm-intel-nightly from git://anongit.freedesktop.org/drm-intel. I've observed ths issue at some point after merging 4.0-rc4 into drm-intel-nightly (sorry don't remember a date or specific commit) and my machine still locks up with current drm-intel-nightly git. Ah yeah that makes more sense. Can you try to bisect this? If you don't know a solid baseline commit just try latest 4.0-rc git and if that's good use that as the bisect starting point. That way you only need to bisect the i915 commits on top for 4.1, which isn't all that much. If that doesn't work go back in the rc release tags until you find something working. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH] drm/i915: drm locks up when connecting laptop to docking station
On Tue, Apr 07, 2015 at 07:01:21PM +0200, Nicolas Kalkhof wrote: Hello, since late 4.0-rc4 / early4.0-rc5 drm-intel branch I'm experiencing lockups every time I try to connect my lenovo t440p laptop to its docking station. [ 143.896172] [ cut here ] [ 143.896182] WARNING: CPU: 0 PID: 1102 at drivers/gpu/drm/drm_atomic_helper.c:2204 drm_atomic_helper_connector_duplicate_state+0x35/0x40 [drm_kms_helper]() [ 143.896184] Modules linked in: snd_hda_codec_hdmi i915 snd_hda_codec_realtek snd_hda_codec_generic iwlmvm snd_hda_intel snd_hda_controller i2c_algo_bit drm_kms_helper snd_hda_codec drm iwlwifi snd_hwdep snd_pcm intel_gtt snd_timer thinkpad_acpi agpgart snd_hda_core [ 143.896201] CPU: 0 PID: 1102 Comm: X Not tainted 4.0.0-rc7-01086-g91d1586 #1 [ 143.896202] Hardware name: LENOVO ENX407/ENX407, BIOS GLET77WW (2.31 ) 01/27/2015 [ 143.896203] a0171420 81590365 [ 143.896206] 81043617 fff4 8804098d7d80 8800c9cd3000 [ 143.896209] 0006 8800c9c7a800 a016bf05 [ 143.896212] Call Trace: [ 143.896219] [81590365] ? dump_stack+0x40/0x50 [ 143.896223] [81043617] ? warn_slowpath_common+0x77/0xb0 [ 143.896228] [a016bf05] ? drm_atomic_helper_connector_duplicate_state+0x35/0x40 [drm_kms_helper] [ 143.896235] [a00efea5] ? drm_atomic_get_connector_state+0x95/0x110 [drm] [ 143.896252] [a0352e8f] ? intel_crtc_set_config+0xc6f/0xfb0 [i915] [ 143.896258] [8112c21b] ? ep_poll_callback+0xeb/0x120 [ 143.896264] [a00eed99] ? drm_modeset_lock_all_crtcs+0xa9/0xc0 [drm] [ 143.896273] [a00d] ? drm_mode_set_config_internal+0x5f/0x100 [drm] [ 143.896281] [a00e47fa] ? drm_mode_setcrtc+0x22a/0x5f0 [drm] [ 143.896288] [a00d65ca] ? drm_ioctl+0x15a/0x580 [drm] [ 143.896292] [8106b8cf] ? pick_next_task_fair+0x43f/0x4b0 [ 143.896295] [81103488] ? do_vfs_ioctl+0x2e8/0x4f0 [ 143.896298] [8159288d] ? __schedule+0x24d/0x7c0 [ 143.896301] [811036c6] ? SyS_ioctl+0x36/0x80 [ 143.896303] [811055f2] ? SyS_poll+0x52/0xf0 [ 143.896307] [81595f36] ? system_call_fastpath+0x16/0x1b [ 143.896309] ---[ end trace 17ff49bc79a1a762 ]--- [ 143.896318] BUG: unable to handle kernel NULL pointer dereference at 0008 [ 143.896362] IP: [a00eff84] drm_atomic_add_affected_connectors+0x64/0xc0 [drm] Which branch are you exactly using - we added calls to this function in i915 only for the 4.1 -next branch, but you claim that you're running 4.0-rc kernels ... -Daniel [ 143.896403] PGD 406577067 PUD 408c42067 PMD 0 [ 143.896426] Oops: [#1] SMP [ 143.896439] Modules linked in: snd_hda_codec_hdmi i915 snd_hda_codec_realtek snd_hda_codec_generic iwlmvm snd_hda_intel snd_hda_controller i2c_algo_bit drm_kms_helper snd_hda_codec drm iwlwifi snd_hwdep snd_pcm intel_gtt snd_timer thinkpad_acpi agpgart snd_hda_core [ 143.896584] CPU: 0 PID: 1102 Comm: X Tainted: GW 4.0.0-rc7-01086-g91d1586 #1 [ 143.896619] Hardware name: LENOVO ENX407/ENX407, BIOS GLET77WW (2.31 ) 01/27/2015 [ 143.896654] task: 88040652b1e0 ti: 880409a9 task.ti: 880409a9 [ 143.896686] RIP: 0010:[a00eff84] [a00eff84] drm_atomic_add_affected_connectors+0x64/0xc0 [drm] [ 143.896738] RSP: 0018:880409a93b18 EFLAGS: 00010283 [ 143.896759] RAX: RBX: 8800c9cd3000 RCX: 88040af8ec00 [ 143.896789] RDX: 88040a603e20 RSI: 880408d916a8 RDI: 88040af8eea8 [ 143.896819] RBP: 8800c9c7ab28 R08: 00015700 R09: 880409a93c30 [ 143.896849] R10: 88040dc01500 R11: a00ef362 R12: 88040c38d000 [ 143.896878] R13: 8804098d7d80 R14: 880409a93c34 R15: 88040c38d000 [ 143.896909] FS: 7f13fb95f8c0() GS:88041e20() knlGS: [ 143.896943] CS: 0010 DS: ES: CR0: 80050033 [ 143.896966] CR2: 0008 CR3: 00040bbd7000 CR4: 001406f0 [ 143.896995] Stack: [ 143.897000] 0006 8800c9c7a800 880409a93c30 8804098d7d80 [ 143.897037] a034c0ac 880409a93c2c [ 143.897074] 000c a0171420 089c [ 143.897112] Call Trace: [ 143.897131] [a034c0ac] ? intel_modeset_compute_config+0x3c/0x1090 [i915] [ 143.897166] [8158f7b5] ? printk+0x48/0x4d [ 143.897196] [a0351b49] ? intel_set_mode+0x39/0xa0 [i915] [ 143.897225] [a016bf05] ? drm_atomic_helper_connector_duplicate_state+0x35/0x40 [drm_kms_helper] [ 143.897272] [a00ef362] ? drm_atomic_state_clear+0xb2/0x180 [drm] [ 143.897311] [a0352c3d]
Re: [Intel-gfx] [PATCH] drm/i915: drm locks up when connecting laptop to docking station
Which branch are you exactly using - we added calls to this function in i915 only for the 4.1 -next branch, but you claim that you're running 4.0-rc kernels ... -Daniel I'm using the latest drm-intel-nightly from git://anongit.freedesktop.org/drm-intel. I've observed ths issue at some point after merging 4.0-rc4 into drm-intel-nightly (sorry don't remember a date or specific commit) and my machine still locks up with current drm-intel-nightly git. Hope this helps. ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx
[Intel-gfx] [PATCH] drm/i915: drm locks up when connecting laptop to docking station
Hello, since late 4.0-rc4 / early4.0-rc5 drm-intel branch I'm experiencing lockups every time I try to connect my lenovo t440p laptop to its docking station. [ 143.896172] [ cut here ] [ 143.896182] WARNING: CPU: 0 PID: 1102 at drivers/gpu/drm/drm_atomic_helper.c:2204 drm_atomic_helper_connector_duplicate_state+0x35/0x40 [drm_kms_helper]() [ 143.896184] Modules linked in: snd_hda_codec_hdmi i915 snd_hda_codec_realtek snd_hda_codec_generic iwlmvm snd_hda_intel snd_hda_controller i2c_algo_bit drm_kms_helper snd_hda_codec drm iwlwifi snd_hwdep snd_pcm intel_gtt snd_timer thinkpad_acpi agpgart snd_hda_core [ 143.896201] CPU: 0 PID: 1102 Comm: X Not tainted 4.0.0-rc7-01086-g91d1586 #1 [ 143.896202] Hardware name: LENOVO ENX407/ENX407, BIOS GLET77WW (2.31 ) 01/27/2015 [ 143.896203] a0171420 81590365 [ 143.896206] 81043617 fff4 8804098d7d80 8800c9cd3000 [ 143.896209] 0006 8800c9c7a800 a016bf05 [ 143.896212] Call Trace: [ 143.896219] [81590365] ? dump_stack+0x40/0x50 [ 143.896223] [81043617] ? warn_slowpath_common+0x77/0xb0 [ 143.896228] [a016bf05] ? drm_atomic_helper_connector_duplicate_state+0x35/0x40 [drm_kms_helper] [ 143.896235] [a00efea5] ? drm_atomic_get_connector_state+0x95/0x110 [drm] [ 143.896252] [a0352e8f] ? intel_crtc_set_config+0xc6f/0xfb0 [i915] [ 143.896258] [8112c21b] ? ep_poll_callback+0xeb/0x120 [ 143.896264] [a00eed99] ? drm_modeset_lock_all_crtcs+0xa9/0xc0 [drm] [ 143.896273] [a00d] ? drm_mode_set_config_internal+0x5f/0x100 [drm] [ 143.896281] [a00e47fa] ? drm_mode_setcrtc+0x22a/0x5f0 [drm] [ 143.896288] [a00d65ca] ? drm_ioctl+0x15a/0x580 [drm] [ 143.896292] [8106b8cf] ? pick_next_task_fair+0x43f/0x4b0 [ 143.896295] [81103488] ? do_vfs_ioctl+0x2e8/0x4f0 [ 143.896298] [8159288d] ? __schedule+0x24d/0x7c0 [ 143.896301] [811036c6] ? SyS_ioctl+0x36/0x80 [ 143.896303] [811055f2] ? SyS_poll+0x52/0xf0 [ 143.896307] [81595f36] ? system_call_fastpath+0x16/0x1b [ 143.896309] ---[ end trace 17ff49bc79a1a762 ]--- [ 143.896318] BUG: unable to handle kernel NULL pointer dereference at 0008 [ 143.896362] IP: [a00eff84] drm_atomic_add_affected_connectors+0x64/0xc0 [drm] [ 143.896403] PGD 406577067 PUD 408c42067 PMD 0 [ 143.896426] Oops: [#1] SMP [ 143.896439] Modules linked in: snd_hda_codec_hdmi i915 snd_hda_codec_realtek snd_hda_codec_generic iwlmvm snd_hda_intel snd_hda_controller i2c_algo_bit drm_kms_helper snd_hda_codec drm iwlwifi snd_hwdep snd_pcm intel_gtt snd_timer thinkpad_acpi agpgart snd_hda_core [ 143.896584] CPU: 0 PID: 1102 Comm: X Tainted: GW 4.0.0-rc7-01086-g91d1586 #1 [ 143.896619] Hardware name: LENOVO ENX407/ENX407, BIOS GLET77WW (2.31 ) 01/27/2015 [ 143.896654] task: 88040652b1e0 ti: 880409a9 task.ti: 880409a9 [ 143.896686] RIP: 0010:[a00eff84] [a00eff84] drm_atomic_add_affected_connectors+0x64/0xc0 [drm] [ 143.896738] RSP: 0018:880409a93b18 EFLAGS: 00010283 [ 143.896759] RAX: RBX: 8800c9cd3000 RCX: 88040af8ec00 [ 143.896789] RDX: 88040a603e20 RSI: 880408d916a8 RDI: 88040af8eea8 [ 143.896819] RBP: 8800c9c7ab28 R08: 00015700 R09: 880409a93c30 [ 143.896849] R10: 88040dc01500 R11: a00ef362 R12: 88040c38d000 [ 143.896878] R13: 8804098d7d80 R14: 880409a93c34 R15: 88040c38d000 [ 143.896909] FS: 7f13fb95f8c0() GS:88041e20() knlGS: [ 143.896943] CS: 0010 DS: ES: CR0: 80050033 [ 143.896966] CR2: 0008 CR3: 00040bbd7000 CR4: 001406f0 [ 143.896995] Stack: [ 143.897000] 0006 8800c9c7a800 880409a93c30 8804098d7d80 [ 143.897037] a034c0ac 880409a93c2c [ 143.897074] 000c a0171420 089c [ 143.897112] Call Trace: [ 143.897131] [a034c0ac] ? intel_modeset_compute_config+0x3c/0x1090 [i915] [ 143.897166] [8158f7b5] ? printk+0x48/0x4d [ 143.897196] [a0351b49] ? intel_set_mode+0x39/0xa0 [i915] [ 143.897225] [a016bf05] ? drm_atomic_helper_connector_duplicate_state+0x35/0x40 [drm_kms_helper] [ 143.897272] [a00ef362] ? drm_atomic_state_clear+0xb2/0x180 [drm] [ 143.897311] [a0352c3d] ? intel_crtc_set_config+0xa1d/0xfb0 [i915] [ 143.897343] [8112c21b] ? ep_poll_callback+0xeb/0x120 [ 143.897372] [a00eed99] ? drm_modeset_lock_all_crtcs+0xa9/0xc0 [drm] [ 143.897409] [a00d] ? drm_mode_set_config_internal+0x5f/0x100 [drm] [ 143.897447] [a00e47fa] ? drm_mode_setcrtc+0x22a/0x5f0