← 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

 

This recently started happening to me also.  My recent changes-
- I have a samsung 4k monitor attached via displayport but I just started using my laptop screen at the same time (2 displays - was only using the 4k monitor OR the laptop display previously).
- I installed a Dell-provided pulseaudio patch to enable sound to go through the displayport connection so I can plug my headphones into the audio out jack on the monitor.

I wasn't doing anything exciting at the last time it happened - was
running Ansible, had Chrome and Hipchat open along with a few terminals.

Here is the trace from dmesg:
Dec 29 18:04:13 tso-lpjg kernel: [13172.056836] ------------[ cut here ]------------
Dec 29 18:04:13 tso-lpjg kernel: [13172.056943] WARNING: CPU: 1 PID: 1913 at /build/buildd/linux-3.16.0/drivers/gpu/drm/i915/intel_display.c:3324 intel_crtc_
wait_for_pending_flips+0x16c/0x180 [i915]()
Dec 29 18:04:13 tso-lpjg kernel: [13172.056948] Modules linked in: xt_addrtype xt_conntrack aufs ip6table_filter ip6_tables vmnet(OE) vmw_vsock_vmci_transpor
t vsock vmw_vmci vmmon(OE) nfnetlink_queue nfnetlink_log nfnetlink 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 dm_crypt dell_wmi sparse_keymap intel_rapl x86_pkg_temp_thermal dell_
laptop intel_powerclamp coretemp arc4 dcdbas kvm_intel kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel iwldvm mac80211 aesni_intel aes_x86_64 lrw gf128
mul glue_helper ablk_helper iwlwifi cryptd snd_hda_codec_realtek serio_raw snd_hda_codec_generic snd_hda_codec_hdmi cfg80211 uvcvideo videobuf2_vmalloc video
buf2_memops lpc_ich videobuf2_core snd_soc_rt5640 btusb v4l2_common videodev joydev media snd_hda_intel snd_soc_rl6231 snd_hda_controller snd_soc_core snd_hd
a_codec snd_compress snd_hwdep snd_pcm_dmaengine mei_me mei snd_pcm bnep rfcomm snd_seq_midi snd_seq_midi_event bluetooth snd_rawmidi shpchp 6lowpan_iphc snd
_seq snd_seq_device snd_timer dell_smo8800 snd i2c_hid dw_dmac soundcore dw_dmac_core snd_soc_sst_acpi i2c_designware_platform 8250_dw i2c_designware_core sp
i_pxa2xx_platform mac_hid parport_pc nfsd auth_rpcgss ppdev nfs_acl lp parport nfs lockd sunrpc fscache binfmt_misc btrfs xor raid6_pq hid_microsoft hid_gene
ric usbhid hid radeon i915 ttm i2c_algo_bit drm_kms_helper e1000e drm psmouse ahci libahci ptp sdhci_pci pps_core wmi sdhci_acpi video sdhci [last unloaded: 
vmnet]
Dec 29 18:04:13 tso-lpjg kernel: [13172.057109] CPU: 1 PID: 1913 Comm: Xorg Tainted: G           OE 3.16.0-28-generic #38-Ubuntu
Dec 29 18:04:13 tso-lpjg kernel: [13172.057113] Hardware name: Dell Inc. Latitude E6540/0725FP, BIOS A12 11/14/2014
Dec 29 18:04:13 tso-lpjg kernel: [13172.057116]  0000000000000009 ffff8804139b3c18 ffffffff81781eaa 0000000000000000
Dec 29 18:04:13 tso-lpjg kernel: [13172.057123]  ffff8804139b3c50 ffffffff8106fedd 0000000000000000 ffff880417c39000
Dec 29 18:04:13 tso-lpjg kernel: [13172.057128]  ffff880411e88210 ffff8804135cb000 ffff8804135cb000 ffff8804139b3c60
Dec 29 18:04:13 tso-lpjg kernel: [13172.057134] Call Trace:
Dec 29 18:04:13 tso-lpjg kernel: [13172.057152]  [<ffffffff81781eaa>] dump_stack+0x45/0x56
Dec 29 18:04:13 tso-lpjg kernel: [13172.057162]  [<ffffffff8106fedd>] warn_slowpath_common+0x7d/0xa0
Dec 29 18:04:13 tso-lpjg kernel: [13172.057169]  [<ffffffff8106ffba>] warn_slowpath_null+0x1a/0x20
Dec 29 18:04:13 tso-lpjg kernel: [13172.057219]  [<ffffffffc032604c>] intel_crtc_wait_for_pending_flips+0x16c/0x180 [i915]
Dec 29 18:04:13 tso-lpjg kernel: [13172.057231]  [<ffffffff810b9710>] ? prepare_to_wait_event+0x100/0x100
Dec 29 18:04:13 tso-lpjg kernel: [13172.057279]  [<ffffffffc0328b13>] intel_crtc_disable_planes+0x33/0x1c0 [i915]
Dec 29 18:04:13 tso-lpjg kernel: [13172.057286]  [<ffffffff8178703b>] ? __ww_mutex_lock+0x1b/0xb0
Dec 29 18:04:13 tso-lpjg kernel: [13172.057332]  [<ffffffffc0329a67>] haswell_crtc_disable+0x57/0x2e0 [i915]
Dec 29 18:04:13 tso-lpjg kernel: [13172.057339]  [<ffffffff81787c92>] ? mutex_lock+0x12/0x30
Dec 29 18:04:13 tso-lpjg kernel: [13172.057385]  [<ffffffffc032a4a7>] intel_crtc_update_dpms+0x67/0xa0 [i915]
Dec 29 18:04:13 tso-lpjg kernel: [13172.057432]  [<ffffffffc032eb19>] intel_connector_dpms+0x59/0x70 [i915]
Dec 29 18:04:13 tso-lpjg kernel: [13172.057477]  [<ffffffffc01a5e19>] drm_mode_obj_set_property_ioctl+0x399/0x3a0 [drm]
Dec 29 18:04:13 tso-lpjg kernel: [13172.057510]  [<ffffffffc01a5e50>] drm_mode_connector_property_set_ioctl+0x30/0x40 [drm]
Dec 29 18:04:13 tso-lpjg kernel: [13172.057534]  [<ffffffffc0194a4f>] drm_ioctl+0x1df/0x680 [drm]
Dec 29 18:04:13 tso-lpjg kernel: [13172.057548]  [<ffffffff811f5138>] do_vfs_ioctl+0x2c8/0x4a0
Dec 29 18:04:13 tso-lpjg kernel: [13172.057554]  [<ffffffff81784b2d>] ? __schedule+0x39d/0x890
Dec 29 18:04:13 tso-lpjg kernel: [13172.057560]  [<ffffffff811f5391>] SyS_ioctl+0x81/0xa0
Dec 29 18:04:13 tso-lpjg kernel: [13172.057567]  [<ffffffff81789eed>] system_call_fastpath+0x1a/0x1f
Dec 29 18:04:13 tso-lpjg kernel: [13172.057571] ---[ end trace 72247ec4c41b126d ]---

-- 
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 System76:
  New
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