From owner-freebsd-net@FreeBSD.ORG Tue Feb 8 02:35:26 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 F2F6A106564A for ; Tue, 8 Feb 2011 02:35:26 +0000 (UTC) (envelope-from kevlo@kevlo.org) Received: from ns.kevlo.org (kevlo.org [220.128.136.52]) by mx1.freebsd.org (Postfix) with ESMTP id 6F07D8FC0A for ; Tue, 8 Feb 2011 02:35:26 +0000 (UTC) Received: from [127.0.0.1] (kevlo@kevlo.org [220.128.136.52]) by ns.kevlo.org (8.14.3/8.14.3) with ESMTP id p182OmqP028544; Tue, 8 Feb 2011 10:24:48 +0800 (CST) From: Kevin Lo To: Peter Lai In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Tue, 08 Feb 2011 10:24:48 +0800 Message-ID: <1297131888.2126.3.camel@nsl> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: bge wedging 8.2-RC1 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: Tue, 08 Feb 2011 02:35:27 -0000 Peter Lai wrote: > Hello > > I've got a new Dell Precision workstation here with a BCM5761 on intel > mobo for westmere xeons that is wedging with interrupt storm and will > lockup the system randomly. I have turned HTT and auto powermanagement > off in bios (system cannot sleep), lowest cpu acpi state is C1. > > Here is dmesg: > bge0: 0x5761100> mem 0xf3be0000-0xf3beffff,0xf3bf0000-0xf3bfffff irq 17 at > device 0.0 on pci6 > bge0: CHIP ID 0x05761100; ASIC REV 0x5761; CHIP REV 0x57611; PCI-E > miibus0: on bge0 > brgphy0: PHY 1 on miibus0 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow > > Here is pciconf -lv: > bge0@pci0:6:0:0: class=0x020000 card=0x026d1028 chip=0x168114e4 > rev=0x10 hdr=0x00 > vendor = 'Broadcom Corporation' > device = 'Broadcom 57XX Gigabit Integrated Controller (BCM5761)' > class = network > subclass = ethernet > > here is the setup in rc.conf: > > ifconfig_bge0="polling -tso -vlanhwtso -vlanhwtag -vlanmtu inet > 192.168.123.124 netmask 255.255.255.0" > > I have the card plugged into a dlink DSS8 100mbps switch with one > other 100mbps device on it (rich man's crossover cable). > > Before turning off TSO4 and VLAN tagging (because I don't use them), > the card would do several things: > 1. 1 out of 3 reboots: Fail to bring interface up. ifconfig would hang > and systat/vmstat showed 800+ interrupts per second on IRQ256 > 2. After a few hours lock up the system, requiring hard reboot > > After disabling TSO4 and VLAN stuff: > bge0: flags=8802 metric 0 mtu 1500 > options=80083 > media: Ethernet autoselect (100baseTX > ) > > Everything seemed fine for about two weeks and then suddenly started > acting up again, locked up, after hard reboot, soft reboot, link will > not come up and I see interrupt storm again.... > > I am close to buying an intel card to replace the bcm, but then I > noticed that the main intel desktop PCI-E card is 82574L-based and > people are having em driver wedging on that too. So now I have broken > ethernet on this box; my primary link is atheros 5212 pci card and I > may be out of pci slots (or else I might try a pci intel card). On -current, the em(4) driver works great for me on high load. em0@pci0:1:0:0: class=0x020000 card=0x6c801462 chip=0x10d38086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Intel 82574L Gigabit Ethernet Controller (82574L)' class = network subclass = ethernet cap 01[c8] = powerspec 2 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit cap 10[e0] = PCI-Express 1 endpoint max data 128(256) link x1(x1) cap 11[a0] = MSI-X supports 5 messages in map 0x1c enabled ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected ecap 0003[140] = Serial 1 002421ffffdcd321 em1@pci0:2:0:0: class=0x020000 card=0x6c801462 chip=0x10d38086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Intel 82574L Gigabit Ethernet Controller (82574L)' class = network subclass = ethernet cap 01[c8] = powerspec 2 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit cap 10[e0] = PCI-Express 1 endpoint max data 128(256) link x1(x1) cap 11[a0] = MSI-X supports 5 messages in map 0x1c enabled ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected ecap 0003[140] = Serial 1 002421ffffdcd322 Kevin