From owner-freebsd-current@FreeBSD.ORG Wed Oct 14 07:36:38 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 375F71065670 for ; Wed, 14 Oct 2009 07:36:38 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe15.swip.net [212.247.155.193]) by mx1.freebsd.org (Postfix) with ESMTP id 91BCE8FC0A for ; Wed, 14 Oct 2009 07:36:37 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=pGLkceISAAAA:8 a=8WeOH9NI7pJRFFGyxY4A:9 a=UPSk1wJxiMMfolcfla_Lh05p5gcA:4 a=MSl-tDqOz04A:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe15.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 576518663; Wed, 14 Oct 2009 09:36:35 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Wed, 14 Oct 2009 09:35:46 +0200 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <86051.1254232666@critter.freebsd.dk> <20091013174201.GC67082@weongyo> <86iqei7tgq.fsf@jodie.vectavision.com> In-Reply-To: <86iqei7tgq.fsf@jodie.vectavision.com> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200910140935.46509.hselasky@c2i.net> Cc: bsduser Subject: Re: if_rum dies on transmit... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 14 Oct 2009 07:36:38 -0000 On Wednesday 14 October 2009 01:41:09 bsduser wrote: > Weongyo Jeong writes: > > On Tue, Sep 29, 2009 at 01:57:46PM +0000, Poul-Henning Kamp wrote: > >> Has anybody else seen if_rum die when you try to transmit a file over > >> a TCP connection ? > >> > >> If I try to print across the network, upload a file with ftp or anything > >> else of that general tenor, if_rum seems to hang the output queue and > >> stops transmitting packets. > >> > >> Restarting wpa_supplicant mostly resolves the issue, but it does not > >> on its own discover the problem. > >> > >> According to tcpdump(8), packets are still received. > >> > >> Any ideas ? > > > > Could you please test with attached patch? > > > > regards, > > Weongyo Jeong > > I had the same issues with if_rum at least while using WPA and your patch > made them go away.... ( although removing and plugging back in does not > quite work ) > > # scp INDEX-8* cookie:/usr/ports > INDEX-8 100% 19MB 2.1MB/s 00:09 > INDEX-8.db 100% 34MB 2.4MB/s 00:14 > > before the patch this would just hang. > > Another quick test using rsync on a bunch of files worked flawless too. > > usbconfig list: > > ugen7.2: at usbus7, cfg=0 > md=HOST spd=HIGH (480Mbps) pwr=ON > > The adapter is a WUSB54GC and yes, you made my day :-) Weongyo: Is the problem that some ifqueues go full and then the USB transfers are not restarted properly? Probably the other wlan network adapters have the same problem too and should be patched similarly. --HPS