From owner-freebsd-current@FreeBSD.ORG Wed May 11 02:34:27 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A0E316A4CE for ; Wed, 11 May 2005 02:34:27 +0000 (GMT) Received: from web54007.mail.yahoo.com (web54007.mail.yahoo.com [206.190.36.231]) by mx1.FreeBSD.org (Postfix) with SMTP id 68F1E43D78 for ; Wed, 11 May 2005 02:34:26 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: (qmail 23315 invoked by uid 60001); 11 May 2005 02:34:25 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=unnY15EqeVBvTq2kwW8iAAMkdv7pOS9k0TWFj5yLOLucikqeFDJehVI4deGmRU3fIzT+hdgzAF1ba3c/u18ygzDCFniHRGbLEKxt3kWpGzlRvXoaRwf56MfH0guAQ+6HOwsD1s6cu+KebaNuuRBwloeUZNKmM/a2vrxRYIlQFM4= ; Message-ID: <20050511023425.23313.qmail@web54007.mail.yahoo.com> Received: from [147.46.44.181] by web54007.mail.yahoo.com via HTTP; Tue, 10 May 2005 19:34:25 PDT Date: Tue, 10 May 2005 19:34:25 -0700 (PDT) From: Rob To: ru@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: FreeBSD current cc: FreeBSD Stable Subject: Re: xl(4) & polling X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2005 02:34:27 -0000 Ruslan Ermilov wrote: > Greetings, > > Those of you wishing to try your xl(4) card under > polling(4) are welcome to test this patch: > Ruslan, Yesterday I discovered that polling of the xl interface randomly disrupts an ssh-tunnel of mine. I think there's still a subtle, yet critical problem with xl polling. I cannot locate the details of the problem, so I will describe the symptoms that I see in my network, and why I suspect xl polling. Here is a sketch of my two private networks: PC1 - GW1 ~~~~ GW2 - PC2 PC1 = PC on private network, Intel Pro/100 (fxp) GW1 = Dual-homed Gateway, 2 x 3Com 3c905B-TX (xl) GW2 = Dual-homed Gateway, 2 x RealTek 8139 (rl) PC2 = PC on private network, RealTek 8139 (rl) ~~~~ = Internet All computers are running 5-Stable, as of May 10. All, but PC1 with fxp, use polling, with: options DEVICE_POLLING options HZ=1000 GW2 redirects (with natd) port 2200 to PC2. PC1 establishes an ssh-tunnel to PC2: PC1$ ssh -p 2200 -N -f -R 2000:localhost:22 GW2 Then on PC2, I can use this tunnel to connect directly to PC1, for example to run xbiff: PC2$ ssh -Y -p 2000 localhost xbiff This works beautifully, but every now and then the ssh-tunnel connection is 'closed' for no reason (the ssh-tunnel itself remains, but the connection is closed). This happens at least once an hour, seemingly at random. After some trial and error, I discovered that the polling of the xl devices (GW1) is the culprit. As soon as I disable the polling for the xl devices on GW1, the ssh-tunnel connection is not disrupted anymore. ----- GW1 is also a production server, so experimenting is rather limited. However, I can run tests, if that would help resolve the problem. Here you can find some relevant info on GW1 with the xl devices: dmesg output: http://surfion.snu.ac.kr/~lahaye/dmesg.boot kernel configuration: http://surfion.snu.ac.kr/~lahaye/MYKERNEL /boot/loader.conf: http://surfion.snu.ac.kr/~lahaye/loader.conf Regards, Rob. __________________________________ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail