Re: Intel Haswell kernel warning (3.11.2)

From: Daniel Vetter
Date: Sun Sep 29 2013 - 11:12:14 EST


On Sun, Sep 29, 2013 at 04:58:39PM +0200, Borislav Petkov wrote:
> Let's CC some more people.

Please boot with drm.debug=0xe, reproduce the WARN and then attach the
full dmesg.

Thanks, Daniel

>
> On Sun, Sep 29, 2013 at 10:17:34AM -0400, Wakko Warner wrote:
> > Wakko Warner wrote:
> > > Please keep me in CC.
> > >
> > > I receive a warning in drivers/gpu/drm/i915/intel_display.c:3869. This
> > > happens when I'm on a console, the screen has gone into power save and I
> > > press a key to wake it up.
> > >
> > > This doesn't happen when I'm in X.
> > >
> > > Kernel is Vanilla 3.11.2.
> >
> > Tested 3.12-rc2. Same result. Here's the kernel log from 3.12-rc2.
> > [ 813.921516] ------------[ cut here ]------------
> > [ 813.921531] WARNING: CPU: 0 PID: 492 at
> > /usr/src/linux/dist/3.12-rc2/drivers/gpu/drm/i915/intel_display.c:3920
> > /intel_modeset_check_state+0x764/0x770 [i915]()
> > [ 813.921531] wrong connector dpms state
> > [ 813.921547] Modules linked in: nfsd auth_rpcgss oid_registry exportfs nfs
> > lockd sunrpc xt_nat iptable_nat nf_nat_ipv4 nf_nat xt_limit xt_LOG xt_tcpudp
> > nf_conntrack_ipv4 nf_defrag_ipv4 ipt_REJECT ipv6 xt_recent xt_conntrack
> > nf_conntrack iptable_filter ip_tables x_tables snd_hda_codec_realtek
> > snd_hda_codec_hdmi x86_pkg_temp_thermal coretemp kvm_intel kvm snd_hda_intel
> > crc32_pclmul snd_hda_codec i915 snd_hwdep snd_pcm_oss crc32c_intel
> > snd_mixer_oss ghash_clmulni_intel aesni_intel intel_agp aes_x86_64 intel_gtt
> > lrw drm_kms_helper gf128mul snd_pcm 8250_pci glue_helper drm ablk_helper
> > e1000e snd_page_alloc agpgart snd_timer video thermal processor fan snd 8250
> > thermal_sys serial_core soundcore cryptd button hwmon evdev i2c_i801
> > [ 813.921549] CPU: 0 PID: 492 Comm: kworker/0:1 Not tainted 3.12.0-rc2 #3
> > [ 813.921549] Hardware name: Supermicro X10SAE/X10SAE, BIOS 1.00 05/03/2013
> > [ 813.921553] Workqueue: events console_callback
> > [ 813.921554] 0000000000000009 ffff8802360b1b48 ffffffff8143608e
> > ffff8802360b1b90
> > [ 813.921555] ffff8802360b1b80 ffffffff8103df53 ffff8800b24ec000
> > ffff8800b24eb000
> > [ 813.921555] ffff8800b24e8800 ffff8800b24e8bd8 ffff8800379f3c00
> > ffff8802360b1be0
> > [ 813.921556] Call Trace:
> > [ 813.921560] [<ffffffff8143608e>] dump_stack+0x54/0x8d
> > [ 813.921563] [<ffffffff8103df53>] warn_slowpath_common+0x73/0x90
> > [ 813.921564] [<ffffffff8103dfb7>] warn_slowpath_fmt+0x47/0x50
> > [ 813.921569] [<ffffffffa056d0a3>] ?
> > intel_ddi_connector_get_hw_state+0x63/0x120 [i915]
> > [ 813.921575] [<ffffffffa0564014>] intel_modeset_check_state+0x764/0x770
> > [i915]
> > [ 813.921578] [<ffffffffa0564065>] intel_connector_dpms+0x45/0x80 [i915]
> > [ 813.921581] [<ffffffffa03a31c0>] drm_fb_helper_dpms.isra.11+0x110/0x150
> > [drm_kms_helper]
> > [ 813.921582] [<ffffffffa03a323e>] drm_fb_helper_blank+0x3e/0x80
> > [drm_kms_helper]
> > [ 813.921584] [<ffffffff81217b52>] fb_blank+0x52/0xc0
> > [ 813.921585] [<ffffffff812244bb>] fbcon_blank+0x21b/0x2d0
> > [ 813.921588] [<ffffffff810481e6>] ? lock_timer_base.isra.29+0x26/0x50
> > [ 813.921589] [<ffffffff81047d22>] ? internal_add_timer+0x12/0x40
> > [ 813.921590] [<ffffffff810489b8>] ? mod_timer+0xf8/0x1c0
> > [ 813.921591] [<ffffffff8126f871>] do_unblank_screen+0xa1/0x1c0
> > [ 813.921593] [<ffffffff81270ba7>] poke_blanked_console+0xc7/0xd0
> > [ 813.921594] [<ffffffff81270cef>] console_callback+0x13f/0x160
> > [ 813.921596] [<ffffffff81053d08>] process_one_work+0x148/0x3d0
> > [ 813.921597] [<ffffffff810549c9>] worker_thread+0x119/0x3a0
> > [ 813.921599] [<ffffffff810548b0>] ? manage_workers.isra.30+0x2a0/0x2a0
> > [ 813.921600] [<ffffffff8105a42b>] kthread+0xbb/0xc0
> > [ 813.921601] [<ffffffff8105a370>] ? kthread_create_on_node+0x120/0x120
> > [ 813.921603] [<ffffffff8143cc3c>] ret_from_fork+0x7c/0xb0
> > [ 813.921605] [<ffffffff8105a370>] ? kthread_create_on_node+0x120/0x120
> > [ 813.921605] ---[ end trace b0a29ba4948c3d5b ]---
> >
> > > # lspci -vns2
> > > 00:02.0 0300: 8086:041a (rev 06) (prog-if 00 [VGA controller])
> > > Subsystem: 8086:2010
> > > Flags: bus master, fast devsel, latency 0, IRQ 57
> > > Memory at f0000000 (64-bit, non-prefetchable) [size=4M]
> > > Memory at e0000000 (64-bit, prefetchable) [size=256M]
> > > I/O ports at f000 [size=64]
> > > Expansion ROM at <unassigned> [disabled]
> > > Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
> > > Capabilities: [d0] Power Management version 2
> > > Capabilities: [a4] PCI Advanced Features
> > > Kernel driver in use: i915
> > > #
> > >
> > > gcc version 4.8.1 (Debian 4.8.1-10)
> > >
> > > This is from dmesg:
> > > [ 354.803050] ------------[ cut here ]------------
> > > [ 354.803064] WARNING: CPU: 0 PID: 482 at /usr/src/linux/dist/3.11.2/drivers/gpu/drm/i915/intel_display.c:3869 intel_modeset_check_state+0x764/0x770 [i915]()
> > > [ 354.803064] wrong connector dpms state
> > > [ 354.803084] Modules linked in: nfsd auth_rpcgss oid_registry exportfs nfs lockd sunrpc xt_nat iptable_nat nf_nat_ipv4 nf_nat xt_limit xt_LOG xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 ipt_REJECT ipv6 xt_recent xt_conntrack nf_conntrack iptable_filter ip_tables x_tables snd_hda_codec_realtek snd_hda_codec_hdmi x86_pkg_temp_thermal snd_hda_intel coretemp kvm_intel snd_hda_codec i915 kvm snd_hwdep snd_pcm_oss snd_mixer_oss crc32_pclmul snd_pcm crc32c_intel e1000e intel_agp igb ghash_clmulni_intel intel_gtt aesni_intel cfbfillrect aes_x86_64 cfbimgblt lrw cfbcopyarea drm_kms_helper ptp video thermal processor gf128mul snd_page_alloc drm snd_timer glue_helper 8250_pci snd pps_core ablk_helper agpgart cryptd sg soundcore fan i2c_algo_bit sr_mod thermal_sys 8250 i2c_i801 serial_core hwmon cdrom i2c_core evdev button
> > > [ 354.803086] CPU: 0 PID: 482 Comm: kworker/0:1 Not tainted 3.11.2 #1
> > > [ 354.803087] Hardware name: Supermicro X10SAE/X10SAE, BIOS 1.00 05/03/2013
> > > [ 354.803091] Workqueue: events console_callback
> > > [ 354.803092] 0000000000000009 ffff88023611db48 ffffffff814048ac ffff88023611db90
> > > [ 354.803093] ffff88023611db80 ffffffff8103d4e3 ffff880230d82800 ffff880230f9b800
> > > [ 354.803094] ffff880230f99000 ffff880230f99448 ffff8802351c0e00 ffff88023611dbe0
> > > [ 354.803094] Call Trace:
> > > [ 354.803098] [<ffffffff814048ac>] dump_stack+0x54/0x8d
> > > [ 354.803101] [<ffffffff8103d4e3>] warn_slowpath_common+0x73/0x90
> > > [ 354.803103] [<ffffffff8103d547>] warn_slowpath_fmt+0x47/0x50
> > > [ 354.803109] [<ffffffffa089f1be>] ? intel_ddi_connector_get_hw_state+0x5e/0x110 [i915]
> > > [ 354.803114] [<ffffffffa0896974>] intel_modeset_check_state+0x764/0x770 [i915]
> > > [ 354.803117] [<ffffffffa08969bb>] intel_connector_dpms+0x3b/0x60 [i915]
> > > [ 354.803120] [<ffffffffa037e1d0>] drm_fb_helper_dpms.isra.11+0x120/0x160 [drm_kms_helper]
> > > [ 354.803122] [<ffffffffa037e24e>] drm_fb_helper_blank+0x3e/0x80 [drm_kms_helper]
> > > [ 354.803123] [<ffffffff812116c2>] fb_blank+0x52/0xc0
> > > [ 354.803125] [<ffffffff8121e04b>] fbcon_blank+0x21b/0x2d0
> > > [ 354.803127] [<ffffffff81062243>] ? update_rq_clock.part.74+0x13/0x30
> > > [ 354.803129] [<ffffffff81047486>] ? lock_timer_base.isra.30+0x26/0x50
> > > [ 354.803130] [<ffffffff810472b2>] ? internal_add_timer+0x12/0x40
> > > [ 354.803131] [<ffffffff81047f48>] ? mod_timer+0xf8/0x1c0
> > > [ 354.803133] [<ffffffff81266d61>] do_unblank_screen+0xa1/0x1c0
> > > [ 354.803134] [<ffffffff81268087>] poke_blanked_console+0xc7/0xd0
> > > [ 354.803136] [<ffffffff812681cf>] console_callback+0x13f/0x160
> > > [ 354.803137] [<ffffffff81053258>] process_one_work+0x148/0x3d0
> > > [ 354.803138] [<ffffffff81053f19>] worker_thread+0x119/0x3a0
> > > [ 354.803140] [<ffffffff81053e00>] ? manage_workers.isra.30+0x2a0/0x2a0
> > > [ 354.803141] [<ffffffff8105994b>] kthread+0xbb/0xc0
> > > [ 354.803142] [<ffffffff81059890>] ? kthread_create_on_node+0x120/0x120
> > > [ 354.803144] [<ffffffff8140b32c>] ret_from_fork+0x7c/0xb0
> > > [ 354.803145] [<ffffffff81059890>] ? kthread_create_on_node+0x120/0x120
> > > [ 354.803145] ---[ end trace 590553ce6c6f5fa9 ]---
> > >
> > > --
> > > Microsoft has beaten Volkswagen's world record. Volkswagen only created 22
> > > million bugs.
> > > --
> > > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > > Please read the FAQ at http://www.tux.org/lkml/
> > --
> > Microsoft has beaten Volkswagen's world record. Volkswagen only created 22
> > million bugs.
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
> >
>
> --
> Regards/Gruss,
> Boris.
>
> Sent from a fat crate under my desk. Formatting is fine.
> --
> _______________________________________________
> dri-devel mailing list
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/