Re: [patch] Real-Time Preemption, -RT-2.6.10-rc1-mm3-V0.7.20

From: Rui Nuno Capela
Date: Mon Nov 08 2004 - 09:17:22 EST


Ingo Molnar wrote:
>
> i have released the -V0.7.20 Real-Time Preemption patch, which can be
> downloaded from the usual place:
>
> http://redhat.com/~mingo/realtime-preempt/
>

I'm seeing many of these on dmesg, almost everytime a module is getting
loaded:

BUG: sleeping function called from invalid context insmod(1357) at
kernel/rt.c:1322
in_atomic():1 [00000001], irqs_disabled():1
[<c0105040>] dump_stack+0x23/0x25 (20)
[<c0116026>] __might_sleep+0xbc/0xcf (36)
[<c01321d1>] __spin_lock+0x38/0x57 (24)
[<c013220d>] _spin_lock+0x1d/0x1f (16)
[<c0145386>] kmem_cache_alloc+0x3f/0xfe (32)
[<c01358ff>] use_module+0xa8/0x13a (32)
[<c01363db>] resolve_symbol+0x79/0x8c (40)
[<c0136a1d>] simplify_symbols+0xc4/0xfe (44)
[<c013779b>] load_module+0x64f/0x989 (144)
[<c0137b2c>] sys_init_module+0x57/0x23d (32)
[<c0104201>] sysenter_past_esp+0x52/0x71 (-8124)
---------------------------
| preempt count: 00000002 ]
| 2-level deep critical section nesting:
----------------------------------------
.. [<c013637f>] .... resolve_symbol+0x1d/0x8c
.....[<c0136a1d>] .. ( <= simplify_symbols+0xc4/0xfe)
.. [<c0133cdf>] .... print_traces+0x1b/0x54
.....[<c0105040>] .. ( <= dump_stack+0x23/0x25)


Another critical issue is that USB is not working properly; the ohci_hcd
module gets loaded but devices don't get listed by lsusb at all, which I
think is a "bonus" from upstream 2.6.9-rc1-mm3.

In fact I think -mm3 is breaking many things around here, at least on my
laptop; another notorious is my wifi stuff (linux-wlan-ng/prism2_cs) now
failing due to unresolved symbols, such as these:

prism2_cs: Unknown symbol p80211netdev_rx
prism2_cs: Unknown symbol register_wlandev
prism2_cs: Unknown symbol wlan_unsetup
prism2_cs: Unknown symbol unregister_wlandev
prism2_cs: Unknown symbol p80211netdev_hwremoved
prism2_cs: Unknown symbol wlan_setup
prism2_cs: Unknown symbol p80211skb_rxmeta_attach

But I guess this is off-topic by now.

Take care.
--
rncbc aka Rui Nuno Capela
rncbc@xxxxxxxxx


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