Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932086Ab2F1GmI (ORCPT ); Thu, 28 Jun 2012 02:42:08 -0400 Received: from mail.skyhub.de ([78.46.96.112]:47305 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751192Ab2F1GmG (ORCPT ); Thu, 28 Jun 2012 02:42:06 -0400 Date: Thu, 28 Jun 2012 08:42:13 +0200 From: Borislav Petkov To: Thomas Sattler Cc: Linux Kernel Mailing List , Ingo Molnar , Thomas Gleixner Subject: Re: BUG: scheduling while atomic: chcpu/6197/0x00000002 Message-ID: <20120628064213.GC450@x1.osrc.amd.com> Mail-Followup-To: Borislav Petkov , Thomas Sattler , Linux Kernel Mailing List , Ingo Molnar , Thomas Gleixner References: <4FDF00CB.7090703@med.uni-frankfurt.de> <4FDF201E.2090408@med.uni-frankfurt.de> <4FE19494.6000303@med.uni-frankfurt.de> <4FE86067.9010408@med.uni-frankfurt.de> <4FEAF165.9090008@med.uni-frankfurt.de> <20120627174649.GA28137@x1.osrc.amd.com> <4FEBF277.90704@med.uni-frankfurt.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4FEBF277.90704@med.uni-frankfurt.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2284 Lines: 55 On Thu, Jun 28, 2012 at 07:58:15AM +0200, Thomas Sattler wrote: > Am 27.06.2012 19:46, schrieb Borislav Petkov: > > On Wed, Jun 27, 2012 at 01:41:25PM +0200, Thomas Sattler wrote: > >> Linux dragon 3.4.4-rt13 #2 SMP PREEMPT Tue Jun 26 12:22:23 CEST 2012 > >> i686 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz GenuineIntel GNU/Linux > >> > >> still BUG message in dmesg: > >> > >> [ 105.585086] BUG: scheduling while atomic: chcpu/2817/0x00000002 > >> [ 105.585090] Modules linked in: loop rfcomm bnep btusb hid_microsoft > >> usbhid hid uhci_hcd ehci_hcd 3c59x usbcore e1000e mii usb_common sg > >> [ 105.585109] Pid: 2817, comm: chcpu Not tainted 3.4.4-rt13 #2 > >> [ 105.585111] Call Trace: > >> [ 105.585119] [] __schedule_bug+0x3d/0x42 > >> [ 105.585124] [] __schedule+0x68/0x571 > >> [ 105.585130] [] ? enqueue_entity+0x313/0x3d8 > >> [ 105.585134] [] schedule+0x60/0x70 > >> [ 105.585138] [] schedule_timeout+0x17/0x160 > >> [ 105.585142] [] ? check_preempt_curr+0x29/0x64 > >> [ 105.585146] [] wait_for_common+0xa3/0xff > >> [ 105.585150] [] ? try_to_wake_up+0x391/0x391 > >> [ 105.585154] [] wait_for_completion+0x12/0x14 > >> [ 105.585158] [] kthread_create_on_node+0x71/0xb5 > >> [ 105.585162] [] ? put_online_cpus+0x44/0x44 > >> [ 105.585167] [] ? init_amd+0x42f/0x64f > > ^^^^^^^^ > > > > AFAICT, this shouldn't run on Intel hw. Can you send your .config. > > /proc/config.gz is attached. Please note, that it's an -rt kernel. I know. But I don't see anything that sticks out in your .config. So the stack trace, since it shows that the init_amd address is unreliable, could be red herring... Any chance you could try a non-rt kernel, possibly latest linus from git.kernel.org to rule out an -rt issue? Also, looks like your cpu can do 64-bit. Can you try a 64-bit kernel? Also, what is the exact command line you're running with chcpu? Thanks. -- Regards/Gruss, Boris. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/