if_bge driver problem. - Upgrade to RELEASE :)

husnu demir hdemir at metu.edu.tr
Fri Jan 27 08:29:08 PST 2006


> Also it is important to know whether doing 'ifconfig bge0 -rxcsum -txcsum'
> fixes operation on 6.0-STABLE.

No, It does not fixed. I will go back to STABLE if you need further detail. 


Husnu Demir.

(Note: I may leave the office. will try to contact you las soon as possible.)

For RELEASE version;
--------------------

root@~# pciconf -lv | grep -A 3 ^bge
bge0 at pci3:1:0:  class=0x020000 card=0x026f1014 chip=0x16a714e4 rev=0x02 hdr=0x00
    vendor   = 'Broadcom Corporation'
    device   = 'BCM5703X NetXtreme Gigabit Ethernet'
    class    = network
--
bge1 at pci3:2:0:  class=0x020000 card=0x100610b7 chip=0x164514e4 rev=0x15 hdr=0x00
    vendor   = 'Broadcom Corporation'
    device   = 'BCM5701 NetXtreme Gigabit Ethernet'
    class    = network
--
bge2 at pci3:3:0:  class=0x020000 card=0x000a14e4 chip=0x16a714e4 rev=0x02 hdr=0x00
    vendor   = 'Broadcom Corporation'
    device   = 'BCM5703X NetXtreme Gigabit Ethernet'
    class    = network
root@~# ifconfig 
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet6 fe80::211:9ff:fe9b:6a7d%bge0 prefixlen 64 scopeid 0x1 
        inet x.x.3.138 netmask 0xffffff80 broadcast x.x.3.255
        ether 00:11:09:9b:6a:7d
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
bge1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=1a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        ether 00:04:76:f7:99:6e
        media: Ethernet autoselect (none)
        status: no carrier
bge2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=18<VLAN_MTU,VLAN_HWTAGGING>
        inet6 fe80::210:18ff:fe00:4d53%bge2 prefixlen 64 scopeid 0x3 
        inet x.x.2.2 netmask 0xffffff00 broadcast x.x.2.255
        ether 00:10:18:00:4d:53
        media: Ethernet autoselect (1000baseSX <full-duplex>)
        status: active
em0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        ether 00:04:23:c2:dc:29
        media: Ethernet autoselect
        status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
        inet 127.0.0.1 netmask 0xff000000 
pfsync0: flags=0<> mtu 2020
pflog0: flags=0<> mtu 33208

For STABLE version ;
-----------------------
root@~# ifconfig 
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet6 fe80::211:9ff:fe9b:6a7d%bge0 prefixlen 64 scopeid 0x1 
        inet x.x.3.138 netmask 0xffffff80 broadcast x.x.3.255
        ether 00:11:09:9b:6a:7d
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
bge1: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        ether 00:04:76:f7:99:6e
        media: Ethernet autoselect (none)
        status: no carrier
bge2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=18<VLAN_MTU,VLAN_HWTAGGING>
        inet6 fe80::210:18ff:fe00:4d53%bge2 prefixlen 64 scopeid 0x3 
        inet x.x.2.2 netmask 0xffffff00 broadcast x.x.2.255
        ether 00:10:18:00:4d:53
        media: Ethernet autoselect (1000baseSX <full-duplex>)
        status: active
em0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        ether 00:04:23:c2:dc:29
        media: Ethernet autoselect
        status: no carrier
pflog0: flags=0<> mtu 33208
pfsync0: flags=0<> mtu 2020
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 
        inet 127.0.0.1 netmask 0xff000000 
root@~# pciconf -lv | grep -A 3 ^bge
bge0 at pci3:1:0:  class=0x020000 card=0x026f1014 chip=0x16a714e4 rev=0x02 hdr=0x00
    vendor   = 'Broadcom Corporation'
    device   = 'BCM5703X NetXtreme Gigabit Ethernet'
    class    = network
--
bge1 at pci3:2:0:  class=0x020000 card=0x100610b7 chip=0x164514e4 rev=0x15 hdr=0x00
    vendor   = 'Broadcom Corporation'
    device   = 'BCM5701 NetXtreme Gigabit Ethernet'
    class    = network
--
bge2 at pci3:3:0:  class=0x020000 card=0x000a14e4 chip=0x16a714e4 rev=0x02 hdr=0x00
    vendor   = 'Broadcom Corporation'
    device   = 'BCM5703X NetXtreme Gigabit Ethernet'
    class    = network




On Fri, Jan 27, 2006 at 06:34:39PM +0300, Gleb Smirnoff wrote:
> On Fri, Jan 27, 2006 at 02:24:38PM +0200, husnu demir wrote:
> h> Hi,
> h> 
> h> I upgraded my pc after "2006-01-25 FreeBSD-SA-06:06.kmem" issue. After that it also upgrade the bge drivers and now it is not working. In fact my "Broadcom BCM5703 Gigabit Ethernet, ASIC rev. 0x1002" is not working. The other bge's working properly. Most probly last update may cause that. I have been using 6-STABLE.
> h> 
> h> I also tried to look at the switch part and find out that there are CRC Errors. The errors comes just after enabling the interface on the bsd box. After that there isnt any activity. Also when I sniff the interface with tcpdump, I saw lots of packets. Most probly, the driver did not let the further comminication after bad CRCs.
> 
> What happens if you disable hardware checksum offloading on your NIC?
> 
> ifconfig bge0 -rxcsum -txcsum
> 
> -- 
> Totus tuus, Glebius.
> GLEBIUS-RIPN GLEB-RIPE
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"


On Fri, Jan 27, 2006 at 07:13:48PM +0300, Gleb Smirnoff wrote:
> On Fri, Jan 27, 2006 at 06:11:51PM +0200, husnu demir wrote:
> h> I upgraded to the 6_RELEASE;
> h> 
> h> $ uname -a
> h> FreeBSD nrouter.cc.metu.edu.tr 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Fri Jan 27 18:03:39 EET 2006     root at nrouter.cc.metu.edu.tr:/usr/obj/usr/src/sys/NON-GENERIC  i386
> h> 
> h> and now it is working. But the CRC errors still exists. I only see the CRC errors on enabling the interface. But the stable still does not work.
> 
> One more time: please provide also output from 'pciconf -lv | grep -A 3 ^bge',
> and from 'ifconfig'.
> 
> Also it is important to know whether doing 'ifconfig bge0 -rxcsum -txcsum'
> fixes operation on 6.0-STABLE.
> 
> -- 
> Totus tuus, Glebius.
> GLEBIUS-RIPN GLEB-RIPE


More information about the freebsd-stable mailing list