← Back to team overview

kernel-packages team mailing list archive

[Bug 1384342] Re: kernel messages intel_crtc_wait_for_pending_flips correlate to compiz hang

 

Same issue for me here on 2 different Dell OptiPlex 9020 (Haswell) and a Haswell Intel NUC. All recently upgraded to 14.10 
It appears to be very intermittent, about once a week on each different machine. Only seems to occur when left idle for some period of time, never when I’m actually using the machines. 

Nov  2 15:14:42 fox kernel: [12674.466186] ------------[ cut here ]------------
Nov  2 15:14:42 fox kernel: [12674.466221] WARNING: CPU: 0 PID: 2479 at /build/buildd/linux-3.16.0/drivers/gpu/drm/i915/intel_display.c:
3324 intel_crtc_wait_for_pending_flips+0x16c/0x180 [i915]()
Nov  2 15:14:42 fox kernel: [12674.466222] Modules linked in: pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) autofs4 xt_
addrtype xt_conntrack ipt_MASQUERADE iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack bridge stp llc aufs ip
table_filter ip_tables x_tables snd_usb_audio snd_usbmidi_lib joydev snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerclamp
 snd_hda_intel snd_hda_controller dcdbas snd_hda_codec snd_hwdep snd_pcm rfcomm btusb kvm_intel snd_seq_midi snd_seq_midi_event bnep kvm
 bluetooth 6lowpan_iphc serio_raw lpc_ich snd_rawmidi snd_seq snd_seq_device snd_timer parport_pc snd rpcsec_gss_krb5 mei_me mei ppdev m
ac_hid binfmt_misc shpchp nfsd coretemp soundcore auth_rpcgss lp nfs_acl parport nfs lockd sunrpc fscache nls_iso8859_1 uas usb_storage 
dm_crypt hid_generic usbhid hid crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915 aesni_intel aes_x86_64 lrw gf128mul glue_helper a
blk_helper cryptd i2c_algo_bit psmouse ahci e1000e drm_kms_helper libahci drm ptp pps_core video
Nov  2 15:14:42 fox kernel: [12674.466258] CPU: 0 PID: 2479 Comm: Xorg Tainted: G           OE 3.16.0-24-generic #32-Ubuntu
Nov  2 15:14:42 fox kernel: [12674.466259] Hardware name: Dell Inc. OptiPlex 9020/0PC5F7, BIOS A07 04/25/2014
Nov  2 15:14:42 fox kernel: [12674.466260]  0000000000000009 ffff8807eec8fc18 ffffffff8277fcbc 0000000000000000
Nov  2 15:14:42 fox kernel: [12674.466261]  ffff8807eec8fc50 ffffffff8206fd8d 0000000000000000 ffff8807ed3ce000
Nov  2 15:14:42 fox kernel: [12674.466263]  ffff8807ec348210 ffff8807ec529000 ffff8807ec529000 ffff8807eec8fc60
Nov  2 15:14:42 fox kernel: [12674.466265] Call Trace:
Nov  2 15:14:42 fox kernel: [12674.466272]  [<ffffffff8277fcbc>] dump_stack+0x45/0x56
Nov  2 15:14:42 fox kernel: [12674.466276]  [<ffffffff8206fd8d>] warn_slowpath_common+0x7d/0xa0
Nov  2 15:14:42 fox kernel: [12674.466278]  [<ffffffff8206fe6a>] warn_slowpath_null+0x1a/0x20
Nov  2 15:14:42 fox kernel: [12674.466288]  [<ffffffffc047dffc>] intel_crtc_wait_for_pending_flips+0x16c/0x180 [i915]
Nov  2 15:14:42 fox kernel: [12674.466292]  [<ffffffff820b9590>] ? prepare_to_wait_event+0x100/0x100
Nov  2 15:14:42 fox kernel: [12674.466302]  [<ffffffffc0480ac3>] intel_crtc_disable_planes+0x33/0x1c0 [i915]
Nov  2 15:14:42 fox kernel: [12674.466304]  [<ffffffff82784e5b>] ? __ww_mutex_lock+0x1b/0xb0
Nov  2 15:14:42 fox kernel: [12674.466313]  [<ffffffffc0481a17>] haswell_crtc_disable+0x57/0x2e0 [i915]
Nov  2 15:14:42 fox kernel: [12674.466314]  [<ffffffff82785ab2>] ? mutex_lock+0x12/0x30
Nov  2 15:14:42 fox kernel: [12674.466323]  [<ffffffffc0482457>] intel_crtc_update_dpms+0x67/0xa0 [i915]
Nov  2 15:14:42 fox kernel: [12674.466332]  [<ffffffffc0486ac9>] intel_connector_dpms+0x59/0x70 [i915]
Nov  2 15:14:42 fox kernel: [12674.466342]  [<ffffffffc0254e19>] drm_mode_obj_set_property_ioctl+0x399/0x3a0 [drm]
Nov  2 15:14:42 fox kernel: [12674.466349]  [<ffffffffc0254e50>] drm_mode_connector_property_set_ioctl+0x30/0x40 [drm]
Nov  2 15:14:42 fox kernel: [12674.466354]  [<ffffffffc0243a4f>] drm_ioctl+0x1df/0x680 [drm]
Nov  2 15:14:42 fox kernel: [12674.466358]  [<ffffffff821f4bc8>] do_vfs_ioctl+0x2c8/0x4a0
Nov  2 15:14:42 fox kernel: [12674.466360]  [<ffffffff821e31a1>] ? __sb_end_write+0x31/0x60
Nov  2 15:14:42 fox kernel: [12674.466362]  [<ffffffff821e0d12>] ? vfs_write+0x1b2/0x1f0
Nov  2 15:14:42 fox kernel: [12674.466363]  [<ffffffff821f4e21>] SyS_ioctl+0x81/0xa0
Nov  2 15:14:42 fox kernel: [12674.466366]  [<ffffffff82787ced>] system_call_fastpath+0x1a/0x1f
Nov  2 15:14:42 fox kernel: [12674.466366] ---[ end trace 559f1719e7601098 ]---

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1384342

Title:
  kernel messages intel_crtc_wait_for_pending_flips correlate to compiz
  hang

Status in The Linux Kernel:
  Unknown
Status in “linux” package in Ubuntu:
  Triaged

Bug description:
  I am fairly frequently (maybe once every 2 days) seeing screen
  lockups.  The system is fine, and then screen locks up. mouse is still
  movable and even changes icon based on content under it (ie mouse over
  link changes to pointing hand).  Programs are still running (often
  this occurs during a google hangout, and the hangout, audio and mic
  seem to work fine).

  Today when this happened I had more patience and hit ctrl-alt-f1, and then subsequently saw that dmesg had:
  [82218.556025] ------------[ cut here ]------------
  [82218.556074] WARNING: CPU: 0 PID: 8799 at /build/buildd/linux-3.16.0/drivers/gpu/drm/i915/intel_display.c:3324 intel_crtc_wait_for_pending_flips+0x16c/0x180 [i915]()
  [82218.556095] Modules linked in: xt_conntrack ipt_REJECT overlayfs pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) xt_CHECKSUM iptable_mangle ipt_MASQUERADE iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp bridge stp llc iptable_filter ip_tables x_tables rfcomm bnep binfmt_misc dm_crypt uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media dm_multipath scsi_dh coretemp kvm_intel kvm arc4 joydev iwldvm mac80211 serio_raw btusb bluetooth pcmcia 6lowpan_iphc thinkpad_acpi snd_seq_midi snd_seq_midi_event nvram snd_hda_codec_conexant snd_hda_codec_generic r852 sm_common lpc_ich nand snd_rawmidi nand_ecc nand_bch snd_hda_intel bch nand_ids snd_hda_controller snd_hda_codec snd_hwdep mtd snd_seq iwlwifi r592 memstick snd_pcm
  [82218.556112]  yenta_socket pcmcia_rsrc pcmcia_core cfg80211 snd_seq_device shpchp snd_timer mei_me mei snd soundcore mac_hid parport_pc ppdev tp_smapi(OE) thinkpad_ec(OE) lp parport btrfs raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq raid1 raid0 multipath linear hid_generic usbhid hid psmouse firewire_ohci ahci libahci firewire_core sdhci_pci sdhci crc_itu_t i915 wmi e1000e i2c_algo_bit drm_kms_helper video drm ptp pps_core pata_acpi [last unloaded: ipmi_msghandler]
  [82218.556114] CPU: 0 PID: 8799 Comm: kworker/0:1 Tainted: G        W  OE 3.16.0-23-generic #30-Ubuntu
  [82218.556115] Hardware name: LENOVO 7417CTO/7417CTO, BIOS 7UET94WW (3.24 ) 10/17/2012
  [82218.556119] Workqueue: events console_callback
  [82218.556122]  0000000000000009 ffff880016a3faf8 ffffffff8177fcbc 0000000000000000
  [82218.556123]  ffff880016a3fb30 ffffffff8106fd8d 0000000000000000 ffff880035a5a000
  [82218.556124]  ffff880035948210 ffff880035826800 ffff880035826800 ffff880016a3fb40
  [82218.556125] Call Trace:
  [82218.556130]  [<ffffffff8177fcbc>] dump_stack+0x45/0x56
  [82218.556133]  [<ffffffff8106fd8d>] warn_slowpath_common+0x7d/0xa0
  [82218.556135]  [<ffffffff8106fe6a>] warn_slowpath_null+0x1a/0x20
  [82218.556153]  [<ffffffffc015dffc>] intel_crtc_wait_for_pending_flips+0x16c/0x180 [i915]
  [82218.556156]  [<ffffffff810b9590>] ? prepare_to_wait_event+0x100/0x100
  [82218.556175]  [<ffffffffc0160ac3>] intel_crtc_disable_planes+0x33/0x1c0 [i915]
  [82218.556177]  [<ffffffff81784e5b>] ? __ww_mutex_lock+0x1b/0xb0
  [82218.556196]  [<ffffffffc0160ca1>] i9xx_crtc_disable+0x51/0x3f0 [i915]
  [82218.556220]  [<ffffffffc0162457>] intel_crtc_update_dpms+0x67/0xa0 [i915]
  [82218.556237]  [<ffffffffc0166ac9>] intel_connector_dpms+0x59/0x70 [i915]
  [82218.556245]  [<ffffffffc00c4901>] drm_fb_helper_dpms.isra.5+0xc1/0x100 [drm_kms_helper]
  [82218.556251]  [<ffffffffc00c4971>] drm_fb_helper_blank+0x31/0x90 [drm_kms_helper]
  [82218.556254]  [<ffffffff81415d47>] fb_blank+0x57/0xc0
  [82218.556256]  [<ffffffff8140c87b>] fbcon_blank+0xfb/0x300
  [82218.556258]  [<ffffffff8108b4a2>] ? __queue_delayed_work+0x182/0x1c0
  [82218.556259]  [<ffffffff8108b7b9>] ? try_to_grab_pending+0xa9/0x160
  [82218.556262]  [<ffffffff8107cbdb>] ? lock_timer_base.isra.34+0x2b/0x50
  [82218.556264]  [<ffffffff8107dd1f>] ? try_to_del_timer_sync+0x4f/0x70
  [82218.556266]  [<ffffffff81497ba3>] do_blank_screen+0x1d3/0x280
  [82218.556267]  [<ffffffff8149a348>] console_callback+0x68/0x160
  [82218.556269]  [<ffffffff8108d8e2>] process_one_work+0x182/0x4e0
  [82218.556270]  [<ffffffff8108dcab>] worker_thread+0x6b/0x6a0
  [82218.556272]  [<ffffffff8178294d>] ? __schedule+0x39d/0x890
  [82218.556273]  [<ffffffff8108dc40>] ? process_one_work+0x4e0/0x4e0
  [82218.556275]  [<ffffffff81094aeb>] kthread+0xdb/0x100
  [82218.556277]  [<ffffffff81094a10>] ? kthread_create_on_node+0x1c0/0x1c0
  [82218.556278]  [<ffffffff81787c3c>] ret_from_fork+0x7c/0xb0
  [82218.556280]  [<ffffffff81094a10>] ? kthread_create_on_node+0x1c0/0x1c0
  [82218.556281] ---[ end trace b9c751133032cf61 ]---

  /var/log/Xorg.0.log had:
  [ 83252.384] (EE) Backtrace:
  [ 83253.063] (EE) 0: /usr/bin/X (xorg_backtrace+0x56) [0x7f80649a0666]
  [ 83253.063] (EE) 1: /usr/bin/X (0x7f80647ea000+0x1ba869) [0x7f80649a4869]
  [ 83253.063] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7f806251f000+0x36da0) [0x7f8062555da0]
  [ 83253.063] (EE) 3: /usr/bin/X (0x7f80647ea000+0x1378ec) [0x7f80649218ec]
  [ 83253.063] (EE) 4: /usr/bin/X (0x7f80647ea000+0x137d0c) [0x7f8064921d0c]
  [ 83253.063] (EE) 5: /usr/bin/X (0x7f80647ea000+0x137243) [0x7f8064921243]
  [ 83253.064] (EE) 6: /usr/bin/X (0x7f80647ea000+0xe9fa8) [0x7f80648d3fa8]
  [ 83253.064] (EE) 7: /usr/bin/X (0x7f80647ea000+0x1358fc) [0x7f806491f8fc]
  [ 83253.064] (EE) 8: /usr/bin/X (0x7f80647ea000+0x5b3b7) [0x7f80648453b7]
  [ 83253.064] (EE) 9: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7f8062540ec5]
  [ 83253.064] (EE) 10: /usr/bin/X (0x7f80647ea000+0x456ae) [0x7f806482f6ae]
  [ 83253.064] (EE)
  [ 83253.115] (EE) Segmentation fault at address 0x10


  Normally, I'm generally able to switch consoles in and out of X
  without problem. I do not know if the above trace is related to X
  being locked or not.

  I'll also attach the /var/log/Xorg.0.log.old that had some information
  in it also andapparent segfault.  That said, I think all log
  information is tens of seconds after the lock up and might be a result
  of me ctrl-alt-1 <-> ctrl-alt-f7 while system was in a borked state.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: linux-image-3.16.0-23-generic 3.16.0-23.30
  ProcVersionSignature: Ubuntu 3.16.0-23.30-generic 3.16.4
  Uname: Linux 3.16.0-23-generic x86_64
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/pcmC0D0c:   smoser     4134 F...m pulseaudio
   /dev/snd/pcmC0D0p:   smoser     4134 F...m pulseaudio
   /dev/snd/controlC0:  smoser     4134 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Wed Oct 22 10:29:16 2014
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-10-19 (1099 days ago)
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  MachineType: LENOVO 7417CTO
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-23-generic root=UUID=f9832678-e9fb-41c5-8edb-5edd5200ed0a ro quiet splash nomdmonddf nomdmonisw nomdmonddf nomdmonisw nomdmonddf nomdmonisw vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-23-generic N/A
   linux-backports-modules-3.16.0-23-generic  N/A
   linux-firmware                             1.136
  SourcePackage: linux
  UpgradeStatus: Upgraded to utopic on 2013-05-20 (520 days ago)
  dmi.bios.date: 10/17/2012
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 7UET94WW (3.24 )
  dmi.board.name: 7417CTO
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvr7UET94WW(3.24):bd10/17/2012:svnLENOVO:pn7417CTO:pvrThinkPadT400:rvnLENOVO:rn7417CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 7417CTO
  dmi.product.version: ThinkPad T400
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1384342/+subscriptions


References