Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2008 13:34:17 +0900
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        Milan Obuch <freebsd-current@dino.sk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: CFT: vr(4)
Message-ID:  <20080225043417.GH42733@cdnetworks.co.kr>
In-Reply-To: <200802241029.32962.freebsd-current@dino.sk>
References:  <20080204022334.GC27999@cdnetworks.co.kr> <20080218081801.GB14601@cdnetworks.co.kr> <20080222054356.GE30497@cdnetworks.co.kr> <200802241029.32962.freebsd-current@dino.sk>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080225043417.GH42733>