[i915gm] computer freezes some time after resume

Bug #527885 reported by David Tombs
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

My Xubuntu 9.10 computer freezes at some arbitrary time /after/ I resume from suspend. Reproduction steps:

1) Boot up, log in.
2) Suspend.
3) Resume.
4) Continue working, will eventually freeze with no CAPS flash.

Haven't tested if it will still freeze while idle or freeze at the console, will try further testing later today.

This didn't happen until a couple months ago, but unfortunately I don't have any old kernels installed to test those.

ProblemType: Bug
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: david 1470 F.... xfce4-mixer-plu
                      david 1504 F.... xfce4-volumed
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'ICH6'/'Intel ICH6 with Cx20468-31 at irq 17'
   Mixer name : 'Conexant Cx20468-31'
   Components : 'AC97a:43585430'
   Controls : 23
   Simple ctrls : 16
Date: Thu Feb 25 12:05:17 2010
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=ce66e3dd-e15e-46e0-8cdf-94eb5a1d9c67
InstallationMedia: Xubuntu 9.10 "Karmic Koala" - Release i386 (20091028.3)
MachineType: Hewlett-Packard HP Pavilion dv1000 (ET899UA#ABA)
Package: linux-image-2.6.31-19-generic 2.6.31-19.56
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-19-generic root=UUID=c58b489c-69be-4673-8e55-0776e96924ad ro quiet splash
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-19-generic N/A
 linux-firmware 1.26
RfKill:

SourcePackage: linux
Uname: Linux 2.6.31-19-generic i686
XsessionErrors:
 (xfce4-mixer-plugin:1470): libxfce4mixer-CRITICAL **: xfce_mixer_get_track: assertion `GST_IS_MIXER (card)' failed
 (polkit-gnome-authentication-agent-1:1490): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (firefox:1796): GLib-WARNING **: g_set_prgname() called multiple times
dmi.bios.date: 12/22/2005
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.21
dmi.board.name: 308F
dmi.board.vendor: Quanta
dmi.board.version: 46.13
dmi.chassis.type: 10
dmi.chassis.vendor: Quanta
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.21:bd12/22/2005:svnHewlett-Packard:pnHPPaviliondv1000(ET899UA#ABA):pvrRev1:rvnQuanta:rn308F:rvr46.13:cvnQuanta:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv1000 (ET899UA#ABA)
dmi.product.version: Rev 1
dmi.sys.vendor: Hewlett-Packard

[lspci]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller [8086:2592] (rev 03)
     Subsystem: Hewlett-Packard Company Device [103c:3080]

Revision history for this message
David Tombs (dgtombs) wrote :
Revision history for this message
David Tombs (dgtombs) wrote :

I forgot to mention, this bug report is from after a suspend/resume but (of course) before it froze. Note scary-looking error messages in dmesg immediately after suspend.

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

For resume from Hibernate failures, please include the output from the following commands from the boot following the hibernate, this includes information on the search for the resume device etc:

   1. cat /proc/cmdline
   2. cat /etc/initramfs-tools/conf.d/resume
   3. Is your /home encrypted?

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
David Tombs (dgtombs) wrote :

Thanks for the reply, Charlie. Note that this is resume from suspend and not from hibernate. But here's the output you asked for:

1. cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-2.6.31-19-generic root=UUID=c58b489c-69be-4673-8e55-0776e96924ad ro quiet splash

2. cat /etc/initramfs-tools/conf.d/resume
RESUME=UUID=ce66e3dd-e15e-46e0-8cdf-94eb5a1d9c67

3. Is your /home encrypted?
Nope.

Also, I tried to reproduce outside of X (from a VT) but couldn't. Of course, this doesn't guarantee anything, but I'm tempted to think it's an X-related bug especially because of those errors in dmesg about my video card.

Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better and supplying all the logs and data!

From the BootDmesg.txt :
[ 1.844247] [drm] DAC-6: set mode 640x480 0
[ 2.066933] [drm] TV-14: set mode NTSC 480i 0
[ 2.194872] [drm] fb0: inteldrmfb frame buffer device
[ 2.194885] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[ 2.200969] usb 3-1: configuration #1 chosen from 1 choice
[ 2.255205] usbcore: registered new interface driver hiddev
[ 2.259483] render error detected, EIR: 0x00000010
[ 2.259486] page table error
[ 2.259488] PGTBL_ER: 0x00000100
[ 2.259492] [drm:i915_handle_error] *ERROR* EIR stuck: 0x00000010, masking
[ 2.259500] render error detected, EIR: 0x00000010
[ 2.259502] page table error
[ 2.259503] PGTBL_ER: 0x00000100
[ 2.275421] [drm] LVDS-8: set mode 1280x768 17
[ 2.300985] Console: switching to colour frame buffer device 160x48

From the CurrentDmesg.txt :
[ 273.459097] render error detected, EIR: 0x00000010
[ 273.459101] page table error
[ 273.459103] PGTBL_ER: 0x00000100
[ 273.459107] [drm:i915_handle_error] *ERROR* EIR stuck: 0x00000010, masking
[ 273.459115] render error detected, EIR: 0x00000010
[ 273.459117] page table error
[ 273.459118] PGTBL_ER: 0x00000100

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
tags: added: karmic
Revision history for this message
ogc (hackrez) wrote :

I can confirm this on both karmic and lucid. Computer never freezes before suspend and always freezes some time after. If computer was running long before suspend, it usually freezes quickly after resume. If I do suspend resume immediately after boot, computer lasts more, sometimes several hours. Xorg seems to be culprit there any way to downgrade Intel driver to jaunty verion?

Revision history for this message
David Tombs (dgtombs) wrote :

Dmesg seems to indicate it's a kernel driver issue, perhaps we could try a mainline build. I will when I have a good opportunity.

Revision history for this message
ogc (hackrez) wrote :

I am testing mainline 2.6.34-020634rc5-generic #020634rc5 SMP Tue Apr 20 10:07:04 UTC 2010 i686 GNU/Linux
and after about 20 hours uptime and no less than five suspend resume cycles everything still works. But lucid uses 32.11 so I will test that also.

Revision history for this message
David Tombs (dgtombs) wrote :

I can reproduce with mainline equivalent of my kernel (linux-image-2.6.31-02063109-generic) so the bug does not appear to be in an Ubuntu patch (if it's in the kernel at all).

Revision history for this message
David Tombs (dgtombs) wrote :

Actually, I can ssh into the machine and do normal stuff after the freeze, so I believe it's an X bug. Updating package assignment.

affects: linux (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Revision history for this message
David Tombs (dgtombs) wrote : apport-collect data

Architecture: i386
DistroRelease: Ubuntu 9.10
InstallationMedia: Xubuntu 9.10 "Karmic Koala" - Release i386 (20091028.3)
MachineType: Hewlett-Packard HP Pavilion dv1000 (ET899UA#ABA)
Package: xserver-xorg-video-intel 2:2.9.0-1ubuntu2.1
PackageArchitecture: i386
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-22-generic root=UUID=c58b489c-69be-4673-8e55-0776e96924ad ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-22.60-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu10
 libgl1-mesa-glx 7.6.0-1ubuntu4
 libdrm2 2.4.14-1ubuntu1
 xserver-xorg-video-intel 2:2.9.0-1ubuntu2.1
 xserver-xorg-video-ati 1:6.12.99+git20090929.7968e1fb-0ubuntu1
Uname: Linux 2.6.31-22-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
dmi.bios.date: 12/22/2005
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.21
dmi.board.name: 308F
dmi.board.vendor: Quanta
dmi.board.version: 46.13
dmi.chassis.type: 10
dmi.chassis.vendor: Quanta
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.21:bd12/22/2005:svnHewlett-Packard:pnHPPaviliondv1000(ET899UA#ABA):pvrRev1:rvnQuanta:rn308F:rvr46.13:cvnQuanta:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv1000 (ET899UA#ABA)
dmi.product.version: Rev 1
dmi.sys.vendor: Hewlett-Packard
fglrx: Not loaded
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 architecture: i686kernel: 2.6.31-22-generic

Revision history for this message
David Tombs (dgtombs) wrote : BootDmesg.txt
Revision history for this message
David Tombs (dgtombs) wrote : CurrentDmesg.txt
Revision history for this message
David Tombs (dgtombs) wrote : Dependencies.txt
Revision history for this message
David Tombs (dgtombs) wrote : Lspci.txt
Revision history for this message
David Tombs (dgtombs) wrote : Lsusb.txt
Revision history for this message
David Tombs (dgtombs) wrote : PciDisplay.txt
Revision history for this message
David Tombs (dgtombs) wrote : ProcCpuinfo.txt
Revision history for this message
David Tombs (dgtombs) wrote : ProcInterrupts.txt
Revision history for this message
David Tombs (dgtombs) wrote : ProcModules.txt
Revision history for this message
David Tombs (dgtombs) wrote : UdevDb.txt
Revision history for this message
David Tombs (dgtombs) wrote : UdevLog.txt
Revision history for this message
David Tombs (dgtombs) wrote : XorgLog.txt
Revision history for this message
David Tombs (dgtombs) wrote : XorgLogOld.txt
Revision history for this message
David Tombs (dgtombs) wrote : Xrandr.txt
Revision history for this message
David Tombs (dgtombs) wrote : XsessionErrors.txt
Revision history for this message
David Tombs (dgtombs) wrote : setxkbmap.txt
Revision history for this message
David Tombs (dgtombs) wrote : xdpyinfo.txt
tags: added: apport-collected
Revision history for this message
David Tombs (dgtombs) wrote : Re: computer freezes some time after resume

apport-collect was from hung state. Note that apport hung when trying to read some information:

*snip*
Collecting apport information for source package xserver-xorg-video-intel...
^Chook /usr/share/apport/package-hooks//source_xserver-xorg-video-intel.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport/report.py", line 641, in add_hooks_info
    symb['add_info'](self)
  File "/usr/share/apport/package-hooks//source_xserver-xorg-video-intel.py", line 85, in add_info
    report['xkbcomp'] = command_output(['xkbcomp', ':0', '-w0', '-'])
  File "/usr/lib/python2.6/dist-packages/apport/hookutils.py", line 250, in command_output
    out = sp.communicate(input)[0]
  File "/usr/lib/python2.6/subprocess.py", line 681, in communicate
    stdout = self.stdout.read()
KeyboardInterrupt
Uploading additional information to Launchpad bug...
*snip*

Bryce Harrington (bryce)
tags: added: xubuntu
bugbot (bugbot)
description: updated
bugbot (bugbot)
summary: - computer freezes some time after resume
+ [i915gm] computer freezes some time after resume
Revision history for this message
Chris Wilson (ickle) wrote :

Ancient freeze, countless many fixed since, presuming this is one of them.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.