From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 28 May 2002 18:07:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 28 May 2002 18:07:42 -0400 Received: from rdu26-247-095.nc.rr.com ([66.26.247.95]:4748 "HELO chapus.net") by vger.kernel.org with SMTP id ; Tue, 28 May 2002 18:07:41 -0400 Date: Tue, 28 May 2002 18:07:27 -0400 To: linux-kernel@vger.kernel.org Subject: tcpdump with CONFIG_FILTER causes Oops on Sparc Message-ID: <20020528220727.GA12229@chapus.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i From: "Eloy A. Paris" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, I can reliably reproduce an Oops when running tcpdump on a Sun Ultra 5 (sparc64.) I was running without CONFIG_FILTER and was getting bus errors when tcpdump was run as in "tcpdump host ". After I compiled my kernel with CONFIG_FILTER I started to get the Oops. I prefer to get the bus errors, if you ask me. Kernel version is 2.4.19pre8. tcpdump is 3.6.2. Running Debian unstable. Below is the output from ksymoops. Doesn't make much sense to me but if anyone is interested in debugging this further I am more than willing to help. Cheers, Eloy.- ksymoops 2.4.5 on sparc64 2.4.19-pre8. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.4.19-pre8/ (default) -m /usr/src/linux/System.map (specified) May 28 17:46:39 elparis-lnx kernel: Unable to handle kernel paging request in mna handler<1> at virtual address 0015000500008035 May 28 17:46:39 elparis-lnx kernel: \|/ ____ \|/ May 28 17:46:39 elparis-lnx kernel: "@'/ .. \`@" May 28 17:46:39 elparis-lnx kernel: /_| \__/ |_\ May 28 17:46:39 elparis-lnx kernel: \__U_/ May 28 17:46:39 elparis-lnx kernel: tcpdump(201): Oops May 28 17:46:39 elparis-lnx kernel: TSTATE: 0000004411009607 TPC: 0000000002005b8c TNPC: 0000000002005b90 Y: 02d00000 Not tainted Using defaults from ksymoops -t elf32-sparc -a sparc May 28 17:46:39 elparis-lnx kernel: g0: fffff800010a2fd1 g1: 0000000000000000 g2: 00000000005ecdf8 g3: 00000000006abfe8 May 28 17:46:39 elparis-lnx kernel: g4: fffff80000000000 g5: 0000000000000001 g6: fffff800010a0000 g7: 0000000000000001 May 28 17:46:39 elparis-lnx kernel: o0: fffff8001feb3c40 o1: 0015000500008035 o2: 0000000000000001 o3: 0000000000007fff May 28 17:46:39 elparis-lnx kernel: o4: 00000000700299b8 o5: 0000000000000003 sp: fffff800010a3011 ret_pc: 0000000002005b74 May 28 17:46:39 elparis-lnx kernel: l0: fffff80000302040 l1: 0015000500008035 l2: 0000000000000000 l3: 00000000006b76b8 May 28 17:46:39 elparis-lnx kernel: l4: aaaaaaaaaaaaaaab l5: 00000000006b7400 l6: 0000000000000000 l7: 00000000700283a8 May 28 17:46:39 elparis-lnx kernel: i0: fffff800010c04e0 i1: fffff8001feb3c40 i2: 0000000000000000 i3: 0000000002007300 May 28 17:46:39 elparis-lnx kernel: i4: 0000000000000000 i5: 0000000000000000 i6: fffff800010a30d1 i7: 0000000002004f7c May 28 17:46:39 elparis-lnx kernel: Caller[0000000002004f7c] May 28 17:46:39 elparis-lnx kernel: Caller[000000000053c1b4] May 28 17:46:39 elparis-lnx kernel: Caller[000000000053c7a0] May 28 17:46:39 elparis-lnx kernel: Caller[00000000004645dc] May 28 17:46:39 elparis-lnx kernel: Caller[000000000046328c] May 28 17:46:39 elparis-lnx kernel: Caller[00000000004462c0] May 28 17:46:39 elparis-lnx kernel: Caller[0000000000446a34] May 28 17:46:39 elparis-lnx kernel: Caller[0000000000446c68] May 28 17:46:39 elparis-lnx kernel: Caller[0000000000410e74] May 28 17:46:39 elparis-lnx kernel: Caller[00000000700b17d0] May 28 17:46:39 elparis-lnx kernel: Instruction DUMP: e25a2040 02c4401a 01000000 d2722040 7f94f7cb d0446008 a0100008 02c4000c >>PC; 02005b8c <.bss.end+4839/????> <===== >>g0; fffff800010a2fd1 >>g2; 005ecdf8 >>g3; 006abfe8 >>g4; fffff80000000000 >>g6; fffff800010a0000 >>o0; fffff8001feb3c40 >>o1; 15000500008035 >>o3; 00007fff Before first symbol >>o4; 700299b8 >>sp; fffff800010a3011 >>ret_pc; 02005b74 <.bss.end+4821/????> >>l0; fffff80000302040 >>l1; 15000500008035 >>l3; 006b76b8 >>l4; aaaaaaaaaaaaaaab >>l5; 006b7400 >>l7; 700283a8 >>i0; fffff800010c04e0 >>i1; fffff8001feb3c40 >>i3; 02007300 <.bss.end+5fad/????> >>i6; fffff800010a30d1 >>i7; 02004f7c <.bss.end+3c29/????> Trace; 02004f7c <.bss.end+3c29/????> Trace; 0053c1b4 Trace; 0053c7a0 Trace; 004645dc Trace; 0046328c Trace; 004462c0 Trace; 00446a34 Trace; 00446c68 Trace; 00410e74 Trace; 700b17d0 Code; 02005b80 <.bss.end+482d/????> 00000000 <_PC>: Code; 02005b80 <.bss.end+482d/????> 0: e2 5a 20 40 unknown Code; 02005b84 <.bss.end+4831/????> 4: 02 c4 40 1a unknown Code; 02005b88 <.bss.end+4835/????> 8: 01 00 00 00 nop Code; 02005b8c <.bss.end+4839/????> <===== c: d2 5c 40 00 unknown <===== Code; 02005b90 <.bss.end+483d/????> 10: d2 72 20 40 unknown Code; 02005b94 <.bss.end+4841/????> 14: 7f 94 f7 cb call fe53df40 <_PC+0xfe53df40> 00543ac0 Code; 02005b98 <.bss.end+4845/????> 18: d0 44 60 08 unknown Code; 02005b9c <.bss.end+4849/????> 1c: a0 10 00 08 mov %o0, %l0 Code; 02005ba0 <.bss.end+484d/????> 20: 02 c4 00 0c unknown