Kernel BUG at i915_gem.c:1952 causing lock up
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | linux (Ubuntu) |
Medium
|
Unassigned | ||
Bug Description
I'm not sure exactly what causes this, but it seems to be when I open a new tab in Chromium. It completely locks up my laptop, I have to power it off to regain control.
Here's an interesting excerpt from my kern.log
Dec 11 18:35:21 europa kernel: [ 3899.608620] ------------[ cut here ]------------
Dec 11 18:35:21 europa kernel: [ 3899.608651] kernel BUG at /build/
Dec 11 18:35:21 europa kernel: [ 3899.608681] invalid opcode: 0000 [#1] SMP
Dec 11 18:35:21 europa kernel: [ 3899.608701] CPU 2
Dec 11 18:35:21 europa kernel: [ 3899.608709] Modules linked in: rfcomm bnep parport_pc dm_crypt ppdev binfmt_misc snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_pcm wl(P) snd_seq_midi snd_rawmidi snd_seq_midi_event lib80211 bcma snd_seq arc4 brcmsmac mac80211 snd_timer snd_seq_device brcmutil cfg80211 snd uvcvideo soundcore snd_page_alloc videodev joydev crc8 psmouse mei(C) cordic intel_ips serio_raw btusb bluetooth v4l2_compat_ioctl32 lp hp_accel lis3lv02d hp_wmi input_polldev sparse_keymap parport usbhid hid r8169 i915 wmi drm_kms_helper drm i2c_algo_bit video
Dec 11 18:35:21 europa kernel: [ 3899.608971]
Dec 11 18:35:21 europa kernel: [ 3899.608979] Pid: 1194, comm: Xorg Tainted: P C O 3.2.0-4-generic #10-Ubuntu Hewlett-Packard HP ProBook 4520s/1413
Dec 11 18:35:21 europa kernel: [ 3899.609021] RIP: 0010:[<
Dec 11 18:35:21 europa kernel: [ 3899.609072] RSP: 0000:ffff880219
Dec 11 18:35:21 europa kernel: [ 3899.609091] RAX: ffff8802295c7000 RBX: ffff880228d08038 RCX: ffff880217282928
Dec 11 18:35:21 europa kernel: [ 3899.609116] RDX: ffff8802192c5b00 RSI: 0000000000000000 RDI: ffff880228d08038
Dec 11 18:35:21 europa kernel: [ 3899.609141] RBP: ffff8802192c5ae8 R08: 000000000d175000 R09: 000000000d175000
Dec 11 18:35:21 europa kernel: [ 3899.609165] R10: 0000000000800000 R11: 0000000000001000 R12: ffff880228d08000
Dec 11 18:35:21 europa kernel: [ 3899.609190] R13: ffff8802192c5ba8 R14: 0000000000000000 R15: 0000000000000000
Dec 11 18:35:21 europa kernel: [ 3899.609216] FS: 00007fdb9c8ee8a
Dec 11 18:35:21 europa kernel: [ 3899.609244] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Dec 11 18:35:21 europa kernel: [ 3899.609265] CR2: 00007fdb91788024 CR3: 0000000228efc000 CR4: 00000000000006e0
Dec 11 18:35:21 europa kernel: [ 3899.609289] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Dec 11 18:35:21 europa kernel: [ 3899.609314] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Dec 11 18:35:21 europa kernel: [ 3899.609339] Process Xorg (pid: 1194, threadinfo ffff8802192c4000, task ffff880219985c40)
Dec 11 18:35:21 europa kernel: [ 3899.609366] Stack:
Dec 11 18:35:21 europa kernel: [ 3899.609374] 0000000000000000 0000000000000000 0000000000000000 ffffea000731a940
Dec 11 18:35:21 europa kernel: [ 3899.609403] 0000000000000080 0200000000000000 0000000000000000 ffff88023bffb000
Dec 11 18:35:21 europa kernel: [ 3899.609433] ffff8802192c5b08 0000000000003297 0000000000000000 ffff880217282800
Dec 11 18:35:21 europa kernel: [ 3899.609461] Call Trace:
Dec 11 18:35:21 europa kernel: [ 3899.609480] [<ffffffffa0088
Dec 11 18:35:21 europa kernel: [ 3899.609513] [<ffffffffa0089
Dec 11 18:35:21 europa kernel: [ 3899.609547] [<ffffffffa008a
Dec 11 18:35:21 europa kernel: [ 3899.609579] [<ffffffffa008c
Dec 11 18:35:21 europa kernel: [ 3899.609610] [<ffffffffa0087
Dec 11 18:35:21 europa kernel: [ 3899.609643] [<ffffffffa008a
Dec 11 18:35:21 europa kernel: [ 3899.609668] [<ffffffff81139
Dec 11 18:35:21 europa kernel: [ 3899.609688] [<ffffffff8113c
Dec 11 18:35:21 europa kernel: [ 3899.609711] [<ffffffff81653
Dec 11 18:35:21 europa kernel: [ 3899.609731] [<ffffffff8113a
Dec 11 18:35:21 europa kernel: [ 3899.609751] [<ffffffff8113c
Dec 11 18:35:21 europa kernel: [ 3899.609778] [<ffffffffa0089
Dec 11 18:35:21 europa kernel: [ 3899.609808] [<ffffffff81656
Dec 11 18:35:21 europa kernel: [ 3899.609829] [<ffffffff81142
Dec 11 18:35:21 europa kernel: [ 3899.611198] [<ffffffff81188
Dec 11 18:35:21 europa kernel: [ 3899.612550] [<ffffffff81142
Dec 11 18:35:21 europa kernel: [ 3899.613888] [<ffffffff81653
Dec 11 18:35:21 europa kernel: [ 3899.615254] Code: e8 e3 dd fe ff e9 42 fc ff ff 66 0f 1f 44 00 00 4c 89 f7 e8 c0 83 0d e1 e9 4b fb ff ff 0f 1f 00 41 bd f0 ff ff ff e9 6d fc ff ff <0f> 0b c7 45 98 00 fe ff ff eb a8 45 85 ed 0f 84 0d fb ff ff e9
Dec 11 18:35:21 europa kernel: [ 3899.618368] RIP [<ffffffffa0088
Dec 11 18:35:21 europa kernel: [ 3899.619947] RSP <ffff8802192c5a68>
Dec 11 18:35:21 europa kernel: [ 3959.597518] INFO: rcu_sched detected stalls on CPUs/tasks: { 2} (detected by 0, t=15002 jiffies)
Dec 11 18:35:21 europa kernel: [ 3959.599148] Pid: 0, comm: swapper/0 Tainted: P C O 3.2.0-4-generic #10-Ubuntu
Dec 11 18:35:21 europa kernel: [ 3959.600760] Call Trace:
Dec 11 18:35:21 europa kernel: [ 3959.602334] <IRQ> [<ffffffff810df
Dec 11 18:35:21 europa kernel: [ 3959.603897] [<ffffffff810df
Dec 11 18:35:21 europa kernel: [ 3959.605425] [<ffffffff810df
Dec 11 18:35:21 europa kernel: [ 3959.606917] [<ffffffff810e0
Dec 11 18:35:21 europa kernel: [ 3959.608398] [<ffffffff81077
Dec 11 18:35:21 europa kernel: [ 3959.609847] [<ffffffff8109b
Dec 11 18:35:21 europa kernel: [ 3959.611275] [<ffffffff8108d
Dec 11 18:35:21 europa kernel: [ 3959.612678] [<ffffffff8109b
Dec 11 18:35:21 europa kernel: [ 3959.614080] [<ffffffff8101a
Dec 11 18:35:21 europa kernel: [ 3959.615472] [<ffffffff8108e
Dec 11 18:35:21 europa kernel: [ 3959.616864] [<ffffffff8165e
Dec 11 18:35:21 europa kernel: [ 3959.618261] [<ffffffff8165c
Dec 11 18:35:21 europa kernel: [ 3959.619638] <EOI> [<ffffffff81368
Dec 11 18:35:21 europa kernel: [ 3959.621015] [<ffffffff81368
Dec 11 18:35:21 europa kernel: [ 3959.622365] [<ffffffff814fe
Dec 11 18:35:21 europa kernel: [ 3959.623710] [<ffffffff81012
Dec 11 18:35:21 europa kernel: [ 3959.625030] [<ffffffff8161a
Dec 11 18:35:21 europa kernel: [ 3959.626351] [<ffffffff81cf7
Dec 11 18:35:21 europa kernel: [ 3959.627649] [<ffffffff81cf7
Dec 11 18:35:21 europa kernel: [ 3959.628931] [<ffffffff81cf7
Dec 11 18:35:21 europa kernel: [ 3959.630203] [<ffffffff81cf7
Dec 11 18:37:20 europa kernel: [ 4078.966819] INFO: task kworker/0:2:2981 blocked for more than 120 seconds.
Dec 11 18:37:20 europa kernel: [ 4078.968128] "echo 0 > /proc/sys/
Dec 11 18:37:20 europa kernel: [ 4078.969423] kworker/0:2 D ffffffff81806240 0 2981 2 0x00000000
Dec 11 18:37:20 europa kernel: [ 4078.970739] ffff8801c8ccbb90 0000000000000046 ffff8801c8ccbb40 ffffffff812eddba
Dec 11 18:37:20 europa kernel: [ 4078.972506] ffff8801c8ccbfd8 ffff8801c8ccbfd8 ffff8801c8ccbfd8 00000000000136c0
Dec 11 18:37:20 europa kernel: [ 4078.974107] ffffffff81c0d020 ffff8801d8d74530 ffff8801c8ccbd00 7fffffffffffffff
Dec 11 18:37:20 europa kernel: [ 4078.975443] Call Trace:
Dec 11 18:37:20 europa kernel: [ 4078.976793] [<ffffffff812ed
Dec 11 18:37:20 europa kernel: [ 4078.978117] [<ffffffff81651
Dec 11 18:37:20 europa kernel: [ 4078.979434] [<ffffffff81651
Dec 11 18:37:20 europa kernel: [ 4078.980792] [<ffffffff81052
Dec 11 18:37:20 europa kernel: [ 4078.982126] [<ffffffff81650
Dec 11 18:37:20 europa kernel: [ 4078.983479] [<ffffffff8105e
Dec 11 18:37:20 europa kernel: [ 4078.984867] [<ffffffff81651
Dec 11 18:37:20 europa kernel: [ 4078.986214] [<ffffffff81089
Dec 11 18:37:20 europa kernel: [ 4078.987563] [<ffffffff81084
Dec 11 18:37:20 europa kernel: [ 4078.988949] [<ffffffff81082
Dec 11 18:37:20 europa kernel: [ 4078.990305] [<ffffffff81084
Dec 11 18:37:20 europa kernel: [ 4078.991660] [<ffffffff81084
Dec 11 18:37:20 europa kernel: [ 4078.993037] [<ffffffff81084
Dec 11 18:37:20 europa kernel: [ 4078.994300] [<ffffffff81084
Dec 11 18:37:20 europa kernel: [ 4078.995463] [<ffffffff81084
Dec 11 18:37:20 europa kernel: [ 4078.996649] [<ffffffff81089
Dec 11 18:37:20 europa kernel: [ 4078.997786] [<ffffffff8165d
Dec 11 18:37:20 europa kernel: [ 4078.998901] [<ffffffff81089
Dec 11 18:37:20 europa kernel: [ 4079.000017] [<ffffffff8165d
Dec 11 18:38:21 europa kernel: [ 4139.624836] INFO: rcu_sched detected stalls on CPUs/tasks: { 2} (detected by 0, t=60034 jiffies)
Dec 11 18:38:21 europa kernel: [ 4139.625977] Pid: 0, comm: swapper/0 Tainted: P C O 3.2.0-4-generic #10-Ubuntu
Dec 11 18:38:21 europa kernel: [ 4139.627097] Call Trace:
Dec 11 18:38:21 europa kernel: [ 4139.628211] <IRQ> [<ffffffff810df
Dec 11 18:38:21 europa kernel: [ 4139.629355] [<ffffffff810df
Dec 11 18:38:21 europa kernel: [ 4139.630494] [<ffffffff810df
Dec 11 18:38:21 europa kernel: [ 4139.631625] [<ffffffff810e0
Dec 11 18:38:21 europa kernel: [ 4139.632766] [<ffffffff81077
Dec 11 18:38:21 europa kernel: [ 4139.633917] [<ffffffff8109b
Dec 11 18:38:21 europa kernel: [ 4139.635051] [<ffffffff8108d
Dec 11 18:38:21 europa kernel: [ 4139.636182] [<ffffffff8109b
Dec 11 18:38:21 europa kernel: [ 4139.637312] [<ffffffff8101a
Dec 11 18:38:21 europa kernel: [ 4139.638431] [<ffffffff8108e
Dec 11 18:38:21 europa kernel: [ 4139.639556] [<ffffffff8165e
Dec 11 18:38:21 europa kernel: [ 4139.640680] [<ffffffff8165c
Dec 11 18:38:21 europa kernel: [ 4139.641806] <EOI> [<ffffffff81368
Dec 11 18:38:21 europa kernel: [ 4139.642939] [<ffffffff81368
Dec 11 18:38:21 europa kernel: [ 4139.644078] [<ffffffff814fe
Dec 11 18:38:21 europa kernel: [ 4139.645224] [<ffffffff81012
Dec 11 18:38:21 europa kernel: [ 4139.646362] [<ffffffff8161a
Dec 11 18:38:21 europa kernel: [ 4139.647493] [<ffffffff81cf7
Dec 11 18:38:21 europa kernel: [ 4139.648620] [<ffffffff81cf7
Dec 11 18:38:21 europa kernel: [ 4139.649737] [<ffffffff81cf7
Dec 11 18:38:21 europa kernel: [ 4139.650854] [<ffffffff81cf7
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-generic 3.2.0.4.4
ProcVersionSign
Uname: Linux 3.2.0-4-generic x86_64
NonfreeKernelMo
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xd4900000 irq 48'
Mixer name : 'Intel IbexPeak HDMI'
Components : 'HDA:111d7605,
Controls : 19
Simple ctrls : 10
Date: Sun Dec 11 19:22:06 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MachineType: Hewlett-Packard HP ProBook 4520s
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.62
SourcePackage: linux
StagingDrivers: mei
UpgradeStatus: Upgraded to precise on 2011-12-09 (2 days ago)
dmi.bios.date: 01/17/2011
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68AZZ Ver. F.0D
dmi.board.name: 1413
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 57.31
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-
dmi.product.name: HP ProBook 4520s
dmi.sys.vendor: Hewlett-Packard
| Richard Eames (naddiseo) wrote : | #1 |
| Changed in linux (Ubuntu): | |
| status: | New → Confirmed |
| Joseph Salisbury (jsalisbury) wrote : | #2 |
| Changed in linux (Ubuntu): | |
| importance: | Undecided → Medium |
| tags: | added: kernel-da-key needs-upstream-testing |
| Conrad Yang (cpyang) wrote : | #3 |
I have similar issue and confirmed that only display lockup and the host can be accessed remotely. X Server process is not responding to kill -9. 'dmesg' output attached.
| Richard Eames (naddiseo) wrote : | #4 |
I've been running upstream linux-headers-
| tags: |
added: kernel-bug-exists-upstream removed: needs-upstream-testing |
| Joseph Salisbury (jsalisbury) wrote : | #5 |
@Richard
Did this issue start happening after an update/upgrade? Was there a kernel version where you were not having this particular problem? This will help determine if the problem you are seeing is the result of the introduction of a regression, and when this regression was introduced.
| Changed in linux (Ubuntu): | |
| status: | Confirmed → Triaged |
| Richard Eames (naddiseo) wrote : | #6 |
It must have happened over the weekend, it was working fine between Friday and Sunday. I've been running the old 3.0.0 image I had installed, which seems to be stable. I'll try installing a few of the later versions from the mainline ppa; I'm currently installing 3.1.5 and I'll report back if I have problems with it.
Just a question, should I be testing with the mainline kernels or older ubuntu kernels? If the latter, how do I get older deb files?
| Conrad Yang (cpyang) wrote : | #7 |
I had another lock up with 3.2.0-030200rc5
| Richard Eames (naddiseo) wrote : | #8 |
3.1.5-030105-
| Richard Eames (naddiseo) wrote : | #9 |
I haven't run 3.2.0-030200rc4
| Joseph Salisbury (jsalisbury) wrote : | #10 |
Hi Richard,
Thanks for all your help testing. So it appears this issue happens when you run the upstream 3.2.0-rc5 kernel, but it does not happen with the 3.2.0-rc4 kernel?
| Joseph Salisbury (jsalisbury) wrote : | #11 |
I'm going to perform a bisect between 3.2.0-rc4 and 3.2.0-rc5. I should have a test kernel shortly. It would be great if you have some cycles to assist in testing of a few test kernels.
| Joseph Salisbury (jsalisbury) wrote : | #12 |
Hello Richard,
I created a test kernel, which is located at:
http://
This kernel is built with the changes halfway between 3.2.0-rc4 and 3.2.0-rc5. Could it be possible to test this kernel and see if the issue exists or not? Once I have those results, I can build another test kernel, and continue to narrow down the exact commit that caused this regression.
| Richard Eames (naddiseo) wrote : | #13 |
I'll start testing when I get home tonight, and over the weekend too.
| Joseph Salisbury (jsalisbury) wrote : | #14 |
Thanks for the help, Richard.
| Richard Eames (naddiseo) wrote : | #15 |
linux-headers-
| madbiologist (me-again) wrote : | #16 |
According to the changelog, this is fixed upstream in kernel 3.2-rc6:
Revert "drm/i915: fix infinite recursion on unbind due to ilk vt-d w/a"
This reverts commit eb1711bb94991e9
It blows up the i915 seqno tracking, resulting in the
BUG_ON(seqno == 0);
in i915_wait_request() triggering, which will cause lock-ups.
See for example
https:/
https:/
Reported-
Reported-by: Richard Eames
Reported-by: Rocko Requin
Acked-by: Daniel Vetter
Cc: Dave Airlie
Cc: Chris Wilson
Cc: Keith Packard
Cc: Eric Anholt
Signed-off-by: Linus Torvalds
| Richard Eames (naddiseo) wrote : | #17 |
I've installed the rc6 kernel from the mainline build, I'll try it today. I haven't' been able to get the header packages to install from that repo though.
I get the following:
$ sudo dpkg -i linux-headers-
(Reading database ... 264853 files and directories currently installed.)
Preparing to replace linux-headers-
Unpacking replacement linux-headers-
dpkg: dependency problems prevent configuration of linux-headers-
linux-
Package linux-headers-
dpkg: error processing linux-headers-
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-
One other thing: could the problems I've been having with these kernels be responsible for SDL and openGL not working on my computers? I've been doing some development, and over the last few days all I get is an unresponsive black screen when I try to run programs that worked last week.
| Conrad Yang (cpyang) wrote : | #18 |
3.2.0-030200rc6
up 2 days now.
| Richard Eames (naddiseo) wrote : | #19 |
Yeah, rc6 seems to have fixed the issue.
| tags: | added: kernel-fixed-upstream-v3.2-rc6 |
| Leann Ogasawara (leannogasawara) wrote : | #20 |
We've recently rebased to v3.2-rc7 and uploaded, see https:/
| Changed in linux (Ubuntu): | |
| status: | Triaged → Fix Released |


Would it be possible for you to test the latest upstream kernel? It will allow additional upstream developers to examine the issue. Refer to https:/ /wiki.ubuntu. com/KernelMainl ineBuilds . If possible, please test the latest v3.2-rcN kernel (Not a kernel in the daily directory). Once you've tested the upstream kernel, please remove the 'needs- upstream- testing' tag(Only that one tag, please leave the other tags). This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs- upstream- testing' text.
If this bug is fixed by the mainline kernel, please add the following tag 'kernel- fixed-upstream- KERNEL- VERSION' . For example, if kernel version 3.2-rc1 fixed and issue, the tag would be: 'kernel- fixed-upstream- v3.2-rc1' .
If the mainline kernel does not fix this bug, please add the tag: 'kernel- bug-exists- upstream' .
If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel- unable- to-test- upstream' . If you believe this bug does not require upstream testing, please add the tag: 'kernel- upstream- testing- not-needed' .
Thanks in advance.