Re: 2.6.26.6-rt11: BUGs (sleeping function called from invalidcontext)

From: Fernando Lopez-Lezcano
Date: Fri Jan 16 2009 - 15:26:23 EST


On Fri, 2008-11-07 at 14:01 -0500, Steven Rostedt wrote:
> 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: [<c041ff88>] __might_sleep+0xe8/0xed
> > Nov 7 10:31:19 host kernel: [<c041cd55>] kmap+0x42/0x55
>
> As here.

Still happening in 2.6.26.8-rt13...
-- Fernando


> > Nov 7 10:31:19 host kernel: [<f88e9e1d>] ata_sff_hsm_move+0x3d3/0x66b
> > [libata]
> > Nov 7 10:31:19 host kernel: [<f88ea314>] ata_sff_interrupt+0x153/0x1eb
> > [libata]
> > Nov 7 10:31:19 host kernel: [<c0461730>] handle_IRQ_event+0x49/0xcd
> > Nov 7 10:31:19 host kernel: [<c0461a15>] thread_simple_irq+0x45/0x7c
> > Nov 7 10:31:19 host kernel: [<c0461a4c>] ? do_irqd+0x0/0x229
> > Nov 7 10:31:19 host kernel: [<c0461afb>] do_irqd+0xaf/0x229
> > Nov 7 10:31:19 host kernel: [<c0461a4c>] ? do_irqd+0x0/0x229
> > Nov 7 10:31:19 host kernel: [<c043b15f>] kthread+0x3b/0x61
> > Nov 7 10:31:19 host kernel: [<c043b124>] ? kthread+0x0/0x61
> > Nov 7 10:31:19 host kernel: [<c040581f>] 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: [<c041ff88>] __might_sleep+0xe8/0xed
> > Nov 7 10:31:01 host kernel: [<c041cd55>] kmap+0x42/0x55
> > Nov 7 10:31:01 host kernel: [<f88e9e1d>] ata_sff_hsm_move+0x3d3/0x66b
> > [libata]
> > Nov 7 10:31:01 host kernel: [<f88ea314>] ata_sff_interrupt+0x153/0x1eb
> > [libata]
> > Nov 7 10:31:01 host kernel: [<c0461730>] handle_IRQ_event+0x49/0xcd
> > Nov 7 10:31:01 host kernel: [<c0461a15>] thread_simple_irq+0x45/0x7c
> > Nov 7 10:31:01 host kernel: [<c0461a4c>] ? do_irqd+0x0/0x229
> > Nov 7 10:31:01 host kernel: [<c0461afb>] do_irqd+0xaf/0x229
> > Nov 7 10:31:01 host kernel: [<c0461a4c>] ? do_irqd+0x0/0x229
> > Nov 7 10:31:01 host kernel: [<c043b15f>] kthread+0x3b/0x61
> > Nov 7 10:31:01 host kernel: [<c043b124>] ? kthread+0x0/0x61
> > Nov 7 10:31:01 host kernel: [<c040581f>] 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: [<c041ff88>] __might_sleep+0xe8/0xed
> > Nov 7 10:30:58 host kernel: [<c041cd55>] kmap+0x42/0x55
> > Nov 7 10:30:58 host kernel: [<f88e9e1d>] ata_sff_hsm_move+0x3d3/0x66b
> > [libata]
> > Nov 7 10:30:58 host kernel: [<f88ea314>] ata_sff_interrupt+0x153/0x1eb
> > [libata]
> > Nov 7 10:30:58 host kernel: [<c0461730>] handle_IRQ_event+0x49/0xcd
> > Nov 7 10:30:58 host kernel: [<c0461a15>] thread_simple_irq+0x45/0x7c
> > Nov 7 10:30:58 host kernel: [<c0461a4c>] ? do_irqd+0x0/0x229
> > Nov 7 10:30:58 host kernel: [<c0461afb>] do_irqd+0xaf/0x229
> > Nov 7 10:30:58 host kernel: [<c0461a4c>] ? do_irqd+0x0/0x229
> > Nov 7 10:30:58 host kernel: [<c043b15f>] kthread+0x3b/0x61
> > Nov 7 10:30:58 host kernel: [<c043b124>] ? kthread+0x0/0x61
> > Nov 7 10:30:58 host kernel: [<c040581f>] kernel_thread_helper+0x7/0x10
> > Nov 7 10:30:58 host kernel: =======================
> >

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/