From owner-freebsd-current@FreeBSD.ORG Wed Oct 14 19:56:02 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 4069E106566C for ; Wed, 14 Oct 2009 19:56:02 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by mx1.freebsd.org (Postfix) with ESMTP id BEA828FC18 for ; Wed, 14 Oct 2009 19:56:01 +0000 (UTC) Received: by ewy18 with SMTP id 18so142033ewy.43 for ; Wed, 14 Oct 2009 12:56:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:organization:x-operation-sytem; bh=ELmiDeMYTNNqZp2UPTtngdl44NfJ8F3fyF2RIjWQRN0=; b=cw9Nqh7cSwfhAC7D+dl07ywAVdrdbkCIYFtGSMOCA/qHZ3+rCU0xrAp9ON0rXFlrlJ BRgSlH+gceGvv0dHZa216YKVu7nLLBuy4QSzGgnql+jqLdnV9+hMMmSv0mOhu6ATmprP jcrdhbMgnkf4fN3KMGNDYSd+Jzuxuew5PznYw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent:organization:x-operation-sytem; b=GOo7HZMO6K/LgjEBFcr+vjNTLTrXxLuLrDtUUYbqrotU7h0/JDROsiHGPujUxJ3bxb DogVh9g+e7KMp5ITm+IptuFOdrlLK6FV0CffQXOIjJMPDLdPSqAvMQHvhH9pSP2UT1L8 jzhnb5lITcpB+vbcy8lbLO5j8IquFGPfZdU6k= Received: by 10.216.87.3 with SMTP id x3mr3003181wee.132.1255550160753; Wed, 14 Oct 2009 12:56:00 -0700 (PDT) Received: from weongyo ([174.35.1.224]) by mx.google.com with ESMTPS id g11sm124479gve.5.2009.10.14.12.55.57 (version=SSLv3 cipher=RC4-MD5); Wed, 14 Oct 2009 12:55:59 -0700 (PDT) Received: by weongyo (sSMTP sendmail emulation); Wed, 14 Oct 2009 12:56:31 -0700 From: Weongyo Jeong Date: Wed, 14 Oct 2009 12:56:31 -0700 To: Hans Petter Selasky Message-ID: <20091014195631.GD67082@weongyo> Mail-Followup-To: Hans Petter Selasky , freebsd-current@freebsd.org, bsduser References: <86051.1254232666@critter.freebsd.dk> <20091013174201.GC67082@weongyo> <86iqei7tgq.fsf@jodie.vectavision.com> <200910140935.46509.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200910140935.46509.hselasky@c2i.net> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: bsduser , freebsd-current@freebsd.org Subject: Re: if_rum dies on transmit... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong 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 19:56:02 -0000 On Wed, Oct 14, 2009 at 09:35:46AM +0200, Hans Petter Selasky wrote: > 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. Yes and I think other USB wireless devices should be fixed also. I'll do it as soon as possible. regards, Weongyo Jeong