public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Frank van Maarseveen <frankvm@frankvm.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 3.0.3 kernel BUG at kernel/timer.c:1035
Date: Fri, 2 Sep 2011 01:10:58 -0700	[thread overview]
Message-ID: <20110902011058.c5bad476.akpm@linux-foundation.org> (raw)
In-Reply-To: <20110824130238.GA24543@janus>

On Wed, 24 Aug 2011 15:02:38 +0200 Frank van Maarseveen <frankvm@frankvm.com> wrote:

> Got several of these (logged via netconsole):
> 
>  kernel BUG at kernel/timer.c:1035!
>  invalid opcode: 0000 [#1]
>  PREEMPT
>  SMP
> 
> ...
>
>  Call Trace:
>   [<c107af48>] run_timer_softirq+0x148/0x1e0
>   [<c1069265>] ? rebalance_domains+0x135/0x160
>   [<c106a28b>] ? get_parent_ip+0xb/0x40
>   [<c106a28b>] ? get_parent_ip+0xb/0x40
>   [<c1075098>] __do_softirq+0x78/0x100
>   [<c1075020>] ? local_bh_enable+0xa0/0xa0
>   <IRQ>
> 
>   [<c10753ad>] ? irq_exit+0x5d/0x70
>   [<c104df53>] ? smp_apic_timer_interrupt+0x53/0x90
>   [<c178fa22>] ? apic_timer_interrupt+0x2a/0x30
>   [<c103d3ed>] ? mwait_idle+0x4d/0x80
>   [<c1034b0a>] ? cpu_idle+0x3a/0x80
>   [<c176dc3b>] ? rest_init+0x7b/0x80
>   [<c1b1471b>] ? start_kernel+0x2e2/0x2e8
>   [<c1b141c1>] ? loglevel+0x1a/0x1a
>   [<c1b140b3>] ? i386_start_kernel+0xb3/0xbb
> 
> 

Could be that a timer was freed while still running.

Please ensure that all kernel debugging options are enabled. 
Especially 

CONFIG_DEBUG_OBJECTS=y
CONFIG_DEBUG_OBJECTS_SELFTEST=y
CONFIG_DEBUG_OBJECTS_FREE=y
CONFIG_DEBUG_OBJECTS_TIMERS=y
CONFIG_DEBUG_OBJECTS_WORK=y
CONFIG_DEBUG_OBJECTS_RCU_HEAD=y
CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER=y
CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1
CONFIG_SLUB_DEBUG_ON=y

CONFIG_DEBUG_OBJECTS_TIMERS might catch this one.

  parent reply	other threads:[~2011-09-02  8:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-24 13:02 3.0.3 kernel BUG at kernel/timer.c:1035 Frank van Maarseveen
2011-08-30  9:08 ` Frank van Maarseveen
2011-09-02  8:10 ` Andrew Morton [this message]
2011-09-05 12:38   ` Frank van Maarseveen
     [not found]     ` <CAF1ivSYui_=tHbxHiy15a9wfiphHcpoY+J1MmAJ=dMQsAfEVLw@mail.gmail.com>
2011-09-06 14:48       ` Lin Ming
2011-09-07 10:24         ` Frank van Maarseveen
2011-09-07 12:36           ` Lin Ming
2011-09-07 21:30             ` Andrew Morton
2011-09-09 14:21               ` Lin Ming
2011-09-10  8:41                 ` Frank van Maarseveen
2011-09-20 13:16               ` Frank van Maarseveen

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=20110902011058.c5bad476.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=frankvm@frankvm.com \
    --cc=linux-kernel@vger.kernel.org \
    /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