From: Zachary Amsden <zach@vmware.com>
To: Chuck Ebbert <cebbert@redhat.com>
Cc: Marcos Pinto <markybob@gmail.com>, Andi Kleen <ak@suse.de>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Alessandro Zummo <a.zummo@towertech.it>
Subject: Re: Mysterious RTC hangs on x86_64 - fixed, sort of
Date: Wed, 02 May 2007 17:05:42 -0700 [thread overview]
Message-ID: <46392756.2030309@vmware.com> (raw)
In-Reply-To: <46391716.9040001@redhat.com>
Chuck Ebbert wrote:
Well, turns out this is a heisenbug. Which is good, since it means the
nop patch didn't change anything.
> Try leaving the spinlocks and just disabling the callbacks. And maybe
> enable spinlock debugging...
>
I tried removing all the spinlocks inside the interrupt handler. Seemed
to work fine for a while, but still hung (at worst, it looks missing
locks means we might screw up and read / write the wrong CMOS register,
not hang or crash).
So I took down 2nd CPU with hotplug (did not yet try UP kernel though).
It took a longer time, but still hung. Seems not to be a spinlock
problem, but I'll turn on debugging anyway.
>
>> CONFIG_HPET_EMULATE_RTC=y
>>
>
> Did you try without that?
>
Will do. That looks much more suspicious like. I thought I killed it
already, but had only got this:
# CONFIG_HPET_RTC_IRQ is not set
If that still crashes, I'll try running cmos access in a loop in userspace to see if maybe the port I/O is tickling a chipset bug (the only other report I know of is on same chipset, nVidia MCP51). Maybe SMM handler is accessing CMOS or something wacked out. <laughs hysterical... stops laughing when the theory actually sounds plausible>. Stuck in SMM is not good for CPU thermal throttling ... hopefully Turion's don't reach nuclear emission point.
Would also explain maybe why NMI watchdog doesn't seem to notice anything wrong.
Thanks,
Zach
next prev parent reply other threads:[~2007-05-03 0:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-02 22:36 Mysterious RTC hangs on x86_64 - fixed, sort of Zachary Amsden
2007-05-02 22:56 ` Chuck Ebbert
2007-05-03 0:05 ` Zachary Amsden [this message]
2007-05-03 4:23 ` Zachary Amsden
2007-05-03 9:00 ` Andi Kleen
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=46392756.2030309@vmware.com \
--to=zach@vmware.com \
--cc=a.zummo@towertech.it \
--cc=ak@suse.de \
--cc=cebbert@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=markybob@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox