All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Ethan Blanton <eblanton@cs.ohiou.edu>, <linuxppc-dev@lists.linuxppc.org>
Subject: Re: Clock drift on an iBook2
Date: Tue, 17 Jul 2001 18:52:31 +0200	[thread overview]
Message-ID: <20010717165231.25195@smtp.adsl.oleane.com> (raw)
In-Reply-To: <20010717165032.5490@smtp.adsl.oleane.com>


>>I have a new iBook2 and I'm having *severe* clock drift problems -- on
>>the order of several seconds gained per minute.  I'd like to get this
>>taken care of, and it seems to be a linux problem as OSX appears to
>>have a stable clock.
>>
>>I'm running BenH's 2.4.7-pre6 right now, but I also saw it on 2.4.6.
>>
>>Is this a known problem?  If not, what can I do to help get this fixed?
>>Ethan
>
>Are you using MOL or do you experience this with nothing special running ?
>
>Do you have the same issue if you disable powersave_nap (/proc/sys/
>kernel/powersave_nap) ?
>
>The TB is calibrated using the VIA, if we don't have a correct VIA frequency
>or if the calibration routine is slightly off, that may also explain the
>problem.

Something else you can try: in arch/ppc/kernel/pmac_time.c, comment
out the call to via_calibrate_decr() (and the return too) so that
we use the device-tree "timebase-frequency" instead, and tell us if
it makes any difference.

Ben.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2001-07-17 16:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-17 14:27 Clock drift on an iBook2 Ethan Blanton
2001-07-17 16:50 ` Benjamin Herrenschmidt
2001-07-17 16:52   ` Benjamin Herrenschmidt [this message]
2001-07-17 17:32     ` Ethan Blanton
2001-07-17 17:04   ` Ethan Blanton
2001-07-17 17:14     ` Tom Rini
2001-07-17 17:16       ` Ethan Blanton

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=20010717165231.25195@smtp.adsl.oleane.com \
    --to=benh@kernel.crashing.org \
    --cc=eblanton@cs.ohiou.edu \
    --cc=linuxppc-dev@lists.linuxppc.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.