From nobody@FreeBSD.org  Wed Dec 20 12:46:08 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 2178116A415
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 20 Dec 2006 12:46:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D33F843CAA
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 20 Dec 2006 12:46:04 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kBKCjw7L001904
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 20 Dec 2006 12:45:58 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id kBKCjwBr001903;
	Wed, 20 Dec 2006 12:45:58 GMT
	(envelope-from nobody)
Message-Id: <200612201245.kBKCjwBr001903@www.freebsd.org>
Date: Wed, 20 Dec 2006 12:45:58 GMT
From: Andrej Zverev<andrey.zverev@electro-com.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [bge] packet loose and linkup problem
X-Send-Pr-Version: www-3.0

>Number:         106974
>Category:       kern
>Synopsis:       [bge] packet loose and linkup problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-net
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 20 12:50:15 GMT 2006
>Closed-Date:    Mon Feb 16 06:33:46 UTC 2009
>Last-Modified:  Mon Feb 16 06:33:46 UTC 2009
>Originator:     Andrej Zverev
>Release:        
>Organization:
ECOM
>Environment:
RELENG_6_2
RELENG_6

>Description:
Server IBM x336 with two intergrated Broadcom (bge) chip network cards
and one raiser pciX-133Mhz with Broadcom chip.

With two intergrated card, all work fine.
But with exteranal network card, i see problems.

1. Link on 1000baseTX never UP (under linux and windows it's OK)
2. Force setting media 100baseTX mediaopt full-duplex cause link up, but in this case packet loose occursed.

For example ping Catalyst where we directly connected 

PING 192.168.40.99 (192.168.40.99): 56 data bytes
64 bytes from 192.168.40.99: icmp_seq=0 ttl=255 time=0.799 ms
64 bytes from 192.168.40.99: icmp_seq=1 ttl=255 time=0.762 ms
64 bytes from 192.168.40.99: icmp_seq=3 ttl=255 time=0.810 ms
64 bytes from 192.168.40.99: icmp_seq=4 ttl=255 time=0.834 ms
64 bytes from 192.168.40.99: icmp_seq=5 ttl=255 time=0.711 ms
64 bytes from 192.168.40.99: icmp_seq=7 ttl=255 time=0.759 ms
64 bytes from 192.168.40.99: icmp_seq=8 ttl=255 time=0.782 ms
64 bytes from 192.168.40.99: icmp_seq=9 ttl=255 time=0.807 ms
64 bytes from 192.168.40.99: icmp_seq=11 ttl=255 time=0.853 ms


setting -rxcsum -txcsum don't take any effect.


# pciconf -lv 
bge0@pci5:1:0:  class=0x020000 card=0x000914e4 chip=0x16c714e4 rev=0x10 hdr=0x00
    vendor   = 'Broadcom Corporation'
    device   = 'BCM5703A3 NetXtreme Gigabit Ethernet'
    class    = network
    subclass = ethernet
bge1@pci6:0:0:  class=0x020000 card=0x02c61014 chip=0x165914e4 rev=0x11 hdr=0x00
    vendor   = 'Broadcom Corporation'
    device   = 'BCM5750A1 NetXtreme Gigabit Ethernet PCI Express'
    class    = network
    subclass = ethernet
bge2@pci7:0:0:  class=0x020000 card=0x02c61014 chip=0x165914e4 rev=0x11 hdr=0x00
    vendor   = 'Broadcom Corporation'
    device   = 'BCM5750A1 NetXtreme Gigabit Ethernet PCI Express'
    class    = network
    subclass = ethernet

# ifconfig
# ifconfig
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=18<VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.40.228 netmask 0xffffff00 broadcast 192.168.40.255
        ether 00:10:18:1c:de:1f
        media: Ethernet 100baseTX <full-duplex>
        status: active
bge1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        ether 00:14:5e:7f:31:0a
        media: Ethernet autoselect (none)
        status: no carrier
bge2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        ether 00:14:5e:7f:31:0b
        media: Ethernet autoselect (none)
        status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000


Checked it on RELENG_6_2, RELENG_6.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:

From: Andrej Zverev <andrey.zverev@electro-com.ru>
To: bug-followup@FreeBSD.org,  andrey.zverev@electro-com.ru
Cc:  
Subject: Re: kern/106974: [bge] packet loose and linkup problem
Date: Wed, 20 Dec 2006 18:21:58 +0300

 Hot News:
 
 Checked this situation with another x336 IBM server, and got same situation.
 But then  FreeBSD 6.1R was installed, all goes just as it must be.
 So, between 6.1 and 6.2 something broken.
 
 WBR,
 Andrej Zverev
 
 
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: vwe 
Responsible-Changed-When: Wed Jan 14 23:32:25 UTC 2009 
Responsible-Changed-Why:  

Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106974 
State-Changed-From-To: open->closed 
State-Changed-By: az 
State-Changed-When: Mon Feb 16 06:33:44 UTC 2009 
State-Changed-Why:  
As originator close this PR, since i can not check this situation on 
newest releases. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106974 
>Unformatted:
