From owner-freebsd-net@FreeBSD.ORG Sun Apr 11 00:06:43 2010 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 E84FF106566B for ; Sun, 11 Apr 2010 00:06:42 +0000 (UTC) (envelope-from erich@fuujingroup.com) Received: from fluorine.fuujinnetworks.com (fluorine.fuujinnetworks.com [64.90.67.234]) by mx1.freebsd.org (Postfix) with ESMTP id A51C48FC15 for ; Sun, 11 Apr 2010 00:06:42 +0000 (UTC) Received: from [10.168.1.8] (copper.fuujinnetworks.com [64.90.67.254]) by fluorine.fuujinnetworks.com (Postfix) with ESMTPA id 7B9FA439E38; Sat, 10 Apr 2010 19:07:08 -0500 (CDT) Message-ID: <4BC12097.4030508@fuujingroup.com> Date: Sat, 10 Apr 2010 19:06:31 -0600 From: "Erich Jenkins, Fuujin Group Ltd" User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: pyunyh@gmail.com References: <4BBED9A4.3080303@fuujingroup.com> <20100409070147.GA77350@korolev-net.ru> <4BBEE18C.6040204@fuujingroup.com> <20100409173821.GD1085@michelle.cdnetworks.com> <4BC016F3.4020300@fuujingroup.com> <20100410212520.GB6481@michelle.cdnetworks.com> In-Reply-To: <20100410212520.GB6481@michelle.cdnetworks.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-net@freebsd.org, Evgenii Davidov Subject: Re: Broadcom BCM5701 / HP NC6770 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2010 00:06:43 -0000 Pyun YongHyeon wrote: > On Sat, Apr 10, 2010 at 12:13:07AM -0600, Erich Jenkins, Fuujin Group Ltd wrote: >> Pyun YongHyeon wrote: >>> On Fri, Apr 09, 2010 at 02:13:00AM -0600, Erich Jenkins, Fuujin Group Ltd >>> wrote: >>>> Evgenii Davidov wrote: >>>>> ????????????, >>>>> >>>>> On Fri, Apr 09, 2010 at 01:39:16AM -0600, Erich Jenkins, Fuujin Group >>>>> Ltd ?????: >>>>> >>>>>> We were previously running 5.3 on this box (I know, VERY old), but >>>>>> never had a problem. The link now fails to come up. I've tried forcing >>>>>> the port out of auto (media 1000baseSX mediaopt full-duplex) and as >>>>>> long as the port doesn't have an IP assigned via rc.conf on system >>>>>> boot, I can get the switch to see it (Cisco 6505), but no traffic to >>>>>> flow. I've checked all the obvious things (duplex setting on switch, >>>>>> cable failure, etc.), all to no avail. I fiddled with the knobs in the >>>>>> driver (rxcsum, vlan_mtu, etc) with no changes either. >>>>> sorry for silly ansver but is your interface UP ? (ifconfig bge0 up) >>>>> >>>> Actually, I was silly for not mentioning that in the original post, but >>>> yes, it's up. I've even tried up/down/up on the card a few times after >>>> fiddling with the driver knobs, but the same thing happened, no link on >>>> the switch. >>>> >>>> I've also tested this back-to-back with two machines and the same cards. >>>> Same result: no transmission of data. Interestingly enough, the link >>>> lite is lit on the cards (in back-to-back) and on the card but not the >>>> switch. Not sure if that's significant or not. In the interest if >>>> completeness, here's ifconfig output for that card: >>>> >>>> bge0: flags=8843 metric 0 mtu 1500 >>>> options=9b >>>> ether 00:08:02:28:76:4d >>>> inet 10.222.222.144 netmask 0xffffff00 broadcast 10.222.222.255 >>>> media: Ethernet 1000baseSX >>>> status: active >>>> >>>> I also verified the MTU size to ensure the switch ports weren't >>>> configured for jumbo frames. They are correctly set on the switch and on >>>> the FreeBSD box, but no traffic flows. >>>> >>> Would you try booting to latest 7.3-RELEASE and check whether you >>> still see the issue? >>> If you see the same issue please show me verbose boot message of >>> bge(4) and its PHY driver. >>> _______________________________________________ >>> freebsd-net@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-net >>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >> Just finished the install, and ended up with the same result. I >> installed OpenBSD on this box just to be sure there wasn't something >> unrelated to the driver causing the issue. OpenBSD works fine. >> >> Where to from here? >> > > It seems there is async link state change issue for BCM5701 TBI > case. Link state handling is one of the most complex thing in > bge(4) so I'm not sure whether attached patch is right thing. > Public data sheet seems to indicate bit 0 of BGE_MI_STS should be > set to enable link to the MAC state machine if autopolling is > disabled so resetting the bit to 0 does not look right to me. > Try attached patch. > > > ------------------------------------------------------------------------ > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" Thanks for the patch, but I'm sorry to report there is no change. Erich M. Jenkins Fuujin Group Limited "You should never, never doubt what no one is sure about." -- Gene Wilder