2.6.37-rc1-00027-gff8b16d: i915 hang on resume

From: Andy Isaacson
Date: Fri Nov 05 2010 - 15:34:15 EST


Screen is hung after some drawing (the fvwm decorations are drawn, but
no other app window contents), after resume from pm-suspend. The system
had successfully resumed a dozen times since booting two days prior. I
saw a similar hang with a previous -rc1 kernel (some drawing had
completed). Running various 2.6.33 - .36 kernels, suspend had been very
reliable.

Xorg.0.log is not interesting; after Alt-SysRq-K it ends in:

(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0 74.08 1440 1464 1480 1600 900 903 909 926 -hsync -vsync (46.3 kHz)
(--) SynPS/2 Synaptics TouchPad: touchpad found

dmesg doesn't have much interesting either:

[147416.169842] Restarting tasks ... done.
[147416.184991] video LNXVIDEO:00: Restoring backlight state
[147416.904178] usb 1-1.4: new full speed USB device using ehci_hcd and address 17
[147417.000596] usb 1-1.4: New USB device found, idVendor=0a5c, idProduct=217f
[147417.000602] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[147417.000605] usb 1-1.4: Product: Broadcom Bluetooth Device
[147417.000608] usb 1-1.4: Manufacturer: Broadcom Corp
[147417.000611] usb 1-1.4: SerialNumber: C417FEEFDAE5
[147422.700790] IBM TrackPoint firmware: 0x0e, buttons: 3/3
[147422.977259] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input10
[147470.544883] cfg80211: Calling CRDA to update world regulatory domain
[147626.440344] SysRq : Emergency Sync

Xorg is hung:

[147629.308784] Xorg S 0000000000000000 0 1668 1667 0x00400000
[147629.308784] ffff88013299dcf8 0000000000000082 ffff88013299dc88 ffffffff00000000
[147629.308784] ffff88013299c010 ffff88013299dfd8 0000000000013400 ffff88012d21a260
[147629.308784] ffff88012d21a540 ffff88012d21a538 0000000000013400 0000000000013400
[147629.308784] Call Trace:
[147629.308784] [<ffffffffa0465851>] i915_gem_throttle_ioctl+0x15c/0x1bf [i915]
[147629.308784] [<ffffffff8105694c>] ? __dequeue_signal+0xfa/0x12f
[147629.308784] [<ffffffff810620c7>] ? autoremove_wake_function+0x0/0x39
[147629.308784] [<ffffffff8110d3fa>] ? set_fd_set+0x41/0x4b
[147629.308784] [<ffffffffa0328000>] drm_ioctl+0x285/0x365 [drm]
[147629.308784] [<ffffffffa04656f5>] ? i915_gem_throttle_ioctl+0x0/0x1bf [i915]
[147629.308784] [<ffffffff8119455c>] ? __clear_user+0x17/0x58
[147629.308784] [<ffffffff81013305>] ? save_i387_xstate+0x1e4/0x1eb
[147629.308784] [<ffffffff8123bcf0>] ? input_event_to_user+0x74/0x84
[147629.308784] [<ffffffff810095b1>] ? do_signal+0x586/0x692
[147629.308784] [<ffffffffa022c57c>] ? evdev_read+0x1c0/0x220 [evdev]
[147629.308784] [<ffffffff8110c2fc>] do_vfs_ioctl+0x55b/0x5bf
[147629.308784] [<ffffffff8110c3a7>] sys_ioctl+0x47/0x6c
[147629.308784] [<ffffffff81009cb2>] system_call_fastpath+0x16/0x1b


Full dmesg and the relevant bits of Xorg.0.log are attached.

-andy

Attachment: dmesg.out.bz2
Description: Binary data

Attachment: Xorg.0.log.old.bz2
Description: Binary data