Bug 90461 - [SKL Regression]boot system causes WARNING: CPU: 0 PID: 24 at drivers/gpu/drm/i915/intel_csr.c:409 assert_csr_loaded+0x27/0xb7 [i915]()
Summary: [SKL Regression]boot system causes WARNING: CPU: 0 PID: 24 at drivers/gpu/drm...
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high normal
Assignee: cprigent
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-15 05:01 UTC by lu hua
Modified: 2015-11-14 10:49 UTC (History)
2 users (show)

See Also:
i915 platform: SKL
i915 features:


Attachments
dmesg (124.70 KB, text/plain)
2015-05-15 05:01 UTC, lu hua
no flags Details
boot log (135.69 KB, text/plain)
2015-05-18 07:41 UTC, lu hua
no flags Details
dmesg_skl.log (458.92 KB, text/plain)
2015-11-13 16:39 UTC, Humberto Israel Perez Rodriguez
no flags Details

Description lu hua 2015-05-15 05:01:40 UTC
Created attachment 115793 [details]
dmesg

==System Environment==
--------------------------
Regression: yes

good commit:  de4de566f84b87f4d5f8265b11932088adb19896(dinq)
bad commit: 65de797816eadb227c45b0127d7ff92410fa3814(dinq)

Non-working platforms: SKL

==kernel==
--------------------------
drm-intel-nightly/6cf0fff478fa64991c2b7f2a44f2815d7a43a0b5
commit 6cf0fff478fa64991c2b7f2a44f2815d7a43a0b5
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Wed May 13 11:29:25 2015 +0200

    drm-intel-nightly: 2015y-05m-13d-09h-28m-49s UTC integration manifest

==Bug detailed description==
-----------------------------
Clean boot system, following warning and call trace appears, it happens on SKL with drm-intel-nightly and drm-intel-next-queued kernel.

dmesg:
[   40.104211] WARNING: CPU: 0 PID: 24 at drivers/gpu/drm/i915/intel_csr.c:409 assert_csr_loaded+0x27/0xb7 [i915]()
[   40.104212] CSR is not loaded.
[   40.104217] Modules linked in: i915 button video drm_kms_helper drm
[   40.104221] CPU: 0 PID: 24 Comm: kworker/u16:1 Tainted: G        W       4.1.0-rc3_drm-intel-nightly_195f11_20150513+ #170
[   40.104223] Hardware name: Intel Corporation Skylake Client platform/Skylake Y LPDDR3 RVP3, BIOS SKLSE2R1.86C.B067.R00.1412310711 12/31/2014
[   40.104229] Workqueue: events_unbound async_run_entry_fn
[   40.104233]  0000000000000000 0000000000000009 ffffffff817a67ac ffff880149183938
[   40.104236]  ffffffff8103ebde ffffffffa0137720 ffffffffa008aed8 0000000000002000
[   40.104240]  ffff880004f00000 ffffffffa0137720 ffff880004ef8800 000000003000000f
[   40.104240] Call Trace:
[   40.104246]  [<ffffffff817a67ac>] ? dump_stack+0x40/0x50
[   40.104249]  [<ffffffff8103ebde>] ? warn_slowpath_common+0x98/0xb0
[   40.104310]  [<ffffffffa008aed8>] ? assert_csr_loaded+0x27/0xb7 [i915]
[   40.104314]  [<ffffffff8103ec3b>] ? warn_slowpath_fmt+0x45/0x4a
[   40.104320]  [<ffffffff817aacd0>] ? mutex_lock+0x9/0x25
[   40.104374]  [<ffffffffa008aed8>] ? assert_csr_loaded+0x27/0xb7 [i915]
[   40.104436]  [<ffffffffa0089ce2>] ? skl_set_power_well+0x1ba/0x8e8 [i915]
[   40.104489]  [<ffffffffa008a622>] ? intel_display_power_get+0x8d/0xb1 [i915]
[   40.104579]  [<ffffffffa00f396b>] ? intel_dp_detect+0xa0/0x462 [i915]
[   40.104588]  [<ffffffffa0052f9f>] ? drm_helper_probe_single_connector_modes_merge_bits+0xc2/0x39b [drm_kms_helper]
[   40.104595]  [<ffffffffa0059c7e>] ? drm_fb_helper_probe_connector_modes+0x3d/0x4c [drm_kms_helper]
[   40.104601]  [<ffffffffa005b791>] ? drm_fb_helper_hotplug_event+0x70/0xa7 [drm_kms_helper]
[   40.104607]  [<ffffffffa005b811>] ? drm_fb_helper_restore_fbdev_mode_unlocked+0x49/0x54 [drm_kms_helper]
[   40.104613]  [<ffffffffa005b84a>] ? drm_fb_helper_set_par+0x2e/0x32 [drm_kms_helper]
[   40.104694]  [<ffffffffa00e6a7b>] ? intel_fbdev_set_par+0x11/0x55 [i915]
[   40.104699]  [<ffffffff8137e96e>] ? fbcon_init+0x2fd/0x406
[   40.104703]  [<ffffffff813d43df>] ? visual_init+0xaf/0x102
[   40.104706]  [<ffffffff813d5931>] ? do_bind_con_driver+0x19e/0x2c2
[   40.104710]  [<ffffffff813d5d09>] ? do_take_over_console+0x12c/0x15c
[   40.104715]  [<ffffffff8137e05d>] ? do_fbcon_takeover+0x53/0x97
[   40.104720]  [<ffffffff810549dc>] ? notifier_call_chain+0x35/0x59
[   40.104725]  [<ffffffff81054c23>] ? __blocking_notifier_call_chain+0x43/0x5b
[   40.104730]  [<ffffffff813860eb>] ? lock_fb_info+0x12/0x2f
[   40.104736]  [<ffffffff81387906>] ? register_framebuffer+0x26c/0x2a2
[   40.104742]  [<ffffffffa005bafb>] ? drm_fb_helper_initial_config+0x2ad/0x34a [drm_kms_helper]
[   40.104746]  [<ffffffff81055b8f>] ? async_run_entry_fn+0x2d/0xbf
[   40.104750]  [<ffffffff8104f985>] ? process_one_work+0x1b2/0x31d
[   40.104753]  [<ffffffff8105026f>] ? worker_thread+0x265/0x351
[   40.104757]  [<ffffffff8105000a>] ? cancel_delayed_work_sync+0xa/0xa
[   40.104761]  [<ffffffff81053ee1>] ? kthread+0xce/0xd6
[   40.104766]  [<ffffffff81053e13>] ? kthread_create_on_node+0x162/0x162
[   40.104770]  [<ffffffff817ac6d2>] ? ret_from_fork+0x42/0x70
[   40.104774]  [<ffffffff81053e13>] ? kthread_create_on_node+0x162/0x162
[   40.104777] ---[ end trace ffb61924a0cc3d49 ]---

==Reproduce steps==
---------------------------- 
1.  clean boot system
Comment 1 Jani Nikula 2015-05-15 09:09:51 UTC
You need the CSR firmware blob. The dmesg is incomplete, can't check the actual failure.

Anyway the error message does seem a bit too loud.
Comment 2 lu hua 2015-05-18 07:41:25 UTC
Created attachment 115868 [details]
boot log
Comment 4 cprigent 2015-08-03 21:30:20 UTC
Bug scrub: Reassigned to submitter
Please confirm if it is fixed.
Comment 5 cprigent 2015-08-04 07:58:04 UTC
Go back to me as Hua is no more working on the project.
Comment 6 Humberto Israel Perez Rodriguez 2015-11-13 16:39:09 UTC
(In reply to cprigent from comment #5)
> Go back to me as Hua is no more working on the project.

Looks like that in the latest drm-intel-nighly kernel this bug is fixed.
i did the next step in order to verify this bug since the reproduce steps they do not say much.

1-remove dmesg log #rm /var/log/kern.log and reboot the system
2-once the system is boot up check the dmesg

I also must comment that i the dmesg has the following parameter in the grub in order the get more information regarging i915 driver, please check dmesg_skl.log for more information

initcall_debug 
drm.debug=0xe

This is part of dmesg_skl.log :
--------------------------------

[    2.716312] calling  i915_init+0x0/0x9b [i915] @ 351
[    2.725956] [drm:i915_dump_device_info] i915 device info: gen=9, pciid=0x191e rev=0x07 flags=need_gfx_hws,is_skylake,has_fbc,has_hotplug,has_llc,has_ddi,has_fpga_dbg,
[    2.726255] [drm:intel_csr_ucode_init] Loading i915/skl_dmc_ver1.bin
[    2.726447] [drm:i915_gem_gtt_init] GMADR size = 256M
[    2.726448] [drm:i915_gem_gtt_init] GTT stolen size = 32M
[    2.726449] [drm:i915_gem_gtt_init] ppgtt mode: 3
[    2.727433] [drm:finish_csr_load] Finished loading i915/skl_dmc_ver1.bin
[    2.741679] [drm:i915_gem_init_stolen] Memory reserved for graphics device: 32768K, usable: 31744K
[    2.794868] [drm:i915_gem_setup_global_gtt] clearing unused GTT space: [0, fffff000]
[    2.796915] [drm:i915_gem_context_init] LR context support initialized
[    2.853777] [drm] Initialized i915 1.6.0 20151023 for 0000:00:02.0 on minor 0
[    2.853871] initcall i915_init+0x0/0x9b [i915] returned 0 after 134319 usecs
[    2.897032] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    2.913122] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    3.173480] [drm:i915_gem_open]
[    3.173625] [drm:i915_gem_open]
[    7.784872] [drm:i915_gem_open]
[    7.785121] [drm:i915_gem_open]
[    7.785192] [drm:i915_gem_open]



attaching as well the configuration used and kernel as well:

Software configuration :
--------------------------------
Ubuntu 14.04.03 x86_64
Xserver : 1.17.4  (commit : 2c7fa2a)
libdrm : 2.4.65 (commit :c349616)
Xf86-video-intel : 2.99.917 (commit : baec802)
Mesa : 11.0.4 (commit : 31bf247)
Libva : 1.6.1 (commit : 613eb96)
Intel-driver : 1.6.1 (commit : 35858c6)
Cairo : 1.14.4 (commit : 0317ee7)


 --- Hardware information ---
CPU information    : Intel(R) Core(TM) m5-6Y57 CPU @ 1.10GHz
GPU Card   : Intel Corporation Device 191e (rev 07) (prog-if 00 [VGA controller])
Bios  : 102.0
KSC   : 1.15
Memory ram : 4 GB

Kernel : latest drm-intel-nightly: 2015y-11m-06d-12h-48m-02s UTC integration manifest
commit a3b0dec82fdb59c629c4fb9847245b80b0cf69dd
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Fri Nov 6 14:48:23 2015 +0200


I will proceed to close this bug
Comment 7 Humberto Israel Perez Rodriguez 2015-11-13 16:39:31 UTC
Created attachment 119646 [details]
dmesg_skl.log
Comment 8 cprigent 2015-11-14 10:49:16 UTC
Firmware is loaded, error is not reproduced.
So closed.


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.