From: Paul Gortmaker <p_gortmaker@yahoo.com>
To: Simon Kirby <sim@netnation.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.4.16] Clock locking bugs?
Date: Tue, 16 Apr 2002 01:51:32 -0400 [thread overview]
Message-ID: <3CBBBBE4.42B32ED6@yahoo.com> (raw)
In-Reply-To: <20020114180215.GA20200@netnation.com> <20020413192105.GA853@netnation.com>
You've just given another example of why set_rtc_mmss should die (or at a
minimum, not be enabled by default) - the timer died, and it wants to push
its incorrect time onto the rtc as well. I've posted patches to this effect
several times before; now that we are into 2.5, I'll push them again...
I doubt that such a change would influence your timer problem, but feel
free to #if 0 out the set_rtc_mmss routine, and the cruft that calls
it from the timer interrupt - i.e. if (time_status & STA_UNSYNC)
in arch/i386/kernel/time.c - you can then make the *policy* decision
in userspace as to whether you want to sync the rtc with the kernel time.
[At a minimum, I guarantee the annoying set_rtc_mmss messages go away :) ]
Paul.
Simon Kirby wrote:
>
> Hrm...Just had this happen on my dual celeron desktop, exactly the same
> problem. Kernel 2.5.7. Everything I typed in an rxvt was one character
> lagged. :)
>
> Simon-
>
> On Mon, Jan 14, 2002 at 10:02:15AM -0800, Simon Kirby wrote:
>
> > Just had a server's clock stop at 9:02:30am. Very interesting
> > results:
> >
> > [sroot@pro:/]# cat /proc/interrupts
> > CPU0 CPU1
> > 0: 172839353 172896882 IO-APIC-edge timer
...
> > [sroot@pro:/]# cat /proc/interrupts
> > CPU0 CPU1
> > 0: 172839353 172896882 IO-APIC-edge timer
> >
> > Alan says this is due to locking problems with the timer I/O code.
> >
> > On the console were a lot of "set_rtc_mmss: can't update from 79 to 32"
> > type messages that have always happened on SMP kernels with ntpd.
> >
> > Has anybody created any patches for this?
prev parent reply other threads:[~2002-04-16 6:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-14 18:02 [2.4.16] Clock locking bugs? Simon Kirby
2002-04-13 19:21 ` Simon Kirby
2002-04-16 5:51 ` Paul Gortmaker [this message]
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=3CBBBBE4.42B32ED6@yahoo.com \
--to=p_gortmaker@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sim@netnation.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 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.