From nobody@FreeBSD.org  Sat Nov 13 16:39:01 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B2BEF1065673
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 13 Nov 2010 16:39:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id A06968FC21
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 13 Nov 2010 16:39:01 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id oADGd1Jf036503
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 13 Nov 2010 16:39:01 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id oADGd1EL036502;
	Sat, 13 Nov 2010 16:39:01 GMT
	(envelope-from nobody)
Message-Id: <201011131639.oADGd1EL036502@www.freebsd.org>
Date: Sat, 13 Nov 2010 16:39:01 GMT
From: Wojciech Puchar <wojtek@tensor.gdynia.pl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: FreeBSD 8+bce network=network stalls
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         152208
>Category:       kern
>Synopsis:       [bce] FreeBSD 8+bce network=network stalls
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gavin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 13 16:40:08 UTC 2010
>Closed-Date:    Fri Dec 10 14:55:48 UTC 2010
>Last-Modified:  Fri Dec 10 14:55:48 UTC 2010
>Originator:     Wojciech Puchar
>Release:        8.1-STABLE
>Organization:
TENSOR ap
>Environment:
FreeBSD ****.pl 8.1-STABLE FreeBSD 8.1-STABLE #0: Fri Oct 22 22:50:17 CEST 2010     root@****.pl:/usr/src/sys/amd64/compile/****.pl  amd64

>Description:
machine have 2 bce interfaces both on board.
one is used as WAN other as LAN (IP 10.20.40.1)
i use ipfw with pipes and queues.

it worked fine under FreeBSD 7.3
With new FreeBSD i'm getting problem like 10.20.40.1 not responding LOCALLY.
i can ping it from any computer at local network, but when i log in into server and do 

ping 10.20.40.1

i'm getting no buffer space available.

ifconfig bce1 down;sleep 1;ifconfig bce1 up
"fixes" the problem until next some hours, sometimes few days but never more.

ipfw and network configuration was not changed even a bit after moving from 7.3

i use FreeBSD 8 on other machines but not with bce interfaces with similar style ipfw configuration, without any problems.

I'm not sure it is ipfw related, as i can't stop ipfw for test (it's production machine). i just added workaround now to reset bce1 every 10 minutes.
>How-To-Repeat:
use bce interfaces with FreeBSD 8 and ipfw.

I am not 100% sure if it's related to bce1 but i have such problem only on THAT server which was running fine with FreeBSD 7
(but slower, ahci driver from 8.* is really worth of update)
>Fix:
no idea what it is. adapter is actually working, it's some kind of routing/ipfw problem.

please reply  to e-mail if you need detailed configuration.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: gavin 
State-Changed-When: Sun Nov 28 11:11:30 UTC 2010 
State-Changed-Why:  
To submitter: this sounds like it may be some sort of mbuf leak. 
When the box experiences a network stall, can you please obtain the 
output of "netstat -m"? 


Responsible-Changed-From-To: freebsd-bugs->gavin 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Sun Nov 28 11:11:30 UTC 2010 
Responsible-Changed-Why:  
Track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=152208 
State-Changed-From-To: feedback->closed 
State-Changed-By: gavin 
State-Changed-When: Fri Dec 10 14:55:20 UTC 2010 
State-Changed-Why:  
Close, user confirms that they no longer see this problem after 
updating. 

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