All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
To: Vegard Nossum <vegard.nossum@gmail.com>
Cc: Mikael Pettersson <mikpe@it.uu.se>,
	hpa@zytor.com, mingo@redhat.com, tglx@linutronix.de,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Re: [BUG] get_rtc_time() triggers NMI watchdog in hpet_rtc_interrupt()
Date: Tue, 26 Aug 2008 11:25:06 +0100	[thread overview]
Message-ID: <48B3DA02.9080002@tuffmail.co.uk> (raw)
In-Reply-To: <19f34abd0808240448w5facaee2gec77662c14b9364f@mail.gmail.com>

Vegard Nossum wrote:
> On Sun, Aug 24, 2008 at 12:32 PM, Mikael Pettersson <mikpe@it.uu.se> wrote:
>   
>>  > I also just got this during shutdown:
>>  >
>>  > Syncing hardware clock to system time BUG: NMI Watchdog detected
>>  > LOCKUP on CPU0, ip c011d922, registers:
>>  > Pid: 4181, comm: hwclock Not tainted (2.6.27-rc3-00464-g1fca254-dirty #42)
>>     
> [...]
>
>   
>> See my reply in the thread following Ingo's patch
>> <http://lkml.org/lkml/2008/8/23/158>. I've only seen the lockup
>> while hwclock was setting or flushing the system time, so I suspect
>> broken interaction between the hpet rtc emulation and the rtc
>> user-space interface.
>>     
>
> Oops, I picked the wrong thread :-)
>
> Anyway, I guess it wouldn't be too hard to make a test cast by running
> "hwclock" (or the corresponding initscript) in a tight loop? (Sorry, I
> am not able to test this myself at the moment). That would make it
> easier to test the patch too, I guess. Maybe something like:
>
>     $ while true; do /etc/init.d/ntpdate up; /etc/init.d/ntpdate down; done
>
> (At least "ntpdate" is the one that runs hwclock for me on F9.)
>
> I will try this later unless you beat me to it :-)
>
>   
I beat you :-).  I noticed the problem myself.  It does trigger if I run
hwclock in a loop.

while true; do hwclock; done

However it is fine in latest git.  Looks like Ingo's patch has been
merged, and has fixed it.

Alan

  reply	other threads:[~2008-08-26 10:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-23  9:48 [BUG] get_rtc_time() triggers NMI watchdog in hpet_rtc_interrupt() Mikael Pettersson
2008-08-23 16:01 ` [PATCH] rtc: fix deadlock Ingo Molnar
2008-08-23 16:58   ` Mikael Pettersson
2008-08-23 17:11     ` Ingo Molnar
2008-08-23 18:45       ` Maciej W. Rozycki
2008-08-23 19:46         ` Mikael Pettersson
2008-08-29 11:48   ` [PATCH] rtc: fix deadlock: fixes regression since 2.6.24 Frank van Maarseveen
2008-09-06 18:32     ` Ingo Molnar
2008-10-01 23:51       ` [stable] " Greg KH
2008-08-24  9:14 ` [BUG] get_rtc_time() triggers NMI watchdog in hpet_rtc_interrupt() Vegard Nossum
2008-08-24 10:32   ` Mikael Pettersson
2008-08-24 11:48     ` Vegard Nossum
2008-08-26 10:25       ` Alan Jenkins [this message]
2008-08-26 10:39         ` Ingo Molnar
2008-08-27  8:54           ` Alan Jenkins

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=48B3DA02.9080002@tuffmail.co.uk \
    --to=alan-jenkins@tuffmail.co.uk \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikpe@it.uu.se \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=vegard.nossum@gmail.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.