From owner-freebsd-net@FreeBSD.ORG Wed Jul 27 13:59:51 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 4D88616A41F; Wed, 27 Jul 2005 13:59:51 +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 BB37743D49; Wed, 27 Jul 2005 13:59:50 +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 A4FA79979DF; Wed, 27 Jul 2005 15:59:49 +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 13616-03-2; Wed, 27 Jul 2005 15:59:45 +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 79DDD997928; Wed, 27 Jul 2005 15:59:45 +0200 (CEST) Message-ID: <42E83BFC.8070908@t-hosting.hu> Date: Thu, 28 Jul 2005 03:59:24 +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 13:59:51 -0000 Maxime Henrion wrote: >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). > > I have installed the HEAD kernel. Is it necessary to upgrade the userland to HEAD too for testing your fixes? There aren't great changes between RELENG_6 and HEAD afaik, and after doing some strong tests, I would like to returtn to RELENG_6, thus it would be more convenient to left userland alone, but if it is required, I'll upgrade completely to HEAD. What should I do? Cheers, Gábor Kövesdán