WARNING: CPU: 1 PID: 865 at /home/kernel/COD/linux/drivers/gpu/drm/drm_irq.c:1326 drm_wait_one_vblank+0x1b0/0x1c0 [drm]

Bug #1583817 reported by Oliver Leitner
76
This bug affects 14 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
High
Unassigned

Bug Description

My HP Compaq 610 has an Intel card built in: 00:02.0 VGA compatible controller: Intel Corporation Mobile GME965/GLE960 Integrated Graphics Controller (rev 0c)
running ubuntu lts 16.04, i receive the following errors in the log file, which might correspondent to overheating problems with that laptop:
[ 8.176079] ------------[ cut here ]------------
[ 8.176121] WARNING: CPU: 1 PID: 865 at /home/kernel/COD/linux/drivers/gpu/drm/drm_irq.c:1326 drm_wait_one_vblank+0x1b0/0x1c0 [drm]
[ 8.176123] vblank wait timed out on crtc 0
[ 8.176125] Modules linked in: snd_usb_audio snd_usbmidi_lib hp_wmi sparse_keymap snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_codec_generic snd_hda_intel
 snd_hda_codec coretemp snd_hda_core snd_hwdep snd_pcm arc4 snd_seq_midi snd_seq_midi_event iwldvm mac80211 joydev snd_rawmidi input_leds snd_seq serio_raw s
nd_seq_device iwlwifi snd_timer cfg80211 snd lpc_ich shpchp soundcore 8250_fintek tpm_infineon hp_accel lis3lv02d input_polldev mac_hid squashfs parport_pc p
pdev lp parport sunrpc autofs4 hid_generic usbhid hid i915 i2c_algo_bit psmouse drm_kms_helper syscopyarea ahci sysfillrect sysimgblt libahci fb_sys_fops drm
 sky2 fjes video wmi
[ 8.176180] CPU: 1 PID: 865 Comm: Xorg Tainted: G U W 4.6.0-999-lowlatency #201605152200
[ 8.176182] Hardware name: Hewlett-Packard Compaq 610/308A, BIOS 68PVU Ver. F.20 12/01/2011
[ 8.176184] 0000000000000286 00000000fd341e93 ffff8800b948f880 ffffffff813fbcb1
[ 8.176189] ffff8800b948f8d0 0000000000000000 ffff8800b948f8c0 ffffffff810841fb
[ 8.176192] 0000052e00000200 ffff88003586e000 0000000000000000 0000000000000000
[ 8.176196] Call Trace:
[ 8.176203] [<ffffffff813fbcb1>] dump_stack+0x63/0x82
[ 8.176207] [<ffffffff810841fb>] __warn+0xcb/0xf0
[ 8.176210] [<ffffffff8108427a>] warn_slowpath_fmt+0x5a/0x80
[ 8.176231] [<ffffffffc0043940>] drm_wait_one_vblank+0x1b0/0x1c0 [drm]
[ 8.176235] [<ffffffff810c9430>] ? wake_atomic_t_function+0x60/0x60
[ 8.176280] [<ffffffffc01806ed>] i9xx_crtc_disable+0x3d/0x450 [i915]
[ 8.176307] [<ffffffffc01781dc>] ? intel_crtc_disable_planes+0xdc/0xf0 [i915]
[ 8.176335] [<ffffffffc0185672>] intel_atomic_commit+0x442/0xdb0 [i915]
[ 8.176362] [<ffffffffc0187600>] ? intel_atomic_check+0x230/0x830 [i915]
[ 8.176380] [<ffffffffc005cf27>] drm_atomic_commit+0x37/0x60 [drm]
[ 8.176408] [<ffffffffc018b803>] intel_release_load_detect_pipe+0x23/0x80 [i915]
[ 8.176436] [<ffffffffc01c5e05>] intel_tv_detect+0x355/0x640 [i915]
[ 8.176451] [<ffffffffc00e4feb>] drm_helper_probe_single_connector_modes+0x33b/0x510 [drm_kms_helper]
[ 8.176457] [<ffffffffc00e4feb>] ? drm_helper_probe_single_connector_modes+0x33b/0x510 [drm_kms_helper]
[ 8.176474] [<ffffffffc005012f>] drm_mode_getconnector+0x31f/0x370 [drm]
[ 8.176488] [<ffffffffc0041a83>] drm_ioctl+0x123/0x4b0 [drm]
[ 8.176504] [<ffffffffc004fe10>] ? drm_mode_getcrtc+0x140/0x140 [drm]
[ 8.176508] [<ffffffff8123d611>] do_vfs_ioctl+0xa1/0x5b0
[ 8.176511] [<ffffffff81247b77>] ? __fget+0x77/0xb0
[ 8.176514] [<ffffffff8123db99>] SyS_ioctl+0x79/0x90
[ 8.176517] [<ffffffff81850636>] entry_SYSCALL_64_fastpath+0x1e/0xa8
[ 8.176527] ---[ end trace 39c3d2edaf946884 ]---

installing the following sped things up a bit but didn't solve the kernel panic:
Intel's proprietary drivers
mainline
drm-next
intel-drm-next
daily

---
.tmp.unity_support_test.0:

ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
DistUpgraded: Fresh install
DistroCodename: xenial
DistroRelease: Ubuntu 16.04
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, including running git bisection searches
GraphicsCard:
 Intel Corporation Mobile GME965/GLE960 Integrated Graphics Controller [8086:2a12] (rev 0c) (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Mobile GME965/GLE960 Integrated Graphics Controller [103c:308a]
   Subsystem: Hewlett-Packard Company Mobile GME965/GLE960 Integrated Graphics Controller [103c:308a]
MachineType: Hewlett-Packard Compaq 610
Package: xorg 1:7.7+13ubuntu3
PackageArchitecture: amd64
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.6.0-999-lowlatency root=UUID=42086018-f6c6-44be-8d35-01b0bd8c2533 ro "acpi_os_name=Microsoft Windows NT" acpi_sci=low agp=off consoleblank=0 enable_mtrr_cleanup enable_timer_pin_1 iomem=relaxed intel_iommu=on kvm-intel.nested=1 memory_corruption_check=0 no_timer_check pci=routeirq,skip_isa_align,pcie_bus_peer2peer,realloc,pcie_scan_all reset_devices rootwait i915.enable_execlists=0 i915.enable_rc6=0 i915.enable_fbc=0 i915.modeset=1 i915.fastboot=0 i915.semaphores=1 i915.lvds_channel_mode=1 i915.preliminary_hw_support=1 i915.nuclear_pageflip=1 i915.enable_guc_submission=1 drm.vblankoffdelay=1 intel_idle.max_cstate=6 quiet splash vt.handoff=7
Tags: xenial ubuntu compiz-0.9
Uname: Linux 4.6.0-999-lowlatency x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 12/01/2011
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68PVU Ver. F.20
dmi.board.name: 308A
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 26.08
dmi.chassis.asset.tag: CNU9480YSY
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68PVUVer.F.20:bd12/01/2011:svnHewlett-Packard:pnCompaq610:pvrF.20:rvnHewlett-Packard:rn308A:rvrKBCVersion26.08:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: Compaq 610
dmi.product.version: F.20
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz 1:0.9.12.2+16.04.20160415-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.67-1
version.libgl1-mesa-dri: libgl1-mesa-dri 11.2.0-1ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 11.2.0-1ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.18.3-1ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.1-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12-1build2

Revision history for this message
alex (wowlinux) wrote :
Download full text (4.7 KiB)

Same problem as above. often happens when logging out, then get stuck.

os: Ubuntu gnome 16.04
kernel: 4.4.0-22-generic
integrated video card: Intel HD3000
driver in use: i915

kernel log:
May 22 01:03:05 kernel: [57143.645717] ------------[ cut here ]------------
May 22 01:03:05 kernel: [57143.645755] WARNING: CPU: 0 PID: 1142 at /build/linux-FvcHlK/linux-4.4.0/drivers/gpu/drm/drm_irq.c:1326 drm_wait_one_vblank+0x1b5/0x1c0 [drm]()
May 22 01:03:05 kernel: [57143.645756] vblank wait timed out on crtc 0
May 22 01:03:05 kernel: [57143.645811] Modules linked in: nls_iso8859_1 uas usb_storage snd_seq_dummy tp_smapi(OE) thinkpad_ec(OE) msr acpi_call(OE) drbg ansi_cprng ctr ccm bbswitch(OE) pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) arc4 iwldvm mac80211 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm iwlwifi snd_hda_codec_conexant snd_hda_codec_generic irqbypass snd_hda_intel crct10dif_pclmul crc32_pclmul snd_hda_codec cfg80211 snd_hda_core snd_hwdep snd_pcm thinkpad_acpi nvram snd_seq_midi snd_seq_midi_event aesni_intel snd_rawmidi snd_seq snd_seq_device snd_timer snd aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd joydev input_leds soundcore shpchp serio_raw mei_me mei lpc_ich wmi mac_hid parport_pc ppdev lp parport autofs4 hid_generic usbhid hid i915 i2c_algo_bit drm_kms_helper syscopyarea psmouse sysfillrect sysimgblt fb_sys_fops ahci e1000e drm libahci sdhci_pci ptp sdhci pps_core fjes video [last unloaded: nvidia]
May 22 01:03:05 kernel: [57143.645828] CPU: 0 PID: 1142 Comm: Xorg Tainted: P W OE 4.4.0-22-generic #40-Ubuntu
May 22 01:03:05 kernel: [57143.645829] Hardware name: LENOVO 4180AT8/4180AT8
May 22 01:03:05 kernel: [57143.645834] 0000000000000286 0000000012dfefe3 ffff8801b3dbb838 ffffffff813e9c53
May 22 01:03:05 kernel: [57143.645837] ffff8801b3dbb880 ffffffffc0092b10 ffff8801b3dbb870 ffffffff81080fb2
May 22 01:03:05 kernel: [57143.645839] ffff8801b2cca800 0000000000000000 0000000000000000 000000000028755b
May 22 01:03:05 kernel: [57143.645840] Call Trace:
May 22 01:03:05 kernel: [57143.645849] [<ffffffff813e9c53>] dump_stack+0x63/0x90
May 22 01:03:05 kernel: [57143.645855] [<ffffffff81080fb2>] warn_slowpath_common+0x82/0xc0
May 22 01:03:05 kernel: [57143.645859] [<ffffffff8108104c>] warn_slowpath_fmt+0x5c/0x80
May 22 01:03:05 kernel: [57143.645865] [<ffffffff810c35d5>] ? finish_wait+0x55/0x70
May 22 01:03:05 kernel: [57143.645885] [<ffffffffc00632a5>] drm_wait_one_vblank+0x1b5/0x1c0 [drm]
May 22 01:03:05 kernel: [57143.645890] [<ffffffff810c3a70>] ? wake_atomic_t_function+0x60/0x60
May 22 01:03:05 kernel: [57143.645951] [<ffffffffc0223b4a>] intel_atomic_commit+0x43a/0x6f0 [i915]
May 22 01:03:05 kernel: [57143.645980] [<ffffffffc007c5b7>] ? drm_atomic_add_affected_connectors+0x27/0xf0 [drm]
May 22 01:03:05 kernel: [57143.646004] [<ffffffffc007cc47>] drm_atomic_commit+0x37/0x60 [drm]
May 22 01:03:05 kernel: [57143.646018] [<ffffffffc017d5df>] restore_fbdev_mode+0x22f/0x260 [drm_kms_helper]
May 22 01:03:05 kernel: [57143.646044] [<ffffffffc007b46a>] ? drm_modeset_lock_all_ctx+0x9a/0xb0 [drm]
May 22 01:03:05 kernel: [57143.646057] [<ffffffffc017f7c3>] drm_fb_helper...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xorg-server (Ubuntu):
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Oliver Leitner, thank you for reporting this and helping make Ubuntu better.

Could you please run the following command once from a terminal by ensuring you have the package xdiagnose installed, and that you click the Yes button for attaching additional debugging information:
apport-collect -p xorg 1583817

When reporting xorg related bugs in the future, please do so via the above method. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

affects: xorg-server (Ubuntu) → xorg (Ubuntu)
Changed in xorg (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Oliver Leitner (shadow333) wrote : BootLog.txt

apport information

tags: added: apport-collected compiz-0.9 ubuntu xenial
description: updated
Revision history for this message
Oliver Leitner (shadow333) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Oliver Leitner (shadow333) wrote : Dependencies.txt

apport information

Revision history for this message
Oliver Leitner (shadow333) wrote : DpkgLog.txt

apport information

Revision history for this message
Oliver Leitner (shadow333) wrote : GconfCompiz.txt

apport information

Revision history for this message
Oliver Leitner (shadow333) wrote : JournalErrors.txt

apport information

Revision history for this message
Oliver Leitner (shadow333) wrote : Lspci.txt

apport information

Revision history for this message
Oliver Leitner (shadow333) wrote : Lsusb.txt

apport information

Revision history for this message
Oliver Leitner (shadow333) wrote : MonitorsUser.xml.txt

apport information

Revision history for this message
Oliver Leitner (shadow333) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Oliver Leitner (shadow333) wrote : ProcEnviron.txt

apport information

Revision history for this message
Oliver Leitner (shadow333) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Oliver Leitner (shadow333) wrote : ProcModules.txt

apport information

Revision history for this message
Oliver Leitner (shadow333) wrote : UdevDb.txt

apport information

Revision history for this message
Oliver Leitner (shadow333) wrote : UnitySupportTest.txt

apport information

Revision history for this message
Oliver Leitner (shadow333) wrote : XorgConf.txt

apport information

Revision history for this message
Oliver Leitner (shadow333) wrote : XorgLog.txt

apport information

Revision history for this message
Oliver Leitner (shadow333) wrote : XorgLogOld.txt

apport information

Revision history for this message
Oliver Leitner (shadow333) wrote : Xrandr.txt

apport information

Revision history for this message
Oliver Leitner (shadow333) wrote : xdpyinfo.txt

apport information

penalvch (penalvch)
tags: added: latest-bios-f.20
penalvch (penalvch)
affects: xorg (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Low → High
status: Incomplete → Triaged
description: updated
tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-4.6
Revision history for this message
penalvch (penalvch) wrote :

Oliver Leitner, couple of follow up questions:
1) Did this problem not occur in a release prior to Xenial?
2) Does this continue if you remove all of the non-default kernel parameters presently being used:
acpi_os_name=Microsoft Windows NT" acpi_sci=low agp=off consoleblank=0 enable_mtrr_cleanup enable_timer_pin_1 iomem=relaxed intel_iommu=on kvm-intel.nested=1 memory_corruption_check=0 no_timer_check pci=routeirq,skip_isa_align,pcie_bus_peer2peer,realloc,pcie_scan_all reset_devices rootwait i915.enable_execlists=0 i915.enable_rc6=0 i915.enable_fbc=0 i915.modeset=1 i915.fastboot=0 i915.semaphores=1 i915.lvds_channel_mode=1 i915.preliminary_hw_support=1 i915.nuclear_pageflip=1 i915.enable_guc_submission=1 drm.vblankoffdelay=1 intel_idle.max_cstate=6

summary: - i915 driver kernelpanic
+ WARNING: CPU: 1 PID: 865 at
+ /home/kernel/COD/linux/drivers/gpu/drm/drm_irq.c:1326
+ drm_wait_one_vblank+0x1b0/0x1c0 [drm]
Changed in linux (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Oliver Leitner (shadow333) wrote :

hi Chris.

Thank you for letting me know the upstream downstream streamwalz=)

about your follow up:

1. yes
2. yes

i can confirm this bug going back to 3.6.x kernels, ive had it since 15.04.

Revision history for this message
penalvch (penalvch) wrote :

Oliver Leitner, to clarify, did this problem not occur in a release prior to 15.04 or kernels prior to 3.6.x?

tags: added: vivid wily
Revision history for this message
Oliver Leitner (shadow333) wrote :

i dont know, i dont remember whats been going on in dmesg over 2 years ago;-)

Revision history for this message
Oliver Leitner (shadow333) wrote :

i got told to put the bug on freedesktop bugtracker... https://bugs.freedesktop.org/show_bug.cgi?id=95558

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
penalvch (penalvch)
Changed in linux (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Peter Barker (pegranka) wrote :

I get the same problem running kubuntu after upgrading from 14.04 to 16.04.1. I normally have 2 USB mice connected, but this version of Kubuntu locks up as soon as I try to use the second mouse, so there were problems with first boot after the upgrade. It has also locked once with only one mouse. Only X is locked, as I can press ctrl-alt-F1 to switch to console 1, which switches after a couple of minutes delay, where I can login and run normally. If I switch back to X it is still locked, and takes a couple of minutes to switch out again.

PC - HP Compaq 8200 Elite SFF PC/1495, BIOS J01 v02.15 11/10/2011, video Intel, using i915 driver.
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
The logged error is
WARNING: CPU: 3 PID: 3641 at /build/linux-dcxD3m/linux-4.4.0/drivers/gpu/drm/drm_irq.c:1326 drm_wait_one_vblank+0x1b5/0x1c0 [drm]()
Aug 4 12:39:11 Desktop-PC kernel: [12628.344505] vblank wait timed out on crtc 0

I have attached part of syslog showing this error, and several subsequent ones. This was the occasion with only a single mouse connected.

I can upload more log files, including Xorg.log and kern.log, if they would be useful. If there is any useful information I could get from the text console please let me know.

Revision history for this message
Lorenzo Capanna (capanna-n) wrote :

Same problem with a clean Ubuntu 16.04.1 install.
Hewlett-Packard HP Compaq 8200 Elite SFF PC/1495, BIOS J01 v02.06 06/09/2011
1 usb keyboard and 1 usb mouse

VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)

First login is successful.
During logout the first error appears in syslog ( attached ).
On second login other errors appear and Xorg is stuck.
Xorg responds to kill, but only after some second.

Same behavior on another identical pc.

Revision history for this message
Peter Barker (pegranka) wrote :

Problem may have been fixed in new upgrades.
Several packages have been upgraded by Ubuntu since reporting bug - a dpkg.log list is attached. Also removed xserver-xorg-video-intel as Ubuntu recommend not to use it for newer PCs. System has now been stable for a day, even with 2 USB mice. Re-installed xserver-xorg-video-intel and ran OK for a while, but then locked, so suspect this driver. Xorg.0.log now shows error loading driver (as cannot find it), but appears to run OK.

Revision history for this message
Ilya G. Ryabinkin (ileyka) wrote :

The problem is *not* fixed by other updates at the time of writing the post---the fully updated system (16.04.1@thinkpad x220) has the same issue.

It is invariably happening when the "Switch user" capability is employed, in other words when a second instance of Xord is in use. The laptop actually is not completely locked up, it is still possible to get to a console by pressing Ctrl-Alt-F1, but one should wait for 20-30 seconds before the switch actually happens.

Attempts to get back to X still result in an unresponsive computer, *BUT* if I put it into a sleep mode by issuing

 sudo pm-suspend

from the console, I am able to get an X session unfrozen and continue to work.

Seems like there is a bug in xorg-video-intel related to the second X without root privileges.

Revision history for this message
Ilya G. Ryabinkin (ileyka) wrote :
Download full text (19.5 KiB)

Bug is still there with the most recent update:

ilya@thinkpad:~$ uname -a
Linux thinkpad 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

It can be triggered by VT switching *after* some time the system is up. Below is the piece of dmesg log:

[175890.502451] ------------[ cut here ]------------
[175890.502491] WARNING: CPU: 2 PID: 3425 at /build/linux-a2WvEb/linux-4.4.0/drivers/gpu/drm/drm_irq.c:1326 drm_wait_one_vblank+0x1b5/0x1c0 [drm]()
[175890.502492] vblank wait timed out on crtc 0
[175890.502546] Modules linked in: msr ctr ccm bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common videodev media btusb btrtl btbcm btintel bluetooth intel_rapl x86_pkg_temp_thermal coretemp kvm_intel kvm irqbypass arc4 iwldvm input_leds joydev mac80211 serio_raw snd_hda_codec_hdmi iwlwifi snd_hda_codec_conexant snd_hda_codec_generic cfg80211 snd_hda_intel lpc_ich snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq thinkpad_acpi snd_seq_device nvram snd_timer snd mac_hid mei_me mei shpchp soundcore ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter
[175890.502586] ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter parport_pc ip_tables x_tables ppdev lp parport autofs4 btrfs xor raid6_pq drbg ansi_cprng algif_skcipher af_alg dm_crypt dm_mirror dm_region_hash dm_log hid_generic usbhid hid crct10dif_pclmul crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd psmouse i915 sdhci_pci sdhci i2c_algo_bit ahci drm_kms_helper libahci syscopyarea sysfillrect sysimgblt fb_sys_fops e1000e drm ptp pps_core fjes video wmi
[175890.502590] CPU: 2 PID: 3425 Comm: Xorg Not tainted 4.4.0-36-generic #55-Ubuntu
[175890.502592] Hardware name: LENOVO 4286CTO/4286CTO, BIOS 8DET50WW (1.20 ) 07/07/2011
[175890.502597] 0000000000000286 00000000319e2a0a ffff88040611f838 ffffffff813f13b3
[175890.502599] ffff88040611f880 ffffffffc0071b38 ffff88040611f870 ffffffff810810f2
[175890.502602] ffff8800d49be000 0000000000000000 0000000000000000 00000000001a6bf2
[175890.502603] Call Trace:
[175890.502615] [<ffffffff813f13b3>] dump_stack+0x63/0x90
[175890.502622] [<ffffffff810810f2>] warn_slowpath_common+0x82/0xc0
[175890.502625] [<ffffffff8108118c>] warn_slowpath_fmt+0x5c/0x80
[175890.502632] [<ffffffff810c3815>] ? finish_wait+0x55/0x70
[175890.502655] [<ffffffffc00412d5>] drm_wait_one_vblank+0x1b5/0x1c0 [drm]
[175890.502660] [<ffffffff810c3cb0>] ? wake_atomic_t_function+0x60/0x60
[175890.502716] [<ffffffffc01fed5a>] intel_atomic_commit+0x43a/0x6f0 [i915]
[175890.502749] [<ffffffffc005a937>] ? drm_atomic_add_affected_connectors+0x27/0xf0 [drm]
[175890.502778] [<ffffffffc005afc7>] drm_atomic_commit+0x37/0x60 [drm]
[175890.502795] [<ffffffffc012ee1f>] restore_fbdev_mode+0x22f/0x260 [drm_kms_helper]
[175890.502825] [<ffffffffc005974a>] ? drm_modeset_lock_all_ctx+0x9a/0xb0 [drm]
[17...

Revision history for this message
penalvch (penalvch) wrote :

Ilya G. Ryabinkin, it is most helpful to keep this relevant to upstream by testing the latest mainline kernel (now 4.8-rc4) as it is released.

Could you please advise?

Revision history for this message
Ilya G. Ryabinkin (ileyka) wrote :

Remind me, how to do that?

Revision history for this message
penalvch (penalvch) wrote :

Ilya G. Ryabinkin, please see https://wiki.ubuntu.com/Kernel/MainlineBuilds .

Revision history for this message
Ilya G. Ryabinkin (ileyka) wrote :
Download full text (6.3 KiB)

Well, I have tested:

ilya@thinkpad:~$ uname -a
Linux thinkpad 4.8.0-040800rc4-generic #201608312129 SMP Thu Sep 1 01:31:59 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Installation was smooth except the complaints about missing firmware---I dismissed these warnings. A new kernel hang after the very first reboot, but later worked flawlessly.

Seems like the topic issue is *FIXED*. No traps after VT switching back and forth, multiple times. Uptime is now

ilya@thinkpad:~$ uptime
 07:06:02 up 1 day, 21 min, 1 user, load average: 0.43, 0.28, 0.17
ilya@thinkpad:~$

HOWEVER: A new issue appear:

[ 3.843410] ------------[ cut here ]------------
[ 3.843444] WARNING: CPU: 0 PID: 274 at /home/kernel/COD/linux/drivers/gpu/drm/i915/intel_pm.c:7866 sandybridge_pcode_write+0x109/0x1f0 [i915]
[ 3.843444] Missing switch case (16) in gen6_check_mailbox_status
[ 3.843456] Modules linked in: sd_mod hid_generic usbhid hid crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd ahci i915 e1000e libahci ptp libata pps_core sdhci_pci sdhci psmouse mmc_core scsi_mod ehci_pci ehci_hcd i2c_algo_bit drm_kms_helper usbcore drm thermal usb_common wmi fjes video button
[ 3.843458] CPU: 0 PID: 274 Comm: kworker/0:2 Not tainted 4.8.0-040800rc4-generic #201608312129
[ 3.843458] Hardware name: LENOVO 4286CTO/4286CTO, BIOS 8DET50WW (1.20 ) 07/07/2011
[ 3.843477] Workqueue: events intel_gen6_powersave_work [i915]
[ 3.843478] 0000000000000286 00000000c8d9b468 ffffffffb2b40904 ffff98ad436efd58
[ 3.843479] 0000000000000000 ffffffffb287f5ce ffff98ad43510000 ffff98ad436efdb0
[ 3.843480] 0000000000000000 ffff98ad4351a438 ffff98ad43518830 ffff98ad4351a378
[ 3.843480] Call Trace:
[ 3.843484] [<ffffffffb2b40904>] ? dump_stack+0x5c/0x78
[ 3.843486] [<ffffffffb287f5ce>] ? __warn+0xbe/0xe0
[ 3.843487] [<ffffffffb287f64f>] ? warn_slowpath_fmt+0x5f/0x80
[ 3.843516] [<ffffffffc0649179>] ? sandybridge_pcode_write+0x109/0x1f0 [i915]
[ 3.843532] [<ffffffffc064ab48>] ? intel_gen6_powersave_work+0x2b8/0x1430 [i915]
[ 3.843534] [<ffffffffb2898c44>] ? process_one_work+0x184/0x4b0
[ 3.843535] [<ffffffffb2898fbd>] ? worker_thread+0x4d/0x480
[ 3.843536] [<ffffffffb2e1d4e1>] ? __schedule+0x261/0x720
[ 3.843537] [<ffffffffb2898f70>] ? process_one_work+0x4b0/0x4b0
[ 3.843538] [<ffffffffb289f11d>] ? kthread+0xcd/0xf0
[ 3.843540] [<ffffffffb282c751>] ? __switch_to+0x2c1/0x7a0
[ 3.843541] [<ffffffffb2e2205f>] ? ret_from_fork+0x1f/0x40
[ 3.843542] [<ffffffffb289f050>] ? kthread_create_on_node+0x1a0/0x1a0
[ 3.843543] ---[ end trace 2890e7c79ed0a408 ]---

As can be seen from the timestamp, it occurs directly on boot, but also right after coming out of suspend:
[16814.964045] PM: Finishing wakeup.
[16814.964047] Restarting tasks ...
[16814.964068] ACPI: \_SB_.PCI0.LPC_.EC__.BAT1: docking
[16814.964439] ACPI: \_SB_.PCI0.LPC_.EC__.BAT1: Unable to dock!
[16814.988599] done.
[16814.989172] video LNXVIDEO:00: Restoring backlight state
[16815.009679] ------------[ cut here ]------------
[16815.009732] WARNING: CPU: 0 PID: 12510 at /home/kernel/COD/linux...

Read more...

Revision history for this message
Ilya G. Ryabinkin (ileyka) wrote :
Revision history for this message
penalvch (penalvch) wrote :

Ilya G. Ryabinkin / Oliver Leitner, the next step is to fully reverse commit bisect from kernel 4.6 to 4.8-rc4 in order to identify the last bad commit, followed immediately by the first good one. Once this good commit has been identified, it may be reviewed for backporting. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection#How_do_I_reverse_bisect_the_upstream_kernel.3F ?

Please note, finding adjacent kernel versions is not fully commit bisecting.

Also, the kernel release names are irrelevant for the purposes of bisecting.

It is most helpful that after the fix commit (not kernel version) has been identified, you then mark this report Status Confirmed.

Thank you for your help.

tags: added: kernel-fixed-upstream kernel-fixed-upstream-4.8-rc4 needs-reverse-bisect
removed: kernel-bug-exists-upstream kernel-bug-exists-upstream-4.6
Changed in linux (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Giorgio Vazzana (mywing) wrote :
Download full text (5.4 KiB)

Hello, I am also affected by this bug (Ubuntu 16.04 x86_64, Thinkpad T420). Is anybody working at bisecting the kernel as Christopher asked in the previous comment? Thanks.

holden@lynx:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial

holden@lynx:~$ uname -a
Linux lynx 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Sep 23 00:33:20 lynx kernel: [ 965.988645] ------------[ cut here ]------------
Sep 23 00:33:20 lynx kernel: [ 965.988696] WARNING: CPU: 2 PID: 1328 at /build/linux-R0TiM8/linux-4.4.0/drivers/gpu/drm/drm_irq.c:1326 drm_wait_one_vblank+0x1b5/0x1c0 [drm]()
Sep 23 00:33:20 lynx kernel: [ 965.988698] vblank wait timed out on crtc 0
Sep 23 00:33:20 lynx kernel: [ 965.988771] Modules linked in: nls_iso8859_1 drbg ansi_cprng ctr ccm bnep intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel arc4 snd_hda_codec_hdmi kvm snd_hda_codec_conexant irqbypass iwldvm crct10dif_pclmul crc32_pclmul snd_hda_codec_generic mac80211 snd_hda_intel snd_hda_codec uvcvideo aesni_intel videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core aes_x86_64 v4l2_common snd_hda_core lrw snd_hwdep gf128mul videodev glue_helper media ablk_helper thinkpad_acpi cryptd nvram snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi iwlwifi snd_seq btusb input_leds joydev btrtl btbcm btintel snd_seq_device cfg80211 bluetooth snd_timer snd soundcore mei_me mei lpc_ich serio_raw shpchp mac_hid parport_pc ppdev lp parport autofs4 mmc_block i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops e1000e drm firewire_ohci ahci psmouse sdhci_pci ptp sdhci pps_core libahci firewire_core crc_itu_t wmi fjes video
Sep 23 00:33:20 lynx kernel: [ 965.988793] CPU: 2 PID: 1328 Comm: Xorg Not tainted 4.4.0-38-generic #57-Ubuntu
Sep 23 00:33:20 lynx kernel: [ 965.988795] Hardware name: LENOVO 4236BE3/4236BE3, BIOS 83ET78WW (1.48 ) 01/21/2016
Sep 23 00:33:20 lynx kernel: [ 965.988802] 0000000000000286 00000000b106ac7e ffff8802137af860 ffffffff813f1b73
Sep 23 00:33:20 lynx kernel: [ 965.988805] ffff8802137af8a8 ffffffffc010ab38 ffff8802137af898 ffffffff810811c2
Sep 23 00:33:20 lynx kernel: [ 965.988809] ffff880035847000 0000000000000000 0000000000000000 000000000000e240
Sep 23 00:33:20 lynx kernel: [ 965.988810] Call Trace:
Sep 23 00:33:20 lynx kernel: [ 965.988824] [<ffffffff813f1b73>] dump_stack+0x63/0x90
Sep 23 00:33:20 lynx kernel: [ 965.988833] [<ffffffff810811c2>] warn_slowpath_common+0x82/0xc0
Sep 23 00:33:20 lynx kernel: [ 965.988837] [<ffffffff8108125c>] warn_slowpath_fmt+0x5c/0x80
Sep 23 00:33:20 lynx kernel: [ 965.988846] [<ffffffff810c38e5>] ? finish_wait+0x55/0x70
Sep 23 00:33:20 lynx kernel: [ 965.988877] [<ffffffffc00da2e5>] drm_wait_one_vblank+0x1b5/0x1c0 [drm]
Sep 23 00:33:20 lynx kernel: [ 965.988882] [<ffffffff810c3d80>] ? wake_atomic_t_function+0x60/0x60
Sep 23 00:33:20 lynx kernel: [ 965.988959] [<ffffffffc0262dca>] intel_atomic_commit+0x43a/0x6f0 [i915]
Sep 23 00:33:20 lynx kernel: [ 965.989001] [<ffffffffc00f3977>] ? drm_atomic_add_affected_connectors+0x27/0xf0 [drm]
Sep 23 00:33:20 lynx kernel: [ 9...

Read more...

Revision history for this message
Ilya G. Ryabinkin (ileyka) wrote :

I would have been working on that but for now have no time at all and, honestly, too little motivation. 4.8 kernel works like a charm.

Revision history for this message
Ilya G. Ryabinkin (ileyka) wrote :
Download full text (18.6 KiB)

This is quite late, but to let everyone know: later releases of 4.8 screwed up everything again. Lockups after user switching. Falled back to the 4.4 branch, where

[87274.633194] ------------[ cut here ]------------
[87274.633227] WARNING: CPU: 3 PID: 22315 at /build/linux-dKXp7o/linux-4.4.0/drivers/gpu/drm/drm_irq.c:1326 drm_wait_one_vblank+0x1b5/0x1c0 [drm]()
[87274.633228] vblank wait timed out on crtc 0
[87274.633263] Modules linked in: hid_a4tech nls_iso8859_1 uas usb_storage hid_generic usbhid hid ctr ccm uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common videodev media msr intel_rapl x86_pkg_temp_thermal coretemp kvm_intel kvm arc4 iwldvm irqbypass mac80211 input_leds joydev serio_raw snd_hda_codec_hdmi iwlwifi snd_hda_codec_conexant snd_hda_codec_generic snd_seq_midi snd_seq_midi_event cfg80211 thinkpad_acpi snd_hda_intel snd_rawmidi nvram snd_hda_codec snd_hda_core snd_hwdep snd_seq mei_me snd_pcm mei snd_seq_device snd_timer lpc_ich shpchp snd soundcore mac_hid ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4
[87274.633290] xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter parport_pc ip_tables ppdev x_tables lp parport autofs4 btrfs xor raid6_pq drbg ansi_cprng algif_skcipher af_alg dm_crypt dm_mirror dm_region_hash dm_log crct10dif_pclmul i915 crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd i2c_algo_bit drm_kms_helper psmouse syscopyarea sysfillrect sysimgblt ahci fb_sys_fops e1000e libahci sdhci_pci drm sdhci ptp pps_core wmi fjes video
[87274.633292] CPU: 3 PID: 22315 Comm: Xorg Not tainted 4.4.0-67-generic #88-Ubuntu
[87274.633293] Hardware name: LENOVO 4286CTO/4286CTO, BIOS 8DET50WW (1.20 ) 07/07/2011
[87274.633296] 0000000000000286 00000000596aa371 ffff8803d39cf838 ffffffff813f86d3
[87274.633298] ffff8803d39cf880 ffffffffc0082b38 ffff8803d39cf870 ffffffff81081302
[87274.633300] ffff880404fab000 0000000000000000 0000000000000000 00000000001cac58
[87274.633300] Call Trace:
[87274.633305] [<ffffffff813f86d3>] dump_stack+0x63/0x90
[87274.633309] [<ffffffff81081302>] warn_slowpath_common+0x82/0xc0
[87274.633311] [<ffffffff8108139c>] warn_slowpath_fmt+0x5c/0x80
[87274.633315] [<ffffffff810c3d75>] ? finish_wait+0x55/0x70
[87274.633329] [<ffffffffc00522e5>] drm_wait_one_vblank+0x1b5/0x1c0 [drm]
[87274.633332] [<ffffffff810c4210>] ? wake_atomic_t_function+0x60/0x60
[87274.633365] [<ffffffffc02cfe1a>] intel_atomic_commit+0x43a/0x6f0 [i915]
[87274.633384] [<ffffffffc006b9d7>] ? drm_atomic_add_affected_connectors+0x27/0xf0 [drm]
[87274.633401] [<ffffffffc006c067>] drm_atomic_commit+0x37/0x60 [drm]
[87274.633412] [<ffffffffc018ae5f>] restore_fbdev_mode+0x22f/0x260 [drm_kms_helper]
[87274.633428] [<ffffffffc006a7ea>] ? drm_modeset_lock_all_ctx+0x9a/0xb0 [drm]
[87274.633437] [<ffffffffc018d033>] drm_fb_helper_restore_fbdev_mode_unlocked+0x33/0x80 [drm_kms_helper]
[87274.633444] [<fff...

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

4.6 / 4.8 EOL, please feel free to open a new bug is you're still seeing this issue.

Changed in linux (Ubuntu):
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.