All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthias-Christian Ott <matthias.christian@tiscali.de>
To: Frank van Maarseveen <frankvm@frankvm.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.11-rc3 BUG: using smp_processor_id() in preemptible [00000001] code: ip/6840
Date: Sun, 06 Feb 2005 21:05:19 +0100	[thread overview]
Message-ID: <4206787F.8060508@tiscali.de> (raw)
In-Reply-To: <20050206195111.GA28814@janus>

Frank van Maarseveen wrote:

>While executing
>iptables -t nat -D OUTPUT -d 80.126.170.174 -p tcp --dport https -j DNAT --to 192.168.0.1
>iptables -t nat -D OUTPUT -d 80.126.170.174 -p tcp --dport http  -j DNAT --to 192.168.0.1
>ip route del default
>ip addr del 80.126.170.174 dev eth0
>
>on a dual PIII during a shutdown:
>
>kernel: BUG: using smp_processor_id() in preemptible [00000001] code: ip/6840
>kernel: caller is get_next_corpse+0x13/0x260
>kernel:  [<c010385e>] dump_stack+0x1e/0x30
>kernel:  [<c024f13f>] smp_processor_id+0xaf/0xc0
>kernel:  [<c0407d83>] get_next_corpse+0x13/0x260
>kernel:  [<c0408006>] ip_ct_iterate_cleanup+0x36/0xc0
>kernel:  [<c041896a>] masq_inet_event+0x3a/0x70
>kernel:  [<c012eded>] notifier_call_chain+0x2d/0x50
>kernel:  [<c03ef589>] inet_del_ifa+0x99/0x150
>kernel:  [<c03efafb>] inet_rtm_deladdr+0x12b/0x170
>kernel:  [<c03b1f47>] rtnetlink_rcv+0x347/0x410
>kernel:  [<c03c1b10>] netlink_data_ready+0x60/0x70
>kernel:  [<c03c0f71>] netlink_sendskb+0x31/0x60
>kernel:  [<c03c17e9>] netlink_sendmsg+0x259/0x310
>kernel:  [<c039e87b>] sock_sendmsg+0xbb/0xe0
>kernel:  [<c03a0424>] sys_sendmsg+0x1c4/0x230
>kernel:  [<c03a08cc>] sys_socketcall+0x21c/0x240
>kernel:  [<c01029f3>] syscall_call+0x7/0xb
>kernel: BUG: using smp_processor_id() in preemptible [00000001] code: ip/6840
>kernel: caller is get_next_corpse+0x23f/0x260
>kernel:  [<c010385e>] dump_stack+0x1e/0x30
>kernel:  [<c024f13f>] smp_processor_id+0xaf/0xc0
>kernel:  [<c0407faf>] get_next_corpse+0x23f/0x260
>kernel:  [<c0408006>] ip_ct_iterate_cleanup+0x36/0xc0
>kernel:  [<c041896a>] masq_inet_event+0x3a/0x70
>kernel:  [<c012eded>] notifier_call_chain+0x2d/0x50
>kernel:  [<c03ef589>] inet_del_ifa+0x99/0x150
>kernel:  [<c03efafb>] inet_rtm_deladdr+0x12b/0x170
>kernel:  [<c03b1f47>] rtnetlink_rcv+0x347/0x410
>kernel:  [<c03c1b10>] netlink_data_ready+0x60/0x70
>kernel:  [<c03c0f71>] netlink_sendskb+0x31/0x60
>kernel:  [<c03c17e9>] netlink_sendmsg+0x259/0x310
>kernel:  [<c039e87b>] sock_sendmsg+0xbb/0xe0
>kernel:  [<c03a0424>] sys_sendmsg+0x1c4/0x230
>kernel:  [<c03a08cc>] sys_socketcall+0x21c/0x240
>kernel:  [<c01029f3>] syscall_call+0x7/0xb
>
>  
>
Hi!
You have to use get_cpu() or __smp_processor_id() to avoid this debug 
message.
Have a look at inlcude/linux/smp.h and include/asm-i386/smp.h.

Matthias-Christian Ott

  reply	other threads:[~2005-02-06 20:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-06 19:51 2.6.11-rc3 BUG: using smp_processor_id() in preemptible [00000001] code: ip/6840 Frank van Maarseveen
2005-02-06 20:05 ` Matthias-Christian Ott [this message]
2005-02-13 19:30 ` repost: 2.6.11-rc4 " Frank van Maarseveen
2005-02-14 14:03   ` Matthias-Christian Ott
2005-02-14 14:18     ` Frank van Maarseveen

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=4206787F.8060508@tiscali.de \
    --to=matthias.christian@tiscali.de \
    --cc=frankvm@frankvm.com \
    --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.