Bug 31712 - GPU lockup CP stall after resume from hibernation
Summary: GPU lockup CP stall after resume from hibernation
Status: RESOLVED OBSOLETE
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-23 02:55 UTC by Phillip Susi
Modified: 2012-08-20 15:13 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.38
Tree: Mainline
Regression: No


Attachments

Description Phillip Susi 2011-03-23 02:55:16 UTC
When resuming from hibernation on my Asus P8P67 Pro Core-i5 2500K system with a Radeon 4850, I get a GPU lockup CP stall error, which leaves the display in a corrupt state. The kernel attempts to reset the display to no avail, landing back in the lockup again and again. A sysrq-K to kill X.org resolves the issue. The issue seems to be tied to plymouth. If I boot without the quiet and splash options when resuming, it resumes just fine. Suspend also works fine. This occurs with the stock Ubuntu Maverick 2.6.35 based kernel, the Natty 2.6.38 based kernel, and the Linus 2.6.38 kernel ( last two built from source ). The kernel log shows:

Mar 22 22:34:34 faldara kernel: [ 808.672904] ------------[ cut here ]------------
Mar 22 22:34:34 faldara kernel: [ 808.672926] WARNING: at drivers/gpu/drm/radeon/radeon_fence.c:248 radeon_fence_wait+0x40f/0x470 [radeon]()
Mar 22 22:34:34 faldara kernel: [ 808.672929] Hardware name: System Product Name
Mar 22 22:34:34 faldara kernel: [ 808.672931] GPU lockup (waiting for 0x00003DCC last fence id 0x00003DC8)
Mar 22 22:34:34 faldara kernel: [ 808.672933] Modules linked in: nls_iso8859_1 nls_cp437 vfat fat binfmt_misc kvm_intel kvm parport_pc ppdev dm_crypt dm_zero snd_hda_codec_hdmi snd_hda_codec_realtek snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_hda_intel snd_hda_codec snd_hwdep ath3k btusb snd_pcm bluetooth pkgtemp snd_timer eeepc_wmi snd_seq_device sparse_keymap snd joydev psmouse soundcore snd_page_alloc serio_raw lp parport raid10 raid456 async_pq async_xor xor async_memcpy async_raid6_recov raid6_pq async_tx raid1 raid0 multipath linear btrfs zlib_deflate crc32c libcrc32c hid_microsoft usbhid hid usb_storage radeon ttm firewire_ohci firewire_core drm_kms_helper crc_itu_t drm i2c_algo_bit ahci e1000e libahci intel_agp intel_gtt [last unloaded: xhci_hcd]
Mar 22 22:34:34 faldara kernel: [ 808.672984] Pid: 8039, comm: Xorg Tainted: G W 2.6.38 #13
Mar 22 22:34:34 faldara kernel: [ 808.672986] Call Trace:
Mar 22 22:34:34 faldara kernel: [ 808.672994] [<ffffffff8105b37f>] ? warn_slowpath_common+0x7f/0xc0
Mar 22 22:34:34 faldara kernel: [ 808.672998] [<ffffffff8105b476>] ? warn_slowpath_fmt+0x46/0x50
Mar 22 22:34:34 faldara kernel: [ 808.673011] [<ffffffffa011965f>] ? radeon_fence_wait+0x40f/0x470 [radeon]
Mar 22 22:34:34 faldara kernel: [ 808.673015] [<ffffffff8107cc70>] ? autoremove_wake_function+0x0/0x40
Mar 22 22:34:34 faldara kernel: [ 808.673027] [<ffffffffa0119ec1>] ? radeon_sync_obj_wait+0x11/0x20 [radeon]
Mar 22 22:34:34 faldara kernel: [ 808.673034] [<ffffffffa00c4173>] ? ttm_bo_wait+0x103/0x1c0 [ttm]
Mar 22 22:34:34 faldara kernel: [ 808.673040] [<ffffffffa00c50c8>] ? ttm_bo_list_ref_sub+0x28/0x30 [ttm]
Mar 22 22:34:34 faldara kernel: [ 808.673055] [<ffffffffa0132543>] ? radeon_gem_wait_idle_ioctl+0x93/0x110 [radeon]
Mar 22 22:34:34 faldara kernel: [ 808.673063] [<ffffffffa005f42b>] ? drm_ioctl+0x42b/0x4e0 [drm]
Mar 22 22:34:34 faldara kernel: [ 808.673076] [<ffffffffa01324b0>] ? radeon_gem_wait_idle_ioctl+0x0/0x110 [radeon]
Mar 22 22:34:34 faldara kernel: [ 808.673080] [<ffffffff81016565>] ? save_i387_xstate+0x165/0x230
Mar 22 22:34:34 faldara kernel: [ 808.673085] [<ffffffff81585825>] ? _raw_spin_lock_irq+0x15/0x20
Mar 22 22:34:34 faldara kernel: [ 808.673089] [<ffffffff8100b392>] ? do_signal+0x182/0x7d0
Mar 22 22:34:34 faldara kernel: [ 808.673093] [<ffffffff81157bf5>] ? do_vfs_ioctl+0xa5/0x5a0
Mar 22 22:34:34 faldara kernel: [ 808.673096] [<ffffffff81158191>] ? sys_ioctl+0xa1/0xb0
Mar 22 22:34:34 faldara kernel: [ 808.673100] [<ffffffff8100bfc2>] ? system_call_fastpath+0x16/0x1b
Mar 22 22:34:34 faldara kernel: [ 808.673103] ---[ end trace 746c9b8991f7ff2a ]---
Mar 22 22:34:34 faldara kernel: [ 808.673111] [drm] Disabling audio support
Mar 22 22:34:34 faldara kernel: [ 808.689259] radeon 0000:01:00.0: GPU softreset
Mar 22 22:34:34 faldara kernel: [ 808.689261] radeon 0000:01:00.0: R_008010_GRBM_STATUS=0xA27034A4
Mar 22 22:34:34 faldara kernel: [ 808.689262] radeon 0000:01:00.0: R_008014_GRBM_STATUS2=0x00000102
Mar 22 22:34:34 faldara kernel: [ 808.689263] radeon 0000:01:00.0: R_000E50_SRBM_STATUS=0x200000C0
Mar 22 22:34:34 faldara kernel: [ 808.689269] radeon 0000:01:00.0: R_008020_GRBM_SOFT_RESET=0x00007FEE
Mar 22 22:34:34 faldara kernel: [ 808.704257] radeon 0000:01:00.0: R_008020_GRBM_SOFT_RESET=0x00000001
Mar 22 22:34:34 faldara kernel: [ 808.720245] radeon 0000:01:00.0: R_008010_GRBM_STATUS=0x00003028
Mar 22 22:34:34 faldara kernel: [ 808.720246] radeon 0000:01:00.0: R_008014_GRBM_STATUS2=0x00000002
Mar 22 22:34:34 faldara kernel: [ 808.720248] radeon 0000:01:00.0: R_000E50_SRBM_STATUS=0x200000C0
Mar 22 22:34:34 faldara kernel: [ 808.721248] radeon 0000:01:00.0: GPU reset succeed
Mar 22 22:34:34 faldara kernel: [ 808.755893] radeon 0000:01:00.0: WB enabled
Mar 22 22:34:34 faldara kernel: [ 808.801714] [drm] ring test succeeded in 1 usecs
Mar 22 22:34:34 faldara kernel: [ 808.801728] [drm] ib test succeeded in 1 usecs
Mar 22 22:34:34 faldara kernel: [ 808.801731] [drm] Enabling audio support

Note You need to log in before you can comment on or make changes to this bug.