Kernel BUG at i915_gem.c:1952 causing lock up

Bug #903010 reported by Richard Eames
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
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/buildd/linux-3.2.0/drivers/gpu/drm/i915/i915_gem.c:1952!
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:[<ffffffffa0088ca3>] [<ffffffffa0088ca3>] i915_wait_request+0x563/0x580 [i915]
Dec 11 18:35:21 europa kernel: [ 3899.609072] RSP: 0000:ffff8802192c5a68 EFLAGS: 00013246
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: 00007fdb9c8ee8a0(0000) GS:ffff88023bc80000(0000) knlGS:0000000000000000
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] [<ffffffffa0088cf2>] i915_gem_object_wait_rendering+0x32/0x40 [i915]
Dec 11 18:35:21 europa kernel: [ 3899.609513] [<ffffffffa0089658>] i915_gem_object_set_to_cpu_domain+0x48/0x70 [i915]
Dec 11 18:35:21 europa kernel: [ 3899.609547] [<ffffffffa008a47d>] i915_gem_object_unbind+0x1cd/0x2b0 [i915]
Dec 11 18:35:21 europa kernel: [ 3899.609579] [<ffffffffa008cba2>] i915_gem_evict_something+0x1e2/0x410 [i915]
Dec 11 18:35:21 europa kernel: [ 3899.609610] [<ffffffffa0087bf2>] i915_gem_object_bind_to_gtt+0x1d2/0x440 [i915]
Dec 11 18:35:21 europa kernel: [ 3899.609643] [<ffffffffa008ad87>] i915_gem_fault+0x287/0x2b0 [i915]
Dec 11 18:35:21 europa kernel: [ 3899.609668] [<ffffffff81139282>] __do_fault+0x72/0x550
Dec 11 18:35:21 europa kernel: [ 3899.609688] [<ffffffff8113c8ba>] handle_pte_fault+0xfa/0x200
Dec 11 18:35:21 europa kernel: [ 3899.609711] [<ffffffff8165307e>] ? _raw_spin_lock+0xe/0x20
Dec 11 18:35:21 europa kernel: [ 3899.609731] [<ffffffff8113a159>] ? __pte_alloc+0xa9/0x160
Dec 11 18:35:21 europa kernel: [ 3899.609751] [<ffffffff8113cd78>] handle_mm_fault+0x1f8/0x350
Dec 11 18:35:21 europa kernel: [ 3899.609778] [<ffffffffa0089ef0>] ? i915_gem_object_set_to_gtt_domain+0x80/0x80 [i915]
Dec 11 18:35:21 europa kernel: [ 3899.609808] [<ffffffff81656b10>] do_page_fault+0x150/0x520
Dec 11 18:35:21 europa kernel: [ 3899.609829] [<ffffffff81142c38>] ? do_mmap_pgoff+0x348/0x360
Dec 11 18:35:21 europa kernel: [ 3899.611198] [<ffffffff8118894a>] ? do_vfs_ioctl+0x8a/0x340
Dec 11 18:35:21 europa kernel: [ 3899.612550] [<ffffffff81142d31>] ? sys_mmap_pgoff+0xe1/0x230
Dec 11 18:35:21 europa kernel: [ 3899.613888] [<ffffffff816537f5>] page_fault+0x25/0x30
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 [<ffffffffa0088ca3>] i915_wait_request+0x563/0x580 [i915]
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> [<ffffffff810dfab8>] print_other_cpu_stall+0x168/0x1c0
Dec 11 18:35:21 europa kernel: [ 3959.603897] [<ffffffff810dfb70>] check_cpu_stall.isra.36+0x60/0xf0
Dec 11 18:35:21 europa kernel: [ 3959.605425] [<ffffffff810dfc38>] __rcu_pending+0x38/0x1b0
Dec 11 18:35:21 europa kernel: [ 3959.606917] [<ffffffff810e00a9>] rcu_check_callbacks+0x79/0x1e0
Dec 11 18:35:21 europa kernel: [ 3959.608398] [<ffffffff81077928>] update_process_times+0x48/0x90
Dec 11 18:35:21 europa kernel: [ 3959.609847] [<ffffffff8109b364>] tick_sched_timer+0x64/0xc0
Dec 11 18:35:21 europa kernel: [ 3959.611275] [<ffffffff8108da58>] __run_hrtimer+0x78/0x1f0
Dec 11 18:35:21 europa kernel: [ 3959.612678] [<ffffffff8109b300>] ? tick_nohz_handler+0xf0/0xf0
Dec 11 18:35:21 europa kernel: [ 3959.614080] [<ffffffff8101a6e9>] ? read_tsc+0x9/0x20
Dec 11 18:35:21 europa kernel: [ 3959.615472] [<ffffffff8108e2e3>] hrtimer_interrupt+0xe3/0x200
Dec 11 18:35:21 europa kernel: [ 3959.616864] [<ffffffff8165e149>] smp_apic_timer_interrupt+0x69/0x99
Dec 11 18:35:21 europa kernel: [ 3959.618261] [<ffffffff8165c01e>] apic_timer_interrupt+0x6e/0x80
Dec 11 18:35:21 europa kernel: [ 3959.619638] <EOI> [<ffffffff8136897d>] ? intel_idle+0xed/0x150
Dec 11 18:35:21 europa kernel: [ 3959.621015] [<ffffffff8136895f>] ? intel_idle+0xcf/0x150
Dec 11 18:35:21 europa kernel: [ 3959.622365] [<ffffffff814fe901>] cpuidle_idle_call+0xc1/0x280
Dec 11 18:35:21 europa kernel: [ 3959.623710] [<ffffffff8101222a>] cpu_idle+0xca/0x120
Dec 11 18:35:21 europa kernel: [ 3959.625030] [<ffffffff8161a9ee>] rest_init+0x72/0x74
Dec 11 18:35:21 europa kernel: [ 3959.626351] [<ffffffff81cf7c0d>] start_kernel+0x3ba/0x3c7
Dec 11 18:35:21 europa kernel: [ 3959.627649] [<ffffffff81cf7388>] x86_64_start_reservations+0x132/0x136
Dec 11 18:35:21 europa kernel: [ 3959.628931] [<ffffffff81cf7140>] ? early_idt_handlers+0x140/0x140
Dec 11 18:35:21 europa kernel: [ 3959.630203] [<ffffffff81cf7459>] x86_64_start_kernel+0xcd/0xdc
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/kernel/hung_task_timeout_secs" disables this message.
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] [<ffffffff812eddba>] ? freed_request+0x4a/0x70
Dec 11 18:37:20 europa kernel: [ 4078.978117] [<ffffffff8165116f>] schedule+0x3f/0x60
Dec 11 18:37:20 europa kernel: [ 4078.979434] [<ffffffff816517b5>] schedule_timeout+0x2a5/0x320
Dec 11 18:37:20 europa kernel: [ 4078.980792] [<ffffffff81052978>] ? select_idle_sibling+0xc8/0x210
Dec 11 18:37:20 europa kernel: [ 4078.982126] [<ffffffff81650faf>] wait_for_common+0xdf/0x180
Dec 11 18:37:20 europa kernel: [ 4078.983479] [<ffffffff8105e9d0>] ? try_to_wake_up+0x200/0x200
Dec 11 18:37:20 europa kernel: [ 4078.984867] [<ffffffff8165112d>] wait_for_completion+0x1d/0x20
Dec 11 18:37:20 europa kernel: [ 4078.986214] [<ffffffff810894af>] kthread_create_on_node+0xaf/0x130
Dec 11 18:37:20 europa kernel: [ 4078.987563] [<ffffffff81084920>] ? manage_workers.isra.30+0x130/0x130
Dec 11 18:37:20 europa kernel: [ 4078.988949] [<ffffffff810825b4>] ? alloc_worker+0x24/0x70
Dec 11 18:37:20 europa kernel: [ 4078.990305] [<ffffffff81084676>] create_worker+0x136/0x1b0
Dec 11 18:37:20 europa kernel: [ 4078.991660] [<ffffffff81084755>] maybe_create_worker+0x65/0x100
Dec 11 18:37:20 europa kernel: [ 4078.993037] [<ffffffff81084838>] manage_workers.isra.30+0x48/0x130
Dec 11 18:37:20 europa kernel: [ 4078.994300] [<ffffffff81084c0b>] worker_thread+0x2eb/0x370
Dec 11 18:37:20 europa kernel: [ 4078.995463] [<ffffffff81084920>] ? manage_workers.isra.30+0x130/0x130
Dec 11 18:37:20 europa kernel: [ 4078.996649] [<ffffffff810892dc>] kthread+0x8c/0xa0
Dec 11 18:37:20 europa kernel: [ 4078.997786] [<ffffffff8165d6b4>] kernel_thread_helper+0x4/0x10
Dec 11 18:37:20 europa kernel: [ 4078.998901] [<ffffffff81089250>] ? flush_kthread_worker+0xa0/0xa0
Dec 11 18:37:20 europa kernel: [ 4079.000017] [<ffffffff8165d6b0>] ? gs_change+0x13/0x13
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> [<ffffffff810dfab8>] print_other_cpu_stall+0x168/0x1c0
Dec 11 18:38:21 europa kernel: [ 4139.629355] [<ffffffff810dfb70>] check_cpu_stall.isra.36+0x60/0xf0
Dec 11 18:38:21 europa kernel: [ 4139.630494] [<ffffffff810dfc38>] __rcu_pending+0x38/0x1b0
Dec 11 18:38:21 europa kernel: [ 4139.631625] [<ffffffff810e00a9>] rcu_check_callbacks+0x79/0x1e0
Dec 11 18:38:21 europa kernel: [ 4139.632766] [<ffffffff81077928>] update_process_times+0x48/0x90
Dec 11 18:38:21 europa kernel: [ 4139.633917] [<ffffffff8109b364>] tick_sched_timer+0x64/0xc0
Dec 11 18:38:21 europa kernel: [ 4139.635051] [<ffffffff8108da58>] __run_hrtimer+0x78/0x1f0
Dec 11 18:38:21 europa kernel: [ 4139.636182] [<ffffffff8109b300>] ? tick_nohz_handler+0xf0/0xf0
Dec 11 18:38:21 europa kernel: [ 4139.637312] [<ffffffff8101a6e9>] ? read_tsc+0x9/0x20
Dec 11 18:38:21 europa kernel: [ 4139.638431] [<ffffffff8108e2e3>] hrtimer_interrupt+0xe3/0x200
Dec 11 18:38:21 europa kernel: [ 4139.639556] [<ffffffff8165e149>] smp_apic_timer_interrupt+0x69/0x99
Dec 11 18:38:21 europa kernel: [ 4139.640680] [<ffffffff8165c01e>] apic_timer_interrupt+0x6e/0x80
Dec 11 18:38:21 europa kernel: [ 4139.641806] <EOI> [<ffffffff8136897d>] ? intel_idle+0xed/0x150
Dec 11 18:38:21 europa kernel: [ 4139.642939] [<ffffffff8136895f>] ? intel_idle+0xcf/0x150
Dec 11 18:38:21 europa kernel: [ 4139.644078] [<ffffffff814fe901>] cpuidle_idle_call+0xc1/0x280
Dec 11 18:38:21 europa kernel: [ 4139.645224] [<ffffffff8101222a>] cpu_idle+0xca/0x120
Dec 11 18:38:21 europa kernel: [ 4139.646362] [<ffffffff8161a9ee>] rest_init+0x72/0x74
Dec 11 18:38:21 europa kernel: [ 4139.647493] [<ffffffff81cf7c0d>] start_kernel+0x3ba/0x3c7
Dec 11 18:38:21 europa kernel: [ 4139.648620] [<ffffffff81cf7388>] x86_64_start_reservations+0x132/0x136
Dec 11 18:38:21 europa kernel: [ 4139.649737] [<ffffffff81cf7140>] ? early_idt_handlers+0x140/0x140
Dec 11 18:38:21 europa kernel: [ 4139.650854] [<ffffffff81cf7459>] x86_64_start_kernel+0xcd/0xdc

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-generic 3.2.0.4.4
ProcVersionSignature: Ubuntu 3.2.0-4.10-generic 3.2.0-rc5
Uname: Linux 3.2.0-4-generic x86_64
NonfreeKernelModules: wl
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/controlC0: richard 1696 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xd4900000 irq 48'
   Mixer name : 'Intel IbexPeak HDMI'
   Components : 'HDA:111d7605,103c1413,00100402 HDA:80862804,80860101,00100000'
   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=/boot/vmlinuz-3.2.0-4-generic root=UUID=71dc7636-51ce-42c6-851d-4ce01e9c442f ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-4-generic N/A
 linux-backports-modules-3.2.0-4-generic N/A
 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-Packard:bvr68AZZVer.F.0D:bd01/17/2011:svnHewlett-Packard:pnHPProBook4520s:pvr:rvnHewlett-Packard:rn1413:rvrKBCVersion57.31:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP ProBook 4520s
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Richard Eames (naddiseo) wrote :
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

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/KernelMainlineBuilds . 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.

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: kernel-da-key needs-upstream-testing
Revision history for this message
Conrad Yang (cpyang) wrote :

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.

Revision history for this message
Richard Eames (naddiseo) wrote :

I've been running upstream linux-headers-3.2.0-030200rc5-generic_3.2.0-030200rc5.201112091935_amd64 today, and I just had another lock up. At least this time it responded to sysrq. My kern.log has a different bug than before, but still references the i915_gem stuff.

tags: added: kernel-bug-exists-upstream
removed: needs-upstream-testing
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

@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
Revision history for this message
Richard Eames (naddiseo) wrote :

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?

Revision history for this message
Conrad Yang (cpyang) wrote :

I had another lock up with 3.2.0-030200rc5-generic_3.2.0-030200rc5. This issue was started after update from 3.2.0.2.2 to 3.2.0.4.4.

Revision history for this message
Richard Eames (naddiseo) wrote :

3.1.5-030105-generic_3.1.5-030105.201112091259 works fine. Tomorrow I'll try 3.2.0-030200rc4-generic_3.2.0-030200rc4.201112081439

Revision history for this message
Richard Eames (naddiseo) wrote :

I haven't run 3.2.0-030200rc4-generic_3.2.0-030200rc4.201112081439 under my usual workload today, but so far so good, so I think it's probably fine. I'll try linux-image-3.2.0-030200rc5-generic_3.2.0-030200rc5.201112091935 tomorrow.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

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?

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

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.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Hello Richard,

I created a test kernel, which is located at:
http://people.canonical.com/~jsalisbury/lp903010/

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.

Revision history for this message
Richard Eames (naddiseo) wrote :

I'll start testing when I get home tonight, and over the weekend too.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Thanks for the help, Richard.

Revision history for this message
Richard Eames (naddiseo) wrote :

linux-headers-3.2.0-030200rc4-generic_3.2.0-030200rc4.201112161940 seems fine.

Revision history for this message
madbiologist (me-again) wrote :

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 eb1711bb94991e93669c5a1b5f84f11be2d51ea1.

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://bugs.launchpad.net/ubuntu/+source/linux/+bug/903010
  https://lkml.org/lkml/2011/12/14/395

Reported-requested-and-tested-by: Dirk Hohndel
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

Revision history for this message
Richard Eames (naddiseo) wrote :

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-3.2.0-030200rc6-generic_3.2.0-030200rc6.201112162235_amd64.deb
(Reading database ... 264853 files and directories currently installed.)
Preparing to replace linux-headers-3.2.0-030200rc6-generic 3.2.0-030200rc6.201112162235 (using linux-headers-3.2.0-030200rc6-generic_3.2.0-030200rc6.201112162235_amd64.deb) ...
Unpacking replacement linux-headers-3.2.0-030200rc6-generic ...
dpkg: dependency problems prevent configuration of linux-headers-3.2.0-030200rc6-generic:
 linux-headers-3.2.0-030200rc6-generic depends on linux-headers-3.2.0-030200rc6; however:
  Package linux-headers-3.2.0-030200rc6 is not installed.
dpkg: error processing linux-headers-3.2.0-030200rc6-generic (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-headers-3.2.0-030200rc6-generic

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.

Revision history for this message
Conrad Yang (cpyang) wrote :

3.2.0-030200rc6-generic #201112162235 SMP Sat Dec 17 03:36:15 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
up 2 days now.

Revision history for this message
Richard Eames (naddiseo) wrote :

Yeah, rc6 seems to have fixed the issue.

tags: added: kernel-fixed-upstream-v3.2-rc6
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

We've recently rebased to v3.2-rc7 and uploaded, see https://launchpad.net/ubuntu/+source/linux/3.2.0-7.13 . Given the information that this bug appears to have been fixed as of v3.2-rc6, I'm marking this bug Fix Released. Thanks.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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