From owner-freebsd-net@FreeBSD.ORG Sun Apr 24 22:15:27 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1484A1065676 for ; Sun, 24 Apr 2011 22:15:27 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 980A58FC12 for ; Sun, 24 Apr 2011 22:15:26 +0000 (UTC) Received: by pzk27 with SMTP id 27so1249862pzk.13 for ; Sun, 24 Apr 2011 15:15:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:date:to:cc:subject:message-id:reply-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=nLU36AalXFmtbBSlwGiaHbo9o2lpI6wrYYzs5R5XavU=; b=S7TCHXc2PQW4JKZa93ym3JX64wWs0TliL34JNwz6Edf4ri0DyS2GqambYxlu4g8fld LwcHkID6FWf7wfL4UFzEZKTcl1n6AAzTY0G8qbGoPLrgwUN2nobs5ciZaxxbt3y/R/RR oaXsPItw2kaRpiCtv/c6NeNZ4mT9q+LM3jjW8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=rY0jNpO3i9+8JzrBWpndLQq7rZ/PkoB2cePj/noxkcmf5/cCe3sX8GaMyl7pzc77xE djCgBD+LFuNEd2Y4eE0j5wvC9UE4ecKjN+THkRB8WWPZMeBf02396TxbJHjbaY8tzzhx kH/U1sfx043ufp5MkzrXqu4WsC+hEzT+uz978= Received: by 10.68.39.40 with SMTP id m8mr1416526pbk.258.1303683325037; Sun, 24 Apr 2011 15:15:25 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id a4sm3470057pbf.56.2011.04.24.15.15.20 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 24 Apr 2011 15:15:22 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Sun, 24 Apr 2011 15:14:33 -0700 From: YongHyeon PYUN Date: Sun, 24 Apr 2011 15:14:33 -0700 To: Paul Thornton Message-ID: <20110424221433.GA1730@michelle.cdnetworks.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DB2F04C.9000006@prt.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org, Marius Strobl Subject: Re: Broadcom BCM57765 support? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2011 22:15:27 -0000 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.