From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: kernel panic in fib_rules_lookup [2.6.27.7 vendor-patched] Date: Thu, 21 Oct 2010 00:05:53 +0200 Message-ID: <1287612353.2545.11.camel@edumazet-laptop> References: <1286905245.2703.3.camel@edumazet-laptop> <4CBF2A3F.2070108@cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: netdev@vger.kernel.org To: Joe Buehler Return-path: Received: from mail-ey0-f174.google.com ([209.85.215.174]:60700 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754724Ab0JTWGC (ORCPT ); Wed, 20 Oct 2010 18:06:02 -0400 Received: by eyx24 with SMTP id 24so1481756eyx.19 for ; Wed, 20 Oct 2010 15:06:00 -0700 (PDT) In-Reply-To: <4CBF2A3F.2070108@cox.net> Sender: netdev-owner@vger.kernel.org List-ID: Le mercredi 20 octobre 2010 =C3=A0 13:43 -0400, Joe Buehler a =C3=A9cri= t : > Eric Dumazet wrote: >=20 > > 2.6.27 is a bit old, you might try : > >=20 > > commit 7fa7cb7109d07c29ab28bb877bc7049a0150dbe5 > > Author: Eric Dumazet > > Date: Mon Sep 27 04:18:27 2010 +0000 >=20 > Alas, after more load testing I find that the panic still occurs: >=20 > CPU 1 Unable to handle kernel paging request at virtual address > 0000000000000000, epc =3D=3D ffffffff8146728c, ra =3D=3D ffffffff8146= 7258 > Oops[#1]: > Cpu 1 > $ 0 : 0000000000000000 0000000000000000 0000000000000000 0000000000= 000000 > $ 4 : ffffffffffffffff a80000008c9d78f0 a80000009acd9880 000000000a= 205a7c > $ 8 : 0000000000000000 0000000000000020 a80000009a9c49d0 0000000000= 000000 > $12 : ffffffff8155de00 0000000000000004 0000000000000001 0000000000= 000000 > $16 : 0000000000000000 a80000008c9d78f0 0000000000000002 a80000009b= 94ed80 > $20 : a80000009b94edf8 0000000000000000 0000000000000003 a80000008c= 9d78a0 > $24 : 0000000000000000 ffffffff812df388 > $28 : a80000008c9d4000 a80000008c9d7840 fffffffffffffff5 ffffffff81= 467258 > Hi : 0000000000000000 > Lo : 0000000000000000 > epc : ffffffff8146728c fib_rules_lookup+0x11c/0x260 > Not tainted > ra : ffffffff81467258 fib_rules_lookup+0xe8/0x260 > Status: 1010cce3 KX SX UX KERNEL EXL IE > Cause : 00800008 > BadVA : 0000000000000000 > PrId : 000d0409 (Cavium Octeon) > Modules linked in: x_tables ip_tables iptable_filter nf_conntrack > nf_conntrack_ipv4 nf_nat iptable_nat tun xt_tcpudp xt_state ipt_REJEC= T > ipv6 ip6_tables ip6table_filter ip6t_ipv6header ip6t_REJECT > Process qscope7500 (pid: 1343, threadinfo=3Da80000008c9d4000, > task=3Da80000008c068ac0, tls=3D000000002d51e920) > Stack : ffffffffffffffff 0000000000000003 a80000008c9d78d8 a80000008c= 9d79d8 > a80000008c9d78f0 0000000000000000 ffffffff816c39c0 ffffffffff= ffffff > 0000000000000003 00000000000004a6 0000000000000000 ffffffff81= 4bd2a4 > 0000000000000000 a80000008c9d78d8 0000000000000000 ffffffffc0= 01aa24 > a80000008c9d78d8 ffffffff81478a38 0000000000000003 0000000000= 000001 > 0000000000000000 0000000000000000 0000000000000001 000000000a= 205a7c > 0a2059bf00000000 0000000000000000 0000000000000000 0000000000= 000000 > 0000000000000000 0000000000000000 a80000008c9d79d0 0000000000= 000000 > a80000008c9d79d8 a8000000994ff380 0000000000000000 0000000000= 000000 > a80000008c9d79d0 ffffffff816c39c0 0000000000000003 0000000000= 0004a6 > ... > Call Trace: > [] fib_rules_lookup+0x11c/0x260 > [] fib_lookup+0x2c/0x48 > [] __ip_route_output_key+0x918/0xf38 > [] ip_route_output_flow+0x38/0x2e8 > [] ip_queue_xmit+0x38c/0x3a8 > [] tcp_transmit_skb+0x3f4/0x7d0 > [] __tcp_push_pending_frames+0x1fc/0x9e0 > [] tcp_sendmsg+0x900/0xe00 > [] sock_aio_write+0x16c/0x190 > [] do_sync_write+0xbc/0x130 > [] vfs_write+0x150/0x158 > [] sys_write+0x5c/0x118 > [] handle_sys+0x12c/0x148 >=20 >=20 > Code: 0040282d 00000000 de100000 cc400000 1614ffce > 00000000 2405fffd dfbf0058 > Fatal exception: panic in 5 seconds > Kernel panic - not syncing: Fatal exception > Rebooting in 1 seconds.. Thanks Joe Could you provide a disassembly of function fib_rules_lookup ?