Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Sep 2010 13:54:29 +0300
From:      Vlad Galu <dudu@dudu.ro>
To:        Igor Sysoev <is@rambler-co.ru>
Cc:        freebsd-net@freebsd.org
Subject:   Re: bge hangs on recent 7.3-STABLE
Message-ID:  <AANLkTimO8=Mf47btaB-hvhihcQfR9UdDZzX=HHagHTQL@mail.gmail.com>
In-Reply-To: <20100909102826.GB53812@rambler-co.ru>
References:  <20100909102826.GB53812@rambler-co.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

2010/9/9 Igor Sysoev <is@rambler-co.ru>:
> Hi,
>
> I have several hosts running FreeBSD/amd64 7.2-STABLE updated on 11.01.2010
> and 25.02.2010. Hosts process about 10K input and 10K output packets/s
> without issues. One of them, however, is loaded more than others, so it
> processes 20K/20K packets/s.
>
> Recently, I have upgraded one host to 7.3-STABLE, 24.08.2010.
> Then bge on this host hung two times. I was able to restart it from
> console using:
> š/etc/rc.d/netif restart bge0
>
> Then I have upgraded the most loaded (20K/20K) host to 7.3-STABLE, 07.09.2010.
> After reboot bge hung every several seconds. I was able to restart it,
> but bge hung again after several seconds.
>
> Then I have downgraded this host to 7.3-STABLE, 14.08.2010, since there
> were several if_bge.c commits on 15.08.2010. The same hangs.
> Then I have downgraded this host to 7.3-STABLE, 17.03.2010, before
> the first if_bge.c commit after 25.02.2010. Now it runs without hangs.
>
> The hosts are amd64 dual core SMP with 4G machines. bge information:
>
> bge0@pci0:4:0:0: š š š šclass=0x020000 card=0x165914e4 chip=0x165914e4 rev=0x11 hdr=0x00
> š švendor š š = 'Broadcom Corporation'
> š šdevice š š = 'NetXtreme Gigabit Ethernet PCI Express (BCM5721)'
>
> bge0: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x004101> mem 0xfe5f0000-0xfe5fffff irq 19 at device 0.0 on pci4
> miibus1: <MII bus> on bge0
> brgphy0: <BCM5750 10/100/1000baseTX PHY> PHY 1 on miibus1
> brgphy0: š10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
> bge0: Ethernet address: 00:e0:81:5f:6e:8a
>
> bge has 3 vlans:
>
> bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 15
> 00
> š š š šoptions=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
> š š š šether 00:e0:81:5f:6e:8a
> š š š šmedia: Ethernet autoselect (1000baseTX <full-duplex>)
> š š š šstatus: active
>
> vlan173: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> š š š šoptions=3<RXCSUM,TXCSUM>
> š š š šether 00:e0:81:5f:6e:8a
> š š š šinet 192.168.173.101 netmask 0xffffff00 broadcast 192.168.173.255
> š š š šmedia: Ethernet autoselect (1000baseTX <full-duplex>)
> š š š šstatus: active
> š š š švlan: 173 parent interface: bge0
>
> [ ... ]


I've been having the same issues with this exact adapter on two
RELENG_8 machines. Howevery, my traffic isn't as intense as yours, so
the issue occurs far less often. I'll downgrade the bge(4) driver to
the revision that works for you and I'll report back in a few days.



-- 
Good, fast & cheap. Pick any two.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimO8=Mf47btaB-hvhihcQfR9UdDZzX=HHagHTQL>