Bug 76725 - [ILK/HSW/BYT/BDW bisected]System booting up with call traces ”drm_helper_probe_single_connector_modes“ in drm_crtc_helper.c and ”drm_mode_probed_add” in drm_modes.c
Summary: [ILK/HSW/BYT/BDW bisected]System booting up with call traces ”drm_helper_prob...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: Daniel Vetter
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-28 09:04 UTC by Guo Jinxian
Modified: 2017-10-06 14:38 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Call trace dmesg (119.22 KB, text/plain)
2014-03-28 09:04 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-03-28 09:04:53 UTC
Created attachment 96516 [details]
Call trace dmesg

system Environment:
--------------------------
platform: BDW HSW ILK BYT
Kernel:	(drm-intel-next-queued) 57e00b2e1b348b3855f4a3b681d583f8c9cf39fb

Bug detailed description:
-------------------------
CallTrace "WARNING: CPU: 0 PID: 1418 at drivers/gpu/drm/drm_modes.c:119 drm_mode_probed_add+0x27/0x41 [drm]()" and "WARNING: CPU: 0 PID: 1418 at drivers/gpu/drm/drm_crtc_helper.c:131 " after booting. 

these two calltrace occurs by the same patch.

The first bad point is 3ec0db819315c765b3c7bbf7e9dee2fe1f186f47
commit 3ec0db819315c765b3c7bbf7e9dee2fe1f186f47
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Thu Jan 23 15:06:15 2014 +0100

    drm/doc: Integrate drm_modes.c kerneldoc

    And clean it up so that there's no kerneldoc warnings. There's still a
    lot to do with this one here.

    Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
    Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>


Reproduce steps:
--------------------
1. Booting the OS
2. dmesg|grep Call

CallTrace1
--------------------
[    1.661620] WARNING: CPU: 0 PID: 1418 at drivers/gpu/drm/drm_modes.c:119 drm_mode_probed_add+0x27/0x41 [drm]()
[    1.661627] Modules linked in: i915(+) video button drm_kms_helper drm
[    1.661640] CPU: 0 PID: 1418 Comm: udevd Tainted: G        W    3.14.0-rc7_drm-intel-next-queued_57e00b_20140326+ #1042
[    1.661647]  0000000000000000 0000000000000009 ffffffff81716de3 0000000000000000
[    1.661656]  ffffffff81035052 000000000000001e ffffffffa0010754 ffff8800a6f4d6c8
[    1.661665]  ffff88014697b400 ffff880149e54800 0000000000000458 0000000000000004
[    1.661673] Call Trace:
[    1.661679]  [<ffffffff81716de3>] ? dump_stack+0x41/0x51
[    1.661686]  [<ffffffff81035052>] ? warn_slowpath_common+0x73/0x8b
[    1.661697]  [<ffffffffa0010754>] ? drm_mode_probed_add+0x27/0x41 [drm]
[    1.661708]  [<ffffffffa0010754>] ? drm_mode_probed_add+0x27/0x41 [drm]
[    1.661720]  [<ffffffffa0012ac7>] ? do_detailed_mode+0x356/0x36e [drm]
[    1.661729]  [<ffffffff810689ea>] ? console_unlock+0x2c3/0x300
[    1.661740]  [<ffffffffa0012771>] ? do_established_modes+0xce/0xce [drm]
[    1.661751]  [<ffffffffa0011167>] ? drm_for_each_detailed_block+0x36/0xf3 [drm]
[    1.661760]  [<ffffffff812d2e48>] ? idr_mark_full+0x40/0x49
[    1.661771]  [<ffffffffa00132d1>] ? drm_add_edid_modes+0x148/0xd02 [drm]
[    1.661785]  [<ffffffffa000c75f>] ? drm_mode_object_get+0x51/0x60 [drm]
[    1.661828]  [<ffffffffa00a3c08>] ? intel_connector_update_modes+0x1c/0x36 [i915]
[    1.661870]  [<ffffffffa00b13fc>] ? intel_dp_get_modes+0x4e/0xb2 [i915]
[    1.661879]  [<ffffffffa00465b3>] ? drm_helper_probe_single_connector_modes+0x138/0x2d2 [drm_kms_helper]
[    1.661890]  [<ffffffffa0047318>] ? drm_fb_helper_probe_connector_modes+0x38/0x4c [drm_kms_helper]
[    1.661900]  [<ffffffffa004827c>] ? drm_fb_helper_initial_config+0x1ab/0x450 [drm_kms_helper]
[    1.661909]  [<ffffffff810d9b6d>] ? kmem_cache_alloc+0x23/0xac
[    1.661947]  [<ffffffffa008db9d>] ? gen8_write32+0x22/0x89 [i915]
[    1.661981]  [<ffffffffa008de10>] ? gen6_read32+0x76/0x81 [i915]
[    1.662011]  [<ffffffffa008db9d>] ? gen8_write32+0x22/0x89 [i915]
[    1.662053]  [<ffffffffa00c4d33>] ? i915_driver_load+0xbad/0xe1e [i915]
[    1.662068]  [<ffffffffa000749f>] ? drm_dev_register+0x74/0xe7 [drm]
[    1.662082]  [<ffffffffa0009729>] ? drm_get_pci_dev+0xff/0x1bc [drm]
[    1.662089]  [<ffffffff81384e55>] ? __pm_runtime_resume+0x5b/0x6a
[    1.662097]  [<ffffffff812f8bc9>] ? local_pci_probe+0x35/0x7a
[    1.662105]  [<ffffffff8137c904>] ? driver_probe_device+0x1b3/0x1b3
[    1.662113]  [<ffffffff812f8e6c>] ? pci_device_probe+0xcc/0xf0
[    1.662120]  [<ffffffff8137c7e3>] ? driver_probe_device+0x92/0x1b3
[    1.662135]  [<ffffffff8137c957>] ? __driver_attach+0x53/0x73
[    1.662142]  [<ffffffff8137b0be>] ? bus_for_each_dev+0x4e/0x7f
[    1.662149]  [<ffffffff8137c065>] ? bus_add_driver+0xe2/0x1c7
[    1.662155]  [<ffffffff8137ce9a>] ? driver_register+0x82/0xb5
[    1.662159]  [<ffffffffa00fc000>] ? 0xffffffffa00fbfff
[    1.662163]  [<ffffffff81000296>] ? do_one_initcall+0x78/0xfa
[    1.662168]  [<ffffffff8104e4af>] ? __blocking_notifier_call_chain+0x4f/0x5d
[    1.662174]  [<ffffffff8107fe72>] ? load_module+0x1745/0x1a13
[    1.662179]  [<ffffffff8107da98>] ? mod_kobject_put+0x42/0x42
[    1.662184]  [<ffffffff810801d0>] ? SyS_init_module+0x90/0x9b
[    1.662190]  [<ffffffff817214a2>] ? system_call_fastpath+0x16/0x1b
[    1.662193] ---[ end trace 47b212a61ac14e5a ]---
[    1.662199] [drm:drm_edid_to_eld], ELD: no CEA Extension found


CallTrace2
--------------------
[    1.662518] WARNING: CPU: 0 PID: 1418 at drivers/gpu/drm/drm_crtc_helper.c:131 drm_helper_probe_single_connector_modes+0x3f/0x2d2 [drm_kms_helper]()
[    1.662523] Modules linked in: i915(+) video button drm_kms_helper drm
[    1.662530] CPU: 0 PID: 1418 Comm: udevd Tainted: G        W    3.14.0-rc7_drm-intel-next-queued_57e00b_20140326+ #1042
[    1.662534]  0000000000000000 0000000000000009 ffffffff81716de3 0000000000000000
[    1.662539]  ffffffff81035052 ffff880100000438 ffffffffa00464ba ffff88010000043e
[    1.662544]  ffff880149e53400 0000000000000001 ffff8800a6c82000 0000000000002000
[    1.662549] Call Trace:
[    1.662554]  [<ffffffff81716de3>] ? dump_stack+0x41/0x51
[    1.662558]  [<ffffffff81035052>] ? warn_slowpath_common+0x73/0x8b
[    1.662563]  [<ffffffffa00464ba>] ? drm_helper_probe_single_connector_modes+0x3f/0x2d2 [drm_kms_helper]
[    1.662569]  [<ffffffffa00464ba>] ? drm_helper_probe_single_connector_modes+0x3f/0x2d2 [drm_kms_helper]
[    1.662576]  [<ffffffffa0047318>] ? drm_fb_helper_probe_connector_modes+0x38/0x4c [drm_kms_helper]
[    1.662582]  [<ffffffffa004827c>] ? drm_fb_helper_initial_config+0x1ab/0x450 [drm_kms_helper]
[    1.662588]  [<ffffffff810d9b6d>] ? kmem_cache_alloc+0x23/0xac
[    1.662615]  [<ffffffffa008db9d>] ? gen8_write32+0x22/0x89 [i915]
[    1.662639]  [<ffffffffa008de10>] ? gen6_read32+0x76/0x81 [i915]
[    1.662661]  [<ffffffffa008db9d>] ? gen8_write32+0x22/0x89 [i915]
[    1.662693]  [<ffffffffa00c4d33>] ? i915_driver_load+0xbad/0xe1e [i915]
[    1.662704]  [<ffffffffa000749f>] ? drm_dev_register+0x74/0xe7 [drm]
[    1.662714]  [<ffffffffa0009729>] ? drm_get_pci_dev+0xff/0x1bc [drm]
[    1.662718]  [<ffffffff81384e55>] ? __pm_runtime_resume+0x5b/0x6a
[    1.662723]  [<ffffffff812f8bc9>] ? local_pci_probe+0x35/0x7a
[    1.662729]  [<ffffffff8137c904>] ? driver_probe_device+0x1b3/0x1b3
[    1.662734]  [<ffffffff812f8e6c>] ? pci_device_probe+0xcc/0xf0
[    1.662739]  [<ffffffff8137c7e3>] ? driver_probe_device+0x92/0x1b3
[    1.662744]  [<ffffffff8137c957>] ? __driver_attach+0x53/0x73
[    1.662749]  [<ffffffff8137b0be>] ? bus_for_each_dev+0x4e/0x7f
[    1.662754]  [<ffffffff8137c065>] ? bus_add_driver+0xe2/0x1c7
[    1.662759]  [<ffffffff8137ce9a>] ? driver_register+0x82/0xb5
[    1.662763]  [<ffffffffa00fc000>] ? 0xffffffffa00fbfff
[    1.662767]  [<ffffffff81000296>] ? do_one_initcall+0x78/0xfa
[    1.662772]  [<ffffffff8104e4af>] ? __blocking_notifier_call_chain+0x4f/0x5d
[    1.662778]  [<ffffffff8107fe72>] ? load_module+0x1745/0x1a13
[    1.662783]  [<ffffffff8107da98>] ? mod_kobject_put+0x42/0x42
[    1.662788]  [<ffffffff810801d0>] ? SyS_init_module+0x90/0x9b
[    1.662793]  [<ffffffff817214a2>] ? system_call_fastpath+0x16/0x1b
[    1.662797] ---[ end trace 47b212a61ac14e5c ]---
[    1.662800] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:18:DP-1]
[    1.662803] [drm:intel_dp_detect], [CONNECTOR:18:DP-1]
[    1.662808] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:18:DP-1] disconnected
Comment 1 Daniel Vetter 2014-03-29 14:32:10 UTC
Fixed in -nightly, but since some of the fixes when in through drm-next dinq is still affected.
Comment 2 Guo Jinxian 2014-04-01 05:25:58 UTC
Checked on latest -nightly(19f629e96704b796efdad3cf13b1e8fb387d8ca7),this bug had fixed, thanks.
Comment 3 U. Artie Eoff 2014-12-08 19:05:44 UTC
Do you know which commit fixed this?
Comment 4 Elizabeth 2017-10-06 14:38:55 UTC
Closing old verified.


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.