Dear Paul and others, On vanilla kernel 3.1.3, I got the following during boot. BUG: scheduling while atomic: swapper/0/0x10000002 no locks held by swapper/0. Modules linked in: Pid: 0, comm: swapper Not tainted 3.1.3.debug+ #32 Call Trace: [] __schedule_bug+0x60/0x65 [] ? pidmap_init+0x84/0xc4 [] __schedule+0x759/0x920 [] ? pidmap_init+0x84/0xc4 [] __cond_resched+0x25/0x40 [] _cond_resched+0x2d/0x40 [] kmem_cache_alloc_trace+0x4f/0x1d0 [] pidmap_init+0x84/0xc4 [] start_kernel+0x339/0x3bc [] x86_64_start_reservations+0x132/0x136 [] x86_64_start_kernel+0xf0/0xf7 A little googling revealed that patch [2] "rcu: Avoid having just-onlined CPU resched itself when RCU is idle" is supposed to address this issue. However, booting 3.1.3 with patch [2] leads to three new "BUG: scheduling while atomic: swapper/0/0x10000002" reports every boot. The exact blurb varies a little bit, but all backtraces seem ACPI related. I include three examples below. Some old [4] and new [1,3] similar threads exist, but without resolution as far as I can tell. The machine, a 2008 macbook 4.1, seems to be fine. Is this just noise (produced by overzealous debugging checks) that I should safely ignore? If not, please let me know what I can do to help track this down. With kind regards, Wouter Koolen [1] http://www.spinics.net/lists/kernel/msg1245138.html [2] https://lkml.org/lkml/2011/8/19/355 [3] https://lkml.org/lkml/2011/9/12/215 [4] https://lkml.org/lkml/2009/9/21/36 BUG: scheduling while atomic: swapper/0/0x10000002 no locks held by swapper/0. Modules linked in: Pid: 0, comm: swapper Not tainted 3.1.3.debug+ #36 Call Trace: [] __schedule_bug+0x60/0x65 [] ? acpi_ns_create_node+0x31/0x41 [] __schedule+0x759/0x920 [] ? __module_address+0xa0/0xa0 [] ? acpi_ns_create_node+0x31/0x41 [] __cond_resched+0x25/0x40 [] _cond_resched+0x2d/0x40 [] kmem_cache_alloc+0x4b/0x1f0 [] acpi_ns_create_node+0x31/0x41 [] acpi_ns_search_and_enter+0x264/0x2a1 [] ? create_object+0x1f2/0x2d0 [] ? prio_tree_insert+0x12b/0x2a0 [] acpi_ns_lookup+0x42b/0x5ad [] ? create_object+0x1f2/0x2d0 [] acpi_ds_load1_begin_op+0x2b7/0x370 [] acpi_ps_parse_loop+0x321/0xa4f [] ? acpi_ut_create_generic_state+0x2d/0x4a [] acpi_ps_parse_aml+0x107/0x37d [] acpi_ns_one_complete_parse+0x125/0x142 [] ? acpi_os_signal_semaphore+0x5f/0x6f [] acpi_ns_parse_table+0x49/0x8e [] acpi_ns_load_table+0x75/0x110 [] acpi_load_tables+0xa1/0x18e [] acpi_early_init+0x6c/0xf7 [] start_kernel+0x3aa/0x3bc [] x86_64_start_reservations+0x132/0x136 [] x86_64_start_kernel+0xf0/0xf7 BUG: scheduling while atomic: swapper/0/0x10000002 no locks held by swapper/0. Modules linked in: Pid: 0, comm: swapper Not tainted 3.1.3.debug+ #36 Call Trace: [] __schedule_bug+0x60/0x65 [] ? acpi_os_acquire_object+0x26/0x28 [] __schedule+0x759/0x920 [] ? acpi_ut_create_generic_state+0x2d/0x4a [] ? acpi_ut_get_node_name+0x42/0x49 [] ? acpi_os_acquire_object+0x26/0x28 [] __cond_resched+0x25/0x40 [] _cond_resched+0x2d/0x40 [] kmem_cache_alloc+0x4b/0x1f0 [] ? create_object+0x1f2/0x2d0 [] acpi_os_acquire_object+0x26/0x28 [] acpi_ps_alloc_op+0x37/0x5d [] acpi_ds_load1_begin_op+0x325/0x370 [] ? acpi_ps_get_next_arg+0x67/0x2b6 [] acpi_ps_parse_loop+0x321/0xa4f [] ? acpi_ut_create_generic_state+0x2d/0x4a [] acpi_ps_parse_aml+0x107/0x37d [] acpi_ns_one_complete_parse+0x125/0x142 [] ? acpi_os_signal_semaphore+0x5f/0x6f [] acpi_ns_parse_table+0x49/0x8e [] acpi_ns_load_table+0x75/0x110 [] acpi_load_tables+0xa1/0x18e [] acpi_early_init+0x6c/0xf7 [] start_kernel+0x3aa/0x3bc [] x86_64_start_reservations+0x132/0x136 [] x86_64_start_kernel+0xf0/0xf7 BUG: scheduling while atomic: swapper/0/0x10000002 no locks held by swapper/0. Modules linked in: Pid: 0, comm: swapper Not tainted 3.1.3.debug+ #36 Call Trace: [] __schedule_bug+0x60/0x65 [] __schedule+0x759/0x920 [] __cond_resched+0x25/0x40 [] _cond_resched+0x2d/0x40 [] acpi_ps_complete_op+0x2bc/0x2d1 [] ? acpi_os_release_object+0x9/0xd [] acpi_ps_parse_loop+0x8b8/0xa4f [] ? acpi_ut_create_generic_state+0x2d/0x4a [] acpi_ps_parse_aml+0x107/0x37d [] acpi_ns_one_complete_parse+0x125/0x142 [] ? acpi_os_signal_semaphore+0x5f/0x6f [] acpi_ns_parse_table+0x87/0x8e [] acpi_ns_load_table+0x75/0x110 [] acpi_load_tables+0xa1/0x18e [] acpi_early_init+0x6c/0xf7 [] start_kernel+0x3aa/0x3bc [] x86_64_start_reservations+0x132/0x136 [] x86_64_start_kernel+0xf0/0xf7