From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932530AbZHUQzN (ORCPT ); Fri, 21 Aug 2009 12:55:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932505AbZHUQzM (ORCPT ); Fri, 21 Aug 2009 12:55:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52738 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932445AbZHUQzL (ORCPT ); Fri, 21 Aug 2009 12:55:11 -0400 Subject: BUG: scheduling while atomic in acpi_ps_complete_op From: Eric Paris To: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: astarikovskiy@suse.de, len.brown@intel.com Content-Type: text/plain Date: Fri, 21 Aug 2009 12:55:07 -0400 Message-Id: <1250873707.2168.38.camel@dhcp231-106.rdu.redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Looks like 8bd108d14604d9c95 added ACPI_PREEMPTION_POINT() in acpi_ps_complete_op(). But now on boot in linux-next I get streams of BUG() like below (always seems to be with swapper) This is a linux-next kernel from Aug 21 on vmware server 2.0. -Eric [ 4.241159] BUG: scheduling while atomic: swapper/0/0x10000002 [ 4.242308] no locks held by swapper/0. [ 4.243011] Modules linked in: [ 4.245012] Pid: 0, comm: swapper Not tainted 2.6.31-rc6-next-20090821 #45 [ 4.246018] Call Trace: [ 4.247015] [] __schedule_bug+0xa5/0xb0 [ 4.248018] [] thread_return+0x794/0x93f [ 4.249015] [] ? acpi_os_release_object+0x1c/0x34 [ 4.250020] [] ? error_exit+0x30/0xb0 [ 4.251014] [] ? acpi_os_release_object+0x1c/0x34 [ 4.252014] [] __cond_resched+0x26/0x50 [ 4.253015] [] _cond_resched+0x4a/0x60 [ 4.254020] [] acpi_ps_complete_op+0x239/0x25b [ 4.255014] [] acpi_ps_parse_loop+0x6d3/0x89d [ 4.256014] [] acpi_ps_parse_aml+0xab/0x32d [ 4.257014] [] ? acpi_ds_init_aml_walk+0x10f/0x12e [ 4.258020] [] acpi_ns_one_complete_parse+0xf9/0x128 [ 4.259014] [] ? early_idt_handler+0x0/0x71 [ 4.260014] [] acpi_ns_parse_table+0x2f/0x60 [ 4.261014] [] acpi_ns_load_table+0x59/0xb8 [ 4.262021] [] acpi_load_tables+0x80/0x161 [ 4.263014] [] acpi_early_init+0x71/0x11d [ 4.264015] [] start_kernel+0x39a/0x4a0 [ 4.265014] [] x86_64_start_reservations+0xc1/0x100 [ 4.266020] [] x86_64_start_kernel+0x108/0x150