general protection fault in i915_gem_leavevt_ioctl

Bug #344812 reported by Matt Zimmerman
8
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

My X server crashed, and didn't manage to start back up properly. I had to reboot, and after doing so, found this in the log.

Mar 18 13:11:05 perseus kernel: [32902.428216] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 1
Mar 18 13:11:05 perseus kernel: [32902.559235] compiz.real[4206]: segfault at 20 ip 000000000041031e sp 00007fffc47bd130 error 4 in compiz.real[400000+3c000]
Mar 18 13:11:07 perseus kernel: [32902.851144] wlan0: disassociating by local choice (reason=3)
Mar 18 13:11:07 perseus kernel: [32902.868011] wlan0: deauthenticated
Mar 18 13:11:07 perseus kernel: [32903.722009] npviewer.bin[4744]: segfault at f556d030 ip 00000000f78bb9e0 sp 00000000fffd0c04 error 4 in libpthread-2.9.so[f78
b4000+15000]
Mar 18 13:12:36 perseus kernel: [32993.457983] general protection fault: 0000 [#1] SMP
Mar 18 13:12:36 perseus kernel: [32993.457988] last sysfs file: /sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/rfkill/rfkill2/state
Mar 18 13:12:36 perseus kernel: [32993.457991] Dumping ftrace buffer:
Mar 18 13:12:36 perseus kernel: [32993.457993] (ftrace buffer empty)
Mar 18 13:12:36 perseus kernel: [32993.457995] CPU 0
Mar 18 13:12:36 perseus kernel: [32993.457996] Modules linked in: aes_x86_64 aes_generic ppp_deflate zlib_deflate bsd_comp ppp_async crc_ccitt sierra lirc_atiusb lirc_dev ati_remote udf crc_itu_t usb_storage i915 drm ppdev bridge stp bnep kvm_intel kvm tun input_polldev sbp2 lp parport joydev arc4 snd_hda_intel ecb snd_pcm_oss snd_mixer_oss snd_pcm snd_timer iwlagn iwlcore pcmcia snd mac80211 thinkpad_acpi soundcore sdhci_pci iTCO_wdt led_class ricoh_mmc sdhci yenta_socket rsrc_nonstatic pcmcia_core iTCO_vendor_support intel_agp cfg80211 nvram snd_page_alloc pcspkr psmouse serio_raw video output ohci1394 ieee1394 ehci_hcd uhci_hcd e1000e fbcon tileblit font bitblit softcursor
Mar 18 13:12:36 perseus kernel: [32993.458038] Pid: 25272, comm: Xorg Not tainted 2.6.28-9-generic #31-Ubuntu
Mar 18 13:12:36 perseus kernel: [32993.458040] RIP: 0010:[<ffffffff802bae3f>] [<ffffffff802bae3f>] activate_page+0xbf/0x170
Mar 18 13:12:36 perseus kernel: [32993.458047] RSP: 0018:ffff8800ad807d28 EFLAGS: 00010002
Mar 18 13:12:36 perseus kernel: [32993.458049] RAX: 0000000100002354 RBX: 0000000000000001 RCX: 0000000000000013
Mar 18 13:12:36 perseus kernel: [32993.458051] RDX: 1257bc0e00002350 RSI: ffffe200016b0080 RDI: ffffffff808ff580
Mar 18 13:12:36 perseus kernel: [32993.458053] RBP: ffff8800ad807d68 R08: 0000000000000004 R09: ffff880001101080
Mar 18 13:12:36 perseus kernel: [32993.458054] R10: 0000000000000002 R11: 0000000000000000 R12: ffffffff80901a00
Mar 18 13:12:36 perseus kernel: [32993.458056] R13: 0000000000000000 R14: ffffe200016b0080 R15: ffffffff808ff580
Mar 18 13:12:36 perseus kernel: [32993.458058] FS: 00007f53c1387700(0000) GS:ffffffff80a90000(0000) knlGS:0000000000000000
Mar 18 13:12:36 perseus kernel: [32993.458060] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Mar 18 13:12:36 perseus kernel: [32993.458062] CR2: 00000000007cbfa0 CR3: 00000000add71000 CR4: 00000000000026a0
Mar 18 13:12:36 perseus kernel: [32993.458063] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Mar 18 13:12:36 perseus kernel: [32993.458065] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Mar 18 13:12:36 perseus kernel: [32993.458067] Process Xorg (pid: 25272, threadinfo ffff8800ad806000, task ffff8800ab012cc0)
Mar 18 13:12:36 perseus kernel: [32993.458069] Stack:
Mar 18 13:12:36 perseus kernel: [32993.458070] ffff8800ab052140 0000000000000000 00000003bb834800 ffffe200016b0080
Mar 18 13:12:36 perseus kernel: [32993.458074] ffff8800bb88d7e0 0000000000008000 ffff8800bb834800 ffff8800bb834800
Mar 18 13:12:36 perseus kernel: [32993.458077] ffff8800ad807d88 ffffffff802baf4b 0000000000008000 00000000000047e0
Mar 18 13:12:36 perseus kernel: [32993.458081] Call Trace:
Mar 18 13:12:36 perseus kernel: [32993.458082] [<ffffffff802baf4b>] mark_page_accessed+0x5b/0x70
Mar 18 13:12:36 perseus kernel: [32993.458086] [<ffffffffa0399465>] i915_gem_object_free_page_list+0x45/0xb0 [i915]
Mar 18 13:12:36 perseus kernel: [32993.458093] [<ffffffffa039a81f>] i915_gem_object_unbind+0x7f/0x130 [i915]
Mar 18 13:12:36 perseus kernel: [32993.458099] [<ffffffffa039c082>] i915_gem_idle+0x1e2/0x310 [i915]
Mar 18 13:12:36 perseus kernel: [32993.458104] [<ffffffffa039c203>] i915_gem_leavevt_ioctl+0x23/0x50 [i915]
Mar 18 13:12:36 perseus kernel: [32993.458109] [<ffffffffa037780a>] drm_ioctl+0x10a/0x330 [drm]
Mar 18 13:12:36 perseus kernel: [32993.458120] [<ffffffffa039c1e0>] ? i915_gem_leavevt_ioctl+0x0/0x50 [i915]
Mar 18 13:12:36 perseus kernel: [32993.458125] [<ffffffff802f62fd>] vfs_ioctl+0x7d/0xa0
Mar 18 13:12:36 perseus kernel: [32993.458129] [<ffffffff802f6665>] do_vfs_ioctl+0x75/0x230
Mar 18 13:12:36 perseus kernel: [32993.458132] [<ffffffff802f68b9>] sys_ioctl+0x99/0xa0
Mar 18 13:12:36 perseus kernel: [32993.458135] [<ffffffff8021253a>] system_call_fastpath+0x16/0x1b
Mar 18 13:12:36 perseus kernel: [32993.458139] Code: 89 ff 19 d2 83 e2 02 83 c2 01 83 f8 01 45 19 c0 89 55 d4 49 8b 56 28 41 83 e0 02 41 83 c0 02 83 f8 01 49 8b 46 30 19 db 83 e3 01 <48> 89 42 08 48 89 10 8b 75 d4 49 c7 46 28 00 01 10 00 49 c7 46
Mar 18 13:12:36 perseus kernel: [32993.458168] RIP [<ffffffff802bae3f>] activate_page+0xbf/0x170
Mar 18 13:12:36 perseus kernel: [32993.458171] RSP <ffff8800ad807d28>
Mar 18 13:12:36 perseus kernel: [32993.458173] ---[ end trace db7075183547a6cc ]---

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
MachineType: LENOVO 6465CTO
Package: linux-image-2.6.28-9-generic 2.6.28-9.31
ProcCmdLine: root=UUID=305dde78-d20a-4248-aaf4-09447b7c5791 ro quiet splash
ProcEnviron:
 LC_COLLATE=C
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.28-9.31-generic
SourcePackage: linux

Revision history for this message
Matt Zimmerman (mdz) wrote :
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Matt,

I brought this bug up in the kernel team meeting. Seems we have some i915 related patches coming down the pipe via some stable release updates. A kernel with these patches should come out after Jaunty Beta gets released. It would be great if you could retest at that point. I believe apw might throw a test kernel together in the meantime as well. Thanks.

Revision history for this message
Matt Zimmerman (mdz) wrote : Re: [Bug 344812] Re: general protection fault in i915_gem_leavevt_ioctl

On Tue, Mar 24, 2009 at 05:46:43PM -0000, Leann Ogasawara wrote:
> I brought this bug up in the kernel team meeting. Seems we have some
> i915 related patches coming down the pipe via some stable release
> updates. A kernel with these patches should come out after Jaunty Beta
> gets released. It would be great if you could retest at that point. I
> believe apw might throw a test kernel together in the meantime as well.
> Thanks.

I am happy to test; however, note that I cannot reliably reproduce this bug.

--
 - mdz

Revision history for this message
tankdriver (stoneraider-deactivatedaccount) wrote :

I think I have encountered the same/similar bug.
HP HDX18 Notebook running up-to-date jaunty amd64.

~$ uname -a
Linux thomas-hp-hdx18 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 01:19:55 UTC 2009 x86_64 GNU/Linux

The X-server crashed (screen black) suddenly. (working with firefox and evolution)
(This is the heaviest bug I've ever seen on ubuntu since years.)

I'll attack additional files.

Please look at tank_syslog.log at line 2131:
Aug 1 23:05:30 thomas-hp-hdx18 kernel: [ 1265.601591] Dumping ftrace buffer:
(i think at that time was the crash)

Revision history for this message
tankdriver (stoneraider-deactivatedaccount) wrote :
Revision history for this message
tankdriver (stoneraider-deactivatedaccount) wrote :
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Triaged a while ago but has not had any updated comments for quite some time. Please let us know if this issue remains in the current Ubuntu release, http://www.ubuntu.com/getubuntu/download . If the issue remains, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
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.