From owner-cvs-src@FreeBSD.ORG Fri Oct 26 12:11:55 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B30616A417; Fri, 26 Oct 2007 12:11:55 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.freebsd.org (Postfix) with ESMTP id 8E54C13C494; Fri, 26 Oct 2007 12:11:54 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from anb.matik.com.br (anb.matik.com.br [200.152.83.34]) by msrv.matik.com.br (8.14.1/8.13.1) with ESMTP id l9QCBsDM065510; Fri, 26 Oct 2007 10:11:54 -0200 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR Organization: Infomatik To: pyunyh@gmail.com Date: Fri, 26 Oct 2007 10:11:41 -0200 User-Agent: KMail/1.9.7 References: <200710120341.l9C3fsWe058991@repoman.freebsd.org> <200710260749.12086.joao@matik.com.br> <20071026114700.GD20617@cdnetworks.co.kr> In-Reply-To: <20071026114700.GD20617@cdnetworks.co.kr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200710261011.42367.joao@matik.com.br> X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on msrv.matik.com.br X-Virus-Status: Clean Cc: cvs-src@freebsd.org, Pyun YongHyeon Subject: Re: cvs commit: src/sys/pci if_vr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2007 12:11:55 -0000 On Friday 26 October 2007 09:47:00 Pyun YongHyeon wrote: > On Fri, Oct 26, 2007 at 07:49:11AM -0200, JoaoBR wrote: > > On Friday 12 October 2007 00:41:54 Pyun YongHyeon wrote: > > > yongari 2007-10-12 03:41:54 UTC > > > > > > FreeBSD src repository > > > > > > Modified files: (Branch: RELENG_7) > > > sys/pci if_vr.c > > > Log: > > > MFC if_vr.c, 1.127 to RELENG_7: > > > Not all VIA Rhine chips support 256 register space. So touching > > > VR_STICKHW register would result in unexpected results on these > > > hardwares. wpaul said the following for the issue. > > > > > > The vr_attach() routine unconditionally does this for all > > > supported chips: > > > > > > /* > > > * Windows may put the chip in suspend mode when it > > > * shuts down. Be sure to kick it in the head to wake it > > > * up again. > > > */ > > > VR_CLRBIT(sc, VR_STICKHW, (VR_STICKHW_DS0|VR_STICKHW_DS1)); > > > > Hi > > since I upgraded to 7 this days I loss connection to a machine with vr > > nic > > > > the only event I can find after resetting (i have no phisical access) = is > > > > Oct 26 04:31:56 ap-c kernel: vr0: link state changed to DOWN > > > > may it be related? What should I do? > > I'm pretty sure it's not related with my changes. > > If you think vr(4) is culprit for the issue try overhauled vr(4). > I think I've fixed many unresolved vr(4) issues but it needs more > testing. > You can download the overhauled vr(4) at the following URL. > http://people.freebsd.org/~yongari/vr/if_vr.c > http://people.freebsd.org/~yongari/vr/if_vrreg.h > > Note, don't use the overhauled driver on your production system. > I couldn't see any issues in the driver but it may have unnoticed > bugs. I will arrange a test machine to see how it goes my people discovered when the vr goes down they can unplug the tp cable on = the=20 switch and back in again re-activates the nic this machines run 7 fine, don't remember the exact src date but any day of = the=20 first week, then with the sources from and compiled on 24th do this thank's =2D-=20 Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br