From owner-cvs-src@FreeBSD.ORG Sat Oct 27 04:33:48 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 26ADD16A417 for ; Sat, 27 Oct 2007 04:33:48 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by mx1.freebsd.org (Postfix) with ESMTP id 60FC513C4B6 for ; Sat, 27 Oct 2007 04:33:47 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1300424waf for ; Fri, 26 Oct 2007 21:33:46 -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=46saLtqTm8P0XelD3evF1iJa/dHvYuzx0TsFaY9eft8=; b=V1vVHD1sMRKINWPR0Bpmd6pdH7a4sosooFeigUNtpdaeTbRqRq3Dge+mfOUJ3fOSU1BxT96IyVqz9kawFRgesNIxYHfT4AWHOwCdYcaNt5hIPIXrtolooEzMz43Jw14uqW5KYIadi7BS4FiwbZMrtjZlxLshthryXFvgdC7StkM= 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=bbZOXXQ7iPK+nyPPc5hzicDYfFkwIwAHnMGd7O0eVFvAwYCLKVSvJWVhI57l8jB+WmEkhgY0/IkDSX7yBavE3+RvS5h/QJCgxBCOZmg2umRXvA0khOiIcq+FTgii843zac3q46JwMUWxU0xXwSwnao9+iMYDQ0dWY1nvig+1X+I= Received: by 10.115.76.1 with SMTP id d1mr4253531wal.1193459626641; Fri, 26 Oct 2007 21:33:46 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id m40sm7955034waf.2007.10.26.21.33.43 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 26 Oct 2007 21:33:45 -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 l9R4XdMS026225 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 27 Oct 2007 13:33:39 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l9R4XdrY026224; Sat, 27 Oct 2007 13:33:39 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Sat, 27 Oct 2007 13:33:39 +0900 From: Pyun YongHyeon To: JoaoBR Message-ID: <20071027043339.GD25452@cdnetworks.co.kr> References: <200710120341.l9C3fsWe058991@repoman.freebsd.org> <200710261035.45408.joao@matik.com.br> <20071026125335.GF20617@cdnetworks.co.kr> <200710270214.11801.joao@matik.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200710270214.11801.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: Sat, 27 Oct 2007 04:33:48 -0000 On Sat, Oct 27, 2007 at 02:14:11AM -0200, JoaoBR wrote: > On Friday 26 October 2007 10:53:35 Pyun YongHyeon wrote: > > > > > > > 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 > > > > > > > > Ok. Let me know if you see any unusual things. Pluging/unpluging > > > > cables shouldn't affect the operation of vr(4). I heard stock vr(4) > > > > is vulerable to this type of link changes. In addition, you may > > > > notice better Rx performance. > > > > > > Hi > > your driver does not work with my hardware here, you forgot something > > > then the vr down event seems related to cpufreq and happens only when compiled > in, I am running almost 24h without cpufreq and no down event > > > Your if_vr.c > > vr0: port 0xec00-0xecff mem > 0xec016000-0xec0160ff irq 23 at device 18.0 on pci0 > vr0: Quirks: 0x0 > vr0: Revision: 0x78 > vr0: MII without any phy! > device_attach: vr0 attach returned 6 > Sorry, I've fixed it. I applied incorrect mask to get PHY address for Rhine II. Please try again. -- Regards, Pyun YongHyeon