From owner-freebsd-net@FreeBSD.ORG Thu Jun 7 21:05:33 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 1FD2916A53F for ; Thu, 7 Jun 2007 21:05:33 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from smtp803.mail.ird.yahoo.com (smtp803.mail.ird.yahoo.com [217.146.188.63]) by mx1.freebsd.org (Postfix) with SMTP id 839A213C468 for ; Thu, 7 Jun 2007 21:05:32 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: (qmail 48953 invoked from network); 7 Jun 2007 21:05:31 -0000 Received: from unknown (HELO ?192.168.1.2?) (thomasjudge@btinternet.com@217.44.143.76 with plain) by smtp803.mail.ird.yahoo.com with SMTP; 7 Jun 2007 21:05:31 -0000 X-YMail-OSG: hHzrQvUVM1n8SfsxGpKGjHVOKr1u0tsDWFRWAO4apEgJRjo60XGyO3e6jGsXmcTpGU2vKoU7jp7Bb_gQW7.iGvY- Message-ID: <466873FA.9030800@tomjudge.com> Date: Thu, 07 Jun 2007 22:09:14 +0100 From: Tom Judge User-Agent: Thunderbird 1.5.0.10 (X11/20070306) MIME-Version: 1.0 To: David Christensen References: <46680DB1.9050905@tomjudge.com> <09BFF2FA5EAB4A45B6655E151BBDD9030414B1EC@NT-IRVA-0750.brcm.ad.broadcom.com> In-Reply-To: <09BFF2FA5EAB4A45B6655E151BBDD9030414B1EC@NT-IRVA-0750.brcm.ad.broadcom.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net 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 21:05:33 -0000 David Christensen wrote: > It's not a problem I've seen before. The driver seems to be > 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 > Hi Dave, The network is running Jumbo frames (8192 Byte frames). There are 5 PE2950's and 7 PE1950's with this NIC on this network. However it is always the same system that causes the crash in the same manner. I will look into reproducing the error tomorrow with the switch port mirrored to a second server (with an em NIC). Hopefully I will get some useful dump files from tcpdump.... Do you have any idea what the frame might look like that causes this error? Here is the NIC config from the system: >> #ifconfig bce0 >> bce0: flags=8843 mtu 8192 >> options=3b >> 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 If its any use the switch is a Dell PowerConnect 5324. Tom >> I am seeing some problems with one of my Dell PowerEdge >> 2950's (running >> RELENG_6_2) on board bce NICs. The interface seems to crash with the >> following errors, to which the fix seems to be and "ifconfig >> bce0 down; >> ifconfig bce0 up": >> >> Jun 7 12:20:29 gonzo kernel: bce0: discard frame w/o leading >> ethernet >> 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 >> responding >> >> >> Is this a know problem? If so is there a solution? >> >> Tom >> >> #uname -a >> FreeBSD gonzo.mintel.co.uk 6.2-RELEASE FreeBSD 6.2-RELEASE >> #10: Thu Apr >> 5 10:53:39 BST 2007 >> root@roley.mintel.co.uk:/usr/obj/usr/src/sys/PE2950 amd64 >> amd64 Intel(R) >> Xeon(R) CPU 5160 @ 3.00GHz FreeBSD >> >> >> ## dmesg.boot snippet >> bce0: mem >> 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, >> 1000baseTX-FDX, auto >> bce0: Ethernet address: 00:18:8b:88:d8:81 >> >> ## pciconf -lv snippet >> bce0@pci9:0:0: class=0x020000 card=0x01b21028 >> chip=0x164c14e4 rev=0x12 >> hdr=0x00 >> vendor = 'Broadcom Corporation' >> class = network >> subclass = ethernet >> >> #ifconfig bce0 >> bce0: flags=8843 mtu 8192 >> options=3b >> 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 >> >> #Switch port counters >> console# show interfaces counters ethernet g10 >> Port InOctets InUcastPkts InMcastPkts InBcastPkts >> ---------------- ---------- ----------- ----------- ----------- >> g10 2615415297 87563987 0 13480 >> >> Port OutOctets OutUcastPkts OutMcastPkts OutBcastPkts >> ---------------- ---------- ------------ ------------ ------------ >> g10 2535595313 136391705 10740316 1420686 >> >> 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 > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"