mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Borislav Petkov <bp@alien8.de>
Cc: Ingo Molnar <mingo@elte.hu>, lkml <linux-kernel@vger.kernel.org>
Subject: Re: WARNING: at kernel/lockdep.c:2592 trace_hardirqs_on_caller+0x1a4/0x1b0()
Date: Sat, 14 Apr 2012 14:45:17 +0200	[thread overview]
Message-ID: <1334407517.2528.93.camel@twins> (raw)
In-Reply-To: <20120404044003.GA28344@liondog.tnic>

On Wed, 2012-04-04 at 06:40 +0200, Borislav Petkov wrote:
> Hi guys,
> 
> I get the following after resuming on 3.4-rc1. Any ideas how to debug this?
> 
> [  100.962703] Enabling non-boot CPUs ...
> [  100.971361] lockdep: fixing up alternatives.
> [  100.971383] Booting Node 0 Processor 1 APIC 0x1
> [  100.982448] LVT offset 0 assigned for vector 0x400
> [  100.984636] ------------[ cut here ]------------
> [  100.984648] WARNING: at kernel/lockdep.c:2592 trace_hardirqs_on_caller+0x1a4/0x1b0()
> [  100.984652] Hardware name: 30515QG
> [  100.984654] Modules linked in: tun cpufreq_stats cpufreq_conservative cpufreq_powersave cpufreq_userspace binfmt_misc uinput kvm_amd kvm fuse dm_crypt dm_mod ipv6 vfat fat loop snd_hda_codec_conexant snd_hda_codec_hdmi snd_hda_intel arc4 snd_hda_codec rtl8192ce rtl8192c_common rtlwifi snd_hwdep snd_pcm mac80211 thinkpad_acpi radeon snd_seq cfg80211 snd_timer snd_seq_device ttm snd nvram video ohci_hcd pcspkr ehci_hcd soundcore powernow_k8 mperf microcode k10temp rfkill thermal evdev button battery processor drm_kms_helper snd_page_alloc thermal_sys ac
> [  100.984739] Pid: 0, comm: swapper/1 Not tainted 3.4.0-rc1 #1
> [  100.984743] Call Trace:
> [  100.984751]  [<ffffffff8103588f>] warn_slowpath_common+0x7f/0xc0
> [  100.984758]  [<ffffffff814296f0>] ? start_secondary+0x1ab/0x205
> [  100.984764]  [<ffffffff810358ea>] warn_slowpath_null+0x1a/0x20
> [  100.984769]  [<ffffffff8108d3f4>] trace_hardirqs_on_caller+0x1a4/0x1b0
> [  100.984774]  [<ffffffff8108d40d>] trace_hardirqs_on+0xd/0x10
> [  100.984779]  [<ffffffff814296f0>] start_secondary+0x1ab/0x205
> [  100.984785] ---[ end trace c9b3d3b86e472b29 ]---
> [  100.986201] CPU1 is up

Curious, it seems to think start_secondary is running from hardirq
context. We fork the idle thread from a worker thread, and all that is
process context, so I've no clue how current->hardirq_context gets set
there.

How reproducable is this for you? And does it also happen on regular
hotplug?

  reply	other threads:[~2012-04-14 12:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-04  4:40 Borislav Petkov
2012-04-14 12:45 ` Peter Zijlstra [this message]
2012-04-14 15:33   ` Borislav Petkov

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=1334407517.2528.93.camel@twins \
    --to=peterz@infradead.org \
    --cc=bp@alien8.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /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

all inboxes | Powered by JetHome®