From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754799AbZIUHiD (ORCPT ); Mon, 21 Sep 2009 03:38:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752407AbZIUHiB (ORCPT ); Mon, 21 Sep 2009 03:38:01 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:44992 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752218AbZIUHiA (ORCPT ); Mon, 21 Sep 2009 03:38:00 -0400 Date: Mon, 21 Sep 2009 09:37:26 +0200 From: Ingo Molnar To: linux-kernel@vger.kernel.org, Eric Paris , Andrew Morton , Thomas Gleixner , Jens Axboe , Len Brown , linux-acpi@vger.kernel.org Subject: acpi_ps_complete_op(): BUG: scheduling while atomic: .. Message-ID: <20090921073726.GA13791@elte.hu> References: <20090920115423.GA28749@tuxedu.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090920115423.GA28749@tuxedu.home> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (Cc:-ed ACPI folks.) * Kelly Bowa 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> [] __schedule_bug+0x4d/0x52 > <4> [] schedule+0x97/0xa6b > <4> [] ? __slab_free+0xd7/0x2ab > <4> [] ? put_object+0x3a/0x3d > <4> [] ? acpi_debug_print+0xa/0xc2 > <4> [] ? acpi_ps_pop_scope+0x79/0x84 > <4> [] ? acpi_debug_print+0xa/0xc2 > <4> [] __cond_resched+0x17/0x23 > <4> [] _cond_resched+0x20/0x2b > <4> [] acpi_ps_complete_op+0x214/0x223 > <4> [] ? acpi_ps_get_next_simple_arg+0xe0/0xeb > <4> [] acpi_ps_parse_loop+0x66d/0x7bd > <4> [] acpi_ps_parse_aml+0xd4/0x324 > <4> [] acpi_ns_one_complete_parse+0x10e/0x124 > <4> [] acpi_ns_parse_table+0x39/0x78 > <4> [] acpi_ns_load_table+0x63/0xe0 > <4> [] acpi_load_tables+0x6b/0x13e > <4> [] acpi_early_init+0x5d/0xeb > <4> [] start_kernel+0x2ce/0x2dd > <4> [] __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> [] __schedule_bug+0x4d/0x52 > <4> [] schedule+0x97/0xa6b > <4> [] ? __slab_free+0xd7/0x2ab > <4> [] ? put_object+0x3a/0x3d > <4> [] ? acpi_debug_print+0xa/0xc2 > <4> [] ? acpi_ps_pop_scope+0x79/0x84 > <4> [] ? acpi_debug_print+0xa/0xc2 > <4> [] __cond_resched+0x17/0x23 > <4> [] _cond_resched+0x20/0x2b > <4> [] acpi_ps_complete_op+0x214/0x223 > <4> [] acpi_ps_parse_loop+0x66d/0x7bd > <4> [] acpi_ps_parse_aml+0xd4/0x324 > <4> [] acpi_ns_one_complete_parse+0x10e/0x124 > <4> [] acpi_ns_parse_table+0x39/0x78 > <4> [] acpi_ns_load_table+0x63/0xe0 > <4> [] acpi_load_tables+0x6b/0x13e > <4> [] acpi_early_init+0x5d/0xeb > <4> [] start_kernel+0x2ce/0x2dd > <4> [] __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> [] __schedule_bug+0x4d/0x52 > <4> [] schedule+0x97/0xa6b > <4> [] ? __slab_free+0xd7/0x2ab > <4> [] ? put_object+0x3a/0x3d > <4> [] ? acpi_debug_print+0xa/0xc2 > <4> [] ? acpi_ps_pop_scope+0x79/0x84 > <4> [] ? acpi_debug_print+0xa/0xc2 > <4> [] __cond_resched+0x17/0x23 > <4> [] _cond_resched+0x20/0x2b > <4> [] acpi_ps_complete_op+0x214/0x223 > <4> [] acpi_ps_parse_loop+0x66d/0x7bd > <4> [] acpi_ps_parse_aml+0xd4/0x324 > <4> [] acpi_ns_one_complete_parse+0x10e/0x124 > <4> [] acpi_ns_parse_table+0x39/0x78 > <4> [] acpi_ns_load_table+0x63/0xe0 > <4> [] acpi_load_tables+0x6b/0x13e > <4> [] acpi_early_init+0x5d/0xeb > <4> [] start_kernel+0x2ce/0x2dd > <4> [] __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> [] __schedule_bug+0x4d/0x52 > <4> [] schedule+0x97/0xa6b > <4> [] ? init_object+0xe/0x67 > <4> [] ? sub_preempt_count+0x9/0x9f > <4> [] ? kmem_cache_free+0x85/0xd5 > <4> [] ? acpi_os_release_object+0xd/0x11 > <4> [] ? acpi_os_release_object+0xd/0x11 > <4> [] ? acpi_os_release_object+0xd/0x11 > <4> [] ? acpi_ps_free_op+0x51/0x56 > <4> [] ? acpi_ps_delete_parse_tree+0x38/0x50 > <4> [] __cond_resched+0x17/0x23 > <4> [] _cond_resched+0x20/0x2b > <4> [] acpi_ps_complete_op+0x214/0x223 > <4> [] ? acpi_ds_load2_end_op+0x1b3/0x3f6 > <4> [] acpi_ps_parse_loop+0x66d/0x7bd > <4> [] acpi_ps_parse_aml+0xd4/0x324 > <4> [] acpi_ns_one_complete_parse+0x10e/0x124 > <4> [] acpi_ns_parse_table+0x6b/0x78 > <4> [] acpi_ns_load_table+0x63/0xe0 > <4> [] acpi_load_tables+0x6b/0x13e > <4> [] acpi_early_init+0x5d/0xeb > <4> [] start_kernel+0x2ce/0x2dd > <4> [] __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> [] __schedule_bug+0x4d/0x52 > <4> [] schedule+0x97/0xa6b > <4> [] ? __slab_free+0xd7/0x2ab > <4> [] ? put_object+0x3a/0x3d > <4> [] ? acpi_debug_print+0xa/0xc2 > <4> [] ? acpi_ps_pop_scope+0x79/0x84 > <4> [] ? acpi_debug_print+0xa/0xc2 > <4> [] __cond_resched+0x17/0x23 > <4> [] _cond_resched+0x20/0x2b > <4> [] acpi_ps_complete_op+0x214/0x223 > <4> [] ? acpi_ps_init_op+0x8/0x12 > <4> [] ? acpi_ps_get_next_simple_arg+0xe0/0xeb > <4> [] acpi_ps_parse_loop+0x66d/0x7bd > <4> [] acpi_ps_parse_aml+0xd4/0x324 > <4> [] acpi_ns_one_complete_parse+0x10e/0x124 > <4> [] acpi_ns_parse_table+0x6b/0x78 > <4> [] acpi_ns_load_table+0x63/0xe0 > <4> [] acpi_load_tables+0x6b/0x13e > <4> [] acpi_early_init+0x5d/0xeb > <4> [] start_kernel+0x2ce/0x2dd > <4> [] __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> [] __schedule_bug+0x4d/0x52 > <4> [] schedule+0x97/0xa6b > <4> [] ? init_object+0xe/0x67 > <4> [] ? sub_preempt_count+0x9/0x9f > <4> [] ? kmem_cache_free+0x85/0xd5 > <4> [] ? acpi_os_release_object+0xd/0x11 > <4> [] ? acpi_os_release_object+0xd/0x11 > <4> [] ? acpi_os_release_object+0xd/0x11 > <4> [] ? acpi_ps_free_op+0x51/0x56 > <4> [] ? acpi_ps_delete_parse_tree+0x38/0x50 > <4> [] __cond_resched+0x17/0x23 > <4> [] _cond_resched+0x20/0x2b > <4> [] acpi_ps_complete_op+0x214/0x223 > <4> [] ? acpi_ds_load2_end_op+0x1b3/0x3f6 > <4> [] acpi_ps_parse_loop+0x66d/0x7bd > <4> [] acpi_ps_parse_aml+0xd4/0x324 > <4> [] acpi_ns_one_complete_parse+0x10e/0x124 > <4> [] acpi_ns_parse_table+0x6b/0x78 > <4> [] acpi_ns_load_table+0x63/0xe0 > <4> [] acpi_load_tables+0x6b/0x13e > <4> [] acpi_early_init+0x5d/0xeb > <4> [] start_kernel+0x2ce/0x2dd > <4> [] __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> [] ? printk+0x14/0x1c > <4> [] debug_smp_processor_id+0x9e/0xb4 > <4> [] vmstat_update+0x14/0x3e > <4> [] worker_thread+0x15f/0x1e8 > <4> [] ? vmstat_update+0x0/0x3e > <4> [] ? autoremove_wake_function+0x0/0x38 > <4> [] ? worker_thread+0x0/0x1e8 > <4> [] kthread+0x66/0x6b > <4> [] ? kthread+0x0/0x6b > <4> [] 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> [] ? printk+0x14/0x1c > <4> [] debug_smp_processor_id+0x9e/0xb4 > <4> [] vmstat_update+0x2a/0x3e > <4> [] worker_thread+0x15f/0x1e8 > <4> [] ? vmstat_update+0x0/0x3e > <4> [] ? autoremove_wake_function+0x0/0x38 > <4> [] ? worker_thread+0x0/0x1e8 > <4> [] kthread+0x66/0x6b > <4> [] ? kthread+0x0/0x6b > <4> [] kernel_thread_helper+0x7/0x10 > > kbpm