← Back to team overview

kernel-packages team mailing list archive

Re: [Bug 1324935] Re: [Dell Inspiron 1525] WARNING: CPU: 1 PID: 1154 at /build/buildd/linux-3.13.0/drivers/gpu/drm/i915/intel_display.c:9226 intel_modeset_check_state+0x62d/0x780 [i915]()

 

It did not exist in 12.04.  IIRC, the graphical artifacts symptomatic of
the issue for me appeared during an upgrade in Elementary OS Freya (based
on Ubuntu 14.04) from kernel 3.13 to 3.19 -- an upgrade intended to fix
another kernel bug! :P

I get no random suspend issues.  The possibility exists for hardware
problems.  I had to bypass my hardware wireless switch because it started
randomly turning the card on and off.  Maybe something similar is happening
via a suspend parameter on your computer (did you try registering and
logging hardware keypresses?  Those showed up with my wireless issue)

This bug seems fairly well confirmed as a software/kernel/driver issue,
though.  Let me know if there's somewhere I can make noise and verify that
this is a problem.

ethan

“A society grows great when its elders plant trees whose shade they know
they shall never sit in.” -- an ironic Greek proverb


On Sat, Jan 9, 2016 at 10:55 AM, KeithG <1324935@xxxxxxxxxxxxxxxxxx> wrote:

> ethany,
>
> I do not really remember. Try 13.04 (and 12.04 if it is still in 13.04).
> It was one of those, IIRC, that did not have it. Problem is that so much
> has changed in the kernel since then. I went through a huge kernel
> bisect project to then be told to report it to the kernel i915 group and
> got no interest. I am over it, now. I am convinced that the i915 driver
> will never be fixed for our particular hardware as it is so old. <rant>
> Nobody really cares. Typical 80/20. Get it 80% of the way there then
> loose interest in doing the rest of the 80% required to get it 'right'.
> Typical of all open source projects. </rant>
>
> As for the last time I tried 15.10, on all of my machines (3 different
> hardware, processors, etc), the system just randomly suspends. Without
> warning and nothing weird shows up in the log. Just browsing in firefox
> or running an app and then bam instant suspend.  It all comes back when
> powered on, but not really usable. I just updated and am trying again on
> one machine and see if it is fixed. No bug reports relate to this bug,
> either. It just did it again. Suspended without warning while I was
> typing this.
>
> The latest kernel update for 15.10
> 4.2.0-23-generic
>
> shows this:
> ------------[ cut here ]------------
> [  163.795945] WARNING: CPU: 1 PID: 1162 at
> /build/linux-AFqQDb/linux-4.2.0/drivers/gpu/drm/i915/intel_display.c:12256
> intel_modeset_check_state+0x3ab/0x6d0 [i915]()
> [  163.795947] encoder's hw state doesn't match sw tracking (expected 0,
> found 1)
> [  163.795948] Modules linked in: rpcsec_gss_krb5 auth_rpcgss nfsv4 nfs
> lockd grace fscache binfmt_misc arc4 uvcvideo b43 videobuf2_vmalloc
> videobuf2_memops videobuf2_core v4l2_common snd_hda_codec_idt videodev
> snd_hda_codec_generic bcma snd_hda_codec_hdmi media dell_wmi mac80211
> sparse_keymap snd_hda_intel r852 gpio_ich dell_laptop sm_common
> snd_hda_codec nand snd_hda_core nand_ecc snd_hwdep snd_pcm nand_bch dcdbas
> snd_seq_midi bch snd_seq_midi_event snd_rawmidi nand_ids cfg80211
> dell_smm_hwmon mtd snd_seq snd_seq_device ssb_hcd input_leds r592 joydev
> snd_timer serio_raw memstick snd lpc_ich soundcore shpchp mac_hid coretemp
> sunrpc parport_pc ppdev lp parport autofs4 hid_generic usbhid hid psmouse
> i915 ahci libahci sdhci_pci firewire_ohci sdhci pata_acpi ssb firewire_core
> crc_itu_t sky2 i2c_algo_bit
> [  163.796030]  wmi drm_kms_helper drm video
> [  163.796036] CPU: 1 PID: 1162 Comm: Xorg Tainted: G        W
>  4.2.0-23-generic #28-Ubuntu
> [  163.796044] Hardware name: Dell Inc. Inspiron 1525
>  /0U990C, BIOS A17 10/27/2009
> [  163.796048]  0000000000000000 000000004b9aede5 ffff8800b9e9f8f8
> ffffffff817e94c9
> [  163.796052]  0000000000000000 ffff8800b9e9f950 ffff8800b9e9f938
> ffffffff8107b3d6
> [  163.796055]  01ff8800b9e9f948 ffff8800358ce000 0000000000000001
> ffff8800358ce350
> [  163.796058] Call Trace:
> [  163.796063]  [<ffffffff817e94c9>] dump_stack+0x45/0x57
> [  163.796066]  [<ffffffff8107b3d6>] warn_slowpath_common+0x86/0xc0
> [  163.796069]  [<ffffffff8107b465>] warn_slowpath_fmt+0x55/0x70
> [  163.796093]  [<ffffffffc01b9ceb>] intel_modeset_check_state+0x3ab/0x6d0
> [i915]
> [  163.796120]  [<ffffffffc01ba0ca>] intel_set_mode+0x4a/0x60 [i915]
> [  163.796146]  [<ffffffffc01ba806>]
> intel_release_load_detect_pipe+0x176/0x1c0 [i915]
> [  163.796172]  [<ffffffffc01f02c6>] intel_tv_detect+0x346/0x610 [i915]
> [  163.796180]  [<ffffffffc008baf5>]
> drm_helper_probe_single_connector_modes_merge_bits+0x235/0x4d0
> [drm_kms_helper]
> [  163.796194]  [<ffffffffc001de6c>] ? get_properties+0xbc/0x100 [drm]
> [  163.796201]  [<ffffffffc008bda3>]
> drm_helper_probe_single_connector_modes+0x13/0x20 [drm_kms_helper]
> [  163.796215]  [<ffffffffc0023201>] drm_mode_getconnector+0x331/0x390
> [drm]
> [  163.796227]  [<ffffffffc0014495>] drm_ioctl+0x125/0x610 [drm]
> [  163.796241]  [<ffffffffc0022ed0>] ? drm_mode_getcrtc+0x150/0x150 [drm]
> [  163.796245]  [<ffffffff81210aa5>] do_vfs_ioctl+0x295/0x480
> [  163.796248]  [<ffffffff81210d09>] SyS_ioctl+0x79/0x90
> [  163.796252]  [<ffffffff817f02b2>] entry_SYSCALL_64_fastpath+0x16/0x75
> [  163.796254] ---[ end trace b7c449e55d7795a8 ]---
> [  308.803563] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update
> failure on pipe A (start=16608 end=16609)
>
> It is repeated many times in the dmesg log.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1324935
>
> Title:
>   [Dell Inspiron 1525] WARNING: CPU: 1 PID: 1154 at
>   /build/buildd/linux-3.13.0/drivers/gpu/drm/i915/intel_display.c:9226
>   intel_modeset_check_state+0x62d/0x780 [i915]()
>
> Status in linux package in Ubuntu:
>   Triaged
>
> Bug description:
>   Dmesg is filled with this:
>   [32582.450283] ------------[ cut here ]------------
>   [32582.450302] WARNING: CPU: 1 PID: 1154 at
> /build/buildd/linux-3.13.0/drivers/gpu/drm/i915/intel_display.c:9226
> intel_modeset_check_state+0x62d/0x780 [i915]()
>   [32582.450304] encoder's hw state doesn't match sw tracking (expected 0,
> found 1)
>   [32582.450306] Modules linked in: nfsv3 ctr ccm rfcomm bnep bluetooth
> rpcsec_gss_krb5 nfsv4 binfmt_misc nfsd auth_rpcgss nfs_acl nfs lockd sunrpc
> fscache arc4 gpio_ich dell_wmi sparse_keymap uvcvideo videobuf2_vmalloc
> videobuf2_memops videobuf2_core videodev dell_laptop dcdbas
> snd_hda_codec_idt snd_hda_codec_hdmi b43 snd_hda_intel snd_hda_codec
> snd_hwdep snd_pcm bcma coretemp snd_page_alloc snd_seq_midi
> snd_seq_midi_event snd_rawmidi joydev snd_seq serio_raw mac80211
> snd_seq_device snd_timer snd lpc_ich cfg80211 ssb_hcd soundcore mac_hid wmi
> parport_pc ppdev lp parport psmouse ahci libahci sky2 ssb i915 video
> i2c_algo_bit drm_kms_helper drm
>   [32582.450357] CPU: 1 PID: 1154 Comm: Xorg Tainted: G        W
> 3.13.0-27-generic #50-Ubuntu
>   [32582.450359] Hardware name: Dell Inc. Inspiron 1525
>  /0U990C, BIOS A17 10/27/2009
>   [32582.450361]  0000000000000009 ffff88000003bb68 ffffffff817199c4
> ffff88000003bbb0
>   [32582.450365]  ffff88000003bba0 ffffffff810676bd ffff88000003bc20
> 0000000000000001
>   [32582.450369]  ffff88003684c800 ffff88003684caf8 ffff8800364a9800
> ffff88000003bc00
>   [32582.450373] Call Trace:
>   [32582.450378]  [<ffffffff817199c4>] dump_stack+0x45/0x56
>   [32582.450381]  [<ffffffff810676bd>] warn_slowpath_common+0x7d/0xa0
>   [32582.450384]  [<ffffffff8106772c>] warn_slowpath_fmt+0x4c/0x50
>   [32582.450405]  [<ffffffffa012fd25>] ? intel_sdvo_get_hw_state+0x55/0xc0
> [i915]
>   [32582.450423]  [<ffffffffa011a16d>]
> intel_modeset_check_state+0x62d/0x780 [i915]
>   [32582.450441]  [<ffffffffa011a355>] intel_set_mode+0x25/0x30 [i915]
>   [32582.450459]  [<ffffffffa011abfb>] intel_crtc_set_config+0x7ab/0x9a0
> [i915]
>   [32582.450463]  [<ffffffff810428ad>] ? lapic_next_event+0x1d/0x30
>   [32582.450477]  [<ffffffffa000fe9d>]
> drm_mode_set_config_internal+0x5d/0xe0 [drm]
>   [32582.450492]  [<ffffffffa0012d87>] drm_mode_setcrtc+0xf7/0x5e0 [drm]
>   [32582.450503]  [<ffffffffa0003c22>] drm_ioctl+0x502/0x630 [drm]
>   [32582.450508]  [<ffffffff81077dd2>] ? __set_task_blocked+0x32/0x70
>   [32582.450513]  [<ffffffff811cf810>] do_vfs_ioctl+0x2e0/0x4c0
>   [32582.450517]  [<ffffffff8109dd84>] ? vtime_account_user+0x54/0x60
>   [32582.450520]  [<ffffffff811cfa71>] SyS_ioctl+0x81/0xa0
>   [32582.450524]  [<ffffffff8172a5bf>] tracesys+0xe1/0xe6
>   [32582.450526] ---[ end trace 8e8416ac0cd5b971 ]---
>
>   Resume results in black screen. Graphics can appear completely messed
>   up (i.e. torn last jpg viewed over top of latest jpg). This happens in
>   Ubuntu 13.10 and 14.04. It happens with: no intel drivers installed,
>   and with or without the i915 and intel_agp modules explicitly enabled
>   in /etc/initramfs-tools/modules.
>
>   WORKAROUND: Using the following kernel parameters I no longer get the
> message in the log, the video does not appear to be as crisp somehow, but I
> can suspend and wake from the command:
>   linemodeset=0 video.allow_duplicates=1
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 14.04
>   Package: linux-image-3.13.0-27-generic 3.13.0-27.50
>   ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11
>   Uname: Linux 3.13.0-27-generic x86_64
>   ApportVersion: 2.14.1-0ubuntu3.2
>   Architecture: amd64
>   AudioDevicesInUse:
>    USER        PID ACCESS COMMAND
>    /dev/snd/controlC0:  kgrider    2212 F.... pulseaudio
>   Date: Fri May 30 08:03:14 2014
>   HibernationDevice: RESUME=UUID=4957c02d-b4ca-4dce-8983-450640c97f46
>   MachineType: Dell Inc. Inspiron 1525
>   ProcEnviron:
>    TERM=xterm
>    PATH=(custom, no user)
>    XDG_RUNTIME_DIR=<set>
>    LANG=en_US.UTF-8
>    SHELL=/bin/bash
>   ProcFB: 0 inteldrmfb
>   ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-27-generic
> root=UUID=7682c6bb-cf2f-413f-9243-eab8172b5bbc ro quiet splash vt.handoff=7
>   RelatedPackageVersions:
>    linux-restricted-modules-3.13.0-27-generic N/A
>    linux-backports-modules-3.13.0-27-generic  N/A
>    linux-firmware                             1.127.2
>   RfKill:
>    0: phy0: Wireless LAN
>     Soft blocked: no
>     Hard blocked: no
>   SourcePackage: linux
>   UpgradeStatus: Upgraded to trusty on 2014-05-30 (0 days ago)
>   WifiSyslog:
>    May 30 06:59:26 Inspiron-1525 NetworkManager[938]: <warn> nl_recvmsgs()
> error: (-33) Dump inconsistency detected, interrupted
>    May 30 07:11:21 Inspiron-1525 wpa_supplicant[1092]: message repeated 29
> times: [ wlan0: CTRL-EVENT-SCAN-STARTED ]
>    May 30 07:13:02 Inspiron-1525 wpa_supplicant[1092]: wlan0: WPA: Group
> rekeying completed with 10:0d:7f:52:8a:71 [GTK=TKIP]
>    May 30 07:13:21 Inspiron-1525 wpa_supplicant[1092]: wlan0:
> CTRL-EVENT-SCAN-STARTED
>   dmi.bios.date: 10/27/2009
>   dmi.bios.vendor: Dell Inc.
>   dmi.bios.version: A17
>   dmi.board.name: 0U990C
>   dmi.board.vendor: Dell Inc.
>   dmi.chassis.type: 8
>   dmi.chassis.vendor: Dell Inc.
>   dmi.modalias:
> dmi:bvnDellInc.:bvrA17:bd10/27/2009:svnDellInc.:pnInspiron1525:pvr:rvnDellInc.:rn0U990C:rvr:cvnDellInc.:ct8:cvr:
>   dmi.product.name: Inspiron 1525
>   dmi.sys.vendor: Dell Inc.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1324935/+subscriptions
>

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

Title:
  [Dell Inspiron 1525] WARNING: CPU: 1 PID: 1154 at
  /build/buildd/linux-3.13.0/drivers/gpu/drm/i915/intel_display.c:9226
  intel_modeset_check_state+0x62d/0x780 [i915]()

Status in linux package in Ubuntu:
  Triaged

Bug description:
  Dmesg is filled with this:
  [32582.450283] ------------[ cut here ]------------
  [32582.450302] WARNING: CPU: 1 PID: 1154 at /build/buildd/linux-3.13.0/drivers/gpu/drm/i915/intel_display.c:9226 intel_modeset_check_state+0x62d/0x780 [i915]()
  [32582.450304] encoder's hw state doesn't match sw tracking (expected 0, found 1)
  [32582.450306] Modules linked in: nfsv3 ctr ccm rfcomm bnep bluetooth rpcsec_gss_krb5 nfsv4 binfmt_misc nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache arc4 gpio_ich dell_wmi sparse_keymap uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev dell_laptop dcdbas snd_hda_codec_idt snd_hda_codec_hdmi b43 snd_hda_intel snd_hda_codec snd_hwdep snd_pcm bcma coretemp snd_page_alloc snd_seq_midi snd_seq_midi_event snd_rawmidi joydev snd_seq serio_raw mac80211 snd_seq_device snd_timer snd lpc_ich cfg80211 ssb_hcd soundcore mac_hid wmi parport_pc ppdev lp parport psmouse ahci libahci sky2 ssb i915 video i2c_algo_bit drm_kms_helper drm
  [32582.450357] CPU: 1 PID: 1154 Comm: Xorg Tainted: G        W    3.13.0-27-generic #50-Ubuntu
  [32582.450359] Hardware name: Dell Inc. Inspiron 1525                   /0U990C, BIOS A17 10/27/2009
  [32582.450361]  0000000000000009 ffff88000003bb68 ffffffff817199c4 ffff88000003bbb0
  [32582.450365]  ffff88000003bba0 ffffffff810676bd ffff88000003bc20 0000000000000001
  [32582.450369]  ffff88003684c800 ffff88003684caf8 ffff8800364a9800 ffff88000003bc00
  [32582.450373] Call Trace:
  [32582.450378]  [<ffffffff817199c4>] dump_stack+0x45/0x56
  [32582.450381]  [<ffffffff810676bd>] warn_slowpath_common+0x7d/0xa0
  [32582.450384]  [<ffffffff8106772c>] warn_slowpath_fmt+0x4c/0x50
  [32582.450405]  [<ffffffffa012fd25>] ? intel_sdvo_get_hw_state+0x55/0xc0 [i915]
  [32582.450423]  [<ffffffffa011a16d>] intel_modeset_check_state+0x62d/0x780 [i915]
  [32582.450441]  [<ffffffffa011a355>] intel_set_mode+0x25/0x30 [i915]
  [32582.450459]  [<ffffffffa011abfb>] intel_crtc_set_config+0x7ab/0x9a0 [i915]
  [32582.450463]  [<ffffffff810428ad>] ? lapic_next_event+0x1d/0x30
  [32582.450477]  [<ffffffffa000fe9d>] drm_mode_set_config_internal+0x5d/0xe0 [drm]
  [32582.450492]  [<ffffffffa0012d87>] drm_mode_setcrtc+0xf7/0x5e0 [drm]
  [32582.450503]  [<ffffffffa0003c22>] drm_ioctl+0x502/0x630 [drm]
  [32582.450508]  [<ffffffff81077dd2>] ? __set_task_blocked+0x32/0x70
  [32582.450513]  [<ffffffff811cf810>] do_vfs_ioctl+0x2e0/0x4c0
  [32582.450517]  [<ffffffff8109dd84>] ? vtime_account_user+0x54/0x60
  [32582.450520]  [<ffffffff811cfa71>] SyS_ioctl+0x81/0xa0
  [32582.450524]  [<ffffffff8172a5bf>] tracesys+0xe1/0xe6
  [32582.450526] ---[ end trace 8e8416ac0cd5b971 ]---

  Resume results in black screen. Graphics can appear completely messed
  up (i.e. torn last jpg viewed over top of latest jpg). This happens in
  Ubuntu 13.10 and 14.04. It happens with: no intel drivers installed,
  and with or without the i915 and intel_agp modules explicitly enabled
  in /etc/initramfs-tools/modules.

  WORKAROUND: Using the following kernel parameters I no longer get the message in the log, the video does not appear to be as crisp somehow, but I can suspend and wake from the command:
  linemodeset=0 video.allow_duplicates=1

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-27-generic 3.13.0-27.50
  ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11
  Uname: Linux 3.13.0-27-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  kgrider    2212 F.... pulseaudio
  Date: Fri May 30 08:03:14 2014
  HibernationDevice: RESUME=UUID=4957c02d-b4ca-4dce-8983-450640c97f46
  MachineType: Dell Inc. Inspiron 1525
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-27-generic root=UUID=7682c6bb-cf2f-413f-9243-eab8172b5bbc ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-27-generic N/A
   linux-backports-modules-3.13.0-27-generic  N/A
   linux-firmware                             1.127.2
  RfKill:
   0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
  SourcePackage: linux
  UpgradeStatus: Upgraded to trusty on 2014-05-30 (0 days ago)
  WifiSyslog:
   May 30 06:59:26 Inspiron-1525 NetworkManager[938]: <warn> nl_recvmsgs() error: (-33) Dump inconsistency detected, interrupted
   May 30 07:11:21 Inspiron-1525 wpa_supplicant[1092]: message repeated 29 times: [ wlan0: CTRL-EVENT-SCAN-STARTED ]
   May 30 07:13:02 Inspiron-1525 wpa_supplicant[1092]: wlan0: WPA: Group rekeying completed with 10:0d:7f:52:8a:71 [GTK=TKIP]
   May 30 07:13:21 Inspiron-1525 wpa_supplicant[1092]: wlan0: CTRL-EVENT-SCAN-STARTED
  dmi.bios.date: 10/27/2009
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A17
  dmi.board.name: 0U990C
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA17:bd10/27/2009:svnDellInc.:pnInspiron1525:pvr:rvnDellInc.:rn0U990C:rvr:cvnDellInc.:ct8:cvr:
  dmi.product.name: Inspiron 1525
  dmi.sys.vendor: Dell Inc.

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


References