Re: 2.6.18-rt1

Michal Piotrowski
2006-09-20T22:07:50Z

On 20/09/06, Ingo Molnar <mingo@elte.hu> wrote:
> I'm pleased to announce the 2.6.18-rt1 tree, which can be downloaded
> from the usual place:
>

sudo /etc/init.d/iptables stop

ip_conntrack issue?

BUG: using smp_processor_id() in preemptible [00000000] code: modprobe/20112
caller is drain_array+0x19/0xe6
[<c0104356>] show_trace_log_lvl+0x68/0x193
[<c0104a5a>] show_trace+0x1b/0x20
[<c0104b38>] dump_stack+0x1f/0x24
[<c01f7c3f>] debug_smp_processor_id+0x7f/0x90
[<c01711ea>] drain_array+0x19/0xe6
[<c0171442>] __cache_shrink+0x3b/0x7c
[<c0172e08>] kmem_cache_destroy+0x80/0x145
[<fd9423a8>] ip_conntrack_cleanup+0x88/0xbc [ip_conntrack]
[<fd94540c>] ip_conntrack_standalone_fini+0x5c/0x8b [ip_conntrack]
[<c0143e6f>] sys_delete_module+0x195/0x1be
[<c0103216>] sysenter_past_esp+0x63/0xa1
DWARF2 unwinder stuck at sysenter_past_esp+0x63/0xa1
Leftover inexact backtrace:
[<c0104a5a>] show_trace+0x1b/0x20
[<c0104b38>] dump_stack+0x1f/0x24
[<c01f7c3f>] debug_smp_processor_id+0x7f/0x90
[<c01711ea>] drain_array+0x19/0xe6
[<c0171442>] __cache_shrink+0x3b/0x7c
[<c0172e08>] kmem_cache_destroy+0x80/0x145
[<fd9423a8>] ip_conntrack_cleanup+0x88/0xbc [ip_conntrack]
[<fd94540c>] ip_conntrack_standalone_fini+0x5c/0x8b [ip_conntrack]
[<c0143e6f>] sys_delete_module+0x195/0x1be
[<c0103216>] sysenter_past_esp+0x63/0xa1
---------------------------
| preempt count: 00000001 ]
| 1-level deep critical section nesting:
----------------------------------------
.. [<c01f7bfe>] .... debug_smp_processor_id+0x3e/0x90
.....[<c01711ea>] .. ( <= drain_array+0x19/0xe6)
skipping trace printing on CPU#0 != -1
BUG: modprobe:20112 task might have lost a preemption check!
[<c0104356>] show_trace_log_lvl+0x68/0x193
[<c0104a5a>] show_trace+0x1b/0x20
[<c0104b38>] dump_stack+0x1f/0x24
[<c011cd8a>] preempt_enable_no_resched+0x48/0x4d
[<c01f7c47>] debug_smp_processor_id+0x87/0x90
[<c01711ea>] drain_array+0x19/0xe6
[<c0171442>] __cache_shrink+0x3b/0x7c
[<c0172e08>] kmem_cache_destroy+0x80/0x145
[<fd9423a8>] ip_conntrack_cleanup+0x88/0xbc [ip_conntrack]
[<fd94540c>] ip_conntrack_standalone_fini+0x5c/0x8b [ip_conntrack]
[<c0143e6f>] sys_delete_module+0x195/0x1be
[<c0103216>] sysenter_past_esp+0x63/0xa1
DWARF2 unwinder stuck at sysenter_past_esp+0x63/0xa1
Leftover inexact backtrace:
[<c0104a5a>] show_trace+0x1b/0x20
[<c0104b38>] dump_stack+0x1f/0x24
[<c011cd8a>] preempt_enable_no_resched+0x48/0x4d
[<c01f7c47>] debug_smp_processor_id+0x87/0x90
[<c01711ea>] drain_array+0x19/0xe6
[<c0171442>] __cache_shrink+0x3b/0x7c
[<c0172e08>] kmem_cache_destroy+0x80/0x145
[<fd9423a8>] ip_conntrack_cleanup+0x88/0xbc [ip_conntrack]
[<fd94540c>] ip_conntrack_standalone_fini+0x5c/0x8b [ip_conntrack]
[<c0143e6f>] sys_delete_module+0x195/0x1be
[<c0103216>] sysenter_past_esp+0x63/0xa1
---------------------------
| preempt count: 00000000 ]
| 0-level deep critical section nesting:
----------------------------------------

l *0xc01f7bfe
0xc01f7bfe is in debug_smp_processor_id
(/usr/src/linux-rt/lib/smp_processor_id.c:42).
37 /*
38 * Avoid recursion:
39 */
40 preempt_disable();
41
42 if (!printk_ratelimit())
43 goto out_enable;
44
45 printk(KERN_ERR "BUG: using smp_processor_id() in
preemptible [%08x] code: %s/%d\n", preempt_count()-1, current->comm,
current->pid);
46 print_symbol("caller is %s\n",
(long)__builtin_return_address(0));

l *0xc01711ea
0xc01711ea is in drain_array (/usr/src/linux-rt/mm/slab.c:3852).
3847 struct array_cache *ac, int force, int node)
3848 {
3849 int this_cpu = smp_processor_id();
3850 int tofree;
3851
3852 if (!ac || !ac->avail)
3853 return;
3854 if (ac->touched && !force) {
3855 ac->touched = 0;
3856 } else {

http://www.stardust.webpages.pl/files/o_bugs/rt/2.6.18-rt1/rt-config

Regards,
Michal

--
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/)