Re: [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0

From: Florian Schmidt
Date: Mon Oct 25 2004 - 08:27:10 EST


On Mon, 25 Oct 2004 14:12:10 +0200
Ingo Molnar <mingo@xxxxxxx> wrote:

> i think i found the bug - now selinux boots fine. I've uploaded -V0.1
> with the fix included. This fix could solve a number of other complaints
> as well.

some more:

mozilla-bin/753: BUG in futex_wait at kernel/futex.c:542
[<c0132962>] futex_wait+0x192/0x1a0 (12)
[<c01ef27b>] __up_write+0x13b/0x320 (84)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (16)
[<c02b9880>] down_write+0xd0/0x2b0 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c02b9880>] down_write+0xd0/0x2b0 (4)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (8)
[<c01ef27b>] __up_write+0x13b/0x320 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c01ef27b>] __up_write+0x13b/0x320 (4)
[<c0115f60>] default_wake_function+0x0/0x20 (72)
[<c0115f60>] default_wake_function+0x0/0x20 (32)
[<c0132c17>] do_futex+0x47/0xa0 (40)
[<c0132d60>] sys_futex+0xf0/0x100 (40)
[<c010617b>] syscall_call+0x7/0xb (68)
preempt count: 00000001
. 1-level deep critical section nesting:
.. entry 1: print_traces+0x17/0x90 [<c0131fc7>] / (dump_stack+0x23/0x30 [<c0106733>])

mozilla-bin/753: BUG in futex_wait at kernel/futex.c:542
[<c0132962>] futex_wait+0x192/0x1a0 (12)
[<c01ef27b>] __up_write+0x13b/0x320 (84)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (16)
[<c02b9880>] down_write+0xd0/0x2b0 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c02b9880>] down_write+0xd0/0x2b0 (4)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (8)
[<c01ef27b>] __up_write+0x13b/0x320 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c01ef27b>] __up_write+0x13b/0x320 (4)
[<c0115f60>] default_wake_function+0x0/0x20 (72)
[<c0115f60>] default_wake_function+0x0/0x20 (32)
[<c0132c17>] do_futex+0x47/0xa0 (40)
[<c0132d60>] sys_futex+0xf0/0x100 (40)
[<c010617b>] syscall_call+0x7/0xb (68)
preempt count: 00000001
. 1-level deep critical section nesting:
.. entry 1: print_traces+0x17/0x90 [<c0131fc7>] / (dump_stack+0x23/0x30 [<c0106733>])

mozilla-bin/753: BUG in futex_wait at kernel/futex.c:542
[<c0132962>] futex_wait+0x192/0x1a0 (12)
[<c01ef27b>] __up_write+0x13b/0x320 (84)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (16)
[<c02b9880>] down_write+0xd0/0x2b0 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c02b9880>] down_write+0xd0/0x2b0 (4)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (8)
[<c01ef27b>] __up_write+0x13b/0x320 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c01ef27b>] __up_write+0x13b/0x320 (4)
[<c0115f60>] default_wake_function+0x0/0x20 (72)
[<c0115f60>] default_wake_function+0x0/0x20 (32)
[<c0132c17>] do_futex+0x47/0xa0 (40)
[<c0132d60>] sys_futex+0xf0/0x100 (40)
[<c010617b>] syscall_call+0x7/0xb (68)
preempt count: 00000001
. 1-level deep critical section nesting:
.. entry 1: print_traces+0x17/0x90 [<c0131fc7>] / (dump_stack+0x23/0x30 [<c0106733>])

mozilla-bin/753: BUG in futex_wait at kernel/futex.c:542
[<c0132962>] futex_wait+0x192/0x1a0 (12)
[<c01ef27b>] __up_write+0x13b/0x320 (84)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (16)
[<c02b9880>] down_write+0xd0/0x2b0 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c02b9880>] down_write+0xd0/0x2b0 (4)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (8)
[<c01ef27b>] __up_write+0x13b/0x320 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c01ef27b>] __up_write+0x13b/0x320 (4)
[<c0115f60>] default_wake_function+0x0/0x20 (72)
[<c0115f60>] default_wake_function+0x0/0x20 (32)
[<c0132c17>] do_futex+0x47/0xa0 (40)
[<c0132d60>] sys_futex+0xf0/0x100 (40)
[<c010617b>] syscall_call+0x7/0xb (68)
preempt count: 00000001
. 1-level deep critical section nesting:
.. entry 1: print_traces+0x17/0x90 [<c0131fc7>] / (dump_stack+0x23/0x30 [<c0106733>])

mozilla-bin/753: BUG in futex_wait at kernel/futex.c:542
[<c0132962>] futex_wait+0x192/0x1a0 (12)
[<c01ef27b>] __up_write+0x13b/0x320 (84)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (16)
[<c02b9880>] down_write+0xd0/0x2b0 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c02b9880>] down_write+0xd0/0x2b0 (4)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (8)
[<c01ef27b>] __up_write+0x13b/0x320 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c01ef27b>] __up_write+0x13b/0x320 (4)
[<c0115f60>] default_wake_function+0x0/0x20 (72)
[<c0115f60>] default_wake_function+0x0/0x20 (32)
[<c0132c17>] do_futex+0x47/0xa0 (40)
[<c0132d60>] sys_futex+0xf0/0x100 (40)
[<c010617b>] syscall_call+0x7/0xb (68)
preempt count: 00000001
. 1-level deep critical section nesting:
.. entry 1: print_traces+0x17/0x90 [<c0131fc7>] / (dump_stack+0x23/0x30 [<c0106733>])

mozilla-bin/753: BUG in futex_wait at kernel/futex.c:542
[<c0132962>] futex_wait+0x192/0x1a0 (12)
[<c01ef27b>] __up_write+0x13b/0x320 (84)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (16)
[<c02b9880>] down_write+0xd0/0x2b0 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c02b9880>] down_write+0xd0/0x2b0 (4)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (8)
[<c01ef27b>] __up_write+0x13b/0x320 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c01ef27b>] __up_write+0x13b/0x320 (4)
[<c0115f60>] default_wake_function+0x0/0x20 (72)
[<c0115f60>] default_wake_function+0x0/0x20 (32)
[<c0132c17>] do_futex+0x47/0xa0 (40)
[<c0132d60>] sys_futex+0xf0/0x100 (40)
[<c010617b>] syscall_call+0x7/0xb (68)
preempt count: 00000001
. 1-level deep critical section nesting:
.. entry 1: print_traces+0x17/0x90 [<c0131fc7>] / (dump_stack+0x23/0x30 [<c0106733>])

mozilla-bin/753: BUG in futex_wait at kernel/futex.c:542
[<c0132962>] futex_wait+0x192/0x1a0 (12)
[<c01ef27b>] __up_write+0x13b/0x320 (84)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (16)
[<c02b9880>] down_write+0xd0/0x2b0 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c02b9880>] down_write+0xd0/0x2b0 (4)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (8)
[<c01ef27b>] __up_write+0x13b/0x320 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c01ef27b>] __up_write+0x13b/0x320 (4)
[<c0115f60>] default_wake_function+0x0/0x20 (72)
[<c0115f60>] default_wake_function+0x0/0x20 (32)
[<c0132c17>] do_futex+0x47/0xa0 (40)
[<c0132d60>] sys_futex+0xf0/0x100 (40)
[<c010617b>] syscall_call+0x7/0xb (68)
preempt count: 00000001
. 1-level deep critical section nesting:
.. entry 1: print_traces+0x17/0x90 [<c0131fc7>] / (dump_stack+0x23/0x30 [<c0106733>])

mozilla-bin/753: BUG in futex_wait at kernel/futex.c:542
[<c0132962>] futex_wait+0x192/0x1a0 (12)
[<c01ef27b>] __up_write+0x13b/0x320 (84)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (16)
[<c02b9880>] down_write+0xd0/0x2b0 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c02b9880>] down_write+0xd0/0x2b0 (4)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (8)
[<c01ef27b>] __up_write+0x13b/0x320 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c01ef27b>] __up_write+0x13b/0x320 (4)
[<c0115f60>] default_wake_function+0x0/0x20 (72)
[<c0115f60>] default_wake_function+0x0/0x20 (32)
[<c0132c17>] do_futex+0x47/0xa0 (40)
[<c0132d60>] sys_futex+0xf0/0x100 (40)
[<c010617b>] syscall_call+0x7/0xb (68)
preempt count: 00000001
. 1-level deep critical section nesting:
.. entry 1: print_traces+0x17/0x90 [<c0131fc7>] / (dump_stack+0x23/0x30 [<c0106733>])

mozilla-bin/753: BUG in futex_wait at kernel/futex.c:542
[<c0132962>] futex_wait+0x192/0x1a0 (12)
[<c01ef27b>] __up_write+0x13b/0x320 (84)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (16)
[<c02b9880>] down_write+0xd0/0x2b0 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c02b9880>] down_write+0xd0/0x2b0 (4)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (8)
[<c01ef27b>] __up_write+0x13b/0x320 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c01ef27b>] __up_write+0x13b/0x320 (4)
[<c0115f60>] default_wake_function+0x0/0x20 (72)
[<c0115f60>] default_wake_function+0x0/0x20 (32)
[<c0132c17>] do_futex+0x47/0xa0 (40)
[<c0132d60>] sys_futex+0xf0/0x100 (40)
[<c010617b>] syscall_call+0x7/0xb (68)
preempt count: 00000001
. 1-level deep critical section nesting:
.. entry 1: print_traces+0x17/0x90 [<c0131fc7>] / (dump_stack+0x23/0x30 [<c0106733>])

mozilla-bin/753: BUG in futex_wait at kernel/futex.c:542
[<c0132962>] futex_wait+0x192/0x1a0 (12)
[<c01ef27b>] __up_write+0x13b/0x320 (84)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (16)
[<c02b9880>] down_write+0xd0/0x2b0 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c02b9880>] down_write+0xd0/0x2b0 (4)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (8)
[<c01ef27b>] __up_write+0x13b/0x320 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c01ef27b>] __up_write+0x13b/0x320 (4)
[<c0115f60>] default_wake_function+0x0/0x20 (72)
[<c0115f60>] default_wake_function+0x0/0x20 (32)
[<c0132c17>] do_futex+0x47/0xa0 (40)
[<c0132d60>] sys_futex+0xf0/0x100 (40)
[<c010617b>] syscall_call+0x7/0xb (68)
preempt count: 00000001
. 1-level deep critical section nesting:
.. entry 1: print_traces+0x17/0x90 [<c0131fc7>] / (dump_stack+0x23/0x30 [<c0106733>])

mozilla-bin/753: BUG in futex_wait at kernel/futex.c:542
[<c0132962>] futex_wait+0x192/0x1a0 (12)
[<c01ef27b>] __up_write+0x13b/0x320 (84)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (16)
[<c02b9880>] down_write+0xd0/0x2b0 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c02b9880>] down_write+0xd0/0x2b0 (4)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (8)
[<c01ef27b>] __up_write+0x13b/0x320 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c01ef27b>] __up_write+0x13b/0x320 (4)
[<c0115f60>] default_wake_function+0x0/0x20 (72)
[<c0115f60>] default_wake_function+0x0/0x20 (32)
[<c0132c17>] do_futex+0x47/0xa0 (40)
[<c0132d60>] sys_futex+0xf0/0x100 (40)
[<c010617b>] syscall_call+0x7/0xb (68)
preempt count: 00000001
. 1-level deep critical section nesting:
.. entry 1: print_traces+0x17/0x90 [<c0131fc7>] / (dump_stack+0x23/0x30 [<c0106733>])

mozilla-bin/753: BUG in futex_wait at kernel/futex.c:542
[<c0132962>] futex_wait+0x192/0x1a0 (12)
[<c01ef27b>] __up_write+0x13b/0x320 (84)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (16)
[<c02b9880>] down_write+0xd0/0x2b0 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c02b9880>] down_write+0xd0/0x2b0 (4)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (8)
[<c01ef27b>] __up_write+0x13b/0x320 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c01ef27b>] __up_write+0x13b/0x320 (4)
[<c0115f60>] default_wake_function+0x0/0x20 (72)
[<c0115f60>] default_wake_function+0x0/0x20 (32)
[<c0132c17>] do_futex+0x47/0xa0 (40)
[<c0132d60>] sys_futex+0xf0/0x100 (40)
[<c010617b>] syscall_call+0x7/0xb (68)
preempt count: 00000001
. 1-level deep critical section nesting:
.. entry 1: print_traces+0x17/0x90 [<c0131fc7>] / (dump_stack+0x23/0x30 [<c0106733>])

mozilla-bin/753: BUG in futex_wait at kernel/futex.c:542
[<c0132962>] futex_wait+0x192/0x1a0 (12)
[<c01ef27b>] __up_write+0x13b/0x320 (84)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (16)
[<c02b9880>] down_write+0xd0/0x2b0 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c02b9880>] down_write+0xd0/0x2b0 (4)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (8)
[<c01ef27b>] __up_write+0x13b/0x320 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c01ef27b>] __up_write+0x13b/0x320 (4)
[<c0115f60>] default_wake_function+0x0/0x20 (72)
[<c0115f60>] default_wake_function+0x0/0x20 (32)
[<c0132c17>] do_futex+0x47/0xa0 (40)
[<c0132d60>] sys_futex+0xf0/0x100 (40)
[<c010617b>] syscall_call+0x7/0xb (68)
preempt count: 00000001
. 1-level deep critical section nesting:
.. entry 1: print_traces+0x17/0x90 [<c0131fc7>] / (dump_stack+0x23/0x30 [<c0106733>])

mozilla-bin/753: BUG in futex_wait at kernel/futex.c:542
[<c0132962>] futex_wait+0x192/0x1a0 (12)
[<c01ef27b>] __up_write+0x13b/0x320 (84)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (16)
[<c02b9880>] down_write+0xd0/0x2b0 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c02b9880>] down_write+0xd0/0x2b0 (4)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (8)
[<c01ef27b>] __up_write+0x13b/0x320 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c01ef27b>] __up_write+0x13b/0x320 (4)
[<c0115f60>] default_wake_function+0x0/0x20 (72)
[<c0115f60>] default_wake_function+0x0/0x20 (32)
[<c0132c17>] do_futex+0x47/0xa0 (40)
[<c0132d60>] sys_futex+0xf0/0x100 (40)
[<c010617b>] syscall_call+0x7/0xb (68)
preempt count: 00000001
. 1-level deep critical section nesting:
.. entry 1: print_traces+0x17/0x90 [<c0131fc7>] / (dump_stack+0x23/0x30 [<c0106733>])

mozilla-bin/753: BUG in futex_wait at kernel/futex.c:542
[<c0132962>] futex_wait+0x192/0x1a0 (12)
[<c01ef27b>] __up_write+0x13b/0x320 (84)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (16)
[<c02b9880>] down_write+0xd0/0x2b0 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c02b9880>] down_write+0xd0/0x2b0 (4)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (8)
[<c01ef27b>] __up_write+0x13b/0x320 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c01ef27b>] __up_write+0x13b/0x320 (4)
[<c0115f60>] default_wake_function+0x0/0x20 (72)
[<c0115f60>] default_wake_function+0x0/0x20 (32)
[<c0132c17>] do_futex+0x47/0xa0 (40)
[<c0132d60>] sys_futex+0xf0/0x100 (40)
[<c010617b>] syscall_call+0x7/0xb (68)
preempt count: 00000001
. 1-level deep critical section nesting:
.. entry 1: print_traces+0x17/0x90 [<c0131fc7>] / (dump_stack+0x23/0x30 [<c0106733>])

mozilla-bin/753: BUG in futex_wait at kernel/futex.c:542
[<c0132962>] futex_wait+0x192/0x1a0 (12)
[<c01ef27b>] __up_write+0x13b/0x320 (84)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (16)
[<c02b9880>] down_write+0xd0/0x2b0 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c02b9880>] down_write+0xd0/0x2b0 (4)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (8)
[<c01ef27b>] __up_write+0x13b/0x320 (8)
[<c0131788>] check_preempt_timing+0x58/0x290 (8)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (4)
[<c01ef27b>] __up_write+0x13b/0x320 (4)
[<c0115f60>] default_wake_function+0x0/0x20 (72)
[<c0115f60>] default_wake_function+0x0/0x20 (32)
[<c0132c17>] do_futex+0x47/0xa0 (40)
[<c0132d60>] sys_futex+0xf0/0x100 (40)
[<c010617b>] syscall_call+0x7/0xb (68)
preempt count: 00000001
. 1-level deep critical section nesting:
.. entry 1: print_traces+0x17/0x90 [<c0131fc7>] / (dump_stack+0x23/0x30 [<c0106733>])

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