All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Jike Song <albcamus@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [BUG] 2.6.28 hates my RTC clock - with PM_TRACE set
Date: Mon, 5 Jan 2009 14:33:38 +0000	[thread overview]
Message-ID: <20090105143338.GA32337@srcf.ucam.org> (raw)
In-Reply-To: <df9815e70901050619v6c60e8d4w6868759bb3c36bdb@mail.gmail.com>

On Mon, Jan 05, 2009 at 10:19:22PM +0800, Jike Song wrote:

> As usually, it suspended to RAM successfully.  But after I press the
> power button, it won't come back, giving me nothing but a black
> screen.  So I hold the power button done for about 5 seconds, then the
> computer halted(it's only a hardware feature of the southbridge,
> right? ;-), silently, without any output on the always-black screen.
> 
> So the PM_TRACE code was broken, right?

Why do you say that?

> After rebooting the computer, I found I was in the year 1988!  And I
> do the suspend-hold_power_button-reboot once again, now it is 2040
> years A.D.

PM_TRACE uses the clock registers to store information about which 
device the kernel was attempting to resume when it hung. It's expected 
that your clock will be wrong afterwards.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

  reply	other threads:[~2009-01-05 14:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-05 14:19 [BUG] 2.6.28 hates my RTC clock - with PM_TRACE set Jike Song
2009-01-05 14:33 ` Matthew Garrett [this message]
2009-01-05 14:40   ` Jike Song
2009-01-05 14:59     ` Matthew Garrett
2009-01-05 15:47 ` Frans Pop

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090105143338.GA32337@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=albcamus@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.