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

From: Florian Schmidt
Date: Mon Oct 25 2004 - 08:11:48 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.



hi, i saw these during boot (config and complete dmesg attached):

Freeing unused kernel memory: 348k freed
Adding 289160k swap on /dev/hda3. Priority:-1 extents:1
EXT3 FS on hdc1, internal journal
IRQ#8 thread RT prio: 45.
BUG: sleeping function called from invalid context modprobe(116) at kernel/mutex.c:28
in_atomic():1 [00000001], irqs_disabled():1
[<c0117182>] __might_sleep+0xc2/0xe0 (12)
[<c0134989>] resolve_symbol+0xb9/0xc0 (24)
[<c01309f8>] _mutex_lock+0x38/0x50 (12)
[<c0144995>] kmem_cache_alloc+0x45/0x100 (24)
[<c0134989>] resolve_symbol+0xb9/0xc0 (8)
[<c0133cfc>] use_module+0x4c/0x160 (4)
[<c0133d50>] use_module+0xa0/0x160 (20)
[<f08414f0>] unregister_sound_special+0x0/0x40 [soundcore] (12)
[<c0134989>] resolve_symbol+0xb9/0xc0 (16)
[<c0134fe2>] simplify_symbols+0xb2/0x120 (48)
[<c0135cc3>] load_module+0x573/0xa90 (44)
[<c013100d>] __mcount+0x1d/0x20 (48)
[<c0136236>] sys_init_module+0x56/0x260 (112)
[<c010617b>] syscall_call+0x7/0xb (28)
preempt count: 00000002
. 2-level deep critical section nesting:
.. entry 1: resolve_symbol+0x21/0xc0 [<c01348f1>] / (simplify_symbols+0xb2/0x120 [<c0134fe2>])
.. entry 2: print_traces+0x17/0x90 [<c0131fc7>] / (dump_stack+0x23/0x30 [<c0106733>])

PCI: Found IRQ 3 for device 0000:00:0f.0
sis900.c: v1.08.07 11/02/2003

[...]

EXT3-fs: mounted filesystem with ordered data mode.
eth0: Media Link On 100mbps full-duplex
IRQ#5 thread RT prio: 44.
ip_tables: (C) 2000-2002 Netfilter core team
BUG: sleeping function called from invalid context modprobe(591) at kernel/mutex.c:28
in_atomic():1 [00000001], irqs_disabled():1
[<c0117182>] __might_sleep+0xc2/0xe0 (12)
[<c0131c55>] sub_preempt_count+0x65/0xd0 (24)
[<c01309f8>] _mutex_lock+0x38/0x50 (12)
[<c0144995>] kmem_cache_alloc+0x45/0x100 (24)
[<c0134989>] resolve_symbol+0xb9/0xc0 (8)
[<c0133cfc>] use_module+0x4c/0x160 (4)
[<c0133d50>] use_module+0xa0/0x160 (20)
[<f0914030>] ipt_do_table+0x0/0x320 [ip_tables] (12)
[<c0134989>] resolve_symbol+0xb9/0xc0 (16)
[<c0134fe2>] simplify_symbols+0xb2/0x120 (48)
[<c0135cc3>] load_module+0x573/0xa90 (44)
[<c01ef27b>] __up_write+0x13b/0x320 (48)
[<c0136236>] sys_init_module+0x56/0x260 (112)
[<c010617b>] syscall_call+0x7/0xb (28)
preempt count: 00000002
. 2-level deep critical section nesting:
.. entry 1: resolve_symbol+0x21/0xc0 [<c01348f1>] / (simplify_symbols+0xb2/0x120 [<c0134fe2>])
.. entry 2: print_traces+0x17/0x90 [<c0131fc7>] / (dump_stack+0x23/0x30 [<c0106733>])

ip_conntrack version 2.1 (6144 buckets, 49152 max) - 452 bytes per conntrack

Module Size Used by
ipt_addrtype 2112 1
ipt_state 1920 1
ip_conntrack 51096 1 ipt_state
iptable_filter 3136 1
ip_tables 19584 3 ipt_addrtype,ipt_state,iptable_filter
bsd_comp 5952 0
ppp_deflate 6272 0
zlib_deflate 22360 1 ppp_deflate
ppp_async 13784 1
ppp_generic 34276 7 bsd_comp,ppp_deflate,ppp_async
slhc 8320 1 ppp_generic
crc_ccitt 2112 1 ppp_async
sis900 20036 0
crc32 4352 1 sis900
snd_cs46xx 84168 1
snd_rawmidi 26592 1 snd_cs46xx
snd_seq_device 8972 1 snd_rawmidi
snd_ac97_codec 77472 1 snd_cs46xx
snd_pcm 100600 2 snd_cs46xx,snd_ac97_codec
snd_timer 27612 1 snd_pcm
snd 57668 8 snd_cs46xx,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer
soundcore 10688 1 snd
snd_page_alloc 10244 2 snd_cs46xx,snd_pcm
gameport 4992 1 snd_cs46xx


flo

Attachment: .config
Description: Binary data

Attachment: log
Description: Binary data