[Problem]
Reporter gets occasional X freezes with no obvious trigger. The system remains responsive to SSH. Attempting to restart X fails.
There are no errors recorded in Xorg.0.log when these freezes occur, but dmesg contains hung task backtraces ending in __mutex_lock_slowpath.
Reporter is using libdrm 2.4.18, drm 2.6.33 and xf86-video-intel 2.9.1.
I have also experienced freezes with the same dmesg backtrace using libdrm 2.4.20, drm 2.6.35-rc3 and xf86-video-intel 2.11.0 on a GM45 card.
[Original report]
Occasionally X hangs completely, not even SAK will kill it, however SAK followed by ctrl-alt-del successfully switches to the shutdown splash.
When this happens, the following shows up in dmesg:
I'm forwarding this bug from an Ubuntu reporter: /bugs.edge. launchpad. net/bugs/ 568138
https:/
[Problem]
Reporter gets occasional X freezes with no obvious trigger. The system remains responsive to SSH. Attempting to restart X fails.
There are no errors recorded in Xorg.0.log when these freezes occur, but dmesg contains hung task backtraces ending in __mutex_ lock_slowpath.
Reporter is using libdrm 2.4.18, drm 2.6.33 and xf86-video-intel 2.9.1.
I have also experienced freezes with the same dmesg backtrace using libdrm 2.4.20, drm 2.6.35-rc3 and xf86-video-intel 2.11.0 on a GM45 card.
[lspci]
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
Xorg.0.log: http:// launchpadlibrar ian.net/ 44988804/ Xorg.0. log launchpadlibrar ian.net/ 45481306/ dmesg launchpadlibrar ian.net/ 44988795/ dmesg launchpadlibrar ian.net/ 47665797/ locks.txt launchpadlibrar ian.net/ 44988870/ gpudump
Example dmesg outputs containing blocked task backtrace:
http://
http://
Blocked task & held locks output from lock-debugging kernel: http://
intel_gpu_dump output: http://
[Original report]
Occasionally X hangs completely, not even SAK will kill it, however SAK followed by ctrl-alt-del successfully switches to the shutdown splash.
When this happens, the following shows up in dmesg:
[ 5169.457964] INFO: task i915:302 blocked for more than 120 seconds. kernel/ hung_task_ timeout_ secs" disables this message. 867>] __mutex_ lock_slowpath+ 0xe7/0x170 75b>] mutex_lock+ 0x2b/0x50 550>] intel_idle_ update+ 0x60/0x1d0 [i915] 4f0>] ? intel_idle_ update+ 0x0/0x1d0 [i915] 777>] run_workqueue+ 0xc7/0x1a0 8f3>] worker_ thread+ 0xa3/0x110 320>] ? autoremove_ wake_function+ 0x0/0x40 850>] ? worker_ thread+ 0x0/0x110 fa6>] kthread+0x96/0xa0 1ea>] child_rip+0xa/0x20 f10>] ? kthread+0x0/0xa0 1e0>] ? child_rip+0x0/0x20 kernel/ hung_task_ timeout_ secs" disables this message. 867>] __mutex_ lock_slowpath+ 0xe7/0x170 75b>] mutex_lock+ 0x2b/0x50 435>] i915_gem_ madvise_ ioctl+0x55/ 0x160 [i915] e2a>] drm_ioctl+ 0x27a/0x480 [drm] 3e0>] ? i915_gem_ madvise_ ioctl+0x0/ 0x160 [i915] 320>] ? autoremove_ wake_function+ 0x0/0x40 a92>] vfs_ioctl+0x22/0xa0 d41>] do_vfs_ ioctl+0x81/ 0x380 1df>] ? vfs_read+ 0x12f/0x1a0 0c1>] sys_ioctl+0x81/0xa0 1b2>] system_ call_fastpath+ 0x16/0x1b
[ 5169.457970] "echo 0 > /proc/sys/
[ 5169.457974] i915 D 00000000ffffffff 0 302 2 0x00000000
[ 5169.457981] ffff88022e0d9d20 0000000000000046 0000000000015bc0 0000000000015bc0
[ 5169.457988] ffff88022f791ab0 ffff88022e0d9fd8 0000000000015bc0 ffff88022f7916f0
[ 5169.457994] 0000000000015bc0 ffff88022e0d9fd8 0000000000015bc0 ffff88022f791ab0
[ 5169.458000] Call Trace:
[ 5169.458015] [<ffffffff8153f
[ 5169.458021] [<ffffffff8153f
[ 5169.458063] [<ffffffffa00d5
[ 5169.458085] [<ffffffffa00d5
[ 5169.458095] [<ffffffff81080
[ 5169.458101] [<ffffffff81080
[ 5169.458107] [<ffffffff81085
[ 5169.458113] [<ffffffff81080
[ 5169.458117] [<ffffffff81084
[ 5169.458124] [<ffffffff81014
[ 5169.458129] [<ffffffff81084
[ 5169.458133] [<ffffffff81014
[ 5169.458154] INFO: task Xorg:1364 blocked for more than 120 seconds.
[ 5169.458157] "echo 0 > /proc/sys/
[ 5169.458160] Xorg D 0000000000000000 0 1364 1263 0x00400004
[ 5169.458166] ffff88020bd13ca8 0000000000000082 0000000000015bc0 0000000000015bc0
[ 5169.458172] ffff880208c74890 ffff88020bd13fd8 0000000000015bc0 ffff880208c744d0
[ 5169.458177] 0000000000015bc0 ffff88020bd13fd8 0000000000015bc0 ffff880208c74890
[ 5169.458183] Call Trace:
[ 5169.458189] [<ffffffff8153f
[ 5169.458195] [<ffffffff8153f
[ 5169.458214] [<ffffffffa00c3
[ 5169.458231] [<ffffffffa006d
[ 5169.458250] [<ffffffffa00c3
[ 5169.458256] [<ffffffff81085
[ 5169.458264] [<ffffffff81152
[ 5169.458269] [<ffffffff81152
[ 5169.458274] [<ffffffff81143
[ 5169.458279] [<ffffffff81153
[ 5169.458286] [<ffffffff81013