From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Roger Leigh <rleigh@whinlatter.ukfsn.org>
Cc: Linux Kernel ML <linux-kernel@vger.kernel.org>,
debian-powerpc@lists.debian.org
Subject: Re: 2.6.16-rc2 powerpc timestamp skew
Date: Mon, 13 Feb 2006 08:33:03 +1100 [thread overview]
Message-ID: <1139779983.5247.39.camel@localhost.localdomain> (raw)
In-Reply-To: <87pslspkj5.fsf@hardknott.home.whinlatter.ukfsn.org>
On Sun, 2006-02-12 at 17:13 +0000, Roger Leigh wrote:
> Hi folks,
>
> When running a 2.6.16-rc2 kernel on a powerpc system (Mac Mini;
> Freescale 7447A):
>
> $ date && touch f && ls -l f && rm -f f && date
> Sun Feb 12 12:20:14 GMT 2006
> -rw-r--r-- 1 rleigh rleigh 0 2006-02-12 12:23
> Sun Feb 12 12:20:14 GMT 2006
>
> Notice the timestamp is 3 minutes in the future compared with the
> system time. "make" is not a very happy bunny running on this kernel
> due to every touched file being 3 minutes in the future.
>
> When the same command is run on 2.6.15.3:
>
> $ date && touch f && ls -l f && rm -f f && date
> Sun Feb 12 14:27:27 GMT 2006
> -rw-r--r-- 1 rleigh rleigh 0 2006-02-12 14:27
> Sun Feb 12 14:27:27 GMT 2006
>
> In this case the times are identical, as you would expect.
>
> In both these cases, the chrony NTP daemon is running, if that might
> be a problem.
Can you strace vs. ltrace and see if the gettimeofday or clock_gettime
syscalls are ever called ? I wonder if you have a glibc new enough to
use the vDSO to obtain the time or if it's using the syscall... The vDSO
on ppc32 is very new.
Also, are your kernels built with ARCH=ppc or ARCH=powerpc ?
Ben.
next prev parent reply other threads:[~2006-02-12 21:34 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-12 17:13 Roger Leigh
2006-02-12 17:39 ` Gabriel Paubert
2006-02-12 17:58 ` Roger Leigh
2006-02-12 20:15 ` Bin Zhang
2006-02-12 19:55 ` Olaf Hering
2006-02-13 10:57 ` Olaf Hering
2006-02-13 12:51 ` Olaf Hering
2006-02-12 21:33 ` Benjamin Herrenschmidt [this message]
2006-02-13 18:34 ` Roger Leigh
2006-02-13 22:34 ` Benjamin Herrenschmidt
2006-02-15 5:27 ` Paul Mackerras
2006-02-15 10:30 ` Olaf Hering
2006-02-15 11:53 ` Mikael Pettersson
2006-02-16 11:30 ` Roger Leigh
2006-02-13 0:13 ` Andrew Morton
2006-02-13 0:41 ` Roger Leigh
2006-02-13 4:00 ` [PATCH] powerpc: dont allow old RTC to be selected Anton Blanchard
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=1139779983.5247.39.camel@localhost.localdomain \
--to=benh@kernel.crashing.org \
--cc=debian-powerpc@lists.debian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rleigh@whinlatter.ukfsn.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome