mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mikael Pettersson <mikpe@csd.uu.se>
To: linux-kernel@vger.kernel.org
Cc: pavel@ucw.cz
Subject: 2.6.10-rc1 broke apmd
Date: Mon, 29 Nov 2004 12:38:11 +0100 (MET)	[thread overview]
Message-ID: <200411291138.iATBcBiR007342@harpo.it.uu.se> (raw)

Starting with 2.6.10-rc1, date and time on my old APM-based
laptop is messed up after a resume. Specifically, Emacs and
xclock both make a huge forward leap and then stop updating
their current time displays.

The cause is the "jiffies += sleep_length * HZ;" addition
to arch/i386/kernel/time.c:time_resume() which is in conflict
with the hwlock --hctosys that the APM daemon normally does
at resume.

Preventing apmd from updating the system time does eliminate
the problems I described, but this requires kernel-version
dependent settings in user-space, which is ugly and fragile.

Just FYI. I don't have a nice solution yet.

/Mikael

             reply	other threads:[~2004-11-29 11:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-29 11:38 Mikael Pettersson [this message]
2004-11-29 12:53 ` Pavel Machek
2004-11-29 13:59   ` Mikael Pettersson
2004-11-29 20:40     ` Pavel Machek

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=200411291138.iATBcBiR007342@harpo.it.uu.se \
    --to=mikpe@csd.uu.se \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®