intel drm stack dumps on dmesg + freezes

Bug #1560476 reported by Maketsi
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

These DRM warnings started to appear on dmesg after moving from Ubuntu 14.04 LTS to 15.10. I can't notice anything on X usage when the messages appear, but the system has recently freezed twice when shutting down a VM running on Vmware workstation 11.1.3. That's why I started to monitor the logs. No syslog messages were written about the crash itself, except for some binary garbage. Laptop is hooked to a docking station, with two external DP monitors.

Latest trace from syslog, 2 hours before the crash, is printed below.

Mar 22 09:00:25 gepardi kernel: [91894.923293] ------------[ cut here ]------------
Mar 22 09:00:25 gepardi kernel: [91894.923329] WARNING: CPU: 1 PID: 958 at /build/linux-_Kv5oI/linux
-4.2.0/drivers/gpu/drm/i915/intel_display.c:12306 check_crtc_state+0x3b3/0x440 [i915]()
Mar 22 09:00:25 gepardi kernel: [91894.923330] crtc's computed enabled state doesn't match tracked e
nabled state (expected 0, found 1)
Mar 22 09:00:25 gepardi kernel: [91894.923372] Modules linked in: nls_utf8 btrfs xor raid6_pq ufs qn
x4 hfsplus hfs minix ntfs msdos jfs xfs libcrc32c cpuid vmnet(OE) vmw_vsock_vmci_transport vsock vmw
_vmci vmmon(OE) rfcomm bnep arc4 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp hp_wmi sp
arse_keymap iwlmvm kvm_intel kvm mac80211 snd_hda_codec_hdmi joydev snd_usb_audio serio_raw snd_hda_
codec_idt snd_hda_codec_generic iwlwifi btusb snd_usbmidi_lib rtsx_pci_ms snd_seq_midi btrtl snd_hda
_intel btbcm memstick snd_seq_midi_event snd_hda_codec cfg80211 btintel snd_rawmidi snd_seq snd_hda_
core lpc_ich bluetooth snd_hwdep input_leds snd_seq_device shpchp snd_pcm mei_me mei snd_timer snd s
oundcore hp_accel lis3lv02d input_polldev 8250_fintek tpm_infineon mac_hid hp_wireless parport_pc pp
dev lp parport autofs4 jitterentropy_rng drbg ansi_cprng algif_skcipher af_alg dm_crypt hid_generic
usbhid hid rtsx_pci_sdmmc crct10dif_pclmul crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_hel
per ablk_helper cryptd i915 psmouse e1000e ahci i2c_algo_bit libahci drm_kms_helper ptp rtsx_pci pps
_core drm wmi video
Mar 22 09:00:25 gepardi kernel: [91894.923389] CPU: 1 PID: 958 Comm: Xorg Tainted: G W OE
4.2.0-34-generic #39-Ubuntu
Mar 22 09:00:25 gepardi kernel: [91894.923390] Hardware name: Hewlett-Packard HP EliteBook 840 G1/19
8F, BIOS L71 Ver. 01.35 01/26/2016
Mar 22 09:00:25 gepardi kernel: [91894.923393] 0000000000000000 000000009a37d6b5 ffff880097b133d8 f
fffffff817ebed3
Mar 22 09:00:25 gepardi kernel: [91894.923395] 0000000000000000 ffff880097b13430 ffff880097b13418 f
fffffff8107b986
Mar 22 09:00:25 gepardi kernel: [91894.923397] 0000000000000246 ffff880097b134c0 ffff880426e74800 0
000000000000001
Mar 22 09:00:25 gepardi kernel: [91894.923397] Call Trace:
Mar 22 09:00:25 gepardi kernel: [91894.923405] [<ffffffff817ebed3>] dump_stack+0x45/0x57
Mar 22 09:00:25 gepardi kernel: [91894.923410] [<ffffffff8107b986>] warn_slowpath_common+0x86/0xc0
Mar 22 09:00:25 gepardi kernel: [91894.923413] [<ffffffff8107ba15>] warn_slowpath_fmt+0x55/0x70
Mar 22 09:00:25 gepardi kernel: [91894.923434] [<ffffffffc026963b>] ? intel_pipe_config_compare+0x5
eb/0xc60 [i915]
Mar 22 09:00:25 gepardi kernel: [91894.923451] [<ffffffffc026a063>] check_crtc_state+0x3b3/0x440 [i
915]
Mar 22 09:00:25 gepardi kernel: [91894.923474] [<ffffffffc027dedd>] intel_modeset_check_state+0x21d
/0x6d0 [i915]
Mar 22 09:00:25 gepardi kernel: [91894.923492] [<ffffffffc027f097>] intel_crtc_set_config+0x4c7/0x5
80 [i915]
Mar 22 09:00:25 gepardi kernel: [91894.923509] [<ffffffffc002a526>] drm_mode_set_config_internal+0x
66/0x100 [drm]
Mar 22 09:00:25 gepardi kernel: [91894.923517] [<ffffffffc00ca7e2>] restore_fbdev_mode+0xc2/0xf0 [d
rm_kms_helper]
Mar 22 09:00:25 gepardi kernel: [91894.923522] [<ffffffffc00cc6b9>] drm_fb_helper_restore_fbdev_mod
e_unlocked+0x29/0x70 [drm_kms_helper]
Mar 22 09:00:25 gepardi kernel: [91894.923527] [<ffffffffc00cc731>] drm_fb_helper_set_par+0x31/0x60
 [drm_kms_helper]
Mar 22 09:00:25 gepardi kernel: [91894.923531] [<ffffffffc00cc64a>] drm_fb_helper_hotplug_event+0xca/0x110 [drm_kms_helper]
Mar 22 09:00:25 gepardi kernel: [91894.923535] [<ffffffffc00cc6dc>] drm_fb_helper_restore_fbdev_mode_unlocked+0x4c/0x70 [drm_kms_helper]
Mar 22 09:00:25 gepardi kernel: [91894.923539] [<ffffffffc00cc731>] drm_fb_helper_set_par+0x31/0x60 [drm_kms_helper]
Mar 22 09:00:25 gepardi kernel: [91894.923560] [<ffffffffc028c52a>] intel_fbdev_set_par+0x1a/0x60 [i915]
Mar 22 09:00:25 gepardi kernel: [91894.923562] [<ffffffff814490cf>] ? fb_set_var+0x2ef/0x460
Mar 22 09:00:25 gepardi kernel: [91894.923563] [<ffffffff81449016>] fb_set_var+0x236/0x460
Mar 22 09:00:25 gepardi kernel: [91894.923566] [<ffffffff810af1da>] ? check_preempt_wakeup+0xfa/0x220
Mar 22 09:00:25 gepardi kernel: [91894.923569] [<ffffffff810aecb9>] ? update_curr+0x79/0x150
Mar 22 09:00:25 gepardi kernel: [91894.923572] [<ffffffff8143f272>] fbcon_blank+0x312/0x360
Mar 22 09:00:25 gepardi kernel: [91894.923576] [<ffffffff814d4b13>] do_unblank_screen+0xd3/0x1a0
Mar 22 09:00:25 gepardi kernel: [91894.923579] [<ffffffff814c9a6d>] complete_change_console+0x5d/0xe0
Mar 22 09:00:25 gepardi kernel: [91894.923581] [<ffffffff814cadb9>] vt_ioctl+0x12c9/0x12f0
Mar 22 09:00:25 gepardi kernel: [91894.923593] [<ffffffffc0023c07>] ? drm_dropmaster_ioctl+0x77/0x90 [drm]
Mar 22 09:00:25 gepardi kernel: [91894.923596] [<ffffffff814bd33c>] tty_ioctl+0x3cc/0xbd0
Mar 22 09:00:25 gepardi kernel: [91894.923600] [<ffffffff81211375>] do_vfs_ioctl+0x295/0x480
Mar 22 09:00:25 gepardi kernel: [91894.923602] [<ffffffff81200105>] ? __sb_end_write+0x35/0x70
Mar 22 09:00:25 gepardi kernel: [91894.923604] [<ffffffff811fdd3a>] ? vfs_write+0x15a/0x1a0
Mar 22 09:00:25 gepardi kernel: [91894.923607] [<ffffffff812115d9>] SyS_ioctl+0x79/0x90
Mar 22 09:00:25 gepardi kernel: [91894.923609] [<ffffffff817f2cf2>] entry_SYSCALL_64_fastpath+0x16/0x75
Mar 22 09:00:25 gepardi kernel: [91894.923610] ---[ end trace 67dcd1085f67b8e3 ]---

Latest warning on live system:

[ 8094.974857] ------------[ cut here ]------------
[ 8094.974887] WARNING: CPU: 2 PID: 946 at /build/linux-_Kv5oI/linux-4.2.0/drivers/gpu/drm/i915/inte
l_display.c:12330 check_crtc_state+0x2c5/0x440 [i915]()
[ 8094.974889] pipe state doesn't match!
[ 8094.974891] Modules linked in: nls_utf8 btrfs xor raid6_pq ufs qnx4 hfsplus hfs minix ntfs msdos
jfs xfs libcrc32c cpuid iptable_filter ip_tables x_tables vmnet(OE) vmw_vsock_vmci_transport vsock v
mw_vmci vmmon(OE) rfcomm bnep arc4 hp_wmi sparse_keymap intel_rapl x86_pkg_temp_thermal intel_powerc
lamp coretemp kvm_intel kvm snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_codec_generic iwlmvm snd_hd
a_intel snd_usb_audio snd_hda_codec mac80211 snd_hda_core snd_usbmidi_lib snd_hwdep snd_seq_midi snd_seq_midi_event joydev snd_rawmidi serio_raw btusb iwlwifi btrtl btbcm snd_pcm rtsx_pci_ms btintel cfg80211 snd_seq memstick lpc_ich bluetooth snd_seq_device input_leds snd_timer shpchp snd mei_me mei soundcore 8250_fintek tpm_infineon hp_accel lis3lv02d input_polldev hp_wireless mac_hid parport_pc ppdev lp parport
[ 8094.974978] autofs4 jitterentropy_rng drbg ansi_cprng algif_skcipher af_alg dm_crypt hid_generic usbhid hid rtsx_pci_sdmmc crct10dif_pclmul crc32_pclmul aesni_intel aes_x86_64 i915 lrw gf128mul glue_helper ablk_helper cryptd psmouse i2c_algo_bit drm_kms_helper e1000e ahci libahci rtsx_pci ptp pps_core drm wmi video
[ 8094.975012] CPU: 2 PID: 946 Comm: Xorg Tainted: G W OE 4.2.0-34-generic #39-Ubuntu
[ 8094.975015] Hardware name: Hewlett-Packard HP EliteBook 840 G1/198F, BIOS L71 Ver. 01.35 01/26/2016
[ 8094.975018] 0000000000000000 0000000031926ec5 ffff8804287137c8 ffffffff817ebed3
[ 8094.975023] 0000000000000000 ffff880428713820 ffff880428713808 ffffffff8107b986
[ 8094.975027] ffff880428713848 ffff8804287138b0 ffff8804269db800 0000000000000001
[ 8094.975031] Call Trace:
[ 8094.975040] [<ffffffff817ebed3>] dump_stack+0x45/0x57
[ 8094.975046] [<ffffffff8107b986>] warn_slowpath_common+0x86/0xc0
[ 8094.975051] [<ffffffff8107ba15>] warn_slowpath_fmt+0x55/0x70
[ 8094.975076] [<ffffffffc0248b81>] ? intel_pipe_config_compare+0xb31/0xc60 [i915]
[ 8094.975097] [<ffffffffc0248f75>] check_crtc_state+0x2c5/0x440 [i915]
[ 8094.975126] [<ffffffffc025cedd>] intel_modeset_check_state+0x21d/0x6d0 [i915]
[ 8094.975150] [<ffffffffc025e097>] intel_crtc_set_config+0x4c7/0x580 [i915]
[ 8094.975172] [<ffffffffc0030f75>] ? drm_mode_create+0x25/0x60 [drm]
[ 8094.975189] [<ffffffffc002a526>] drm_mode_set_config_internal+0x66/0x100 [drm]
[ 8094.975206] [<ffffffffc002ebb9>] drm_mode_setcrtc+0x3e9/0x500 [drm]
[ 8094.975219] [<ffffffffc001f505>] drm_ioctl+0x125/0x610 [drm]
[ 8094.975234] [<ffffffffc002e7d0>] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
[ 8094.975239] [<ffffffff81211375>] do_vfs_ioctl+0x295/0x480
[ 8094.975245] [<ffffffff810885a1>] ? __set_task_blocked+0x41/0xa0
[ 8094.975249] [<ffffffff812115d9>] SyS_ioctl+0x79/0x90
[ 8094.975253] [<ffffffff8108b25e>] ? SyS_rt_sigprocmask+0x8e/0xc0
[ 8094.975257] [<ffffffff817f2cf2>] entry_SYSCALL_64_fastpath+0x16/0x75
[ 8094.975260] ---[ end trace 1c6e86c587c38c85 ]---

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: xorg 1:7.7+7ubuntu4
ProcVersionSignature: Ubuntu 4.2.0-34.39-generic 4.2.8-ckt4
Uname: Linux 4.2.0-34-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
Date: Tue Mar 22 14:23:20 2016
DistUpgraded: Fresh install
DistroCodename: wily
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Device [103c:198f]
InstallationDate: Installed on 2016-02-22 (28 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
MachineType: Hewlett-Packard HP EliteBook 840 G1
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.2.0-34-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/26/2016
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: L71 Ver. 01.35
dmi.board.name: 198F
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 15.57
dmi.chassis.asset.tag: CNU415CJ8V
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvrL71Ver.01.35:bd01/26/2016:svnHewlett-Packard:pnHPEliteBook840G1:pvrA3009DD10303:rvnHewlett-Packard:rn198F:rvrKBCVersion15.57:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP EliteBook 840 G1
dmi.product.version: A3009DD10303
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz 1:0.9.12.2+15.10.20151202-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.64-1
version.libgl1-mesa-dri: libgl1-mesa-dri 11.0.2-1ubuntu4
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 11.0.2-1ubuntu4
version.xserver-xorg-core: xserver-xorg-core 2:1.17.2-1ubuntu9.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.2-1ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.5.0+git20150819-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20150808-0ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.11-1ubuntu3
xserver.bootTime: Tue Mar 22 11:39:26 2016
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id 4669
 vendor AUO
xserver.version: 2:1.17.2-1ubuntu9.1

Revision history for this message
Maketsi (maketsi) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xorg (Ubuntu):
status: New → Confirmed
Revision history for this message
Julien (jvermillard-w) wrote :

happen to me after unplugina display port cable on a Lenovo T440p

Changed in xorg (Ubuntu):
importance: Undecided → Medium
Revision history for this message
penalvch (penalvch) wrote :

Maketsi, thank you for reporting this and helping make Ubuntu better.

In order to allow additional upstream developers to examine the issue, at your earliest convenience, could you please test the latest upstream kernel available from http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D ? Please keep in mind the following:
1) The one to test is at the very top line at the top of the page (not the daily folder).
2) The release names are irrelevant.
3) The folder time stamps aren't indicative of when the kernel actually was released upstream.
4) Install instructions are available at https://wiki.ubuntu.com/Kernel/MainlineBuilds .

If testing on your main install would be inconvenient, one may:
1) Install Ubuntu to a different partition and then test this there.
2) Backup, or clone the primary install.

If the latest kernel did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this issue is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-X.Y-rcZ

Where X, and Y are the first two numbers of the kernel version, and Z is the release candidate number if it exists.

If the mainline kernel does not fix the issue, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-X.Y-rcZ

Please note, an error to install the kernel does not fit the criteria of kernel-bug-exists-upstream.

Also, you don't need to apport-collect further unless specifically requested to do so.

Once testing of the latest upstream kernel is complete, please mark this report Status Confirmed. Please let us know your results.

Thank you for your understanding.

tags: added: bios-outdated-1.37
Changed in xorg (Ubuntu):
status: Confirmed → Incomplete
affects: xorg (Ubuntu) → linux (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.