From: Fionn Behrens <fionn@unix-ag.org>
To: linux-kernel@vger.kernel.org
Cc: root@chaos.analogic.com
Subject: Re: System time warping around real time problem - please help
Date: 25 Mar 2003 19:12:37 +0100 [thread overview]
Message-ID: <1048615957.2576.12.camel@rtfm> (raw)
In-Reply-To: <Pine.LNX.4.53.0303251152080.29361@chaos>
On Die, 2003-03-25 at 18:07, Richard B. Johnson wrote:
> On Tue, 25 Mar 2003, Fionn Behrens wrote:
> > I have got an increasingly annoying problem with our fairly new (fall
> > '02) Dual Athlon2k+ Gigabyte 7dpxdw linux system running 2.4.20.
> I am using the exact same kernel (a lot of folks are). There
> is no such jumping on my system.
> Try this program:
[... prg1.c ...]
> If this shows time jumping around you have one of either:
>
> (1) Bad timer channel 0 chip (PIT).
> (2) Some daemon trying to sync time with another system.
> (3) You are traveling too close to the speed of light.
It just exits immediately with exit code 1. (*shrug*)
> Now, your script shows time in fractional seconds.
>
> > 1048608745.61 > 1048608745.60
>
> You can modify the program to do this:
[... prg2.c ...]
> There should be no jumping around -- and there isn't on
> any system I've tested this on.
When I run this code it begins to put out Prev N New M lines.
Prev 1048615862810879.000000 New 1048615862759879.000000
Prev 1048615862870879.000000 New 1048615862819878.000000
Prev 1048615862900879.000000 New 1048615862849902.000000
Prev 1048615862960882.000000 New 1048615862909875.000000
[-------- cut --------]
After a few seconds of run time random processes on my machine begin to
crash, or I get kernel oopses and kernel freezes. Looks very much like
heavy use of gettimeofday() causes random writes in system memory.
> > Software crashes are regularly - naturally. No programmer expects system
> > timers going back in time.
> Hmmm, software should never crash. Even if the timers jump backwards
> as you say, they should eventually time-out. If you have crashes, this
> may point to other hardware problems as well.
E.g. which type of hardware problem?
Thanks a million for your help so far, it is great to experience how
fast people are respoding!
I'll evaluate that other suggestion about TSC_DISABLE now and will get
back to you as soon as I can tell you more.
Kind regards,
F. Behrens
next prev parent reply other threads:[~2003-03-25 18:01 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-25 16:32 System time warping around real time problem - please help Fionn Behrens
2003-03-25 17:07 ` Richard B. Johnson
2003-03-25 17:17 ` Tim Schmielau
2003-03-25 18:12 ` Fionn Behrens [this message]
2003-03-25 18:29 ` Richard B. Johnson
2003-03-25 21:16 ` Fionn Behrens
2003-03-25 22:14 ` george anzinger
2003-03-25 22:55 ` Fionn Behrens
2003-03-26 0:13 ` Alan Cox
2003-03-26 2:28 ` george anzinger
2003-03-26 14:38 ` Alan Cox
2003-03-26 16:12 ` george anzinger
2003-03-26 17:06 ` Richard B. Johnson
2003-03-26 18:12 ` george anzinger
2003-03-26 3:11 ` Chris Friesen
2003-03-26 14:35 ` Alan Cox
2003-03-26 10:48 ` Fionn Behrens
[not found] <20030325164014$031c@gated-at.bofh.it>
2003-03-26 9:31 ` Kay Diederichs
-- strict thread matches above, loose matches on Subject: below --
2003-04-03 13:22 Fionn Behrens
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=1048615957.2576.12.camel@rtfm \
--to=fionn@unix-ag.org \
--cc=linux-kernel@vger.kernel.org \
--cc=poster@unix-ag.org \
--cc=root@chaos.analogic.com \
/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