diff options
author | Andrew Morton <akpm@osdl.org> | 2006-06-27 05:53:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-27 20:32:35 -0400 |
commit | 5c31f2738ab124ebc1f8948a5fc17dd7a08ed1ec (patch) | |
tree | 87b8f11652781ee6c50422ba42976f634ca2cd89 | |
parent | b762450e84e20a179ee5993b065caaad99a65fbf (diff) |
[PATCH] pm_trace is dangerous
CONFIG_PM_TRACES scrogs your RTC. Mark it as experimental, and defaulting to
`off'.
Also beef up the help message a bit.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | kernel/power/Kconfig | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index fc311a4673a2..857b4fa09124 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig | |||
@@ -38,13 +38,22 @@ config PM_DEBUG | |||
38 | 38 | ||
39 | config PM_TRACE | 39 | config PM_TRACE |
40 | bool "Suspend/resume event tracing" | 40 | bool "Suspend/resume event tracing" |
41 | depends on PM && PM_DEBUG && X86_32 | 41 | depends on PM && PM_DEBUG && X86_32 && EXPERIMENTAL |
42 | default y | 42 | default n |
43 | ---help--- | 43 | ---help--- |
44 | This enables some cheesy code to save the last PM event point in the | 44 | This enables some cheesy code to save the last PM event point in the |
45 | RTC across reboots, so that you can debug a machine that just hangs | 45 | RTC across reboots, so that you can debug a machine that just hangs |
46 | during suspend (or more commonly, during resume). | 46 | during suspend (or more commonly, during resume). |
47 | 47 | ||
48 | To use this debugging feature you should attempt to suspend the machine, | ||
49 | then reboot it, then run | ||
50 | |||
51 | dmesg -s 1000000 | grep 'hash matches' | ||
52 | |||
53 | CAUTION: this option will cause your machine's real-time clock to be | ||
54 | set to an invalid time after a resume. | ||
55 | |||
56 | |||
48 | config SOFTWARE_SUSPEND | 57 | config SOFTWARE_SUSPEND |
49 | bool "Software Suspend" | 58 | bool "Software Suspend" |
50 | depends on PM && SWAP && (X86 && (!SMP || SUSPEND_SMP)) || ((FRV || PPC32) && !SMP) | 59 | depends on PM && SWAP && (X86 && (!SMP || SUSPEND_SMP)) || ((FRV || PPC32) && !SMP) |