Digging through kernel code, I found the PM_TRACE_RTC configuration item
(by chance). It is a debugging option for suspend/resume problems and
enabled by default in the packaged ubuntu kernels! It saves debugging
info into the RTC while suspending and thus corrupts system time. (see
below)

This is a major annoyance to me because I don't always have internet and
often use certificate based 802.11 authentication, which requires me to
always manually set system date and time right. Is there any chance to
get this option out of the default kernel?

Interestingly though, nobody else seems to have this problem (or sees
fit to report a bug?).

To Ubuntu linux kernel package maintainers: It would've been most
helpful if _you_ wrote this in the first place. Knowing about this
kernel configuration option this is no obscure error.

Regards,


Björn


Suspend/resume event tracing (PM_TRACE_RTC)

This enables some cheesy code to save the last PM event point in the
RTC across reboots, so that you can debug a machine that just hangs
during suspend (or more commonly, during resume).

To use this debugging feature you should attempt to suspend the
machine, reboot it and then run

dmesg -s 1000000 | grep 'hash matches'

CAUTION: this option will cause your machine's real-time clock to be
set to an invalid time after a resume.

-- 
Hibernating sets system date and time wrong
https://bugs.launchpad.net/bugs/456717
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to