mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: linux-kernel@vger.kernel.org, Eric Paris <eparis@redhat.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Jens Axboe <jens.axboe@oracle.com>, Len Brown <lenb@kernel.org>,
	linux-acpi@vger.kernel.org
Subject: acpi_ps_complete_op(): BUG: scheduling while atomic: ..
Date: Mon, 21 Sep 2009 09:37:26 +0200	[thread overview]
Message-ID: <20090921073726.GA13791@elte.hu> (raw)
In-Reply-To: <20090920115423.GA28749@tuxedu.home>


(Cc:-ed ACPI folks.)

* Kelly Bowa <kbpm@tuxedu.org> wrote:

> hi,
> found following bug in 2.6.31-rc8. CPU model is Intel(R) Atom(TM) CPU N270. This is produced at boot time. I havent had time to look into this yet but looks like an ACPI bug to me..
> 
> <6>Checking 'hlt' instruction... OK.
> <6>ACPI: Core revision 20090521
> <3>BUG: scheduling while atomic: swapper/0/0x10000002
> <4>Modules linked in:
> <4>Pid: 0, comm: swapper Not tainted 2.6.31-git #3
> <4>Call Trace:
> <4> [<c0129e92>] __schedule_bug+0x4d/0x52
> <4> [<c03a0354>] schedule+0x97/0xa6b
> <4> [<c01b8e4a>] ? __slab_free+0xd7/0x2ab
> <4> [<c01bf271>] ? put_object+0x3a/0x3d
> <4> [<c02ce4d8>] ? acpi_debug_print+0xa/0xc2
> <4> [<c02cb15d>] ? acpi_ps_pop_scope+0x79/0x84
> <4> [<c02ce4d8>] ? acpi_debug_print+0xa/0xc2
> <4> [<c012ba43>] __cond_resched+0x17/0x23
> <4> [<c03a0e2e>] _cond_resched+0x20/0x2b
> <4> [<c02ca71c>] acpi_ps_complete_op+0x214/0x223
> <4> [<c02c9a8d>] ? acpi_ps_get_next_simple_arg+0xe0/0xeb
> <4> [<c02cad98>] acpi_ps_parse_loop+0x66d/0x7bd
> <4> [<c02ca089>] acpi_ps_parse_aml+0xd4/0x324
> <4> [<c02c909a>] acpi_ns_one_complete_parse+0x10e/0x124
> <4> [<c02c90e9>] acpi_ns_parse_table+0x39/0x78
> <4> [<c02c5f57>] acpi_ns_load_table+0x63/0xe0
> <4> [<c02ccea6>] acpi_load_tables+0x6b/0x13e
> <4> [<c05606d1>] acpi_early_init+0x5d/0xeb
> <4> [<c054180c>] start_kernel+0x2ce/0x2dd
> <4> [<c0541091>] __init_begin+0x91/0x96
> <3>BUG: scheduling while atomic: swapper/0/0x10000002
> <4>Modules linked in:
> <4>Pid: 0, comm: swapper Not tainted 2.6.31-git #3
> <4>Call Trace:
> <4> [<c0129e92>] __schedule_bug+0x4d/0x52
> <4> [<c03a0354>] schedule+0x97/0xa6b
> <4> [<c01b8e4a>] ? __slab_free+0xd7/0x2ab
> <4> [<c01bf271>] ? put_object+0x3a/0x3d
> <4> [<c02ce4d8>] ? acpi_debug_print+0xa/0xc2
> <4> [<c02cb15d>] ? acpi_ps_pop_scope+0x79/0x84
> <4> [<c02ce4d8>] ? acpi_debug_print+0xa/0xc2
> <4> [<c012ba43>] __cond_resched+0x17/0x23
> <4> [<c03a0e2e>] _cond_resched+0x20/0x2b
> <4> [<c02ca71c>] acpi_ps_complete_op+0x214/0x223
> <4> [<c02cad98>] acpi_ps_parse_loop+0x66d/0x7bd
> <4> [<c02ca089>] acpi_ps_parse_aml+0xd4/0x324
> <4> [<c02c909a>] acpi_ns_one_complete_parse+0x10e/0x124
> <4> [<c02c90e9>] acpi_ns_parse_table+0x39/0x78
> <4> [<c02c5f57>] acpi_ns_load_table+0x63/0xe0
> <4> [<c02ccea6>] acpi_load_tables+0x6b/0x13e
> <4> [<c05606d1>] acpi_early_init+0x5d/0xeb
> <4> [<c054180c>] start_kernel+0x2ce/0x2dd
> <4> [<c0541091>] __init_begin+0x91/0x96
> <3>BUG: scheduling while atomic: swapper/0/0x10000002
> <4>Modules linked in:
> <4>Pid: 0, comm: swapper Not tainted 2.6.31-git #3
> <4>Call Trace:
> <4> [<c0129e92>] __schedule_bug+0x4d/0x52
> <4> [<c03a0354>] schedule+0x97/0xa6b
> <4> [<c01b8e4a>] ? __slab_free+0xd7/0x2ab
> <4> [<c01bf271>] ? put_object+0x3a/0x3d
> <4> [<c02ce4d8>] ? acpi_debug_print+0xa/0xc2
> <4> [<c02cb15d>] ? acpi_ps_pop_scope+0x79/0x84
> <4> [<c02ce4d8>] ? acpi_debug_print+0xa/0xc2
> <4> [<c012ba43>] __cond_resched+0x17/0x23
> <4> [<c03a0e2e>] _cond_resched+0x20/0x2b
> <4> [<c02ca71c>] acpi_ps_complete_op+0x214/0x223
> <4> [<c02cad98>] acpi_ps_parse_loop+0x66d/0x7bd
> <4> [<c02ca089>] acpi_ps_parse_aml+0xd4/0x324
> <4> [<c02c909a>] acpi_ns_one_complete_parse+0x10e/0x124
> <4> [<c02c90e9>] acpi_ns_parse_table+0x39/0x78
> <4> [<c02c5f57>] acpi_ns_load_table+0x63/0xe0
> <4> [<c02ccea6>] acpi_load_tables+0x6b/0x13e
> <4> [<c05606d1>] acpi_early_init+0x5d/0xeb
> <4> [<c054180c>] start_kernel+0x2ce/0x2dd
> <4> [<c0541091>] __init_begin+0x91/0x96
> <3>BUG: scheduling while atomic: swapper/0/0x10000002
> <4>Modules linked in:
> <4>Pid: 0, comm: swapper Not tainted 2.6.31-git #3
> <4>Call Trace:
> <4> [<c0129e92>] __schedule_bug+0x4d/0x52
> <4> [<c03a0354>] schedule+0x97/0xa6b
> <4> [<c01b7e49>] ? init_object+0xe/0x67
> <4> [<c03a49d1>] ? sub_preempt_count+0x9/0x9f
> <4> [<c01ba21f>] ? kmem_cache_free+0x85/0xd5
> <4> [<c02abae5>] ? acpi_os_release_object+0xd/0x11
> <4> [<c02abae5>] ? acpi_os_release_object+0xd/0x11
> <4> [<c02abae5>] ? acpi_os_release_object+0xd/0x11
> <4> [<c02cb2c3>] ? acpi_ps_free_op+0x51/0x56
> <4> [<c02cafd0>] ? acpi_ps_delete_parse_tree+0x38/0x50
> <4> [<c012ba43>] __cond_resched+0x17/0x23
> <4> [<c03a0e2e>] _cond_resched+0x20/0x2b
> <4> [<c02ca71c>] acpi_ps_complete_op+0x214/0x223
> <4> [<c02b8ab9>] ? acpi_ds_load2_end_op+0x1b3/0x3f6
> <4> [<c02cad98>] acpi_ps_parse_loop+0x66d/0x7bd
> <4> [<c02ca089>] acpi_ps_parse_aml+0xd4/0x324
> <4> [<c02c909a>] acpi_ns_one_complete_parse+0x10e/0x124
> <4> [<c02c911b>] acpi_ns_parse_table+0x6b/0x78
> <4> [<c02c5f57>] acpi_ns_load_table+0x63/0xe0
> <4> [<c02ccea6>] acpi_load_tables+0x6b/0x13e
> <4> [<c05606d1>] acpi_early_init+0x5d/0xeb
> <4> [<c054180c>] start_kernel+0x2ce/0x2dd
> <4> [<c0541091>] __init_begin+0x91/0x96
> <3>BUG: scheduling while atomic: swapper/0/0x10000002
> <4>Modules linked in:
> <4>Pid: 0, comm: swapper Not tainted 2.6.31-git #3
> <4>Call Trace:
> <4> [<c0129e92>] __schedule_bug+0x4d/0x52
> <4> [<c03a0354>] schedule+0x97/0xa6b
> <4> [<c01b8e4a>] ? __slab_free+0xd7/0x2ab
> <4> [<c01bf271>] ? put_object+0x3a/0x3d
> <4> [<c02ce4d8>] ? acpi_debug_print+0xa/0xc2
> <4> [<c02cb15d>] ? acpi_ps_pop_scope+0x79/0x84
> <4> [<c02ce4d8>] ? acpi_debug_print+0xa/0xc2
> <4> [<c012ba43>] __cond_resched+0x17/0x23
> <4> [<c03a0e2e>] _cond_resched+0x20/0x2b
> <4> [<c02ca71c>] acpi_ps_complete_op+0x214/0x223
> <4> [<c02cb21c>] ? acpi_ps_init_op+0x8/0x12
> <4> [<c02c9a8d>] ? acpi_ps_get_next_simple_arg+0xe0/0xeb
> <4> [<c02cad98>] acpi_ps_parse_loop+0x66d/0x7bd
> <4> [<c02ca089>] acpi_ps_parse_aml+0xd4/0x324
> <4> [<c02c909a>] acpi_ns_one_complete_parse+0x10e/0x124
> <4> [<c02c911b>] acpi_ns_parse_table+0x6b/0x78
> <4> [<c02c5f57>] acpi_ns_load_table+0x63/0xe0
> <4> [<c02ccea6>] acpi_load_tables+0x6b/0x13e
> <4> [<c05606d1>] acpi_early_init+0x5d/0xeb
> <4> [<c054180c>] start_kernel+0x2ce/0x2dd
> <4> [<c0541091>] __init_begin+0x91/0x96
> <3>BUG: scheduling while atomic: swapper/0/0x10000002
> <4>Modules linked in:
> <4>Pid: 0, comm: swapper Not tainted 2.6.31-git #3
> <4>Call Trace:
> <4> [<c0129e92>] __schedule_bug+0x4d/0x52
> <4> [<c03a0354>] schedule+0x97/0xa6b
> <4> [<c01b7e49>] ? init_object+0xe/0x67
> <4> [<c03a49d1>] ? sub_preempt_count+0x9/0x9f
> <4> [<c01ba21f>] ? kmem_cache_free+0x85/0xd5
> <4> [<c02abae5>] ? acpi_os_release_object+0xd/0x11
> <4> [<c02abae5>] ? acpi_os_release_object+0xd/0x11
> <4> [<c02abae5>] ? acpi_os_release_object+0xd/0x11
> <4> [<c02cb2c3>] ? acpi_ps_free_op+0x51/0x56
> <4> [<c02cafd0>] ? acpi_ps_delete_parse_tree+0x38/0x50
> <4> [<c012ba43>] __cond_resched+0x17/0x23
> <4> [<c03a0e2e>] _cond_resched+0x20/0x2b
> <4> [<c02ca71c>] acpi_ps_complete_op+0x214/0x223
> <4> [<c02b8ab9>] ? acpi_ds_load2_end_op+0x1b3/0x3f6
> <4> [<c02cad98>] acpi_ps_parse_loop+0x66d/0x7bd
> <4> [<c02ca089>] acpi_ps_parse_aml+0xd4/0x324
> <4> [<c02c909a>] acpi_ns_one_complete_parse+0x10e/0x124
> <4> [<c02c911b>] acpi_ns_parse_table+0x6b/0x78
> <4> [<c02c5f57>] acpi_ns_load_table+0x63/0xe0
> <4> [<c02ccea6>] acpi_load_tables+0x6b/0x13e
> <4> [<c05606d1>] acpi_early_init+0x5d/0xeb
> <4> [<c054180c>] start_kernel+0x2ce/0x2dd
> <4> [<c0541091>] __init_begin+0x91/0x96
> <6>ftrace: converting mcount calls to 0f 1f 44 00 00
> <6>ftrace: allocating 14224 entries in 28 pages
> <6>..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
> <6>CPU0: Intel(R) Atom(TM) CPU N270   @ 1.60GHz stepping 02
> <6>Booting processor 1 APIC 0x1 ip 0x6000
> <6>Initializing CPU#1
> .....
> 
> <3>BUG: using smp_processor_id() in preemptible [00000000] code: events/0/9
> <4>caller is vmstat_update+0x14/0x3e
> <4>Pid: 9, comm: events/0 Not tainted 2.6.31-git #3
> <4>Call Trace:
> <4> [<c039ff98>] ? printk+0x14/0x1c
> <4> [<c0284e7a>] debug_smp_processor_id+0x9e/0xb4
> <4> [<c01a4749>] vmstat_update+0x14/0x3e
> <4> [<c0144a30>] worker_thread+0x15f/0x1e8
> <4> [<c01a4735>] ? vmstat_update+0x0/0x3e
> <4> [<c014809f>] ? autoremove_wake_function+0x0/0x38
> <4> [<c01448d1>] ? worker_thread+0x0/0x1e8
> <4> [<c0147d9e>] kthread+0x66/0x6b
> <4> [<c0147d38>] ? kthread+0x0/0x6b
> <4> [<c01035cf>] kernel_thread_helper+0x7/0x10
> <3>BUG: using smp_processor_id() in preemptible [00000000] code: events/0/9
> <4>caller is vmstat_update+0x2a/0x3e
> <4>Pid: 9, comm: events/0 Not tainted 2.6.31-git #3
> <4>Call Trace:
> <4> [<c039ff98>] ? printk+0x14/0x1c
> <4> [<c0284e7a>] debug_smp_processor_id+0x9e/0xb4
> <4> [<c01a475f>] vmstat_update+0x2a/0x3e
> <4> [<c0144a30>] worker_thread+0x15f/0x1e8
> <4> [<c01a4735>] ? vmstat_update+0x0/0x3e
> <4> [<c014809f>] ? autoremove_wake_function+0x0/0x38
> <4> [<c01448d1>] ? worker_thread+0x0/0x1e8
> <4> [<c0147d9e>] kthread+0x66/0x6b
> <4> [<c0147d38>] ? kthread+0x0/0x6b
> <4> [<c01035cf>] kernel_thread_helper+0x7/0x10
> 
> kbpm

      parent reply	other threads:[~2009-09-21  7:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-20 11:54 Kelly Bowa
2009-09-20 12:35 ` Kelly Bowa
2009-09-21  7:37 ` Ingo Molnar [this message]

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=20090921073726.GA13791@elte.hu \
    --to=mingo@elte.hu \
    --cc=akpm@linux-foundation.org \
    --cc=eparis@redhat.com \
    --cc=jens.axboe@oracle.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --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

all inboxes | Powered by JetHome®