Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Apr 2011 15:14:33 -0700
From:      YongHyeon PYUN <pyunyh@gmail.com>
To:        Paul Thornton <prt@prt.org>
Cc:        freebsd-net@freebsd.org, Marius Strobl <marius@alchemy.franken.de>
Subject:   Re: Broadcom BCM57765 support?
Message-ID:  <20110424221433.GA1730@michelle.cdnetworks.com>
In-Reply-To: <4DB2F04C.9000006@prt.org>
References:  <4DADD913.5010208@prt.org> <20110419220907.GD1637@michelle.cdnetworks.com> <4DAEBB67.7070303@prt.org> <20110420131613.GA84319@alchemy.franken.de> <4DAEDE27.8080205@prt.org> <20110420134459.GL38455@alchemy.franken.de> <4DAEF9F8.5070305@prt.org> <20110420171813.GA8566@michelle.cdnetworks.com> <4DB2F04C.9000006@prt.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 23, 2011 at 04:29:16PM +0100, Paul Thornton wrote:
> Hi,
> 
> Good news - I have success!
> 

Glad to hear that.

> On 20/04/2011 18:18, YongHyeon PYUN wrote:
> > Ok, that would indicate there is an interrupt delivery issue if all
> > others changes(including Marius' patch) are correct. Because there
> > is no publicly available data sheet for BCM57765 yet I'm not sure
> > what is real difference between BCM5717 and BCM57765. However I
> > guess they require similar hardware configuration. Both BCM5717 and
> > BCM57765 will use tagged status feature of controller if MSI is
> > available. And NVIDIA bridge controller is known to have MSI issues
> > for a long time in FreeBSD. Please check whether you received any
> > interrupts for bge(4) with vmstat(8). If you see no interrupt from
> > the output, either try disabling MSI or apply r219737 and r219740
> > and see whether that makes any difference.
> 
> The problem is definitely with the interrupts.  I saw nothing for bge in
> vmstat with MSI enabled.
> 
> Rebooting with MSI disabled and all works well so far - I haven't done a
> lot of testing yet, but it has been operating with pings / file
> transfers for over 1 hour now without problems.
> 
> Apologies for asking such a basic question, but I've typically
> downloaded latest sources etc. from HEAD via cvsweb in the past when I
> needed them.
> How do I locate the r219737 and r219740 changes on their own to try them
> out with MSI enabled?  I'm guessing I'll need to cvsup the relevant
> sources but I can't see how to find out what I need.
> 

SVN:
http://svnweb.freebsd.org/base/head/sys/dev/pci/pci.c?r1=219737&r2=219736&view=patch
http://svnweb.freebsd.org/base/head/sys/dev/pci/pcivar.h?r1=219737&r2=219736&view=patch
http://svnweb.freebsd.org/base/head/sys/dev/pci/pci.c?r1=219740&r2=219737&view=patch

OR

CVS:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/pci/pci.c.diff?r1=1.413;r2=1.414;f=h
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/pci/pcivar.h.diff?r1=1.88;r2=1.89;f=h
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/pci/pci.c.diff?r1=1.414;r2=1.415;f=h

Apply them and remove an entry in loader.conf that disables MSI.

> Thanks,
> 
> Paul.



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