Bug 22165

Summary: xserver freeze and drm:i915_gem_unpin_ioctl error
Product: xorg Reporter: Gonz <gonzhauser>
Component: Driver/intelAssignee: Jesse Barnes <jbarnes>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: NEEDINFO
Version: 7.4 (2008.09)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Gonz 2009-06-08 17:06:43 UTC
I sometimes have this error message and a xserver freeze:

[drm:i915_gem_unpin_ioctl] *ERROR* Not pinned by caller in i915_gem_pin_ioctl(): 3385

uname -r:

2.6.30-020630rc8-generic (Ubuntu)

head /var/log/Xorg.0.log:

X.Org X Server 1.6.0
Release Date: 2009-2-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-23-server i686 Ubuntu
Current Operating System: Linux ups 2.6.30-020630rc8-generic #020630rc8 SMP Wed Jun 3 09:45:20 UTC 2009 i686
Build Date: 09 April 2009  02:10:02AM
xorg-server 2:1.6.0-0ubuntu14 (buildd@rothera.buildd)

Intel driver:

2:2.7.99.1+git20090526.r1.8e942b70-0ubuntu0sarvatt~jaunty

lspci:

00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
02:01.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller
02:08.0 Ethernet controller: Intel Corporation 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller Mobile (rev 03)
03:00.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)


/etc/init.d/gdm restart fixes the problem.

The display adapter and usb controller are sharing irq 16 and I lately I saw a few usb related problems. Maybe it has something to do with it.

I would be happy to provide stack traces etc...
Comment 1 Jesse Barnes 2009-06-23 18:23:45 UTC
How is your gdm configured?  Possibly a dupe of 20867?
Comment 2 Gonz 2009-06-24 04:51:43 UTC
(In reply to comment #1)
> How is your gdm configured?  Possibly a dupe of 20867?
> 

I am running
2.7.99.901+git20090611.6d062e9e-0ubuntu0sarvatt~jaunty
now and I haven't seen this message anymore.

The gdm configuration has AlwaysRestartServer not set, did
you mean that?

I think this can be closed, I will reopen if it happens again.
Thank you.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.