Bug 91841 - Juniper 5770 entering Hibernate crashes the system (instant reboot)
Summary: Juniper 5770 entering Hibernate crashes the system (instant reboot)
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-01 18:48 UTC by Heiko Lechner
Modified: 2016-06-30 12:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
grep(ed) drm out of dmesg (3.06 KB, text/plain)
2015-09-01 18:48 UTC, Heiko Lechner
no flags Details
modinfo on radeon (46.86 KB, text/plain)
2015-09-02 08:16 UTC, Heiko Lechner
no flags Details
Full dmesg output (66.89 KB, text/plain)
2015-09-02 08:17 UTC, Heiko Lechner
no flags Details
dmesg output from notebook (66.37 KB, text/plain)
2015-09-06 21:22 UTC, Heiko Lechner
no flags Details
lspci output from notebook (2.08 KB, text/plain)
2015-09-06 21:22 UTC, Heiko Lechner
no flags Details

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.