← 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

 

kernel 4.4, ubuntu 16.04 (4.4.0-20-generic and -21), TOSHIBA PORTEGE
Z30-B

[  104.875123] ------------[ cut here ]------------
[  104.875146] WARNING: CPU: 2 PID: 1425 at /build/linux-yplzxd/linux-4.4.0/drivers/gpu/drm/i915/intel_display.c:3968 intel_crtc_wait_for_pending_flips+0x233/0x240 [i915]()
[  104.875147] Removing stuck page flip
[  104.875147] Modules linked in: nvram msr drbg ansi_cprng ctr ccm ebtable_filter ebtables ip6table_filter ip6_tables rfcomm iptable_filter ip_tables x_tables binfmt_misc pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common videodev media btusb btrtl btbcm btintel bluetooth snd_hda_codec_hdmi joydev arc4 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel nls_iso8859_1 kvm irqbypass crct10dif_pclmul crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper iwlmvm cryptd mac80211 snd_soc_rt5640 snd_hda_codec_realtek snd_hda_codec_generic snd_soc_rl6231 iwlwifi snd_soc_core input_leds snd_compress ac97_bus serio_raw cfg80211 snd_pcm_dmaengine rtsx_pci_ms snd_hda_intel lpc_ich
[  104.875175]  snd_hda_codec memstick snd_hda_core snd_hwdep snd_seq_midi snd_pcm snd_seq_midi_event shpchp mei_me toshiba_acpi snd_rawmidi mei sparse_keymap toshiba_haps snd_seq toshiba_bluetooth snd_seq_device snd_timer snd soundcore dw_dmac dw_dmac_core tpm_infineon i2c_designware_platform 8250_dw spi_pxa2xx_platform i2c_designware_core snd_soc_sst_acpi mac_hid parport_pc ppdev lp parport autofs4 rtsx_pci_sdmmc i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect ahci e1000e psmouse sysimgblt fb_sys_fops ptp drm libahci rtsx_pci pps_core wmi fjes sdhci_acpi video sdhci
[  104.875197] CPU: 2 PID: 1425 Comm: Xorg Tainted: G        W  OE   4.4.0-22-generic #38-Ubuntu
[  104.875198] Hardware name: TOSHIBA PORTEGE Z30-B/PORTEGE Z30-B, BIOS Version 2.10   01/06/2015
[  104.875199]  0000000000000086 000000003d06b92c ffff88040a4f3ad0 ffffffff813e9c73
[  104.875201]  ffff88040a4f3b18 ffffffffc02a3a50 ffff88040a4f3b08 ffffffff81080fb2
[  104.875203]  ffff88040ebdd1a8 ffff880408069008 ffff88040deb9000 ffff88040ebdd000
[  104.875205] Call Trace:
[  104.875208]  [<ffffffff813e9c73>] dump_stack+0x63/0x90
[  104.875211]  [<ffffffff81080fb2>] warn_slowpath_common+0x82/0xc0
[  104.875213]  [<ffffffff8108104c>] warn_slowpath_fmt+0x5c/0x80
[  104.875216]  [<ffffffff810c35d5>] ? finish_wait+0x55/0x70
[  104.875237]  [<ffffffffc023e073>] intel_crtc_wait_for_pending_flips+0x233/0x240 [i915]
[  104.875240]  [<ffffffff810c3a70>] ? wake_atomic_t_function+0x60/0x60
[  104.875261]  [<ffffffffc023f291>] intel_pre_plane_update+0x111/0x140 [i915]
[  104.875282]  [<ffffffffc023f800>] intel_atomic_commit+0xf0/0x6f0 [i915]
[  104.875297]  [<ffffffffc009280e>] ? drm_atomic_check_only+0x18e/0x590 [drm]
[  104.875311]  [<ffffffffc0091d1d>] ? drm_atomic_set_crtc_for_connector+0x3d/0xe0 [drm]
[  104.875324]  [<ffffffffc0092c47>] drm_atomic_commit+0x37/0x60 [drm]
[  104.875331]  [<ffffffffc01989f6>] drm_atomic_helper_set_config+0x76/0xb0 [drm_kms_helper]
[  104.875345]  [<ffffffffc009146a>] ? drm_modeset_lock_all_ctx+0x9a/0xb0 [drm]
[  104.875357]  [<ffffffffc0081e02>] drm_mode_set_config_internal+0x62/0x100 [drm]
[  104.875369]  [<ffffffffc0086322>] drm_mode_setcrtc+0x3d2/0x4f0 [drm]
[  104.875378]  [<ffffffffc0077712>] drm_ioctl+0x152/0x540 [drm]
[  104.875390]  [<ffffffffc0085f50>] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
[  104.875393]  [<ffffffff8122028f>] do_vfs_ioctl+0x29f/0x490
[  104.875395]  [<ffffffff817002c0>] ? __sys_recvmsg+0x80/0x90
[  104.875397]  [<ffffffff812204f9>] SyS_ioctl+0x79/0x90
[  104.875400]  [<ffffffff818252f2>] entry_SYSCALL_64_fastpath+0x16/0x71
[  104.875402] ---[ end trace 655856c2a15a2037 ]---

-- 
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 Linux:
  Unknown
Status in System76:
  New
Status in xf86-video-intel:
  Fix Released
Status in linux package in Ubuntu:
  Triaged
Status in linux package in Debian:
  Confirmed
Status in linux package in Fedora:
  Unknown
Status in linux package in openSUSE:
  Unknown

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