From owner-freebsd-net@FreeBSD.ORG Thu Jun 7 20:43:29 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E7D6D16A468 for ; Thu, 7 Jun 2007 20:43:28 +0000 (UTC) (envelope-from davidch@broadcom.com) Received: from mms2.broadcom.com (mms2.broadcom.com [216.31.210.18]) by mx1.freebsd.org (Postfix) with ESMTP id C4D6E13C4AD for ; Thu, 7 Jun 2007 20:43:28 +0000 (UTC) (envelope-from davidch@broadcom.com) Received: from [10.10.64.154] by mms2.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.3.1)); Thu, 07 Jun 2007 13:43:18 -0700 X-Server-Uuid: A6C4E0AE-A7F0-449F-BAE7-7FA0D737AC76 Received: by mail-irva-10.broadcom.com (Postfix, from userid 47) id 7FE402AF; Thu, 7 Jun 2007 13:43:18 -0700 (PDT) Received: from mail-irva-8.broadcom.com (mail-irva-8 [10.10.64.221]) by mail-irva-10.broadcom.com (Postfix) with ESMTP id 6A7ED2AE; Thu, 7 Jun 2007 13:43:18 -0700 (PDT) Received: from mail-irva-12.broadcom.com (mail-irva-12.broadcom.com [10.10.64.146]) by mail-irva-8.broadcom.com (MOS 3.7.5a-GA) with ESMTP id FIZ86626; Thu, 7 Jun 2007 13:43:12 -0700 (PDT) Received: from NT-IRVA-0750.brcm.ad.broadcom.com ( nt-irva-0750.brcm.ad.broadcom.com [10.8.194.64]) by mail-irva-12.broadcom.com (Postfix) with ESMTP id 3CB3869CA4; Thu, 7 Jun 2007 13:43:12 -0700 (PDT) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Thu, 7 Jun 2007 13:43:09 -0700 Message-ID: <09BFF2FA5EAB4A45B6655E151BBDD9030414B1EC@NT-IRVA-0750.brcm.ad.broadcom.com> In-Reply-To: <46680DB1.9050905@tomjudge.com> Thread-Topic: Problems with BCE network adapter (Dell PE2950) Thread-Index: AcepC4iPzyt6jsLmRI2rvHJ7R7mCUwAN/Qqg References: <46680DB1.9050905@tomjudge.com> From: "David Christensen" To: "Tom Judge" , "freebsd-net" X-WSS-ID: 6A76B26C3CG7131027-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Cc: Subject: RE: Problems with BCE network adapter (Dell PE2950) 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: Thu, 07 Jun 2007 20:43:29 -0000 It's not a problem I've seen before. The driver seems to be=20 passing an Ethernet frame up the stack with a length of -4. Is there anything unusual about your network setup like VLAN tagging, jumbo frames, or anything else that might cause the Ethernet frame to be formatted in an unusual manner? The error probably occurs in bce_rx_intr() but I'd need to see the packet that's causing the problem to figure out why the driver isn't calculating the packet length correctly. Dave=20 > I am seeing some problems with one of my Dell PowerEdge=20 > 2950's (running=20 > RELENG_6_2) on board bce NICs. The interface seems to crash with the=20 > following errors, to which the fix seems to be and "ifconfig=20 > bce0 down;=20 > ifconfig bce0 up": >=20 > Jun 7 12:20:29 gonzo kernel: bce0: discard frame w/o leading=20 > ethernet=20 > header (len 4294967292 pkt len 4294967292) > Jun 7 12:20:29 gonzo last message repeated 54 times > Jun 7 12:20:58 gonzo kernel: nfs server nfs-server:/usr/home: not=20 > responding >=20 >=20 > Is this a know problem? If so is there a solution? >=20 > Tom >=20 > #uname -a > FreeBSD gonzo.mintel.co.uk 6.2-RELEASE FreeBSD 6.2-RELEASE=20 > #10: Thu Apr=20 > 5 10:53:39 BST 2007=20 > root@roley.mintel.co.uk:/usr/obj/usr/src/sys/PE2950 amd64=20 > amd64 Intel(R)=20 > Xeon(R) CPU 5160 @ 3.00GHz FreeBSD >=20 >=20 > ## dmesg.boot snippet > bce0: mem=20 > 0xf4000000-0xf5ffffff irq 16 at device 0.0 on pci9 > bce0: ASIC ID 0x57081020; Revision (B2); PCI-X 64-bit 133MHz > miibus0: on bce0 > brgphy0: on miibus0 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,=20 > 1000baseTX-FDX, auto > bce0: Ethernet address: 00:18:8b:88:d8:81 >=20 > ## pciconf -lv snippet > bce0@pci9:0:0: class=3D0x020000 card=3D0x01b21028=20 > chip=3D0x164c14e4 rev=3D0x12=20 > hdr=3D0x00 > vendor =3D 'Broadcom Corporation' > class =3D network > subclass =3D ethernet >=20 > #ifconfig bce0 > bce0: flags=3D8843 mtu 8192 > options=3D3b > inet 172.31.0.13 netmask 0xffffff00 broadcast 172.31.0.255 > inet 172.31.0.157 netmask 0xffffffff broadcast 172.31.0.157 > inet 172.31.0.161 netmask 0xffffffff broadcast 172.31.0.161 > ether 00:18:8b:88:d8:81 > media: Ethernet autoselect (1000baseTX ) > status: active >=20 > #Switch port counters > console# show interfaces counters ethernet g10 > Port InOctets InUcastPkts InMcastPkts InBcastPkts > ---------------- ---------- ----------- ----------- ----------- > g10 2615415297 87563987 0 13480 >=20 > Port OutOctets OutUcastPkts OutMcastPkts OutBcastPkts > ---------------- ---------- ------------ ------------ ------------ > g10 2535595313 136391705 10740316 1420686 >=20 > FCS Errors: 0 > Single Collision Frames: 0 > Late Collisions: 0 > Excessive Collisions: 0 > Internal MAC Tx Errors: 0 > Oversize Packets: 0 > Internal MAC Rx Errors: 0 > Received Pause Frames: 0 > Transmitted Pause Frames: 0