From owner-freebsd-current@FreeBSD.ORG Wed Oct 14 20:10:26 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 B8E67106566C for ; Wed, 14 Oct 2009 20:10:26 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 41F5C8FC20 for ; Wed, 14 Oct 2009 20:10:25 +0000 (UTC) Received: by fxm22 with SMTP id 22so178456fxm.36 for ; Wed, 14 Oct 2009 13:10:25 -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=vEMXEoSH6mTMnzVm3CcFOVecsUmwT9eN+R0nU1PTvQA=; b=frDCD+wDsUThrUmbDnHDnQwORTyHllgKmwozW5k4sF8hrx2XrnlUydfH+cSsPkA6ai SyPDyZVtqTJiaaNHi+NCF1U5NZYLqr+ASEYwwpGzq7ijZDjPcSS63Ez0KPglzw46v/e6 HyVH2Wpqj4BXny4naHHAYghbojh0DgYV4a+7c= 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=eY1B29W7T+B5g2Y98R3OPbUiMcksP2jCqGxt0IFTxDUWnj8d+SJHzlxTUmHNdiQJRQ mOZv2WlHRYLx8OqeUT1E0r+y+2q/ibi2FqeENFLBFNUD1ExFEU3Ln2awy0BBA2l1n8bU r9wP3AtBh67uP4sv/OVkSjQoNatpNbLpShGew= Received: by 10.204.154.203 with SMTP id p11mr7462787bkw.180.1255551024929; Wed, 14 Oct 2009 13:10:24 -0700 (PDT) Received: from weongyo ([174.35.1.224]) by mx.google.com with ESMTPS id b17sm358895fka.43.2009.10.14.13.10.22 (version=SSLv3 cipher=RC4-MD5); Wed, 14 Oct 2009 13:10:23 -0700 (PDT) Received: by weongyo (sSMTP sendmail emulation); Wed, 14 Oct 2009 13:10:59 -0700 From: Weongyo Jeong Date: Wed, 14 Oct 2009 13:10:59 -0700 To: bsduser Message-ID: <20091014201059.GE67082@weongyo> Mail-Followup-To: bsduser , freebsd-current@freebsd.org References: <86051.1254232666@critter.freebsd.dk> <20091013174201.GC67082@weongyo> <86iqei7tgq.fsf@jodie.vectavision.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86iqei7tgq.fsf@jodie.vectavision.com> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: 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 20:10:26 -0000 On Tue, Oct 13, 2009 at 05:41:09PM -0600, 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 :-) Patched at r198098. Thank you for testing! regards, Weongyo Jeong