Re: read() returns ETIMEDOUT on steady TCP connection

2008-05-08 Thread Deng XueFeng
hi, applied the patch for 6.2, rebuild & install kernel, but nothing changed. ETIMEDOUT still occur. > Hi Tim, > > looking at the ip_output() path there are some places that can > return ENOBUFS: > > a) interface queue length check > > b) packet filter > > c) destination address rewr

Re: Small patch..

2008-05-08 Thread Andre Oppermann
John Baldwin wrote: At work all the log(LOG_DEBUG, ...) statements in the TCP code in 7.x are spamming the heck out of our dmesg so I am #if 0'ing all of them out and while doing so ran into this case. Specifically, it doesn't actually bump sysctl net.inet.tcp.log_debug=0 is simpler than #if

Re: authentication timeouts with ath(4) in hostap mode

2008-05-08 Thread Petar Bogdanovic
On Fri, May 02, 2008 at 05:25:09PM -0700, Sam Leffler wrote: > Petar Bogdanovic wrote: >> Hi, >> >> I'm using an alix2c0 board with two winstron CM9 ath(4)-cards and >> FreeBSD 7: >> >> ifconfig ath0 (...) mediaopt hostap mode 11a channel 36 ssid sn.a >> -bgscan >> ifconfig ath1 (...) me

Re: kern/121080: [bge] IPv6 NUD problem on multi address config on bge0

2008-05-08 Thread vwe
Synopsis: [bge] IPv6 NUD problem on multi address config on bge0 Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: vwe Responsible-Changed-When: Thu May 8 21:29:08 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=12

Re: Small patch..

2008-05-08 Thread Bjoern A. Zeeb
On Thu, 8 May 2008, John Baldwin wrote: At work all the log(LOG_DEBUG, ...) statements in the TCP code in 7.x are spamming the heck out of our dmesg so I am #if 0'ing all of them out and while doing so ran into this case. Specifically, it doesn't actually bump the stat counter unless it succeed

Small patch..

2008-05-08 Thread John Baldwin
At work all the log(LOG_DEBUG, ...) statements in the TCP code in 7.x are spamming the heck out of our dmesg so I am #if 0'ing all of them out and while doing so ran into this case. Specifically, it doesn't actually bump the stat counter unless it succeeds in allocating memory to log the debug

Re: Change from BSDL to GPL

2008-05-08 Thread gnn
At Mon, 05 May 2008 06:31:25 +0800, kevin wrote: > > Hi, all > I want to port 4.4BSD-Lite's TCP/IP source code to my own OS kernel. > My OS kernel is GPL licenced. > Is it possible for me to modify 4.4BSD-Lite's source code and change its > licence from 4.4BSD-Lite licence to GPL licence? > Ala

Re: kern/123347: [bge] bge1: watchdog timeout -- linkstate changed to DOWN

2008-05-08 Thread vwe
Synopsis: [bge] bge1: watchdog timeout -- linkstate changed to DOWN State-Changed-From-To: feedback->open State-Changed-By: vwe State-Changed-When: Thu May 8 19:06:56 UTC 2008 State-Changed-Why: Feedback has been provided. http://www.freebsd.org/cgi/query-pr.cgi?pr=123347 __

Re: read() returns ETIMEDOUT on steady TCP connection

2008-05-08 Thread Tim Gebbett
Hi Andre, Applied the patch, I could not see anything different to the last test. No packet filtering or NAT are enabled, the test is running over a switch. Many thanks - Tim 258/6657/6915 mbufs in use (current/cache/total) 256/1084/1340/25600 mbuf clusters in use (current/cache/total/max) 256/1

Re: read() returns ETIMEDOUT on steady TCP connection

2008-05-08 Thread Andre Oppermann
Hi Tim, looking at the ip_output() path there are some places that can return ENOBUFS: a) interface queue length check b) packet filter c) destination address rewrite through NAT d) if_output() call e) IP fragmentation if DF was not set The first one of those is the most likely to be t

Re: read() returns ETIMEDOUT on steady TCP connection

2008-05-08 Thread Tim Gebbett
Hi all, applied the patch, Well before a ETIMEDOUT error occurred (around 60secs), the tcp debug started venting massive quantities of tcp_output error 55 while sending with syncache noise: y 8 12:14:26 timtest kernel: :63859 to [192.168.5.40]:80; tcp_output: error 55 whilTeC Ps:e n[d1i9n2g

Re: read() returns ETIMEDOUT on steady TCP connection

2008-05-08 Thread Mark Hills
On Thu, 8 May 2008, Andre Oppermann wrote: Deng XueFeng wrote: hi, the patch can not apply to 6.2, cound do a new patch for 6.2 or 6.3 ? The logging function is not (yet) present in RELENG_6. I'll post the patch when I've backported the functionality. However it's an important information t

Re: read() returns ETIMEDOUT on steady TCP connection

2008-05-08 Thread Andre Oppermann
Deng XueFeng wrote: hi, the patch can not apply to 6.2, cound do a new patch for 6.2 or 6.3 ? The logging function is not (yet) present in RELENG_6. I'll post the patch when I've backported the functionality. However it's an important information that it happens on 6.2 too. That means the so

Re: multiple routing tables review patch ready for simple testing.

2008-05-08 Thread Julian Elischer
Bjoern A. Zeeb wrote: On Tue, 6 May 2008, Julian Elischer wrote: Hi, Bjoern A. Zeeb wrote: On Tue, 29 Apr 2008, Julian Elischer wrote: Hi, The patch can be found at http://www.freebsd.org/~julian/mrt.diff (or http://www.freebsd.org/~julian/mrt6.diff for RELENG_6) or source can be taken fr