Bug 5222 - after poweroff system won't wake up on RTC
Summary: after poweroff system won't wake up on RTC
Status: REJECTED UNREPRODUCIBLE
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Sleep-Wake (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Zhang Rui
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-10 16:40 UTC by Alexander
Modified: 2007-09-06 14:46 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.12.2-2.6.18
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
2.6.12.2 kernel and other logs (35.29 KB, text/plain)
2005-09-10 16:47 UTC, Alexander
Details
2.6.13 kernel and other logs (PM and ACPI debug options turned on) (35.26 KB, text/plain)
2005-09-10 16:49 UTC, Alexander
Details
O.K., here it goes (acpidump.log) (88.89 KB, text/plain)
2005-09-15 15:28 UTC, Alexander
Details
debug patch (946 bytes, patch)
2005-09-15 19:36 UTC, Shaohua
Details | Diff

Description Alexander 2005-09-10 16:40:30 UTC
Most recent kernel where this bug did not occur: 2.6.9 (other kernels are not
tested)
Distribution: Mandrake 10.0
Hardware Environment: Soltek SL75FRN3-L motherboard with "nForce2 Ultra 400" chipset
Software Environment: 2.6.12.2, 2.6.13 kernels with gcc-3.3.2, gcc-2.95.3
Problem Description:
After poweroff called and system have been shutted down the "wake on RTC" fails.
System won't wake up.
Kernel recompiled with APM works OK, shuts down and wakes up the system
successfully.

Steps to reproduce: setting "wake on RTC" time in BIOS, booting Linux,
/sbin/poweroff, wait for "wake on RTC" time (+ about 1-2 minutes ;).
Comment 1 Alexander 2005-09-10 16:47:18 UTC
Created attachment 5969 [details]
2.6.12.2 kernel and other logs
Comment 2 Alexander 2005-09-10 16:49:25 UTC
Created attachment 5970 [details]
2.6.13 kernel and other logs (PM and ACPI debug options turned on)
Comment 3 Shaohua 2005-09-13 22:10:56 UTC
Does it work under Winxp? And please provide the acpidmp output. Thanks!
Comment 4 Len Brown 2005-09-14 19:16:20 UTC
Exactly how are you instructing the RTC to wake the system --
via /proc/acpi/alarm, or other means?

Note that acpidump is available in the latest pmtools here:
http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/utils
Comment 5 Alexander 2005-09-15 15:28:48 UTC
Created attachment 6038 [details]
O.K., here it goes (acpidump.log)

WinXP? Right now I have no ability to find it out. Maybe later... But it worked
on Win2k.

I'm doing nothing to RTC. Except one thing: I'm entering the BIOS setup, going
to "Power Management" menu and setting "Wake on RTC" -> "Enabled", "Day of
month" -> "0", "Time" -> "7:00:13". That's it. No any other manipulations with
kernel/proc/Linux/etc.

Strange one more thing comes up: in BIOS "wake up" time is set to "7:00:13".
But 'cat /proc/acpi/alarm' says "20:02:13"!
Isn't it strange?
I don't know from where it gets it. Because changing "wake up" time in BIOS to
another time DON'T changes information in /proc! 'cat /proc/acpi/alarm' still
says "20:02:13"!

Weird stuff.
Comment 6 Shaohua 2005-09-15 19:36:10 UTC
Created attachment 6041 [details]
debug patch

Could you please apply the patch and open all wakeup devices (echo 'MMAC' >
/proc/acpi/wakeup as an example). What's the result?
Comment 7 Alexander 2005-09-22 00:31:52 UTC
I've applied patch, opened all devices in /proc/acpi/wakeup... But there are no
changes, the same old story.
Comment 8 Zhang Rui 2007-08-26 23:05:07 UTC
Hmm, does this still happen in a recent kernel?
Comment 9 Len Brown 2007-09-06 14:46:47 UTC
please re-open if this is still a problem in linux-2.6.22.stable or later

Note You need to log in before you can comment on or make changes to this bug.