Bug 69922

Summary: Juniper (HD 5770): Hibernate partially broken since LInux kernel 3.10
Product: DRI Reporter: Franz Häuslschmid <haeuslsc>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: reuben_p
Version: XOrg git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Log for failing (hybrid) suspend to disk
none
Output of dmesg after failing suspend to disk
none
Xorg.0.log after failing suspend to disk none

Description Franz Häuslschmid 2013-09-29 10:01:55 UTC
Created attachment 86790 [details]
Log for failing (hybrid) suspend to disk

I built and installed the final version of 3.11 especially for testing the improvements of the radeon driver for my system.

However, I was no longer able to hibernate (suspend to disk) my system: the screen went blank, but fans were on full speed and power was not switched off. I have to reset the system and on reboot, there was no session to resume and the BIOS logged "A Hyper Transport sync flood error occurred on last boot. Press F1 to resume."

After that, I tried older kernel versions and figured out that suspend to disk works for me with 3.9.11, but no longer for kernel versions 3.10 and newer (tested with 3.11.1/3.12-rc2).

When I start the kernel with parameter 'nomodeset', suspend to disk works though (with DRM_RADEON_UMS activated).

Some details of my computer:

# uname -a
Linux odysseus 3.11.1-1.16-desktop #2 SMP PREEMPT Wed Sep 18 22:54:08 CEST 2013 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/SuSE-release
openSUSE 12.3 (x86_64)
VERSION = 12.3
CODENAME = Dartmouth

# smbios-sys-info 
Libsmbios version:      2.2.28
Product Name:           MS-7596
Vendor:                 MICRO-STAR INTERNATIONAL CO.,LTD
BIOS Version:           V2.12
System ID:              Could not determine System ID.
Service Tag:            To Be Filled By O.E.M.
Express Service Code:   0
Asset Tag:              To Be Filled By O.E.M.
Property Ownership Tag:

# lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS880 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 1)
00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 3c)
00:14.1 IDE interface: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge
00:14.5 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Juniper [Radeon HD 5700 Series]
01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI Juniper HDMI Audio [Radeon HD 5700 Series]
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 03)
Comment 1 Alex Deucher 2013-10-01 16:35:11 UTC
Please attach your xorg log and dmesg output.
Comment 2 Franz Häuslschmid 2013-10-02 22:04:20 UTC
Created attachment 87007 [details]
Output of dmesg after failing suspend to disk
Comment 3 Franz Häuslschmid 2013-10-02 22:04:51 UTC
Created attachment 87008 [details]
Xorg.0.log after failing suspend to disk
Comment 4 Alex Deucher 2013-10-02 22:07:46 UTC
Can you bisect?
Comment 5 Franz Häuslschmid 2013-10-02 22:22:31 UTC
(In reply to comment #4)
> Can you bisect?

I'll do it.
Comment 6 Franz Häuslschmid 2013-10-06 09:06:19 UTC
(In reply to comment #4)
> Can you bisect?

The result of the bisection:

~/src/linux-git> git bisect good
d4788db30a1a66255b592dd12613dda80c1443f7 is the first bad commit
commit d4788db30a1a66255b592dd12613dda80c1443f7
Author: Alex Deucher <alexander.deucher@amd.com>
Date:   Thu Feb 28 14:40:09 2013 -0500

    drm/radeon/evergreen: add support for golden register init
    
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

:040000 040000 b95956fea3e6171d7cf631a812a76541e76835cf f352e1babbc86bf91f9693eb1c903e5f5c947c22 M      drivers
Comment 7 Martin Peres 2019-11-19 08:38:30 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/387.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.