Bug 91841

Summary: Juniper 5770 entering Hibernate crashes the system (instant reboot)
Product: DRI Reporter: Heiko Lechner <Heiko.Lechner>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
grep(ed) drm out of dmesg
none
modinfo on radeon
none
Full dmesg output
none
dmesg output from notebook
none
lspci output from notebook none

Description Heiko Lechner 2015-09-01 18:48:51 UTC
Created attachment 118037 [details]
grep(ed) drm out of dmesg

Hi!

I'm running Lubuntu 15.04 with open source radeon driver.

Hibernating with systemd crashed, so I read this guide:
https://www.kernel.org/doc/Documentation/power/basic-pm-debugging.txt

# echo freezer > /sys/power/pm_test
# echo platform > /sys/power/disk
# echo disk > /sys/power/state

worked

# echo devices > /sys/power/pm_test
# echo platform > /sys/power/disk
# echo disk > /sys/power/state

crashed

so according to the guide it seemed to be a driver issue.

I started in recovery mode (command line) and pm_test worked as far as core- so hibernate worked.

The modules that are only loaded during "normal" boot are:
cfg80211 
amdkfd
amd_iommu_v2
radeon

Even without cfg80211 hibernate crashes the system, so only radeon is left.

So I booted with radeon.modeset=0 kernel parameter resulting in radeon not loading at all- but _hibernate works_!

Then I booted with radeon.dpm=0 kernel parameter resulting in power_method=profile and profile set to default but hibernate does not work and crashes.

For me it is obvious that this behavior is triggered by radeon driver.

What can I do next?
Comment 1 Heiko Lechner 2015-09-02 08:16:40 UTC
Created attachment 118046 [details]
modinfo on radeon
Comment 2 Heiko Lechner 2015-09-02 08:17:09 UTC
Created attachment 118047 [details]
Full dmesg output
Comment 3 Heiko Lechner 2015-09-06 21:21:37 UTC
I booted the same system on my notebook (I installed Ubuntu 15.04 on an usb drive) equipped with an "Advanced Micro Devices, Inc. [AMD/ATI] Madison [Mobility Radeon HD 5650/5750 / 6530M/6550M]" and there it works like a charm.

I attached dmesg and lspci output.

Hope that helps.
Comment 4 Heiko Lechner 2015-09-06 21:22:23 UTC
Created attachment 118108 [details]
dmesg output from notebook
Comment 5 Heiko Lechner 2015-09-06 21:22:55 UTC
Created attachment 118109 [details]
lspci output from notebook
Comment 6 Heiko Lechner 2016-06-30 12:39:07 UTC
Fixed at some point in Kernel source.
With 4.7-rcs kernel there are no problems.

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.