* BUG: soft lockup detected on CPU#0!
@ 2006-03-05 12:26 Norbert Wegener
2006-03-10 12:02 ` [netfilter-core] " Patrick McHardy
0 siblings, 1 reply; 2+ messages in thread
From: Norbert Wegener @ 2006-03-05 12:26 UTC (permalink / raw)
To: linux-kernel, coreteam
I am not sure, whether this bug has to do with netfilter. Therefore I
also send it to the suggested address from REPORTING-BUGS.
I hope, this information is sufficient. I don't know, which process has
been 12848.
Mar 5 12:48:15 nobbi kernel: ip_conntrack version 2.4 (3583 buckets,
28664 max) - 232 bytes per conntrack
Mar 5 12:48:44 nobbi kernel: BUG: soft lockup detected on CPU#0!
Mar 5 12:48:44 nobbi kernel:
Mar 5 12:48:44 nobbi kernel: Pid: 12848, comm: rmmod
Mar 5 12:48:44 nobbi kernel: EIP: 0060:[<c011b230>] CPU: 0
Mar 5 12:48:44 nobbi kernel: EIP is at local_bh_enable+0x1/0x5c
Mar 5 12:48:44 nobbi kernel: EFLAGS: 00000202 Not tainted
(2.6.15.1-default)
Mar 5 12:48:44 nobbi kernel: EAX: 00000000 EBX: cdcabb10 ECX: c35dbf4c
EDX: cdcabb10
Mar 5 12:48:44 nobbi kernel: ESI: c35dbf4c EDI: 00000000 EBP: dd243db0
DS: 007b ES: 007b
Mar 5 12:48:44 nobbi kernel: CR0: 8005003b CR2: 0805e30c CR3: 059d5000
CR4: 000006d0
Mar 5 12:48:44 nobbi kernel: [<dd243c54>] get_next_corpse+0xc7/0xce
[ip_conntrack]
Mar 5 12:48:44 nobbi kernel: [<dd243db0>] kill_all+0x0/0x6 [ip_conntrack]
Mar 5 12:48:44 nobbi kernel: [<dd243cb5>]
ip_ct_iterate_cleanup+0x5a/0x66 [ip_conntrack]
Mar 5 12:48:44 nobbi kernel: [<dd243dea>]
ip_conntrack_cleanup+0x14/0x65 [ip_conntrack]
Mar 5 12:48:45 nobbi kernel: [<dd2427e9>] init_or_cleanup+0x24b/0x24f
[ip_conntrack]
Mar 5 12:48:45 nobbi kernel: [<c0129642>] sys_delete_module+0x11f/0x14f
Mar 5 12:48:45 nobbi kernel: [<c0140905>] do_munmap+0xd2/0xe8
Mar 5 12:48:45 nobbi kernel: [<c01029db>] sysenter_past_esp+0x54/0x79
Output from sh scripts/ver_linux:
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
Linux nobbi 2.6.15.1-default #1 Sun Jan 29 12:53:41 CET 2006 i686 athlon
i386 GNU/Linux
Gnu C 4.0.2
Gnu make 3.80
binutils 2.16.91.0.2
util-linux 2.12q
mount 2.12q
module-init-tools 3.2-pre8
e2fsprogs 1.38
jfsutils 1.1.8
reiserfsprogs 3.6.18
reiser4progs line
xfsprogs 2.6.36
PPP 2.4.3
nfs-utils 1.0.7
Linux C Library 2.3.5
Dynamic linker (ldd) 2.3.5
Linux C++ Library 6.0.6
Procps 3.2.5
Net-tools 1.60
Kbd 1.12
Sh-utils 5.3.0
udev 068
Modules Loaded iptable_nat ip_nat ip_conntrack xfrm_user
xfrm4_tunnel af_key ohci_hcd usblp nls_cp850 nls_utf8 smbfs ppp_synctty
iptable_filter ip_tables n_hdlc ppp_generic slhc deflate zlib_deflate
twofish serpent blowfish sha256 crypto_null aes_i586 sha1 ipcomp esp4
ah4 speedstep_lib freq_table ipv6 snd_pcm_oss snd_mixer_oss snd_seq
snd_seq_device button battery ac usbhid edd snd_intel8x0 3c59x
snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd soundcore
snd_page_alloc i2c_sis96x i2c_core sis900 mii sis_agp agpgart ehci_hcd
usbcore generic shpchp pci_hotplug parport_pc lp parport dm_mod reiserfs
fan ide_cd cdrom thermal processor sis5513 ide_disk ide_core
Norbert Wegener
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [netfilter-core] BUG: soft lockup detected on CPU#0!
2006-03-05 12:26 BUG: soft lockup detected on CPU#0! Norbert Wegener
@ 2006-03-10 12:02 ` Patrick McHardy
0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2006-03-10 12:02 UTC (permalink / raw)
To: Norbert Wegener; +Cc: linux-kernel, coreteam
[-- Attachment #1: Type: text/plain, Size: 1556 bytes --]
Norbert Wegener wrote:
> Mar 5 12:48:15 nobbi kernel: ip_conntrack version 2.4 (3583 buckets,
> 28664 max) - 232 bytes per conntrack
> Mar 5 12:48:44 nobbi kernel: BUG: soft lockup detected on CPU#0!
> Mar 5 12:48:44 nobbi kernel:
> Mar 5 12:48:44 nobbi kernel: Pid: 12848, comm: rmmod
> Mar 5 12:48:44 nobbi kernel: EIP: 0060:[<c011b230>] CPU: 0
> Mar 5 12:48:44 nobbi kernel: EIP is at local_bh_enable+0x1/0x5c
> Mar 5 12:48:44 nobbi kernel: EFLAGS: 00000202 Not tainted
> (2.6.15.1-default)
> Mar 5 12:48:44 nobbi kernel: EAX: 00000000 EBX: cdcabb10 ECX: c35dbf4c
> EDX: cdcabb10
> Mar 5 12:48:44 nobbi kernel: ESI: c35dbf4c EDI: 00000000 EBP: dd243db0
> DS: 007b ES: 007b
> Mar 5 12:48:44 nobbi kernel: CR0: 8005003b CR2: 0805e30c CR3: 059d5000
> CR4: 000006d0
> Mar 5 12:48:44 nobbi kernel: [<dd243c54>] get_next_corpse+0xc7/0xce
> [ip_conntrack]
> Mar 5 12:48:44 nobbi kernel: [<dd243db0>] kill_all+0x0/0x6 [ip_conntrack]
> Mar 5 12:48:44 nobbi kernel: [<dd243cb5>]
> ip_ct_iterate_cleanup+0x5a/0x66 [ip_conntrack]
> Mar 5 12:48:44 nobbi kernel: [<dd243dea>]
> ip_conntrack_cleanup+0x14/0x65 [ip_conntrack]
> Mar 5 12:48:45 nobbi kernel: [<dd2427e9>] init_or_cleanup+0x24b/0x24f
> [ip_conntrack]
> Mar 5 12:48:45 nobbi kernel: [<c0129642>] sys_delete_module+0x11f/0x14f
> Mar 5 12:48:45 nobbi kernel: [<c0140905>] do_munmap+0xd2/0xe8
> Mar 5 12:48:45 nobbi kernel: [<c01029db>] sysenter_past_esp+0x54/0x79
Can you reproduce the problem (by rmmod'ing ip_conntrack)? If so please
try if this patch helps.
[-- Attachment #2: x --]
[-- Type: text/plain, Size: 866 bytes --]
diff --git a/net/ipv4/netfilter/ip_conntrack_core.c b/net/ipv4/netfilter/ip_conntrack_core.c
index 84c66db..fd16083 100644
--- a/net/ipv4/netfilter/ip_conntrack_core.c
+++ b/net/ipv4/netfilter/ip_conntrack_core.c
@@ -1251,9 +1251,6 @@ get_next_corpse(int (*iter)(struct ip_co
if (h)
break;
}
- if (!h)
- h = LIST_FIND_W(&unconfirmed, do_iter,
- struct ip_conntrack_tuple_hash *, iter, data);
if (h)
atomic_inc(&tuplehash_to_ctrack(h)->ct_general.use);
write_unlock_bh(&ip_conntrack_lock);
@@ -1267,6 +1264,9 @@ ip_ct_iterate_cleanup(int (*iter)(struct
struct ip_conntrack_tuple_hash *h;
unsigned int bucket = 0;
+ /* make sure there are no unconfirmed conntracks */
+ synchronize_net();
+
while ((h = get_next_corpse(iter, data, &bucket)) != NULL) {
struct ip_conntrack *ct = tuplehash_to_ctrack(h);
/* Time to push up daises... */
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-03-10 12:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-05 12:26 BUG: soft lockup detected on CPU#0! Norbert Wegener
2006-03-10 12:02 ` [netfilter-core] " Patrick McHardy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox