Re: [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.31-19

From: Fernando Lopez-Lezcano
Date: Thu Dec 02 2004 - 21:25:15 EST


On Thu, 2004-12-02 at 17:41, Fernando Lopez-Lezcano wrote:
> On Wed, 2004-12-01 at 08:20, Ingo Molnar wrote:
> > * Ingo Molnar <mingo@xxxxxxx> wrote:
> >
> > > ok, this could be ACPI CPU-sleep related. Could you disable all ACPI
> > > options in your .config (as a workaround), and re-check whether the
> > > xruns still occur?
> >
> > i think i found the bug - it's an upstream ACPI bug. Does the patch
> > below (or the -31-19 kernel, which i've just uploaded) fix the xruns?
>
> I'm trying unsuccessfully to boot my dual processor athlon into an smp
> V0.7.31-20 patched kernel, with PREEMPT_DESKTOP (has not booted
> correctly with realtime preemption compiled in for a long time):
>
> (copied from the screen)
>
> BUG: scheduling while atomic: swapper/0x10000000/1
> caller is preempt_schedule_irq+0x34/0x50
> [<c0105303>] dump_stack+-x23/0x30 (20)
> [<c03726dc>] __schedule+0xd5c/0xdb0 (124)
> [<c0372904>] preempt_schedule_irq+0x34/0x50 (12)
> [<c010429b>] need_resched+0x20/0x29 (-7256)
> -------
> |preempt_count: 10000001
> 1-level deep critical section nesting
> .. [<c014610d>] .... preint_tracs+0x1d/0x60
> .....[<c0105303>] .. ( <= dump_stack+0x23/0x30)
> BUG at kernel/latency.c: 918!
> --------
> invalid operand: 0000 [#1]
> PREEMPT SMP
>
> Tried booting with softirq-preempt=1 hardirq-preempt=0 with no change.
>
> The matching uniprocessor kernel boots fine.

But on shutdown (up kernel):

BUG at mm/truncate.c:48!
---- ...
kernel BUG at mm/truncate.c:48!
invalid operand: 0000 [#1]
PREEMPT

-- Fernando


-
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/