From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932580AbZHUUMi (ORCPT ); Fri, 21 Aug 2009 16:12:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932569AbZHUUMg (ORCPT ); Fri, 21 Aug 2009 16:12:36 -0400 Received: from charybdis-ext.suse.de ([195.135.221.2]:49104 "EHLO emea5-mh.id5.novell.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932371AbZHUUMf (ORCPT ); Fri, 21 Aug 2009 16:12:35 -0400 Message-ID: <4A8EFFB2.4040100@suse.de> Date: Sat, 22 Aug 2009 00:12:34 +0400 From: Alexey Starikovskiy User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 To: Eric Paris CC: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, len.brown@intel.com Subject: Re: BUG: scheduling while atomic in acpi_ps_complete_op References: <1250873707.2168.38.camel@dhcp231-106.rdu.redhat.com> In-Reply-To: <1250873707.2168.38.camel@dhcp231-106.rdu.redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This should be handled by abe1dfab60e1839d115930286cb421f5a5b193f3. Regards, Alex. Eric Paris пишет: > 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 > >