From: Harald Lampesberger <harald.lampesberger@fork.at>
To: linux-kernel@vger.kernel.org
Subject: [PREEMPT_RT] BUG: using smp_processor_id() in preemptible [00000000] code: sshd/4126
Date: Fri, 01 Jun 2007 13:38:47 +0200 [thread overview]
Message-ID: <46600547.4080700@fork.at> (raw)
Hi,
while working with Linux 2.6.21.3-rt9 I got following error in the
kernel-log:
[ 1522.504000] BUG: using smp_processor_id() in preemptible [00000000]
code: sshd/4126
[ 1522.504000] caller is ebt_do_table+0x2e/0x600 [ebtables]
[ 1522.504000] [<c023977b>] debug_smp_processor_id+0xab/0xb0
[ 1522.504000] [<f8870e6e>] ebt_do_table+0x2e/0x600 [ebtables]
[ 1522.504000] [<c03f3284>] rt_read_unlock+0x24/0x50
[ 1522.504000] [<f88713d5>] ebt_do_table+0x595/0x600 [ebtables]
[ 1522.504000] [<c038d903>] nf_iterate+0x63/0x90
[ 1522.504000] [<c038da8e>] nf_hook_slow+0x5e/0xe0
[ 1522.504000] [<c03e8c60>] br_dev_queue_push_xmit+0x0/0x90
[ 1522.504000] [<c03e8d3e>] br_forward_finish+0x4e/0x60
[ 1522.504000] [<c03e8c60>] br_dev_queue_push_xmit+0x0/0x90
[ 1522.504000] [<c03e8e07>] __br_deliver+0x27/0x70
[ 1522.504000] [<c03e8cf0>] br_forward_finish+0x0/0x60
[ 1522.504000] [<c03e7d57>] br_dev_xmit+0x57/0x70
[ 1522.504000] [<c0378d24>] dev_hard_start_xmit+0x1e4/0x2c0
[ 1522.504000] [<f8b98726>] nf_nat_out+0x66/0xe0 [iptable_nat]
[ 1522.504000] [<c037a80f>] dev_queue_xmit+0x27f/0x2d0
[ 1522.504000] [<c037f3a1>] neigh_resolve_output+0xc1/0x2b0
[ 1522.504000] [<c03990c0>] ip_finish_output+0x0/0x200
[ 1522.504000] [<c039a832>] ip_output+0x182/0x2b0
[ 1522.504000] [<c03990c0>] ip_finish_output+0x0/0x200
[ 1522.504000] [<c0399c79>] ip_queue_xmit+0x1c9/0x4b0
[ 1522.504000] [<c0397650>] dst_output+0x0/0x10
[ 1522.504000] [<c03a9ea0>] tcp_transmit_skb+0x3c0/0x740
[ 1522.504000] [<c0146e92>] add_preempt_count+0x12/0xe0
[ 1522.504000] [<c03ab7f8>] __tcp_push_pending_frames+0x118/0x8a0
[ 1522.504000] [<c0118f8b>] try_to_wake_up+0x5b/0x470
[ 1522.504000] [<c03a096d>] tcp_sendmsg+0x78d/0xb40
[ 1522.504000] [<c017e976>] core_sys_select+0x266/0x340
[ 1522.504000] [<c03bc6e7>] inet_sendmsg+0x37/0x70
[ 1522.504000] [<c036d230>] sock_aio_write+0x120/0x130
[ 1522.504000] [<c027d833>] tty_ldisc_deref+0x43/0x70
[ 1522.504000] [<c0170ec5>] do_sync_write+0xd5/0x120
[ 1522.504000] [<c0132d40>] autoremove_wake_function+0x0/0x50
[ 1522.504000] [<c017181f>] vfs_write+0x14f/0x160
[ 1522.504000] [<c0171ea1>] sys_write+0x41/0x70
[ 1522.504000] [<c0102cb0>] sysenter_past_esp+0x5d/0x81
[ 1522.504000] =======================
[ 1522.504000] ---------------------------
[ 1522.504000] | preempt count: 00000001 ]
[ 1522.504000] | 1-level deep critical section nesting:
[ 1522.504000] ----------------------------------------
[ 1522.504000] .. [<c023971f>] .... debug_smp_processor_id+0x4f/0xb0
[ 1522.504000] .....[<00000000>] .. ( <= 0x0)
Unfortunally I don't have the experience/knowledge to write a proper
patch for this bug. I hope this report contains enough information about
the bug!
I'm no subscriber of the mailing-list -- is it possible to CC responses
to my email address harald.lampesberger [AT] fork.at ?
Thanks,
Harald
reply other threads:[~2007-06-01 12:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46600547.4080700@fork.at \
--to=harald.lampesberger@fork.at \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.