From owner-freebsd-net@FreeBSD.ORG Wed Jul 27 18:18:56 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89FE016A41F; Wed, 27 Jul 2005 18:18:56 +0000 (GMT) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from server.t-hosting.hu (server.t-hosting.hu [217.20.133.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A9C743D46; Wed, 27 Jul 2005 18:18:55 +0000 (GMT) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from localhost (localhost [127.0.0.1]) by server.t-hosting.hu (Postfix) with ESMTP id 23357997905; Wed, 27 Jul 2005 20:18:54 +0200 (CEST) Received: from server.t-hosting.hu ([127.0.0.1]) by localhost (server.t-hosting.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29456-01; Wed, 27 Jul 2005 20:18:50 +0200 (CEST) Received: from [80.98.156.20] (catv-50629c14.catv.broadband.hu [80.98.156.20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.t-hosting.hu (Postfix) with ESMTP id 4006699759F; Wed, 27 Jul 2005 20:18:50 +0200 (CEST) Message-ID: <42E7CFEC.5070106@t-hosting.hu> Date: Wed, 27 Jul 2005 20:18:20 +0200 From: =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maxime Henrion References: <1273.193.201.61.166.1122452509.squirrel@mail.uct.ua> <42E81886.70907@t-hosting.hu> <20050727120902.GR14567@elvis.mu.org> <42E82F1A.3040704@t-hosting.hu> <20050727130805.GS14567@elvis.mu.org> In-Reply-To: <20050727130805.GS14567@elvis.mu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at t-hosting.hu Cc: freebsd-net@freebsd.org Subject: Re: NVE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2005 18:18:56 -0000 Maxime Henrion wrote: >That's the plan. I'm actually waiting for feedback to know whether this >helps make things better or not. I'll ask re@ for permission to MFC it >once I know it's good (I have no nve(4) hardware myself). > > > Well... I had an another panic but it's a bit different from the previous panics I've got with nve (http://www.freebsd.org/cgi/query-pr.cgi?pr=83943),but it is quite similar to an another panic I've recently had on RELENG_6. (http://www.freebsd.org/cgi/query-pr.cgi?pr=84133) I took a piece of paper again and wrote down the trace output: panic: nve_ifstart: attempted use of a free mbuf! KDB: enter: panic [ thread pid 555 tid 100068 ] Stopped at kdb_enter+0x2f:nop db> trace Tracing pid 555 tid 100068 td 0xffffff001ed2ea00 kdb_enter() at kdb_enter+0x2f panic() at panic+0x1d2 nve_ifstart() at nve_ifstart+0x3a5 ether_output_frame() at ether_output_frame+0x249 ether_output() at ether_output+0x349 ip_output() at ip_output+0xb17 tcp_output() at tcp_output+0x9c2 tcp_usr_rcvd() at tcp_usr_rcvd+0x70 soreceive() at soreceive+0x1009 soo_read() at soo_read+0xc0 dofileread() at dofileread+0x94 kern_readv() at kern_readv+0x60 read() at read+0x4a syscall() at syscall+0x4b2 Xfast_syscall() at Xfast_syscall+0xa8 --- syscall (3, FreeBSD ELF64, read), rip = 0x80095d84c, rsp = 0x6d5530, rbp = 0x6d55b8 --- Look at the second PR I mentioned. It is a general protection fault, but the trace output is quite similar. They must be in relation. Cheers, Gábor Kövesdán