From: John Stultz <johnstul@us.ibm.com>
To: CAI Qian <caiqian@redhat.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
Ingo Molnar <mingo@kernel.org>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
Prarit Bhargava <prarit@redhat.com>,
Thomas Gleixner <tglx@linutronix.de>,
Zhouping Liu <zliu@redhat.com>
Subject: Re: boot panic regression introduced in 3.5-rc7
Date: Mon, 30 Jul 2012 13:59:57 -0700 [thread overview]
Message-ID: <5016F5CD.4080508@us.ibm.com> (raw)
In-Reply-To: <1971950954.1278169.1343620316300.JavaMail.root@redhat.com>
On 07/29/2012 08:51 PM, CAI Qian wrote:
> The bisecting pointed out this patch caused one of dell servers boot panic.
>
> 5baefd6d84163443215f4a99f6a20f054ef11236
> hrtimer: Update hrtimer base offsets each hrtimer_interrupt
>
> [ 2.971092] WARNING: at kernel/time/clockevents.c:209 clockevents_program_event+0x10a/0x120()
> [ 2.971092] Hardware name: PowerEdge M605
> [ 2.971092] Modules linked in:
Looking at the dmesg:
[ 0.000000] Extended CMOS year: 8200
I'm working with Prarit to try to debug the issue on the affected
machine. He noticed part of the problem is that the offs_real was set
to 0x7FFFFFFFFFFFFFFF, which is the same as KTIME_MAX.
I suspect from the dmesg above we're getting bad data from the CMOS
clock, and that's then causing an overflow converting to a ktime_t
(64bits of nanoseconds can only hold ~584 years).
I've still not quite narrowed down why this hasn't bit you earlier,
since the same wall_to_monotonic -> ktime conversion was done in
retrigger_next_event before the change. Maybe something called
settimeofday(), fixing crazy time value before you switched to highres mode?
Once I sort out this last question, I'll try to see where we can add
some sanity checking for this sort of thing.
thanks
-john
next prev parent reply other threads:[~2012-07-30 21:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1107100725.1273654.1343619920692.JavaMail.root@redhat.com>
2012-07-30 3:51 ` boot panic regression introduced in 3.5-rc7 CAI Qian
2012-07-30 17:53 ` John Stultz
2012-07-31 1:59 ` CAI Qian
2012-07-30 20:59 ` John Stultz [this message]
2012-07-31 5:48 ` John Stultz
2012-08-01 6:50 ` Thomas Gleixner
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=5016F5CD.4080508@us.ibm.com \
--to=johnstul@us.ibm.com \
--cc=a.p.zijlstra@chello.nl \
--cc=caiqian@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=prarit@redhat.com \
--cc=tglx@linutronix.de \
--cc=zliu@redhat.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.