Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754794AbYKGTBm (ORCPT ); Fri, 7 Nov 2008 14:01:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750953AbYKGTBe (ORCPT ); Fri, 7 Nov 2008 14:01:34 -0500 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.122]:60239 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750860AbYKGTBd (ORCPT ); Fri, 7 Nov 2008 14:01:33 -0500 Date: Fri, 7 Nov 2008 14:01:32 -0500 (EST) From: Steven Rostedt X-X-Sender: rostedt@gandalf.stny.rr.com To: Fernando Lopez-Lezcano cc: LKML , Ingo Molnar , Peter Zijlstra Subject: Re: 2.6.26.6-rt11: BUGs (sleeping function called from invalid context) In-Reply-To: <1226083858.20569.14.camel@localhost.localdomain> Message-ID: References: <1226083858.20569.14.camel@localhost.localdomain> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4102 Lines: 88 Peter, I think we've seen this before. It is the highmem code sleeping. On Fri, 7 Nov 2008, Fernando Lopez-Lezcano wrote: > Three BUGs while booting 2.6.26.7 + rt11 (same hardware: no problems > with 2.6.24.7-rt21): > > Nov 7 10:31:19 host kernel: BUG: sleeping function called from invalid > context IRQ-22(540) at arch/x86/mm/highmem_32.c:8 > Nov 7 10:31:19 host kernel: in_atomic():0 [00000000], irqs_disabled():1 > Nov 7 10:31:19 host kernel: Pid: 540, comm: IRQ-22 Not tainted > 2.6.26.7-1.rt11.1fc9.ccrma.i686.rt #1 > Nov 7 10:31:19 host kernel: [] __might_sleep+0xe8/0xed > Nov 7 10:31:19 host kernel: [] kmap+0x42/0x55 As here. -- Steve > Nov 7 10:31:19 host kernel: [] ata_sff_hsm_move+0x3d3/0x66b > [libata] > Nov 7 10:31:19 host kernel: [] ata_sff_interrupt+0x153/0x1eb > [libata] > Nov 7 10:31:19 host kernel: [] handle_IRQ_event+0x49/0xcd > Nov 7 10:31:19 host kernel: [] thread_simple_irq+0x45/0x7c > Nov 7 10:31:19 host kernel: [] ? do_irqd+0x0/0x229 > Nov 7 10:31:19 host kernel: [] do_irqd+0xaf/0x229 > Nov 7 10:31:19 host kernel: [] ? do_irqd+0x0/0x229 > Nov 7 10:31:19 host kernel: [] kthread+0x3b/0x61 > Nov 7 10:31:19 host kernel: [] ? kthread+0x0/0x61 > Nov 7 10:31:19 host kernel: [] kernel_thread_helper+0x7/0x10 > Nov 7 10:31:19 host kernel: ======================= > > > Nov 7 10:31:01 host kernel: BUG: sleeping function called from invalid > context IRQ-22(540) at arch/x86/mm/highmem_32.c:8 > Nov 7 10:31:01 host kernel: in_atomic():0 [00000000], irqs_disabled():1 > Nov 7 10:31:01 host kernel: Pid: 540, comm: IRQ-22 Not tainted > 2.6.26.7-1.rt11.1fc9.ccrma.i686.rt #1 > Nov 7 10:31:01 host kernel: [] __might_sleep+0xe8/0xed > Nov 7 10:31:01 host kernel: [] kmap+0x42/0x55 > Nov 7 10:31:01 host kernel: [] ata_sff_hsm_move+0x3d3/0x66b > [libata] > Nov 7 10:31:01 host kernel: [] ata_sff_interrupt+0x153/0x1eb > [libata] > Nov 7 10:31:01 host kernel: [] handle_IRQ_event+0x49/0xcd > Nov 7 10:31:01 host kernel: [] thread_simple_irq+0x45/0x7c > Nov 7 10:31:01 host kernel: [] ? do_irqd+0x0/0x229 > Nov 7 10:31:01 host kernel: [] do_irqd+0xaf/0x229 > Nov 7 10:31:01 host kernel: [] ? do_irqd+0x0/0x229 > Nov 7 10:31:01 host kernel: [] kthread+0x3b/0x61 > Nov 7 10:31:01 host kernel: [] ? kthread+0x0/0x61 > Nov 7 10:31:01 host kernel: [] kernel_thread_helper+0x7/0x10 > Nov 7 10:31:01 host kernel: ======================= > > > Nov 7 10:30:58 host kernel: BUG: sleeping function called from invalid > context IRQ-22(540) at arch/x86/mm/highmem_32.c:8 > Nov 7 10:30:58 host kernel: in_atomic():0 [00000000], irqs_disabled():1 > Nov 7 10:30:58 host kernel: Pid: 540, comm: IRQ-22 Not tainted > 2.6.26.7-1.rt11.1fc9.ccrma.i686.rt #1 > Nov 7 10:30:58 host kernel: [] __might_sleep+0xe8/0xed > Nov 7 10:30:58 host kernel: [] kmap+0x42/0x55 > Nov 7 10:30:58 host kernel: [] ata_sff_hsm_move+0x3d3/0x66b > [libata] > Nov 7 10:30:58 host kernel: [] ata_sff_interrupt+0x153/0x1eb > [libata] > Nov 7 10:30:58 host kernel: [] handle_IRQ_event+0x49/0xcd > Nov 7 10:30:58 host kernel: [] thread_simple_irq+0x45/0x7c > Nov 7 10:30:58 host kernel: [] ? do_irqd+0x0/0x229 > Nov 7 10:30:58 host kernel: [] do_irqd+0xaf/0x229 > Nov 7 10:30:58 host kernel: [] ? do_irqd+0x0/0x229 > Nov 7 10:30:58 host kernel: [] kthread+0x3b/0x61 > Nov 7 10:30:58 host kernel: [] ? kthread+0x0/0x61 > Nov 7 10:30:58 host kernel: [] kernel_thread_helper+0x7/0x10 > Nov 7 10:30:58 host kernel: ======================= > > -- Fernando > > > > -- 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/