radeon gpu driver bug on suspend/resume in 3.5-rc1

Austin Lund austin.lund at gmail.com
Wed Jun 6 17:34:22 PDT 2012


Hi,

I get the attached traces with 3.5-rc1 after suspend/resume,
sometimes.  It doesn't always happen.  Usually happens at least once
in 10 suspend/resume cycles.  The first trace seems non fatal, but the
system locks up in the second one and needs to be rebooted.

===========================================================================

[ 1435.785548] Restarting tasks ... done.
[ 1435.854748] usb 2-1.2: new full-speed USB device number 5 using ehci_hcd
[ 1435.856616] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -35!
[ 1435.857653] radeon 0000:01:00.0: GPU reset succeed
[ 1435.878746] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
[ 1435.878837] radeon 0000:01:00.0: WB enabled
[ 1435.878839] radeon 0000:01:00.0: fence driver on ring 0 use gpu
addr 0x0000000040000c00 and cpu addr 0xffff88025e8c2c00
[ 1435.895010] [drm] ring test on 0 succeeded in 2 usecs
[ 1435.895067] [drm] ib test on ring 0 succeeded in 0 usecs

===========================================================================

[ 1376.089570] Restarting tasks ... done.
[ 1376.092574] radeon 0000:01:00.0: GPU lockup CP stall for more than 17300msec
[ 1376.092615] radeon 0000:01:00.0: GPU lockup (waiting for
0x0000000000019986 last fence id 0x0000000000019981)
[ 1376.093654] radeon 0000:01:00.0: GPU softreset
[ 1376.093657] radeon 0000:01:00.0:   GRBM_STATUS=0xA0003828
[ 1376.093659] radeon 0000:01:00.0:   GRBM_STATUS_SE0=0x00000007
[ 1376.093662] radeon 0000:01:00.0:   GRBM_STATUS_SE1=0x00000007
[ 1376.093664] radeon 0000:01:00.0:   SRBM_STATUS=0x200000C0
[ 1376.093675] radeon 0000:01:00.0:   GRBM_SOFT_RESET=0x00007F6B
[ 1376.093778] radeon 0000:01:00.0:   GRBM_STATUS=0x00003828
[ 1376.093781] radeon 0000:01:00.0:   GRBM_STATUS_SE0=0x00000007
[ 1376.093783] radeon 0000:01:00.0:   GRBM_STATUS_SE1=0x00000007
[ 1376.093785] radeon 0000:01:00.0:   SRBM_STATUS=0x200000C0
[ 1376.094781] radeon 0000:01:00.0: GPU reset succeed
[ 1376.116071] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
[ 1376.116165] radeon 0000:01:00.0: WB enabled
[ 1376.116167] radeon 0000:01:00.0: fence driver on ring 0 use gpu
addr 0x0000000040000c00 and cpu addr 0xffff88025e42ec00
[ 1376.132330] [drm] ring test on 0 succeeded in 2 usecs
[ 1376.132392] [drm] ib test on ring 0 succeeded in 0 usecs
[ 1376.741682] tg3 0000:02:00.0: irq 49 for MSI/MSI-X
[ 1376.741703] tg3 0000:02:00.0: irq 50 for MSI/MSI-X
[ 1376.741718] tg3 0000:02:00.0: irq 51 for MSI/MSI-X
[ 1376.741733] tg3 0000:02:00.0: irq 52 for MSI/MSI-X
[ 1376.741748] tg3 0000:02:00.0: irq 53 for MSI/MSI-X
[ 1377.772057] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1377.926958] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[ 1377.966914] b43-phy0 debug: Chip initialized
[ 1377.967124] b43-phy0 debug: 64-bit DMA initialized
[ 1377.967199] b43-phy0 debug: QoS enabled
[ 1377.968068] b43-phy0 debug: Wireless interface started
[ 1377.968140] b43-phy0 debug: Adding Interface type 2
[ 1377.969962] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1381.080635] wlan0: authenticate with 00:12:bf:12:7a:49
[ 1381.092133] wlan0: direct probe to 00:12:bf:12:7a:49 (try 1/3)
[ 1381.295524] wlan0: direct probe to 00:12:bf:12:7a:49 (try 2/3)
[ 1381.499372] wlan0: direct probe to 00:12:bf:12:7a:49 (try 3/3)
[ 1381.703233] wlan0: authentication with 00:12:bf:12:7a:49 timed out
[ 1386.914207] radeon 0000:01:00.0: GPU lockup CP stall for more than 10000msec
[ 1386.914218] radeon 0000:01:00.0: GPU lockup (waiting for
0x000000000001998b last fence id 0x0000000000019988)
[ 1386.914225] radeon 0000:01:00.0: ffff8802605ec000 pin failed
[ 1386.986828] radeon 0000:01:00.0: couldn't schedule ib
[ 1386.986837] [drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[ 1386.986856] ------------[ cut here ]------------
[ 1386.986899] WARNING: at
/home/lund/src/linux/drivers/gpu/drm/radeon/radeon_fence.c:180
radeon_fence_signaled+0x8d/0x90 [radeon]()
[ 1386.986902] Hardware name: MacBookPro8,2
[ 1386.986905] Querying an unemitted fence : ffff8802670045a0 !
[ 1386.986972] Modules linked in: autofs4 snd_hda_codec_hdmi rfcomm
bnep snd_hda_codec_cirrus arc4 snd_hda_intel b43 snd_hda_codec
ghash_clmulni_intel aesni_intel radeon snd_hwdep snd_pcm snd_seq_midi
cryptd binfmt_misc snd_rawmidi mac80211 aes_x86_64 ttm microcode
drm_kms_helper drm cfg80211 uvcvideo videobuf2_core ssb applesmc
videodev videobuf2_vmalloc input_polldev i2c_algo_bit btusb apple_gmux
videobuf2_memops hid_generic video bluetooth bcma snd_seq_midi_event
bcm5974 snd_seq snd_timer snd_seq_device snd soundcore snd_page_alloc
apple_bl hid_apple firewire_ohci firewire_core usbhid tg3 hid
crc_itu_t
[ 1386.986980] Pid: 1338, comm: Xorg Not tainted 3.5.0-rc1 #21
[ 1386.986983] Call Trace:
[ 1386.986998]  [<ffffffff8103a3cf>] warn_slowpath_common+0x7f/0xc0
[ 1386.987006]  [<ffffffff8103a4c6>] warn_slowpath_fmt+0x46/0x50
[ 1386.987034]  [<ffffffffa0360d3d>] radeon_fence_signaled+0x8d/0x90 [radeon]
[ 1386.987060]  [<ffffffffa036190e>] radeon_sync_obj_signaled+0xe/0x10 [radeon]
[ 1386.987073]  [<ffffffffa02618f0>] ttm_bo_wait+0x130/0x1b0 [ttm]
[ 1386.987085]  [<ffffffffa0262acb>] ? ttm_bo_reserve+0x7b/0xa0 [ttm]
[ 1386.987113]  [<ffffffffa0363f69>] radeon_bo_wait+0x89/0xc0 [radeon]
[ 1386.987147]  [<ffffffffa0375ab5>]
radeon_gem_wait_idle_ioctl+0x45/0xd0 [radeon]
[ 1386.987167]  [<ffffffffa01e64cc>] drm_ioctl+0x47c/0x540 [drm]
[ 1386.987175]  [<ffffffff8117afa4>] ? mntput+0x24/0x40
[ 1386.987206]  [<ffffffffa0375a70>] ?
radeon_gem_busy_ioctl+0x100/0x100 [radeon]
[ 1386.987214]  [<ffffffff8119afb2>] ? fsnotify+0x1d2/0x2b0
[ 1386.987222]  [<ffffffff8116f178>] do_vfs_ioctl+0x98/0x550
[ 1386.987229]  [<ffffffff8127eb97>] ? apparmor_capable+0x27/0xa0
[ 1386.987236]  [<ffffffff8116f6c1>] sys_ioctl+0x91/0xa0
[ 1386.987245]  [<ffffffff8150317e>] ? do_device_not_available+0xe/0x10
[ 1386.987252]  [<ffffffff8150a112>] system_call_fastpath+0x16/0x1b
[ 1386.987257] ---[ end trace ff51fe717d675026 ]---
[ 1387.041174] radeon 0000:01:00.0: couldn't schedule ib
[ 1387.041180] [drm:radeon_cs_ib_chunk] *ERROR* Failed to schedule IB !
[ 1387.041213] ------------[ cut here ]------------
[ 1387.041247] WARNING: at
/home/lund/src/linux/drivers/gpu/drm/radeon/radeon_fence.c:180
radeon_fence_signaled+0x8d/0x90 [radeon]()
[ 1387.041250] Hardware name: MacBookPro8,2
[ 1387.041253] Querying an unemitted fence : ffff8802670045a0 !
[ 1387.041315] Modules linked in: autofs4 snd_hda_codec_hdmi rfcomm
bnep snd_hda_codec_cirrus arc4 snd_hda_intel b43 snd_hda_codec
ghash_clmulni_intel aesni_intel radeon snd_hwdep snd_pcm snd_seq_midi
cryptd binfmt_misc snd_rawmidi mac80211 aes_x86_64 ttm microcode
drm_kms_helper drm cfg80211 uvcvideo videobuf2_core ssb applesmc
videodev videobuf2_vmalloc input_polldev i2c_algo_bit btusb apple_gmux
videobuf2_memops hid_generic video bluetooth bcma snd_seq_midi_event
bcm5974 snd_seq snd_timer snd_seq_device snd soundcore snd_page_alloc
apple_bl hid_apple firewire_ohci firewire_core usbhid tg3 hid
crc_itu_t
[ 1387.041322] Pid: 1338, comm: Xorg Tainted: G        W    3.5.0-rc1 #21
[ 1387.041325] Call Trace:
[ 1387.041337]  [<ffffffff8103a3cf>] warn_slowpath_common+0x7f/0xc0
[ 1387.041345]  [<ffffffff8103a4c6>] warn_slowpath_fmt+0x46/0x50
[ 1387.041372]  [<ffffffffa0360d3d>] radeon_fence_signaled+0x8d/0x90 [radeon]
[ 1387.041399]  [<ffffffffa036190e>] radeon_sync_obj_signaled+0xe/0x10 [radeon]
[ 1387.041411]  [<ffffffffa02618f0>] ttm_bo_wait+0x130/0x1b0 [ttm]
[ 1387.041423]  [<ffffffffa0262acb>] ? ttm_bo_reserve+0x7b/0xa0 [ttm]
[ 1387.041452]  [<ffffffffa0363f69>] radeon_bo_wait+0x89/0xc0 [radeon]
[ 1387.041486]  [<ffffffffa03759c0>] radeon_gem_busy_ioctl+0x50/0x100 [radeon]
[ 1387.041505]  [<ffffffffa01e64cc>] drm_ioctl+0x47c/0x540 [drm]
[ 1387.041511]  [<ffffffff8117afa4>] ? mntput+0x24/0x40
[ 1387.041543]  [<ffffffffa0375970>] ? radeon_gem_mmap_ioctl+0x20/0x20 [radeon]
[ 1387.041551]  [<ffffffff8119afb2>] ? fsnotify+0x1d2/0x2b0
[ 1387.041558]  [<ffffffff8116f178>] do_vfs_ioctl+0x98/0x550
[ 1387.041565]  [<ffffffff8127eb97>] ? apparmor_capable+0x27/0xa0
[ 1387.041571]  [<ffffffff8116f6c1>] sys_ioctl+0x91/0xa0
[ 1387.041579]  [<ffffffff8150317e>] ? do_device_not_available+0xe/0x10
[ 1387.041586]  [<ffffffff8150a112>] system_call_fastpath+0x16/0x1b
[ 1387.041590] ---[ end trace ff51fe717d675027 ]---


More information about the dri-devel mailing list