From owner-freebsd-stable@FreeBSD.ORG Mon Jun 14 21:04:27 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F9DD1065680; Mon, 14 Jun 2010 21:04:27 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id DBE848FC1B; Mon, 14 Jun 2010 21:04:26 +0000 (UTC) Received: by pxi7 with SMTP id 7so3644597pxi.13 for ; Mon, 14 Jun 2010 14:04:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=/lr26/Qfh4Ps+Gt45Ke8VRvK1Sr5igHYMQn/wZ7Ioes=; b=uaBcFWaWp0NPdYmiTizt001Zpm62BPGgIafnT2Et950PsldK0ytJh1KSLiJRN7R1+S 9o0SOJquEqw7ZD0/wMbimO9mYPq4BjlYsrJwIpD09akVGQ2mUeW9c84j/A6DioajIpqh M1eswWliIvFSvCzJU6jNgQD4ZN/OY/oIRffSk= 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=OAFczZZukqym+d1p09juuPSgtOG9kvTAbYyb8scCNkPnNLCuZRqY++n0Ju/Tl4EnOy JpZSPAA90kYDWQ00DwZnx9n7yDoWpp0SjIZhf7AKNlQwXWk2QYXN5KCs03YDfaA880Kj MaTuoJJRNJjyllC3Bc1+9+GA7CwUmNvccLSjw= Received: by 10.115.81.33 with SMTP id i33mr4968056wal.46.1276549466118; Mon, 14 Jun 2010 14:04:26 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 33sm59280130wad.8.2010.06.14.14.04.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 14 Jun 2010 14:04:25 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Mon, 14 Jun 2010 14:03:43 -0700 From: Pyun YongHyeon Date: Mon, 14 Jun 2010 14:03:43 -0700 To: Artem Kim Message-ID: <20100614210343.GA4257@michelle.cdnetworks.com> References: <201006131934.11389.artem_kim@inbox.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201006131934.11389.artem_kim@inbox.ru> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org, yongari@freebsd.org Subject: Re: Problems with bge (possibly related to r208993) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2010 21:04:27 -0000 On Sun, Jun 13, 2010 at 07:34:11PM +0400, Artem Kim wrote: > Hi, > > I have two routers (HP DL140G3): > > NAS3 FreeBSD 8.1-PRERELEASE # 0: Thu Jun 3 04:13:07 MSD 2010 i386 > NAS2 FreeBSD 8.1-PRERELEASE # 0: Sat Jun 12 16:42:19 UTC 2010 i386 (r208993 > included) > > bge0 @ pci0: 19:0:0: class = 0x020000 card = 0x3260103c chip = 0x165914e4 rev > = 0x11 hdr = 0x00 > vendor = 'Broadcom Corporation' > device = 'NetXtreme Gigabit Ethernet PCI Express (BCM5721)' > class = network > subclass = ethernet > bge1 @ pci0: 20:0:0: class = 0x020000 card = 0x3260103c chip = 0x165914e4 rev > = 0x11 hdr = 0x00 > vendor = 'Broadcom Corporation' > device = 'NetXtreme Gigabit Ethernet PCI Express (BCM5721)' > class = network > subclass = ethernet > > > I have some problems with bge on NAS2. > > After some time (about 15 hours) bge1 stops flowing traffic. > NAS3 NAS3 - pppoe server. Through bge1 passes only ip traffic through bge0 no > ip-traffic. > Problems occur only with the bge1 interface on NAS2. > > > Traffic through bge1 not pass until I will not do "ifconfig bge1 down ifconfig > bge1 up". > > When I do "ifconfig bge0 down" NIC does not shutdown: > > nas2 # ifconfig bge1 down > nas2 # > nas2 # ifconfig bge1 > bge1: flags = 8843 metric 0 mtu 1500 > options = 8009b > > ether XXXXXXXXXXXXX > inet YYYYYYYYYYY netmask 0xffffffc0 broadcast YYYYYYYYYYYY > media: Ethernet autoselect (1000baseT ) > status: active > > LED also indicates that the NIC is active. > > I left the NAS in a state of "frozen bge1" - and can provide additional > information for diagnosis. Try run tcpdump on bge1 and see whether driver still see incoming traffic. Also show me the output of "netstat -ndI bge1" and output of "sysctl dev.bge.1.stats". Verbose dmesg output also would be helpful.