Radeon HD 6570 resume issue with linux 3.10 (regression)

From: Patrizio Bassi
Date: Thu Jul 04 2013 - 13:20:44 EST


Hi All,

on my Core2 (x64) system with linux 3.9 i could suspend to disk (and
resume) correctly from my kde 4.10 environment.

Just upgrading to linux 3.10 resume got broken due to GPU driver.

more infos:
1) suspend to ram works perfectly (resume too of course)

2) suspend to disk works, resume seems working for few seconds, than X
closes, KDE restarts a couple of times than freezes.

3) with ssh i can see system is still alive, but if i kill and restart
X it gets stuck again

4) with ps i can see a huge number of kworker processes (they count
around 85...)

5) dmesg (attached) shows errors

[ 209.334052] radeon 0000:01:00.0: GPU lockup CP stall for more than 10000msec
[ 209.334055] radeon 0000:01:00.0: GPU lockup (waiting for
0x0000000000000004 last fence id 0x0000000000000002)
[ 209.334057] [drm:r600_uvd_ib_test] *ERROR* radeon: fence wait failed (-35).
[ 209.334064] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed
testing IB on ring 5 (-35).

and then a long list of
[ 318.770508] radeon 0000:01:00.0: ffff8801228a1000 pin failed
[ 323.215792] radeon 0000:01:00.0: ffff88010f45a800 pin failed
[ 323.936780] radeon 0000:01:00.0: ffff880120567c00 pin failed


I'll be ready to test any patch

Regards,

Patrizio Bassi
(CC me i'm not subscribed)

00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller
Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82P965/G965 PCI Express Root Port (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio
Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express
Port 1 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express
Port 5 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express
Port 6 (rev 02)
00:1d.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB
UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB
UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation 82801H (ICH8 Family) USB
UHCI Controller #3 (rev 02)
00:1d.3 USB controller: Intel Corporation 82801H (ICH8 Family) USB
UHCI Controller #4 (rev 02)
00:1d.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2
EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC
Interface Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801HR/HO/HH (ICH8R/DO/DH)
6 port SATA Controller [AHCI mode] (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee
ATI Turks PRO [Radeon HD 6570]
01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI
Turks/Whistler HDMI Audio [Radeon HD 6000 Series]
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8055
PCI-E Gigabit Ethernet Controller
03:00.0 SATA controller: JMicron Technology Corp. JMB363 SATA/IDE
Controller (rev 02)
03:00.1 IDE interface: JMicron Technology Corp. JMB363 SATA/IDE
Controller (rev 02)
05:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22A
IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx]
05:04.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001
Gigabit Ethernet Controller (rev 14)

Attachment: log
Description: Binary data