From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965540AbXCLLKY (ORCPT ); Mon, 12 Mar 2007 07:10:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965543AbXCLLKY (ORCPT ); Mon, 12 Mar 2007 07:10:24 -0400 Received: from ug-out-1314.google.com ([66.249.92.175]:11411 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965540AbXCLLKW (ORCPT ); Mon, 12 Mar 2007 07:10:22 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Uh3lQeUnC6kgEnsfzUutg2CrQ0pztudGtuzQ3OIDHH1lSWfy1FaTa+jVT8JIgAmm8neZjDtX2we9JoznatEP2oLw6dyFOYs/McgL2vTlyQGCATcjNqfKA9h0TvJqxYjjU4gU1+CGNEbadOTAbKi8UhAAPp8w6gxXaAEUmOCYUYs= Message-ID: <2f4958ff0703120410j321c88a0pad91f78778520fc8@mail.gmail.com> Date: Mon, 12 Mar 2007 12:10:19 +0100 From: "=?ISO-8859-2?Q?Grzegorz_Ja=B6kiewicz?=" To: linux-kernel@vger.kernel.org Subject: pcap app causes kernel panic on 2.4.33.3 right after "NETDEV WATCHDOG: eth1: transmit timed out" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi folks. I have a simple program, that analyzes ethernet packets. Counting traffic on from/to basis, and dumping that informatio nevery minute. Everything is cleared - in terms of memory, valgrind doesn't complain a bit. But once every 2-3 days the router on which the software is running, freezes. It is clear kernel panic. Before that panic occurs, I have "NETDEV WATCHDOG: eth1: transmit timed out" . always right before crash. I am sure, the software doesn't have memleaks. Everything in pcap was programmed according with examples, and double checked - but I can give source away on request. I think the problem must lay somewhere between pcap and kernel (the "transmit timed out" message sounds too dodgee, and it is always there right before crash - only). Oops: Unable to handle kernel paging request at virtual address 909fe955 c013b582 *pde = 00000000 Oops: 0000 CPU: 0 eax: 909fe93d ebx: 00000001 ecx: 909fe93d edx: 00000000 esi: cf4e6d90 edi: 00000000 ebp: 00000000 esp: c3701c58 ds: 0018 es: 0018 ss: 0018 Process postmaster (pid:3838, stackpage=c3701000) Stack: c031a7ec 00000000 cf4e6d80 cf4e6d80 c031a847 cf4e6d80 c3701c94 cf4e6d80 c7ad6810 c031a9ae cf4e6d80 00000000 cf4e6d80 c0339a6d cf4e6d80 c031f187 00000000 c0468a5c 00000046 c0468a6c 00000246 cf4e6d80 cfd03740 00000000 Call Trace: [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] Code: 8b 40 18 f6 c4 40 75 0b f0 ff 49 14 0f 94 c0 84 c0 75 01 c3 Using defaults from ksymoops -t elf32-i386 -a i386 >>esi; cf4e6d90 <_end+f026bf8/10603ec8> >>esp; c3701c58 <_end+3241ac0/10603ec8> Trace; c031a7ec Trace; c031a847 Trace; c031a9ae <__kfree_skb+fe/160> Trace; c0339a6d Trace; c031f187 Trace; c031f70e Trace; c031f810 Trace; c031f97f Trace; c0122586 Trace; c033cad0 Trace; c0329c28 <.text.lock.netfilter+b6/ce> Trace; c033cad0 Trace; c033e58f Trace; c033cad0 Trace; c035dfe2 Trace; c035dc50 Trace; c01868dd Trace; c017e6fb Trace; c03169e4 Trace; c03167bc Trace; c0317be4 Trace; c018bbb8 Trace; c0186d68 Trace; c0186e9c Trace; c0317c53 Trace; c0318637 Trace; c0108eff Code; 00000000 Before first symbol 00000000 <_EIP>: Code; 00000000 Before first symbol 0: 8b 40 18 mov 0x18(%eax),%eax Code; 00000003 Before first symbol 3: f6 c4 40 test $0x40,%ah Code; 00000006 Before first symbol 6: 75 0b jne 13 <_EIP+0x13> Code; 00000008 Before first symbol 8: f0 ff 49 14 lock decl 0x14(%ecx) Code; 0000000c Before first symbol c: 0f 94 c0 sete %al Code; 0000000f Before first symbol f: 84 c0 test %al,%al Code; 00000011 Before first symbol 11: 75 01 jne 14 <_EIP+0x14> Code; 00000013 Before first symbol 13: c3 ret <0>Kernel panic: Aiee, killing interrupt handler! -- GJ MOTD: gocr sux so much, words can't describe