From owner-freebsd-stable@FreeBSD.ORG Wed Jul 4 09:01:45 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 527681065672; Wed, 4 Jul 2012 09:01:45 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id E72358FC0C; Wed, 4 Jul 2012 09:01:44 +0000 (UTC) Received: by ggnm2 with SMTP id m2so7281438ggn.13 for ; Wed, 04 Jul 2012 02:01:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=InpvR7jETK9yjgMvSdDXIrBaqweaBakNUeNsFzeAVB8=; b=Zr2tSO6bjb6h/i5lqZxZ8CqkhwKx/r4Bw7hlVzSlvWFcrnYWmxq2URjof7TMhD0Ujt hAANOpclbU/nwhIMV3kUw6LL6+UUJ8MywqfwgMfI6oXYRPWqQ7BwaXyaOF4Pwcw8Joh7 4GN8tE1Z5ieGDMhFfulgHfiVO/Sw/yjIfeyyOehIqQUt3oh5PXZKblS8JfqiPFo4MpJ8 Cag2ds78eWcK/CIm+KyQGMu4Ezx8emyK5DMkTvblOe8npYTaLVZQkOmKG0KRr8p4p02M uJeOp9mHz+1J0pp7mfHevPMdjXRX1patXaJSRALAGgX8YZKWoHF2KFB858f8joRRmHus eUlA== Received: by 10.68.221.227 with SMTP id qh3mr16485065pbc.115.1341392503917; Wed, 04 Jul 2012 02:01:43 -0700 (PDT) Received: from pyunyh@gmail.com ([114.111.62.249]) by mx.google.com with ESMTPS id jz4sm17347612pbc.17.2012.07.04.02.01.40 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 Jul 2012 02:01:42 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 04 Jul 2012 18:01:36 -0700 From: YongHyeon PYUN Date: Wed, 4 Jul 2012 18:01:36 -0700 To: Anders Nordby Message-ID: <20120705010136.GA3218@michelle.cdnetworks.com> References: <20120703185704.GA81296@fupp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120703185704.GA81296@fupp.net> User-Agent: Mutt/1.4.2.3i Cc: stable@freebsd.org Subject: Re: bge problems in RELENG_9, bge0: watchdog timeout -- resetting 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: Wed, 04 Jul 2012 09:01:45 -0000 On Tue, Jul 03, 2012 at 08:57:04PM +0200, Anders Nordby wrote: > Hi, > > I'm having lots of difficulties with BCM5719, which is the default > network card of HP Proliant DL 360 G8 servers. I can get a few ping > replies before I get a couple of these: > > bge0: watchdog timeout -- resetting > bge0: watchdog timeout -- resetting > > Then everything hangs. Can not log in using ssh. > > I'm running: FreeBSD-9.0-RELENG_9-20120701-JPSNAP-amd64 > > Info about the NIC: > > # devinfo -rv | grep phy > brgphy0 pnpinfo oui=0x1be9 model=0x22 rev=0x0 at phyno=1 > brgphy1 pnpinfo oui=0x1be9 model=0x22 rev=0x0 at phyno=2 > brgphy2 pnpinfo oui=0x1be9 model=0x22 rev=0x0 at phyno=3 > brgphy3 pnpinfo oui=0x1be9 model=0x22 rev=0x0 at phyno=4 > # grep bge /var/run/dmesg.boot > bge0: mem > 0xf6bf0000-0xf6bfffff, > 0xf6be0000-0xf6beffff,0xf6bd0000-0xf6bdffff irq 32 at device 0.0 on pci3 > bge0: CHIP ID 0x05719001; ASIC REV 0x5719; CHIP REV 0x57190; PCI-E > miibus0: on bge0 > bge0: Ethernet address: 2c:76:8a:54:08:14 > bge1: mem > 0xf6bc0000-0xf6bcffff, > 0xf6bb0000-0xf6bbffff,0xf6ba0000-0xf6baffff irq 36 at device 0.1 on pci3 > bge1: CHIP ID 0x05719001; ASIC REV 0x5719; CHIP REV 0x57190; PCI-E > miibus1: on bge1 > bge1: Ethernet address: 2c:76:8a:54:08:15 > bge2: mem > 0xf6b90000-0xf6b9ffff, > 0xf6b80000-0xf6b8ffff,0xf6b70000-0xf6b7ffff irq 32 at device 0.2 on pci3 > bge2: CHIP ID 0x05719001; ASIC REV 0x5719; CHIP REV 0x57190; PCI-E > miibus2: on bge2 > bge2: Ethernet address: 2c:76:8a:54:08:16 > bge3: mem > 0xf6b60000-0xf6b6ffff, > 0xf6b50000-0xf6b5ffff,0xf6b40000-0xf6b4ffff irq 36 at device 0.3 on pci3 > bge3: CHIP ID 0x05719001; ASIC REV 0x5719; CHIP REV 0x57190; PCI-E > miibus3: on bge3 > bge3: Ethernet address: 2c:76:8a:54:08:17 > > Searching other bug reports and posts, I've tried: > > hw.bge.allow_asf="0" > hw.pci.enable_msi="0" > > But it didn't help. Any ideas? > > If I don't use the loader.conf settings above, I also get (before the > watchdog timeouts): > > bge0: 2 link states coalesced > bge0: 2 link states coalesced > bge0: 2 link states coalesced There is a WIP version at the following URL. http://people.freebsd.org/~yongari/bge/if_bge.c http://people.freebsd.org/~yongari/bge/if_bgereg.h http://people.freebsd.org/~yongari/bge/brgphy.c I have a couple of positive feedbacks but it seems it still has some issues. Let me know whether it makes any difference on your box. > > Best regards, > > -- > Anders.