Bug 184757 - [suspend/resume] Resume fails on the X200 when the C3 power mode is available and engaged
Summary: [suspend/resume] Resume fails on the X200 when the C3 power mode is available...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.0-PRERELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-13 20:00 UTC by R. Tyler Croy
Modified: 2017-12-31 22:23 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description R. Tyler Croy 2013-12-13 20:00:02 UTC
When tuning some of the performance and power settings, I tried enabling the C3 state as the "lowest" economy power setting.

This works all well and good, *unless* I suspend while on battery after some period of idle activity 


/etc/rc.conf
----8<----8<----8<---

# Performance and power tuning taken from TuningPowerconsumption wiki
performance_cx_lowest="C2"
economy_cx_lowest="C3"

----8<----8<----8<---

/boot/loader.conf
----8<----8<----8<---
# Performance and power tuning taken from TuningPowerConsumption wiki
#####################################################################
# Disable PCI bus devices we don't have something built into the kernel
# for.
hw.pci.do_power_nodriver=3
# Disable throttling that would be hidden by the C2 state
hint.p4tcc.0.disabled=1
hint.acpi_throttle.0.disabled=1
# Enable clocks to make the C3 state viable
hint.apic.0.clock=0
hint.atrtc.0.clock=0
# Reduce the interrupt rate to make C3 more effective
kern.hz=100
----8<----8<----8<---

How-To-Repeat: * Enable the C3 state.
* Suspend while on battery, typically after some period of inactivity, allowing the machine to enter C3
* Attempt to resume

Observe the black screen on resume followed by a reboot a short time after that.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:45 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped