All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: senthilkumaar2021 <senthilkumaar2021@gmail.com>
Cc: "Justin P. Mattock" <justinmattock@gmail.com>,
	netdev <netdev@vger.kernel.org>,
	Bart De Schuymer <bdschuym@pandora.be>
Subject: Re: kernel panic
Date: Tue, 18 May 2010 07:49:54 +0200	[thread overview]
Message-ID: <1274161794.2567.33.camel@edumazet-laptop> (raw)
In-Reply-To: <4BF222C8.6000200@gmail.com>

Le mardi 18 mai 2010 à 10:46 +0530, senthilkumaar2021 a écrit :
> Hi
> 
> thanks fro the reply
> 
> i was able to capture only part of the message
> 
> Machine was running squid 2.7stable6 with tproxy4
> in bridge mode on Linux kernel 2.6.28.5 and the server had
>  kernel panic for every 10 to 12 hours. The logged error:
> 
>     [<ffffffffa0152a4b>] bnx2_poll_work+0xea0/0xfb9 [bnx2]
>     [<ffffffff81029713>] enqueue_task+0x50/0x5b
>     [<ffffffff8104d2ab>] getnstimeofday+0x53/0xb2
>    [<ffffffffa0152f31>] bnx2_poll+0xd1/0x1ae [bnx2]
>      [<ffffffff8120724a>] net_rx_action+0x9d/0x158
>      [<ffffffff8103af44>] __do_softirq+0x7a/0x13d
>      [<ffffffffa0151b6e>] bnx2_msi+0x40/0x47 [bnx2]
>      [<ffffffff8100cf5c>] call_softirq+0x1c/0x28
>      [<ffffffff8100ddc0>] do_softirq+0x2c/0x68
>      [<ffffffff8103ae84>] irq_exit+0x3f/0x85
>      [<ffffffff8100e06f>] do_IRQ+0x14a/0x16b
>     [<ffffffff8100c216>] ret_from_intr+0x0/0xa
>     <EOI> <0> [<ffffffff81174711>] acpi_idle_enter_bm+0x2a3/0x30e
>     [<ffffffff81174707>] acpi_idle_enter_bm+0x299/0x30e
>    [<ffffffff8106bac3>] rcu_needs_cpu+0x35/0x44
>     [<ffffffff811e8269>] cpuidle_idle_call+0x7f/0xbe
>      [<ffffffff8100abd4>] cpu_idle+0x4a/0x6d
>     Code: 5e 5b 5d 31 c0 c3 41 55 41 54 55 53 48 89 fb 48 83 ec 68 4c 8b
>      a7 98 00 00
>     00 4c 8b 6f 20 48 8b b7 d0 00 00 00 8b 8f bc 00 00 00 <41> f6 44 24
>      18 01 74 12
>      8a 47 7d 83 e0 f8 83 c8 03 88 47 7d 41
>     RIP [<ffffffffa02c405f>] br_nf_pre_routing_finish+0x25/0x2af [bridge]
>     RSP <ffffffff8155fb40>
>     CR2: 0000000000000018
>     Kernel panic - not syncing: Fatal exception in interrupt
> 
>  The kernel panic occurred in CentOS as well as Fedora 8 64 bit.
> 
>  When we checked this with squid community, they replied it as the
>  problem of the Network Card. When the NIC was changed to Intel from
>  Broadcom, RAM replaced with new sets and kernel updated to 2.6.30.5, the
>  find it attached). This happens once in two days. We have been trying to
>  resolve this for over 3 weeks now but in vain, any help on this is much
>  appreciated.
> 
>  hardware detail_
> 
>  CPU : 3.0 GHz
> RAM : 4 GB RAM
>  HDD : 4 x 150 GB
> 
>  OS : Fedora 8 64 bit
>  FS : ReiserFS
> Max request rate : 400 per second

You could try to adapt commit e94c67436e

Maybe its same problem...

commit e94c67436efa22af7d8b7d19c885863246042543
Author: Bart De Schuymer <bdschuym@pandora.be>
Date:   Thu May 13 14:55:34 2010 +0200

    netfilter: bridge-netfilter: fix crash in br_nf_forward_finish()
    
    [ 4593.956206] BUG: unable to handle kernel NULL pointer dereference at 0000000000000018
    [ 4593.956219] IP: [<ffffffffa03357a4>] br_nf_forward_finish+0x154/0x170 [bridge]
    [ 4593.956232] PGD 195ece067 PUD 1ba005067 PMD 0
    [ 4593.956241] Oops: 0000 [#1] SMP
    [ 4593.956248] last sysfs file:
    /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:08/ATK0110:00/hwmon/hwmon0/temp2_label
    [ 4593.956253] CPU 3
    ...
    [ 4593.956380] Pid: 29512, comm: kvm Not tainted 2.6.34-rc7-net #195 P6T DELUXE/System Product Name
    [ 4593.956384] RIP: 0010:[<ffffffffa03357a4>]  [<ffffffffa03357a4>] br_nf_forward_finish+0x154/0x170 [bridge]
    [ 4593.956395] RSP: 0018:ffff880001e63b78  EFLAGS: 00010246
    [ 4593.956399] RAX: 0000000000000608 RBX: ffff880057181700 RCX: ffff8801b813d000
    [ 4593.956402] RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff880057181700
    [ 4593.956406] RBP: ffff880001e63ba8 R08: ffff8801b9d97000 R09: ffffffffa0335650
    [ 4593.956410] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801b813d000
    [ 4593.956413] R13: ffffffff81ab3940 R14: ffff880057181700 R15: 0000000000000002
    [ 4593.956418] FS:  00007fc40d380710(0000) GS:ffff880001e60000(0000) knlGS:0000000000000000
    [ 4593.956422] CS:  0010 DS: 002b ES: 002b CR0: 000000008005003b
    [ 4593.956426] CR2: 0000000000000018 CR3: 00000001ba1d7000 CR4: 00000000000026e0
    [ 4593.956429] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    [ 4593.956433] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
    [ 4593.956437] Process kvm (pid: 29512, threadinfo ffff8801ba566000, task ffff8801b8003870)
    [ 4593.956441] Stack:
    [ 4593.956443]  0000000100000020 ffff880001e63ba0 ffff880001e63ba0 ffff880057181700
    [ 4593.956451] <0> ffffffffa0335650 ffffffff81ab3940 ffff880001e63bd8 ffffffffa03350e6
    [ 4593.956462] <0> ffff880001e63c40 000000000000024d ffff880057181700 0000000080000000
    [ 4593.956474] Call Trace:
    [ 4593.956478]  <IRQ>
    [ 4593.956488]  [<ffffffffa0335650>] ? br_nf_forward_finish+0x0/0x170 [bridge]
    [ 4593.956496]  [<ffffffffa03350e6>] NF_HOOK_THRESH+0x56/0x60 [bridge]
    [ 4593.956504]  [<ffffffffa0335282>] br_nf_forward_arp+0x112/0x120 [bridge]
    [ 4593.956511]  [<ffffffff813f7184>] nf_iterate+0x64/0xa0
    [ 4593.956519]  [<ffffffffa032f920>] ? br_forward_finish+0x0/0x60 [bridge]
    [ 4593.956524]  [<ffffffff813f722c>] nf_hook_slow+0x6c/0x100
    [ 4593.956531]  [<ffffffffa032f920>] ? br_forward_finish+0x0/0x60 [bridge]
    [ 4593.956538]  [<ffffffffa032f800>] ? __br_forward+0x0/0xc0 [bridge]
    [ 4593.956545]  [<ffffffffa032f86d>] __br_forward+0x6d/0xc0 [bridge]
    [ 4593.956550]  [<ffffffff813c5d8e>] ? skb_clone+0x3e/0x70
    [ 4593.956557]  [<ffffffffa032f462>] deliver_clone+0x32/0x60 [bridge]
    [ 4593.956564]  [<ffffffffa032f6b6>] br_flood+0xa6/0xe0 [bridge]
    [ 4593.956571]  [<ffffffffa032f800>] ? __br_forward+0x0/0xc0 [bridge]
    
    Don't call nf_bridge_update_protocol() for ARP traffic as skb->nf_bridge isn't
    used in the ARP case.
    
    Reported-by: Stephen Hemminger <shemminger@vyatta.com>
    Signed-off-by: Bart De Schuymer <bdschuym@pandora.be>
    Signed-off-by: Patrick McHardy <kaber@trash.net>

diff --git a/net/bridge/br_netfilter.c b/net/bridge/br_netfilter.c
index 93f80fe..4442099 100644
--- a/net/bridge/br_netfilter.c
+++ b/net/bridge/br_netfilter.c
@@ -643,10 +643,10 @@ static int br_nf_forward_finish(struct sk_buff *skb)
 			skb->pkt_type = PACKET_OTHERHOST;
 			nf_bridge->mask ^= BRNF_PKT_TYPE;
 		}
+		nf_bridge_update_protocol(skb);
 	} else {
 		in = *((struct net_device **)(skb->cb));
 	}
-	nf_bridge_update_protocol(skb);
 	nf_bridge_push_encap_header(skb);
 
 	NF_HOOK_THRESH(NFPROTO_BRIDGE, NF_BR_FORWARD, skb, in,



  parent reply	other threads:[~2010-05-18  5:49 UTC|newest]

Thread overview: 125+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-18  4:23 kernel panic senthilkumaar2021
2010-05-18  4:47 ` Justin P. Mattock
2010-05-18  4:55   ` senthilkumaar2021
2010-05-18  5:05     ` Eric Dumazet
     [not found]       ` <4BF222C8.6000200@gmail.com>
2010-05-18  5:49         ` Eric Dumazet [this message]
2010-05-18  5:08     ` Justin P. Mattock
  -- strict thread matches above, loose matches on Subject: below --
2023-11-13  9:21 Kernel panic Yao Yongxian
2023-11-13 18:02 ` Jan Kiszka
2019-10-15  7:21 Kernel Panic Christophe DUMONT
2019-10-15 17:13 ` Valentin Vidić
2019-10-15 20:20 ` Valdis Klētnieks
2019-10-16  7:34   ` Christophe DUMONT
2019-10-16 14:16     ` Valdis Klētnieks
2019-10-17  7:48       ` Christophe DUMONT
2019-10-17  7:54         ` Valentin Vidić
2019-10-22  9:38       ` Christophe DUMONT
2019-10-22 17:20         ` Greg KH
2019-04-01  6:43 kernel panic Victor L
2018-07-09  1:00 Ansuel Smith
2018-07-09  4:54 ` Vasanthakumar Thiagarajan
2016-12-06  6:23 Kernel Panic Samuel Holland
2016-12-06 18:19 ` Jason A. Donenfeld
2016-12-06 18:26   ` Samuel Holland
2016-12-06 18:31     ` Jason A. Donenfeld
2016-12-06 22:39       ` Jason A. Donenfeld
2016-12-07  0:44         ` PaX Team
2016-12-07 10:38           ` Jason A. Donenfeld
     [not found]             ` <CAHmME9pVCDu88c6n+LV9Mtd5Ohu8o-7RSQB4kRjsHGRQ3jF8zw@mail.gmail.com>
     [not found]               ` <20161208231626.GA5230@grsecurity.net>
2016-12-09 11:17                 ` Jason A. Donenfeld
     [not found]                   ` <20161209121144.GA31448@grsecurity.net>
2016-12-09 12:56                     ` Jason A. Donenfeld
2016-12-09 13:27                       ` Jason A. Donenfeld
2016-12-09 15:54 ` Jason A. Donenfeld
2015-10-15 11:23 kernel panic jinzhao at wingtech.com
2015-10-16 11:36 ` Mulyadi Santosa
2013-09-17  2:59 Kernel panic zhang xintao
2013-09-17  2:57 kernel panic zhang xintao
2013-09-17 14:45 ` Brian Jackson
     [not found] <510F87A6.1060002@sap.com>
2013-02-04 19:52 ` Helge Deller
2013-02-04 20:48   ` John David Anglin
2012-12-02 17:30 Kernel panic Stefan Beller
2012-12-02 17:51 ` Stefan Beller
2012-12-02 19:13   ` rh
     [not found] <201201191202.q0JC243u029201@curly.dor.state.ma.us>
2012-01-19 15:26 ` Ron Murray
2011-10-24 11:19 kernel panic nick bray
2011-10-25 20:55 ` Bjorn Helgaas
2011-10-26 10:00   ` Len Brown
2011-10-26 10:00     ` Len Brown
2011-10-26 14:53     ` Bjorn Helgaas
     [not found]       ` <4EA82832.2070201@ntlworld.com>
2011-10-26 16:18         ` Bjorn Helgaas
     [not found]           ` <4EA83F5D.20001@ntlworld.com>
2011-10-26 18:10             ` Bjorn Helgaas
2011-10-26 18:10               ` Bjorn Helgaas
2011-10-28  2:13               ` Thomas Renninger
2011-10-31 12:24                 ` Thomas Renninger
2010-09-15 13:21 Tigran Mkrtchyan
2010-09-16 15:35 ` Benny Halevy
2010-09-17  6:33   ` Tigran Mkrtchyan
2010-09-17  8:23     ` Benny Halevy
2010-05-17  9:42 senthilkumaar2021
2010-05-17  8:55 senthilkumaar2021
     [not found] <9a5eeacd0804210350v79db27f0of73a29c55e2b7311@mail.gmail.com>
2008-04-21 10:56 ` Kernel panic Matthias Andersson
2008-04-21 11:07   ` Bart Van Assche
2008-02-16  3:48 kernel panic john bryant
2007-12-23 21:27 Kernel panic Jörg Sommer
2006-09-25 12:32 kernel panic Jacques Rodary
2006-09-07 16:42 Miha Verlic
2006-08-24 18:01 febo
2006-03-31  4:31 Samuel Díaz García
2006-04-01  6:21 ` Samuel Díaz García
2006-02-24 10:15 Rogel Miguez
2005-09-23 13:37 Kernel panic sharad
     [not found] <4GLD8-5Wa-27@gated-at.bofh.it>
2005-08-29 23:50 ` kernel panic Robert Hancock
2005-08-29  6:43 manomugdha biswas
2004-09-28  2:00 James Harper
2004-09-27 13:21 James Harper
2004-09-27 13:25 ` Keir Fraser
2004-09-27 15:59 ` Ian Pratt
2004-09-27 12:41 James Harper
2004-09-27 13:15 ` Keir Fraser
2004-09-27  9:22 lp4u
2004-09-27 11:09 ` Frank Steiner
2004-09-27 13:41 ` elijah wright
2004-09-27  9:08 lp4u
2004-09-27 12:39 ` Josh Boyer
2004-09-22 15:57 Kernel Panic Nuno Dias
2004-09-22 16:19 ` Keir Fraser
2004-04-12 10:39 kernel panic osmaker@hu
2004-04-12 10:43 ` osmaker@hu
2004-04-12 12:26 ` Zwane Mwaikambo
2004-02-11  1:16 Kernel Panic Krishna Kumar
2004-02-11  0:32 Niranjan
     [not found] <S263478AbTLEJ0s/20031205092648Z+878@vger.kernel.org>
2003-12-05  9:34 ` Kernel panic neel vanan
2003-12-05 14:19   ` William Lee Irwin III
2003-12-06  5:47     ` William Lee Irwin III
2003-07-24  4:47 kernel panic mount me
2003-07-24  7:29 ` Gábor Lénárt
2003-07-26  1:21   ` Fname Lname
2003-04-16 12:45 Kernel panic Allshouse, Brian M (Sabre)
2003-04-07 14:48 Kernel Panic Jamie Harris
2003-04-06  7:00 Recomended IDE-RAID MB Andrew B. Cramer
2003-04-07 13:43 ` Kernel Panic Ben Clewett
2003-04-07 13:48   ` Jamie Harris
2003-04-07 14:22     ` Ben Clewett
2003-03-26 20:22 David van Hoose
2003-03-26 11:28 ` dan carpenter
2002-10-29 20:06 Kernel panic Aman
2002-10-30 19:57 ` Matt Porter
2002-04-06  4:16 Daniel Mundy
2002-04-06 18:05 ` Alan Cox
2002-03-05 22:31 Hanno Böck
2002-03-06  1:40 ` Lionel Bouton
2002-03-06  1:50   ` Andre Hedrick
2002-02-19 18:27 kernel panic chiranjeevi vaka
2002-02-19 18:50 ` Justin Carlson
2002-02-21 17:17 ` Fernando Korndorfer
2002-01-04  4:11 Balaji
2002-01-02 19:34 nntp
2001-12-15 18:47 mempool design Benjamin LaHaise
2001-12-15 22:18 ` Ingo Molnar
2001-12-17 15:04   ` Andrea Arcangeli
2001-12-17 15:38     ` Victor Yodaiken
2001-12-17 17:33       ` kernel panic Geoffrey
2001-06-28 12:47 karanth karanth
2000-11-17 17:44 Kernel Panic Dave Seff
2000-11-18 19:29 ` Chmouel Boudjnah
1998-04-02 17:31 kernel panic Ulf Carlsson
1998-04-02 17:29 ` ralf
1998-04-02 18:55 ` Dong Liu
1998-04-02 18:47   ` ralf
1998-04-02 19:22     ` Dong Liu
1998-04-02 20:37       ` ralf
1998-04-02 21:10         ` Dong Liu

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=1274161794.2567.33.camel@edumazet-laptop \
    --to=eric.dumazet@gmail.com \
    --cc=bdschuym@pandora.be \
    --cc=justinmattock@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=senthilkumaar2021@gmail.com \
    /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.