Re: kernel panic - not syncing: Fatal exception in interupt

From: Herbert Xu
Date: Mon Apr 18 2005 - 01:10:21 EST


On Sun, Apr 17, 2005 at 08:32:42PM +0000, Shaun Reitan wrote:
> OK, finally got a full dump from the serial console! Here is it!

This was fixed about a month ago. Here is the patch that did it.

Perhaps it's time to include this in 2.6.11.*?

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2005/03/14 21:22:31-08:00 bdschuym@xxxxxxxxxx
# [EBTABLES]: Fix smp race.
#
# The patch below fixes an smp race that happens on such systems under
# heavy load.
# This bug was reported and solved by Steve Herrell
# <steve_herrell@xxxxxxxx>
#
# Signed-off-by: Bart De Schuymer <bdschuym@xxxxxxxxxx>
# Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
#
# net/bridge/netfilter/ebtables.c
# 2005/03/14 21:22:13-08:00 bdschuym@xxxxxxxxxx +2 -1
# [EBTABLES]: Fix smp race.
#
# The patch below fixes an smp race that happens on such systems under
# heavy load.
# This bug was reported and solved by Steve Herrell
# <steve_herrell@xxxxxxxx>
#
# Signed-off-by: Bart De Schuymer <bdschuym@xxxxxxxxxx>
# Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
#
diff -Nru a/net/bridge/netfilter/ebtables.c b/net/bridge/netfilter/ebtables.c
--- a/net/bridge/netfilter/ebtables.c 2005-04-18 15:59:25 +10:00
+++ b/net/bridge/netfilter/ebtables.c 2005-04-18 15:59:25 +10:00
@@ -179,9 +179,10 @@
struct ebt_chainstack *cs;
struct ebt_entries *chaininfo;
char *base;
- struct ebt_table_info *private = table->private;
+ struct ebt_table_info *private;

read_lock_bh(&table->lock);
+ private = table->private;
cb_base = COUNTER_BASE(private->counters, private->nentries,
smp_processor_id());
if (private->chainstack)