Bug 12960 - BUG using smp_processor_id() in preemptible [00000000] code: rndc/4018
Summary: BUG using smp_processor_id() in preemptible [00000000] code: rndc/4018
Status: RESOLVED CODE_FIX
Alias: None
Product: Process Management
Classification: Unclassified
Component: Preemption (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Robert Love
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-28 16:34 UTC by Jean-Luc Coulon
Modified: 2009-04-12 17:39 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.29-git[23]
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
.config file (56.94 KB, application/octet-stream)
2009-03-28 16:34 UTC, Jean-Luc Coulon
Details

Description Jean-Luc Coulon 2009-03-28 16:34:28 UTC
Created attachment 20717 [details]
.config file

Hi,

Since 2.6.29-git2, I've many BUG messages.
I have not them with 2.6.29 vanilla and I've not tested git1

BUG: using smp_processor_id() in preemptible [00000000] code: rndc/4018
Mar 28 09:56:52 tangerine kernel: caller is ipt_do_table+0xfe/0x5a4 [ip_tables]
Mar 28 09:56:52 tangerine kernel: Pid: 4018, comm: rndc Not tainted 2.6.29-git2-k8-1 #1
Mar 28 09:56:52 tangerine kernel: Call Trace:
Mar 28 09:56:52 tangerine kernel: [<ffffffff8034f0c0>] debug_smp_processor_id+0xe0/0xf0
Mar 28 09:56:52 tangerine kernel: [<ffffffffa0493cee>] ipt_do_table+0xfe/0x5a4 [ip_tables]
Mar 28 09:56:52 tangerine kernel: [<ffffffffa049e8a8>] ? __nf_ct_ext_add+0x68/0x220 [nf_conntrack]
Mar 28 09:56:52 tangerine kernel: [<ffffffffa0307109>] ipt_local_hook+0x89/0xec [iptable_mangle]
Mar 28 09:56:52 tangerine kernel: [<ffffffff80428a17>] nf_iterate+0x67/0xa0
Mar 28 09:56:52 tangerine kernel: [<ffffffff80432e30>] ? dst_output+0x0/0x10
Mar 28 09:56:52 tangerine kernel: [<ffffffff80428b05>] nf_hook_slow+0xb5/0x100
Mar 28 09:56:52 tangerine kernel: [<ffffffff80432e30>] ? dst_output+0x0/0x10
Mar 28 09:56:52 tangerine kernel: [<ffffffff80434c0f>] __ip_local_out+0x9f/0xb0
Mar 28 09:56:52 tangerine kernel: [<ffffffff80434c31>] ip_local_out+0x11/0x30
Mar 28 09:56:52 tangerine kernel: [<ffffffff80435524>] ip_queue_xmit+0x214/0x410
Mar 28 09:56:52 tangerine kernel: [<ffffffff802a8ec4>] ? __slab_alloc+0x154/0x730
Mar 28 09:56:52 tangerine kernel: [<ffffffff80409f04>] ? __alloc_skb+0x44/0x160
Mar 28 09:56:52 tangerine kernel: [<ffffffff804495f5>] tcp_transmit_skb+0x505/0x7c0
Mar 28 09:56:52 tangerine kernel: [<ffffffff8044a176>] tcp_connect+0x3c6/0x4a0
Mar 28 09:56:52 tangerine kernel: [<ffffffff804507e3>] tcp_v4_connect+0x423/0x510
Mar 28 09:56:52 tangerine kernel: [<ffffffff8045dd07>] inet_stream_connect+0x217/0x2b0
Mar 28 09:56:52 tangerine kernel: [<ffffffff802ae4fe>] ? fget_light+0xce/0xe0
Mar 28 09:56:52 tangerine kernel: [<ffffffff804008f0>] sys_connect+0xb0/0xd0
Mar 28 09:56:52 tangerine kernel: [<ffffffff8026841e>] ? sys_futex+0xbe/0x170
Mar 28 09:56:52 tangerine kernel: [<ffffffff80495842>] ? _spin_lock_irqsave+0x22/0x50
Mar 28 09:56:52 tangerine kernel: [<ffffffff80495ab2>] ? _spin_unlock_irqrestore+0x12/0x40
Mar 28 09:56:52 tangerine kernel: [<ffffffff8020bb1b>] system_call_fastpath+0x16/0x1b


It occurs with various processes but the first two lines are always the same:

[<ffffffff8034f030>] debug_smp_processor_id+0xe0/0xf0
Mar 28 16:32:25 tangerine kernel: [<ffffffffa049ad0e>] ipt_do_table+0xfe/0x5a4 [ip_tables]

I've reported it on preemtion because of the header line of the trace but maybe it is related to iptables.

Attached: my .config.

System is: Debian sid
Architecture: X86_64 on an amd64 x2 4200+
Comment 1 Roman Mindalev 2009-03-28 19:31:27 UTC
I have similar messages since -git1
Comment 2 Roman Mindalev 2009-03-29 19:44:40 UTC
System: Debian sid/experimental
Compiled as: x86_64 SMP preemptible 
CPU: Intel Dual Core E2200
Comment 3 Roman Mindalev 2009-04-05 14:10:29 UTC
Fixed for me in -git11. Jean-Luc, please test fresh snapshot
Comment 4 Jean-Luc Coulon 2009-04-05 15:05:04 UTC
It is fixed for me in -git12, I've not been able to boot -git11: I've a lvm over raid1 and with -gitxx, and sometimes the device numbering is not consistant from one session to the other.
Comment 5 Roman Mindalev 2009-04-11 16:15:08 UTC
Well, this ticket should be closed as I think. But I have no experience with bugzilla... seems only creator can modify ticket status?
Comment 6 Jean-Luc Coulon 2009-04-11 16:22:06 UTC
I've closed it with code_fix. Tell me if appropriate.
Comment 7 Roman Mindalev 2009-04-12 17:39:06 UTC
Thanks, Jean-Luc!

Note You need to log in before you can comment on or make changes to this bug.