bge hangs on recent 7.3-STABLE

Igor Sysoev is at rambler-co.ru
Mon Sep 13 18:20:30 UTC 2010


On Mon, Sep 13, 2010 at 11:04:47AM -0700, Pyun YongHyeon wrote:

> On Mon, Sep 13, 2010 at 06:27:08PM +0400, Igor Sysoev wrote:
> > On Thu, Sep 09, 2010 at 02:18:08PM -0700, Pyun YongHyeon wrote:
> > 
> > > On Thu, Sep 09, 2010 at 01:10:50PM -0700, Pyun YongHyeon wrote:
> > > > On Thu, Sep 09, 2010 at 02:28:26PM +0400, Igor Sysoev wrote:
> > > > > 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:

> > Thank you, it seems the patch has fixed the bug.
> > BTW, I noticed the same hungs on FreeBSD 8.1, date=2010.09.06.23.59.59
> > I will apply the patch on all my updated hosts.
> > 
> 
> Thanks for testing. I'm afraid bge(4) in HEAD, stable/8 and
> stable/7(including 8.1-RELEASE and 7.3-RELEASE) may suffer from
> this issue. Let me know what other hosts work with the patch.

Currently I have patched two hosts only: 7.3, 24.08.2010 and 8.1, 06.09.2010.
7.3 now handles 20K/20K packets/s without issues.

One host has been downgraded to 17.03.2010 as I already reported.
Other hosts still run 7.x, from January and February 2010.
If there not will be hangs I will upgrade other hosts and will patch them.


-- 
Igor Sysoev
http://sysoev.ru/en/


More information about the freebsd-net mailing list