public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Gabriel Paubert <paubert@iram.es>
To: Chris Friesen <cfriesen@nortelnetworks.com>,
	linux-kernel@vger.kernel.org
Subject: Re: gettimeofday problem
Date: Wed, 26 Jun 2002 12:58:03 +0200	[thread overview]
Message-ID: <3D199E3B.10305@iram.es> (raw)
In-Reply-To: 3D1871FA.B974E142@nortelnetworks.com

Chris Friesen wrote:

> "Richard B. Johnson" wrote:
> 
> 
>>This has been running since I first read your mail about 10:00 this
>>morning. The kernel is 2.4.18
>>
> 
> <code snipped, find it on google>
> 
> Using that code, I can reliably trigger the fault on 2.2.17 on a G4 desktop,
> while it doesn't trigger on 2.4.18 on a G4 cPCI blade.


Given the fact that the relevant code has been almost completely rewritten 
for 2.4 (I'm the culprit), this is not surprising.

The rewrite was mostly to make the code more robust in case of missed 
ticks: all PPC are now guaranteed to withstand at least (HZ-1) lost clock 
interrupts before things go awfully wrong (this was very useful when the
frame buffer drivers blocked interrupts for too long during screen 
switching). There are also several other less visible bug fixes: when 
connected to an NTP server, in some cases the timebase frequency appeared 
to vary depending on system load (fixed by a different algorithm to 
compute values to load into the decrementer) and other bogosities.

Now if you are able to trigger a problem with 2.4. I'm extremely interested.


> 
> I saw this a long time back (a year or two) on 2.2 but never really tracked it
> down properly as it wasn't a showstopper and I had other things to do at the
> time.


I have a patch for 2.2, but it is mixed up in a set of huge patches for 
Motorola VME boards (MVME2600 and 2400 series) with a bootloader 
(including an x86 emulator to initialize graphics boards by executing the 
BIOS ROM), VME drivers and other things that you can find at:

	ftp://vlab1.iram.es/pub/linux-2.2

I could extract the timing patches if somebody is interested, but not in 
the next few days (I have patches which apply to more recent versions than 
the ones I put on the FTP area).

	Gabriel.


  reply	other threads:[~2002-06-26 10:58 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-24  8:55 gettimeofday problem Salvatore D'Angelo
     [not found] ` <200206240934.g5O9YL524660@budgie.cs.uwa.edu.au>
2002-06-24 10:20   ` Salvatore D'Angelo
2002-06-24 12:46     ` Matti Aarnio
2002-06-24 13:57       ` Salvatore D'Angelo
2002-06-24 18:56         ` Karim Yaghmour
2002-06-26 11:01           ` Gabriel Paubert
2002-07-01  2:30         ` Pavel Machek
2002-07-01  2:29       ` Pavel Machek
2002-06-24 19:44     ` Richard B. Johnson
2002-06-24 23:34       ` Frank van de Pol
2002-06-25 11:42         ` Richard B. Johnson
2002-06-28 18:04           ` george anzinger
2002-06-25 13:36       ` Chris Friesen
2002-06-26 10:58         ` Gabriel Paubert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-06-25  0:37 Christian Robert
2002-06-25  0:43 ` Brad Hards
2002-06-25  2:03   ` Christian Robert
2002-06-25  2:47     ` John Alvord
2002-06-25  9:17       ` Christian Robert
2002-06-25 10:00         ` Jan Hudec
2002-07-19 12:17           ` Amos Waterland
2002-06-25 11:45   ` Richard B. Johnson
2002-06-25 11:50     ` Brad Hards

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=3D199E3B.10305@iram.es \
    --to=paubert@iram.es \
    --cc=cfriesen@nortelnetworks.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox