From owner-cvs-src@FreeBSD.ORG Fri Oct 26 12:12:00 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 1D4CF16A418 for ; Fri, 26 Oct 2007 12:12:00 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id DF28113C4A5 for ; Fri, 26 Oct 2007 12:11:59 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1028858waf for ; Fri, 26 Oct 2007 05:11:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=c53Q+BNhLn1wXgOEiJdK80yROpcNCQ+wJW+GAGVYnk4=; b=KnvxdJKOn2XmVCZUEja/p3EzG2alRQBM/iXGsh8tXbLkUdqag3ZryfTets7BJy7CkMauCnYU6DdZC/ejaUlGYnrzgYdLZgBI+N3lEjisdR3mUB3BUkoe3R8f4N8b/71Qw1KPjbFawALEupyn6dj53xjNyaeLvVpL4iKYcfecebc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=InQkCVFDUdMvE34O15A7jvEFGcJ2Mo+77YnF/vCyuHBjspSs0HHldn+LM48q6qU1IKpvaT0jg+l1to6Yr45Kqexi/HjRKoKHLKx5MnUtf5+nLX5SXlKLnNeNHmlxX9XvwTbZYXxYfAJmWRw3TwPlunq8iqNN7LffcVaCC3R3aRM= Received: by 10.114.111.1 with SMTP id j1mr3336556wac.1193399230582; Fri, 26 Oct 2007 04:47:10 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id k9sm6211063wah.2007.10.26.04.47.05 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 26 Oct 2007 04:47:08 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id l9QBl1nF022970 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 26 Oct 2007 20:47:01 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l9QBl1hv022969; Fri, 26 Oct 2007 20:47:01 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Fri, 26 Oct 2007 20:47:00 +0900 From: Pyun YongHyeon To: JoaoBR Message-ID: <20071026114700.GD20617@cdnetworks.co.kr> References: <200710120341.l9C3fsWe058991@repoman.freebsd.org> <200710260749.12086.joao@matik.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200710260749.12086.joao@matik.com.br> User-Agent: Mutt/1.4.2.1i 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 Reply-To: pyunyh@gmail.com 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:12:00 -0000 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. -- Regards, Pyun YongHyeon