From owner-freebsd-net@FreeBSD.ORG Wed Jul 27 13:08:06 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 28C3C16A41F for ; Wed, 27 Jul 2005 13:08:06 +0000 (GMT) (envelope-from mux@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9AF143D55 for ; Wed, 27 Jul 2005 13:08:05 +0000 (GMT) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id E17315CBB9; Wed, 27 Jul 2005 06:08:05 -0700 (PDT) Date: Wed, 27 Jul 2005 15:08:05 +0200 From: Maxime Henrion To: K?vesd?n G?bor Message-ID: <20050727130805.GS14567@elvis.mu.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42E82F1A.3040704@t-hosting.hu> User-Agent: Mutt/1.4.2.1i Cc: freebsd-net@freebsd.org, yerenkow@uct.ua 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 13:08:06 -0000 K?vesd?n G?bor wrote: > Maxime Henrion wrote: > > >K??vesd??n G??bor wrote: > > > > > >>yerenkow@uct.ua wrote: > >> > >> > >> > >>>Hello list users. > >>> > >>>I have bougth motherboard Epox 8kda3J, which has NV ethernet adapter > >>>MCP7. > >>>My system was FreeBSD 5.4 and i found NV MCP Driver for FreeBSD here: > >>>http://www.onthenet.com.au/~q/nvnet/ > >>>Ok, I got it, install and kldloaded; then ifconfig tells me that my > >>>ethernet card see cable, but I started to receive these messages: > >>>device nv0 timeout(5), with ascending numbers; > >>> > >>>Ok, I get Freebsd 6.0-BETA1, where driver pre-built in kernel. > >>>The different were only interface name, whic is nve0, but also shows > >>>timeouts. > >>> > >>>This was tested with cross cable between two pcs, and with normal cable > >>>pc-switch. > >>>I tried to turn on debugging nve driver, but then system just hangs. > >>> > >>>Can anyone comment? > >>> > >>> > >>> > >>> > >>> > >>Hi, > >> > >>I have the same network interface on Asus A8N-SLI Deluxe. That nve > >>driver in the FreeBSD6.0-BETA1 > >>is very poor. Sometimes it causes a kernel panic, sometimes it hangs > >>with device timeouts. I've sent a PR > >>about that kernel panic with trace included but nobody has taken care of > >>that yet. > >> > >> > > > > > >I have committed a fix to the nve(4) driver very recently in HEAD. I > >don't think it could fix the device timeout issues, however, it might > >help with the panics you were getting. If you could give this fix a > >try, I'd be grateful. > > > >Cheers, > >Maxime > > > Ok, I'll. If it seems okay, is it possible to commit it to RELENG_6? 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). Cheers, Maxime