[i945GM] X keeps crashing after resuming from suspend/hibernate

Bug #270670 reported by Julien Langer
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

Hi,

X keeps crashing after resuming from suspend/hibernate. After these crashes video output on the consoles is also screwed up.

Other bug reports suggested that setting ForceEnablePipeA in xorg.conf could help, but it unfortunately didn't in this case.

The hardware is an EeePC 1000h with a 945GM.
I'm running Intrepid and the xserver-xorg-video-intel version is 2.4.1-1ubuntu4.

Xorg.log is attached.

Output from dmesg after the crashes:
[ 230.385871] PM: resume devices took 3.112 seconds
[ 230.385928] PM: Finishing wakeup.
[ 230.385932] Restarting tasks ... <6>Core dump to |/usr/share/apport/apport pipe failed
[ 230.433413] done.
[ 231.946191] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 231.963362] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 233.439510] ATL1E 0000:03:00.0: ATL1E: eth0 NIC Link is Up<100 Mbps Full Duplex>
[ 233.439971] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 234.815821] Xorg[6154]: segfault at 732e7672 ip b7ac0d64 sp bfbda1a0 error 4 in libdri.so[b7abd000+8000]
[ 242.888746] Xorg[7115]: segfault at 2 ip b7a8cd64 sp bfea6640 error 4 in libdri.so[b7a89000+8000]
[ 243.720069] eth0: no IPv6 routers present
[ 251.886192] Xorg[7204]: segfault at 2 ip b7a33d64 sp bfa4b9e0 error 4 in libdri.so[b7a30000+8000]
[ 260.794964] Xorg[7264]: segfault at 2 ip b7bd4d64 sp bf8ee880 error 4 in libdri.so[b7bd1000+8000]

EmulateWheelTimeout: 200
Error in I830WaitLpRing(), timeout for 2 seconds
pgetbl_ctl: 0x3ffc0001 getbl_err: 0x00000000
ipeir: 0x00000000 iphdr: 0x6a8f78f0
LP ring tail: 0x000001c0 head: 0x00000000 len: 0x0001f001 start 0x00000000
eir: 0x0000 esr: 0x0001 emr: 0xffff
instdone: 0xffc1 instpm: 0x0000
memmode: 0x0000010f instps: 0x002014c0
hwstam: 0xfffe ier: 0x0002 imr: 0x0000 iir: 0x00a0
Ring at virtual 0xa7916000 head 0x0 tail 0x1c0 count 112
Ring at virtual 0xa7916000 head 0x0 tail 0x1c0 count 112
 0001ff00: 00000000 MI_NOOP 1
 0001ff04: 00000000 MI_NOOP 1
 0001ff08: 00000000 MI_NOOP 1
 0001ff0c: 00000000 MI_NOOP 1
 0001ff10: 00000000 MI_NOOP 1
 0001ff14: 00000000 MI_NOOP 1
 0001ff18: 00000000 MI_NOOP 1
 0001ff1c: 00000000 MI_NOOP 1
 0001ff20: 00000000 MI_NOOP 1
 0001ff24: 00000000 MI_NOOP 1
 0001ff28: 00000000 MI_NOOP 1
 0001ff2c: 00000000 MI_NOOP 1
 0001ff30: 00000000 MI_NOOP 1
 0001ff34: 00000000 MI_NOOP 1
 0001ff38: 00000000 MI_NOOP 1
 0001ff3c: 00000000 MI_NOOP 1
 0001ff40: 00000000 MI_NOOP 1
 0001ff44: 00000000 MI_NOOP 1
 0001ff48: 00000000 MI_NOOP 1
 0001ff4c: 00000000 MI_NOOP 1
 0001ff50: 00000000 MI_NOOP 1
 0001ff54: 00000000 MI_NOOP 1
 0001ff58: 00000000 MI_NOOP 1
 0001ff5c: 00000000 MI_NOOP 1
 0001ff60: 00000000 MI_NOOP 1
 0001ff64: 00000000 MI_NOOP 1
 0001ff68: 00000000 MI_NOOP 1
 0001ff6c: 00000000 MI_NOOP 1
 0001ff70: 00000000 MI_NOOP 1
 0001ff74: 00000000 MI_NOOP 1
 0001ff78: 00000000 MI_NOOP 1
 0001ff7c: 00000000 MI_NOOP 1
 0001ff80: 00000000 MI_NOOP 1
 0001ff84: 00000000 MI_NOOP 1
 0001ff88: 00000000 MI_NOOP 1
 0001ff8c: 00000000 MI_NOOP 1
 0001ff90: 00000000 MI_NOOP 1
 0001ff94: 00000000 MI_NOOP 1
 0001ff98: 00000000 MI_NOOP 1
 0001ff9c: 00000000 MI_NOOP 1
 0001ffa0: 00000000 MI_NOOP 1
 0001ffa4: 00000000 MI_NOOP 1
 0001ffa8: 00000000 MI_NOOP 1
 0001ffac: 00000000 MI_NOOP 1
 0001ffb0: 00000000 MI_NOOP 1
 0001ffb4: 00000000 MI_NOOP 1
 0001ffb8: 00000000 MI_NOOP 1
 0001ffbc: 00000000 MI_NOOP 1
 0001ffc0: 00000000 MI_NOOP 1
 0001ffc4: 00000000 MI_NOOP 1
 0001ffc8: 00000000 MI_NOOP 1
 0001ffcc: 00000000 MI_NOOP 1
 0001ffd0: 00000000 MI_NOOP 1
 0001ffd4: 00000000 MI_NOOP 1
 0001ffd8: 00000000 MI_NOOP 1
 0001ffdc: 00000000 MI_NOOP 1
 0001ffe0: 00000000 MI_NOOP 1
 0001ffe4: 00000000 MI_NOOP 1
 0001ffe8: 00000000 MI_NOOP 1
 0001ffec: 00000000 MI_NOOP 1
 0001fff0: 00000000 MI_NOOP 1
 0001fff4: 00000000 MI_NOOP 1
 0001fff8: 00000000 MI_NOOP 1
 0001fffc: 00000000 MI_NOOP 1
Ring end
space: 130616 wanted 131064
(II) intel(0): [drm] removed 1 reserved context for kernel
(II) intel(0): [drm] unmapping 8192 bytes of SAREA 0xf8ff2000 at 0xb7b25000
(II) intel(0): [drm] Closed DRM master.

Fatal server error:
lockup

(II) ImPS/2 Logitech Wheel Mouse: Close
(II) UnloadModule: "evdev"
(II) Video Bus: Close
(II) UnloadModule: "evdev"
(II) Logitech USB-PS/2 Optical Mouse: Close
(II) UnloadModule: "evdev"
(II) AT Translated Set 2 keyboard: Close
(II) UnloadModule: "evdev"
(II) Macintosh mouse button emulation: Close
(II) UnloadModule: "evdev"
(II) AIGLX: Suspending AIGLX clients for VT switch

Backtrace:
0: /usr/X11R6/bin/X(xf86SigHandler+0x79) [0x80c3069]
1: [0xb80d3400]
2: /usr/lib/xorg/modules/drivers//intel_drv.so [0xb7b66b50]
3: /usr/X11R6/bin/X [0x80d6b0a]
4: /usr/lib/xorg/modules/extensions//libglx.so [0xb7c1cd69]
5: /usr/X11R6/bin/X(AbortDDX+0x79) [0x80a8b69]
6: /usr/X11R6/bin/X(AbortServer+0x28) [0x813c308]
7: /usr/X11R6/bin/X(FatalError+0x63) [0x813c913]
8: /usr/lib/xorg/modules/drivers//intel_drv.so(I830WaitLpRing+0x201) [0xb7b5b1d1]
9: /usr/lib/xorg/modules/drivers//intel_drv.so(I830Sync+0x1c3) [0xb7b5b5e3]
10: /usr/lib/xorg/modules/drivers//intel_drv.so [0xb7b8373a]
11: /usr/lib/xorg/modules//libexa.so(exaWaitSync+0x65) [0xb7a36005]
12: /usr/lib/xorg/modules//libexa.so(ExaDoPrepareAccess+0x7e) [0xb7a371ee]
13: /usr/lib/xorg/modules//libexa.so(ExaCheckPutImage+0x103) [0xb7a3edb3]
14: /usr/lib/xorg/modules//libexa.so [0xb7a38535]
15: /usr/X11R6/bin/X [0x817913d]
16: /usr/X11R6/bin/X(ProcPutImage+0x15e) [0x808959e]
17: /usr/X11R6/bin/X(Dispatch+0x34f) [0x808c91f]
18: /usr/X11R6/bin/X(main+0x47d) [0x8071d8d]
19: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7cf3685]
20: /usr/X11R6/bin/X [0x8071171]
Saw signal 11. Server aborting.
(II) AIGLX: Suspending AIGLX clients for VT switch

Revision history for this message
Julien Langer (julien-langer) wrote :
Revision history for this message
Yuri Khan (yurivkhan) wrote :

I am seeing this too, on an ASUS EeePC 901. The relevant excerpt from dmesg output is:

[11127.048879] sd 1:0:1:0: [sdb] Starting disk
[11127.160088] usb 5-5: reset high speed USB device using ehci_hcd and address 2
[11127.404086] usb 5-8: reset high speed USB device using ehci_hcd and address 4
[11128.205066] uvcvideo 5-8:1.0: no reset_resume for driver uvcvideo?
[11128.205078] uvcvideo 5-8:1.1: no reset_resume for driver uvcvideo?
[11128.316087] usb 4-1: reset full speed USB device using uhci_hcd and address 2
[11129.112128] pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[11129.112146] pci 0000:00:02.0: setting latency timer to 64
[11129.266506] uvcvideo: Found UVC 1.00 device USB 2.0 Camera (05e3:0505)
[11129.588299] PM: resume devices took 3.452 seconds
[11129.588349] PM: Finishing wakeup.
[11129.588353] Restarting tasks ... done.
[11131.038119] ATL1E 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[11131.038167] ATL1E 0000:04:00.0: setting latency timer to 64
[11131.666280] Xorg[7734]: segfault at 5f444441 ip b79f6d64 sp bfe15030 error 4 in libdri.so[b79f3000+8000]
[11132.848626] input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input18
[11132.897308] ACPI: Power Button (FF) [PWRF]
[11132.897588] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input19
[11132.936969] ACPI: Lid Switch [LID]

Also attached is the X.org log.

Revision history for this message
Julien Langer (julien-langer) wrote :

The bug seems to be fixed in the intrepid release.

Revision history for this message
Ben Trusty (ben-trusty) wrote :

similar problem

do not know what caused it, i was typing an email in gmail and X freaked-out and the screen went to crap. i tried ctrl+alt+f2 and it screwed up.
i had to force shutdown (holding power button for 8 seconds)
then reboot, checking log after showed this

/var/log/messages

Nov 12 23:17:07 localhost bonobo-activation-server (user-25747): could not associate with desktop session: Failed to connect to socket /tmp/dbus-dUAjsT7AQk: Connection refused
Nov 12 23:17:21 localhost kernel: [26863.200943] __ratelimit: 2630 callbacks suppressed
Nov 12 23:17:21 localhost kernel: [26863.200943] Xorg[25809]: segfault at 1 ip b7a07d64 sp bff2b390 error 4 in libdri.so[b7a04000+8000]
Nov 12 23:17:28 localhost kernel: [26870.131534] Xorg[25834]: segfault at 1 ip b7a1bd64 sp bfa3eea0 error 4 in libdri.so[b7a18000+8000]
Nov 12 23:23:14 localhost syslogd 1.5.0#2ubuntu6: restart.

system info
dell inspiron 1150

lspci output
00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)

i do not know how to recreate it, i do not think that there is anything i did directly.

thanks for the help

Revision history for this message
Daniel Nastase (dnastase) wrote :

I have this behaviour in Ubuntu 8.10 on a Thinkpad R61i . After reading on inet I could work around it by:
- having this configuration in the HAL:
lshal | g quirk
  power_management.quirk.s3_bios = true (bool)
  power_management.quirk.s3_mode = false (bool)
- changing the X driver from intel to vga (somehow my resolution is still the nice one)

Hope this helps other people fix their system.

Daniel

Revision history for this message
Bryce Harrington (bryce) wrote : Re: [945GM] X keeps crashing after resuming from suspend/hibernate

Could you please also run `lspci -vvnn > lspci-vvnn.txt` and attach that file to this bug report? Thanks ahead of time.

description: updated
Changed in xserver-xorg-video-intel:
status: New → Incomplete
Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automatic notice.]

We'd like to forward your bug upstream, however upstream requires
that you first test it against their newer driver code.

To save you the effort of building the driver from source, we've built
packages for the driver and its new dependencies.

So you have a couple options:

 1. Download and test .debs for intrepid, from:
     https://edge.launchpad.net/~intel-gfx-testing/+archive

 -or-

 2. Download and test the Jaunty alpha-2 (or newer) Live CD,
     (which includes a beta of the new xserver 1.6 as well).
     See http://cdimage.ubuntu.com/releases/9.04/ for ISOs

Thanks ahead of time! You can simply reply to this email to report your
findings.

P.S., if you wish to forward your bug upstream yourself, please follow
these directions to do so:
  http://intellinuxgraphics.org/how_to_report_bug.html

Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel:
status: Incomplete → New
status: New → Incomplete
Revision history for this message
Bryce Harrington (bryce) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in xserver-xorg-video-intel:
status: Incomplete → Invalid
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.