From: Yinghai Lu <yinghai@kernel.org>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Dave Jones <davej@redhat.com>,
Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: clockevents_program_event WARN_ON preventing boot.
Date: Thu, 2 May 2013 14:36:14 -0700 [thread overview]
Message-ID: <CAE9FiQWFK_ropzW_qQLcNxLYyek8-PHGW-8SxfZJSijvdrss1A@mail.gmail.com> (raw)
In-Reply-To: <alpine.LFD.2.02.1305022304370.2891@ionos>
On Thu, May 2, 2013 at 2:19 PM, Thomas Gleixner <tglx@linutronix.de> wrote:
> Can you please apply the following debug patch and provide the output?
>
> diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c
> index c6d6400..b4d9622 100644
> --- a/kernel/time/clockevents.c
> +++ b/kernel/time/clockevents.c
> @@ -207,6 +207,8 @@ int clockevents_program_event(struct clock_event_device *dev, ktime_t expires,
>
> if (unlikely(expires.tv64 < 0)) {
> WARN_ON_ONCE(1);
> + printk_once(KERN_INFO "expires %llx, dev->next %llx\n",
> + expires.tv64, dev->next_event.tv64);
> return -ETIME;
> }
>
[ 3.450968] SMP alternatives: lockdep: fixing up alternatives
[ 3.454454] ------------[ cut here ]------------
[ 3.454470] WARNING: at kernel/time/clockevents.c:209
clockevents_program_event+0x3e/0x120()
[ 3.454473] Modules linked in:
[ 3.454479] CPU: 10 PID: 0 Comm: swapper/10 Not tainted
3.9.0-yh-08066-g1252014-dirty #1538
[ 3.454481] Hardware name: Oracle Corporation unknown /
, BIOS 11016600 05/17/2011
[ 3.454500] 0000000000000009 ffff88203e203ed8 ffffffff82091042
ffff88203e203f18
[ 3.454518] ffffffff81088990 ffff88203e203f08 ffff88203e20d000
80000000003d08ff
[ 3.454526] 000000000000000a ffff881027557fd8 0000000000000000
ffff88203e203f28
[ 3.454527] Call Trace:
[ 3.454540] <IRQ> [<ffffffff82091042>] dump_stack+0x19/0x1b
[ 3.454548] [<ffffffff81088990>] warn_slowpath_common+0x70/0xa0
[ 3.454552] [<ffffffff810889da>] warn_slowpath_null+0x1a/0x20
[ 3.454556] [<ffffffff810e312e>] clockevents_program_event+0x3e/0x120
[ 3.454560] [<ffffffff810e360c>] tick_handle_periodic+0x4c/0x80
[ 3.454566] [<ffffffff820ae8cd>] smp_apic_timer_interrupt+0x8d/0xa3
[ 3.454575] [<ffffffff820adbef>] apic_timer_interrupt+0x6f/0x80
[ 3.454583] <EOI> [<ffffffff810527f7>] ? default_idle+0x57/0xd0
[ 3.454587] [<ffffffff810527f5>] ? default_idle+0x55/0xd0
[ 3.454591] [<ffffffff81053078>] arch_cpu_idle+0x18/0x20
[ 3.454595] [<ffffffff810dbec5>] cpu_startup_entry+0x165/0x210
[ 3.454603] [<ffffffff8207f3cd>] start_secondary+0x1df/0x1e6
[ 3.454626] ---[ end trace 2f2f1a2adee9c881 ]---
[ 3.454628] expires 80000000003d08ff, dev->next 7fffffffffffffff
next prev parent reply other threads:[~2013-05-02 21:36 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-30 21:20 clockevents_program_event WARN_ON preventing boot Dave Jones
2013-04-30 21:37 ` Dave Jones
2013-05-02 10:37 ` Thomas Gleixner
2013-05-02 15:46 ` Dave Jones
2013-05-02 17:56 ` Yinghai Lu
2013-05-02 19:58 ` Thomas Gleixner
2013-05-02 20:54 ` Yinghai Lu
2013-05-02 21:19 ` Thomas Gleixner
2013-05-02 21:36 ` Yinghai Lu [this message]
2013-05-02 22:49 ` Thomas Gleixner
2013-05-03 14:49 ` Dave Jones
2013-05-03 18:32 ` Thomas Gleixner
2013-05-03 20:10 ` Dave Jones
2013-05-04 5:03 ` Yinghai Lu
2013-05-05 6:21 ` [tip:timers/urgent] tick: Use zalloc_cpumask_var for allocating offstack cpumasks tip-bot for Thomas Gleixner
2013-05-05 9:17 ` tip-bot for Thomas Gleixner
2013-05-05 12:49 ` tip-bot for Thomas Gleixner
2013-05-05 14:15 ` tip-bot for Thomas Gleixner
2013-05-10 13:24 ` clockevents_program_event WARN_ON preventing boot Josh Boyer
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=CAE9FiQWFK_ropzW_qQLcNxLYyek8-PHGW-8SxfZJSijvdrss1A@mail.gmail.com \
--to=yinghai@kernel.org \
--cc=davej@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/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;
as well as URLs for NNTP newsgroup(s).