From owner-freebsd-net@FreeBSD.ORG Thu Sep 9 20:11:10 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 75839106571F for ; Thu, 9 Sep 2010 20:11:10 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 44C9F8FC0A for ; Thu, 9 Sep 2010 20:11:10 +0000 (UTC) Received: by pvc21 with SMTP id 21so142236pvc.13 for ; Thu, 09 Sep 2010 13:11:09 -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=NnqBt8is6LWy75kxo9pIyM9RaithddIDwVGj4WL5dqY=; b=BK9TYcTJ68yRFq1DpZQEiqtlWkyH8ZgO4eDQEqlqFMChcjrO8Kv+x4vbkyA9aamNWr Vdj4d6TdZXLy5LRel+eTZtRQBt7opru5EgB923/ISIrPV0f0fz2Y0RDicA4JpKCo4U+7 2Pb/q+TNbDU/+szvZXYNLYJIBPLsSz1bVajCA= 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=TR50Xh8/njCPUk4RR1BaeZb55FJ47yWXBx24q51QMcdzXzNzj5HpbmMDBNZOXc5M8w L90K9rVLh33D9WOl4an84pLaPt2CvpOWH2Bd40ExfZN3YocNCEc7fyK+q0IWgfBbIptr 9BfowrRk9K/Qgko4ROeRNmMzkrvpX+DszFd98= Received: by 10.114.172.2 with SMTP id u2mr144068wae.198.1284063069727; Thu, 09 Sep 2010 13:11:09 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id r37sm2897418wak.11.2010.09.09.13.11.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 09 Sep 2010 13:11:07 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Thu, 9 Sep 2010 13:10:50 -0700 From: Pyun YongHyeon Date: Thu, 9 Sep 2010 13:10:50 -0700 To: Igor Sysoev Message-ID: <20100909201050.GG7203@michelle.cdnetworks.com> References: <20100909102826.GB53812@rambler-co.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100909102826.GB53812@rambler-co.ru> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org Subject: Re: bge hangs on recent 7.3-STABLE 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: Thu, 09 Sep 2010 20:11:10 -0000 On Thu, Sep 09, 2010 at 02:28:26PM +0400, Igor Sysoev wrote: > Hi, > > I have several hosts running FreeBSD/amd64 7.2-STABLE updated on 11.01.2010 > and 25.02.2010. Hosts process about 10K input and 10K output packets/s > without issues. One of them, however, is loaded more than others, so it > processes 20K/20K packets/s. > > Recently, I have upgraded one host to 7.3-STABLE, 24.08.2010. > Then bge on this host hung two times. I was able to restart it from > console using: > /etc/rc.d/netif restart bge0 > > Then I have upgraded the most loaded (20K/20K) host to 7.3-STABLE, 07.09.2010. > After reboot bge hung every several seconds. I was able to restart it, > but bge hung again after several seconds. > > Then I have downgraded this host to 7.3-STABLE, 14.08.2010, since there > were several if_bge.c commits on 15.08.2010. The same hangs. > Then I have downgraded this host to 7.3-STABLE, 17.03.2010, before > the first if_bge.c commit after 25.02.2010. Now it runs without hangs. > > The hosts are amd64 dual core SMP with 4G machines. bge information: > > bge0@pci0:4:0:0: class=0x020000 card=0x165914e4 chip=0x165914e4 rev=0x11 hdr=0x00 > vendor = 'Broadcom Corporation' > device = 'NetXtreme Gigabit Ethernet PCI Express (BCM5721)' > > bge0: mem 0xfe5f0000-0xfe5fffff irq 19 at device 0.0 on pci4 > miibus1: on bge0 > brgphy0: PHY 1 on miibus1 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto > bge0: Ethernet address: 00:e0:81:5f:6e:8a > Could you show me verbose boot message(bge part only)? Also show me the output of "pciconf -lcbv". > bge has 3 vlans: > > bge0: flags=8943 metric 0 mtu 15 > 00 > options=9b > ether 00:e0:81:5f:6e:8a > media: Ethernet autoselect (1000baseTX ) > status: active > > vlan173: flags=8843 metric 0 mtu 1500 > options=3 > ether 00:e0:81:5f:6e:8a > inet 192.168.173.101 netmask 0xffffff00 broadcast 192.168.173.255 > media: Ethernet autoselect (1000baseTX ) > status: active > vlan: 173 parent interface: bge0 > > [ ... ]