From owner-freebsd-stable@FreeBSD.ORG Fri May 13 22:29:26 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AED116A4CE for ; Fri, 13 May 2005 22:29:26 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 514E243D70 for ; Fri, 13 May 2005 22:29:26 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 4EF2572DD4; Fri, 13 May 2005 15:29:26 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 4D50472DCB; Fri, 13 May 2005 15:29:26 -0700 (PDT) Date: Fri, 13 May 2005 15:29:26 -0700 (PDT) From: Doug White To: jmc In-Reply-To: <6863f0c905051209432a3afcb9@mail.gmail.com> Message-ID: <20050513152838.E30976@carver.gumbysoft.com> References: <6863f0c905051209432a3afcb9@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: 5.4 weird transmit problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2005 22:29:26 -0000 On Thu, 12 May 2005, jmc wrote: > I've got 5.4 amd64 installed on an Opteron server and I cannot get it to > reliably transmit packets larger than 80 bytes using the bge driver (on a > BCM5703 NIC). It receives large packets without any problem, but it just > won't transmit them. (I can tcpdump all day long without a problem - big and > small packets.) > > For example, I can "ping -s 38 " and it works fine. But if I try "ping > -s 39 " (or any size larger than 38) it does not work. A 38 byte ping > creates an 80 byte Ethernet packet. Random guesses: 1. Make sure your switch agrees with the speed and duplex setting. Auto-neg problems are common. 2. Replace the cable. 3. Back-to-back two systems and try to reproduce. > > Here's the bge0 info from dmesg: > > bge0: mem > 0xf7ef0000-0xf7 > efffff irq 24 at device 1.0 on pci3 > bge0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xf7ef0000 > miibus0: on bge0 > brgphy0: on miibus0 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, > 1000baseTX > -FDX, auto > bge0: bpf attached > bge0: Ethernet address: 00:11:85:fd:8f:f9 > bge0: [MPSAFE] > > Here's ifconfig for bge0: > > bge0: flags=8843 mtu 1500 > options=1a > inet 16.100.240.165 netmask 0xfffffc00 broadcast > 16.100.243.255 > inet6 fe80::211:85ff:fefd:8ff9%bge0 prefixlen 64 scopeid 0x1 > ether 00:11:85:fd:8f:f9 > media: Ethernet autoselect (1000baseTX ) > status: active > > Much to my dismay, I've found that if I use the -l option (preload) for > ping, I get some large packets through: > > ninox# ping -l10 -c10 -s200 16.100.240.1 > PING 16.100.240.1 (16.100.240.1 ): > 200 data bytes > 208 bytes from 16.100.240.1 : icmp_seq=2 ttl=128 time= > 1.025 ms > 208 bytes from 16.100.240.1 : icmp_seq=3 ttl=128 time= > 1.306 ms > 208 bytes from 16.100.240.1 : icmp_seq=4 ttl=128 time= > 1.593 ms > 208 bytes from 16.100.240.1 : icmp_seq=5 ttl=128 time= > 2.026 ms > 208 bytes from 16.100.240.1 : icmp_seq=6 ttl=128 time= > 2.314 ms > 208 bytes from 16.100.240.1 : icmp_seq=7 ttl=128 time= > 2.746 ms > 208 bytes from 16.100.240.1 : icmp_seq=8 ttl=128 time= > 3.034 ms > 208 bytes from 16.100.240.1 : icmp_seq=9 ttl=128 time= > 3.468 ms > > --- 16.100.240.1 ping statistics --- > 10 packets transmitted, 8 packets received, 20% packet loss > round-trip min/avg/max/stddev = 1.025/2.189/3.468/0.806 ms > > Has anyone else ever seen a problem like this? Any suggestions on where to > poke around for a solution? > > Thanks, > John > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org