From owner-freebsd-current@FreeBSD.ORG Mon Feb 25 04:34:32 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0750D16A401 for ; Mon, 25 Feb 2008 04:34:32 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.236]) by mx1.freebsd.org (Postfix) with ESMTP id 919CC13C43E for ; Mon, 25 Feb 2008 04:34:31 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wr-out-0506.google.com with SMTP id 68so2099340wri.3 for ; Sun, 24 Feb 2008 20:34:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=obQonLCG4EmFckpFpqHsc059YFF0Ot/uSuC1TCO97hg=; b=ef214BCToKeUH4m5wk6kEgUo4uf9kb56nYPQocc01PoJzQ7Rq4lziLPRpMMpQSOg00rpe+4sQtoA63REPwuXBq1KhY5BXKtzCbihBF0ZnqcUq0TtlXdCqf9iecwKF97tIrliZ4gHUEqNfm/qGjFemhLE8VI0jIfp0nITBRKo6hA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=fI5bcyNFs//ilO8ogt0ZkIhDkLCTw0xrgt9xdVTJI9/0WW5CD5NFPh7gKzOMMFaoheyTzYEVFuZsxNbI0U8s9HB0Xc2cAHsOfHnS3YKHpBZOZge3e4hx78Qs2tnuRxhLlpiK7/jOW9TIxQ94VzbyouutMl/CFeQn5ePFKk2GwbU= Received: by 10.142.187.2 with SMTP id k2mr1775054wff.25.1203914070186; Sun, 24 Feb 2008 20:34:30 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id 32sm8180596wfa.13.2008.02.24.20.34.26 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 24 Feb 2008 20:34:27 -0800 (PST) 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 m1P4YJ7Q044335 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 25 Feb 2008 13:34:19 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m1P4YHYv044334; Mon, 25 Feb 2008 13:34:17 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Mon, 25 Feb 2008 13:34:17 +0900 From: Pyun YongHyeon To: Milan Obuch Message-ID: <20080225043417.GH42733@cdnetworks.co.kr> References: <20080204022334.GC27999@cdnetworks.co.kr> <20080218081801.GB14601@cdnetworks.co.kr> <20080222054356.GE30497@cdnetworks.co.kr> <200802241029.32962.freebsd-current@dino.sk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline In-Reply-To: <200802241029.32962.freebsd-current@dino.sk> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: CFT: vr(4) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2008 04:34:32 -0000 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Feb 24, 2008 at 10:29:31AM +0100, Milan Obuch wrote: > On Friday 22 February 2008, Pyun YongHyeon wrote: > > [ snip ] > > > > > > > I've put up a new version under the old URL. > > > It's not tested in sparc64 but it seems to work on i386. > > > Would you give it spin? > > > > Any progress here? Does the updated one works on your box? > > Well, I arranged a test today and the result is no change. > After some time box hard locks. It occurs only with if_vr kldload'ed and after > some traffic occured. No ability to enter debugger though. So while it seems > related to vr ethernet card, I can't prove it, I can't dig any usefull data > from the box. > Still, if there is some debug possibility built into driver you can point me > at, I will try. But now I have no idea what's wrong here. Hmm, this really make me mad. :-( Please apply attached patch and let me know how it goes. > Regards, > Milan > -- Regards, Pyun YongHyeon --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="vr.align.patch" --- if_vr.c.orig 2008-02-18 10:46:10.000000000 +0900 +++ if_vr.c 2008-02-25 13:30:56.000000000 +0900 @@ -638,6 +638,10 @@ pci_enable_busmaster(dev); sc->vr_revid = pci_get_revid(dev); device_printf(dev, "Revision: 0x%x\n", sc->vr_revid); +#if 1 + if (sc->vr_revid == 0x96) + sc->vr_quirks |= VR_Q_NEEDALIGN; +#endif /* * Prefer memory-mapped register accesses over IO-mapped one. --qMm9M+Fa2AknHoGS--