← Back to team overview

kernel-packages team mailing list archive

[Bug 1567418] Re: intel_modeset_check_state+0x88e/0x8a0 [i915_bpo]

 

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

** Changed in: linux (Ubuntu)
       Status: Incomplete => Expired

-- 
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/1567418

Title:
  intel_modeset_check_state+0x88e/0x8a0 [i915_bpo]

Status in linux package in Ubuntu:
  Expired

Bug description:
  Hi,

  I'm using a new Skylake Thinkpad T460s with and external monitor
  connected via Displayport and Ubuntu 16.04 and the latest kernel as of
  today: Linux test 4.4.0-17-generic #33-Ubuntu SMP Tue Mar 29 17:17:28
  UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

  X will from time to time lock up when the computer is left idle for a
  long time and both displays (laptop and external) go to sleep and then
  woken up.

  Apr  6 22:46:16 test kernel: [ 9191.647675] ------------[ cut here ]------------
  Apr  6 22:46:16 test kernel: [ 9191.647700] WARNING: CPU: 2 PID: 1152 at /build/linux-YiIlnA/linux-4.4.0/ubuntu/i915/intel_display.c:12843 intel_modeset_check_state+0x88e/0x8a0 [i915_bpo]()
  Apr  6 22:46:16 test kernel: [ 9191.647701] encoder detached but still enabled on pipe B.
  Apr  6 22:46:16 test kernel: [ 9191.647701] Modules linked in: msr pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common videodev media snd_usb_audio snd_usbmidi_lib btusb btrtl btbcm btintel bluetooth binfmt_misc nls_iso8859_1 arc4 snd_hda_codec_hdmi snd_hda_codec_realtek intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_generic snd_soc_skl snd_soc_skl_ipc iwlmvm snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_core mac80211 snd_compress ac97_bus snd_pcm_dmaengine dw_dmac_core snd_hda_intel snd_seq_midi snd_seq_midi_event snd_hda_codec snd_hda_core snd_rawmidi snd_hwdep joydev input_leds iwlwifi serio_raw rtsx_pci_ms memstick snd_pcm thinkpad_acpi cfg80211 nvram mei_me shpchp mei snd_seq snd_seq_device snd_timer snd soundcore mac_hid tpm_crb kvm_intel kvm irqbypass parport_pc ppdev lp parport autofs4 drbg ansi_cprng algif_skcipher af_alg dm_crypt hid_microsoft hid_generic usbhid hid rtsx_pci_sdmmc i915_bpo crct10dif_pclmul crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper intel_ips cryptd i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt e1000e nvme psmouse fb_sys_fops ptp drm pps_core rtsx_pci wmi video fjes
  Apr  6 22:46:16 test kernel: [ 9191.647744] CPU: 2 PID: 1152 Comm: Xorg Tainted: G        W  OE   4.4.0-17-generic #33-Ubuntu
  Apr  6 22:46:16 test kernel: [ 9191.647745] Hardware name: LENOVO 20F9CTO1WW/20F9CTO1WW, BIOS N1CET40W (1.08 ) 03/09/2016
  Apr  6 22:46:16 test kernel: [ 9191.647746]  0000000000000286 0000000098929f69 ffff8804ff7a3ac0 ffffffff813e8123
  Apr  6 22:46:16 test kernel: [ 9191.647747]  ffff8804ff7a3b08 ffffffffc0324498 ffff8804ff7a3af8 ffffffff8107fe12
  Apr  6 22:46:16 test kernel: [ 9191.647749]  ffff880502bfeb18 ffff880502e3e000 ffff880502bfeb48 ffff880502bfeb30
  Apr  6 22:46:16 test kernel: [ 9191.647750] Call Trace:
  Apr  6 22:46:16 test kernel: [ 9191.647753]  [<ffffffff813e8123>] dump_stack+0x63/0x90
  Apr  6 22:46:16 test kernel: [ 9191.647756]  [<ffffffff8107fe12>] warn_slowpath_common+0x82/0xc0
  Apr  6 22:46:16 test kernel: [ 9191.647757]  [<ffffffff8107feac>] warn_slowpath_fmt+0x5c/0x80
  Apr  6 22:46:16 test kernel: [ 9191.647773]  [<ffffffffc02addfe>] intel_modeset_check_state+0x88e/0x8a0 [i915_bpo]
  Apr  6 22:46:16 test kernel: [ 9191.647788]  [<ffffffffc02b9153>] intel_atomic_commit+0x943/0xdb0 [i915_bpo]
  Apr  6 22:46:16 test kernel: [ 9191.647791]  [<ffffffff810c28d0>] ? wake_atomic_t_function+0x60/0x60
  Apr  6 22:46:16 test kernel: [ 9191.647803]  [<ffffffffc007180e>] ? drm_atomic_check_only+0x18e/0x590 [drm]
  Apr  6 22:46:16 test kernel: [ 9191.647811]  [<ffffffffc0071c47>] drm_atomic_commit+0x37/0x60 [drm]
  Apr  6 22:46:16 test kernel: [ 9191.647817]  [<ffffffffc017da06>] drm_atomic_helper_set_config+0x76/0xb0 [drm_kms_helper]
  Apr  6 22:46:16 test kernel: [ 9191.647825]  [<ffffffffc0060e02>] drm_mode_set_config_internal+0x62/0x100 [drm]
  Apr  6 22:46:16 test kernel: [ 9191.647833]  [<ffffffffc0065322>] drm_mode_setcrtc+0x3d2/0x4f0 [drm]
  Apr  6 22:46:16 test kernel: [ 9191.647839]  [<ffffffffc0056712>] drm_ioctl+0x152/0x540 [drm]
  Apr  6 22:46:16 test kernel: [ 9191.647841]  [<ffffffff8108f8d6>] ? __set_current_blocked+0x36/0x60
  Apr  6 22:46:16 test kernel: [ 9191.647848]  [<ffffffffc0064f50>] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
  Apr  6 22:46:16 test kernel: [ 9191.647851]  [<ffffffff8121ef3f>] do_vfs_ioctl+0x29f/0x490
  Apr  6 22:46:16 test kernel: [ 9191.647853]  [<ffffffff8103a2fd>] ? fpu__restore_sig+0x4d/0x60
  Apr  6 22:46:16 test kernel: [ 9191.647854]  [<ffffffff8121f1a9>] SyS_ioctl+0x79/0x90
  Apr  6 22:46:16 test kernel: [ 9191.647857]  [<ffffffff81822b72>] entry_SYSCALL_64_fastpath+0x16/0x71
  Apr  6 22:46:16 test kernel: [ 9191.647858] ---[ end trace 04fd011c68d81b00 ]---
  Apr  6 22:46:16 test kernel: [ 9191.823700] ------------[ cut here ]------------

  
  Attached is the full kernel log from boot until the issue happens, at which point, if I have a lockup of X I need to reboot to get back to normal.

  I don't know if this particular bug I'm reporting is the one
  responsible for the lockups, as I've isolated 4 different
  warning/error messages which separately or in combination may be the
  cause. I'm reporting all of them now in separate bug reports.

  Please let me know if any information is missing.

  # lspci
  00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 08)
  00:02.0 VGA compatible controller: Intel Corporation Sky Lake Integrated Graphics (rev 07)
  00:08.0 System peripheral: Intel Corporation Sky Lake Gaussian Mixture Model
  00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
  00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
  00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI (rev 21)
  00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1)
  00:1c.2 PCI bridge: Intel Corporation Device 9d12 (rev f1)
  00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port (rev f1)
  00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
  00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
  00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
  00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
  00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection I219-LM (rev 21)
  02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
  04:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
  05:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller (rev 01)

  # lspci -vvv
  00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 08)
          Subsystem: Lenovo Skylake Host Bridge/DRAM Registers
          Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
          Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
          Latency: 0
          Capabilities: [e0] Vendor Specific Information: Len=10 <?>

  00:02.0 VGA compatible controller: Intel Corporation Sky Lake Integrated Graphics (rev 07) (prog-if 00 [VGA controller])
          Subsystem: Lenovo Skylake Integrated Graphics
          Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
          Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
          Latency: 0
          Interrupt: pin A routed to IRQ 133
          Region 0: Memory at f0000000 (64-bit, non-prefetchable) [size=16M]
          Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
          Region 4: I/O ports at e000 [size=64]
          Expansion ROM at <unassigned> [disabled]
          Capabilities: [40] Vendor Specific Information: Len=0c <?>
          Capabilities: [70] Express (v2) Root Complex Integrated Endpoint, MSI 00
                  DevCap: MaxPayload 128 bytes, PhantFunc 0
                          ExtTag- RBE+
                  DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                          RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
                          MaxPayload 128 bytes, MaxReadReq 128 bytes
                  DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
                  DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF Not Supported
                  DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
          Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
                  Address: fee00018 Data: 0000
          Capabilities: [d0] Power Management version 2
                  Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                  Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
          Capabilities: [100 v1] #1b
          Capabilities: [200 v1] Address Translation Service (ATS)
                  ATSCap: Invalidate Queue Depth: 00
                  ATSCtl: Enable-, Smallest Translation Unit: 00
          Capabilities: [300 v1] #13
          Kernel driver in use: i915_bpo
          Kernel modules: i915_bpo

  # for file in /sys/module/i915_bpo/parameters/*; do echo -en $file"\t"; cat $file; done;
  /sys/module/i915_bpo/parameters/disable_display N
  /sys/module/i915_bpo/parameters/disable_power_well 1
  /sys/module/i915_bpo/parameters/edp_vswing 0
  /sys/module/i915_bpo/parameters/enable_cmd_parser 1
  /sys/module/i915_bpo/parameters/enable_dc -1
  /sys/module/i915_bpo/parameters/enable_execlists 1
  /sys/module/i915_bpo/parameters/enable_fbc -1
  /sys/module/i915_bpo/parameters/enable_guc_submission N
  /sys/module/i915_bpo/parameters/enable_hangcheck Y
  /sys/module/i915_bpo/parameters/enable_ips 1
  /sys/module/i915_bpo/parameters/enable_ppgtt 3
  /sys/module/i915_bpo/parameters/enable_psr 0
  /sys/module/i915_bpo/parameters/enable_rc6 1
  /sys/module/i915_bpo/parameters/fastboot N
  /sys/module/i915_bpo/parameters/guc_log_level -1
  /sys/module/i915_bpo/parameters/invert_brightness 0
  /sys/module/i915_bpo/parameters/load_detect_test N
  /sys/module/i915_bpo/parameters/lvds_channel_mode 0
  /sys/module/i915_bpo/parameters/lvds_use_ssc -1
  /sys/module/i915_bpo/parameters/mmio_debug 0
  /sys/module/i915_bpo/parameters/modeset -1
  /sys/module/i915_bpo/parameters/nuclear_pageflip N
  /sys/module/i915_bpo/parameters/panel_ignore_lid 1
  /sys/module/i915_bpo/parameters/prefault_disable N
  /sys/module/i915_bpo/parameters/preliminary_hw_support 0
  /sys/module/i915_bpo/parameters/reset Y
  /sys/module/i915_bpo/parameters/semaphores -1
  /sys/module/i915_bpo/parameters/use_mmio_flip 0
  /sys/module/i915_bpo/parameters/vbt_sdvo_panel_type -1
  /sys/module/i915_bpo/parameters/verbose_state_checks Y

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


References