| Date | Wed, 20 Oct 2004 12:38:51 +0200 | From | Michal Schmidt <> | Subject | Re: [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U8 |
| |
Ingo Molnar wrote: > i have released the -U8 Real-Time Preemption patch: > > http://redhat.com/~mingo/realtime-preempt/realtime-preempt-2.6.9-rc4-mm1-U8 >
I'm getting these BUGs when I use netconsole with Real-Time Preemption (but netconsole works):
kjournald starting. Commit interval 5 seconds BUG: sleeping function called from invalid context kjournald(775) at kernel/mutex.c:25 in_atomic():0 [00000000], irqs_disabled():1 [<c0105fbe>] dump_stack+0x1e/0x20 (20) [<c01194d8>] __might_sleep+0xb8/0xd0 (36) [<c0130bc0>] _mutex_lock+0x20/0x40 (20) [<c02675f7>] netpoll_send_skb+0x37/0xc0 (28) [<c0231081>] write_msg+0x41/0x60 (36) [<c011c208>] __call_console_drivers+0x58/0x60 (32) [<c011c326>] call_console_drivers+0x96/0x140 (40) [<c011c6e1>] release_console_sem+0x71/0x100 (36) [<c011c5b6>] vprintk+0x116/0x180 (36) [<c011c498>] printk+0x18/0x20 (16) [<c01a31af>] kjournald+0x8f/0x250 (140) [<c01032d1>] kernel_thread_helper+0x5/0x14 (141484052) preempt count: 00000001 . 1-level deep critical section nesting: .. entry 1: print_traces+0x18/0x50 / (dump_stack+0x1e/0x20)
EXT3 FS on hda8, <3>BUG: sleeping function called from invalid context mount(786) at kernel/mutex.c:25 in_atomic():0 [00000000], irqs_disabled():1 [<c0105fbe>] dump_stack+0x1e/0x20 (20) [<c01194d8>] __might_sleep+0xb8/0xd0 (36) [<c0130bc0>] _mutex_lock+0x20/0x40 (20) [<c02675f7>] netpoll_send_skb+0x37/0xc0 (28) [<c0231081>] write_msg+0x41/0x60 (36) [<c011c208>] __call_console_drivers+0x58/0x60 (32) [<c011c302>] call_console_drivers+0x72/0x140 (40) [<c011c6e1>] release_console_sem+0x71/0x100 (36) [<c011c5b6>] vprintk+0x116/0x180 (36) [<c011c498>] printk+0x18/0x20 (16) [<c01989f2>] ext3_setup_super+0xd2/0x1c0 (80) [<c019a5ed>] ext3_remount+0x12d/0x190 (48) [<c015d9b0>] do_remount_sb+0xa0/0xf0 (32) [<c0173c6d>] do_remount+0x6d/0xc0 (36) [<c01745fb>] do_mount+0x19b/0x1b0 (116) [<c01749e7>] sys_mount+0x97/0xe0 (48) [<c010518f>] syscall_call+0x7/0xb (-8124) preempt count: 00000001 . 1-level deep critical section nesting: .. entry 1: print_traces+0x18/0x50 / (dump_stack+0x1e/0x20)
internal journal
I have hacked the sk98lin driver to support netpoll (I sent the patch to netdev), so maybe I did something wrong and these BUGs are my own fault.
Does anybody else use netconsole with Real-Time Preemption?
Michal - 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/
|