From owner-freebsd-current@FreeBSD.ORG Thu Oct 15 17:28:46 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 86B931065670; Thu, 15 Oct 2009 17:28:46 +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 469FA8FC17; Thu, 15 Oct 2009 17:28:44 +0000 (UTC) Received: by ewy18 with SMTP id 18so1036457ewy.43 for ; Thu, 15 Oct 2009 10:28:43 -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=AQT+AoNTnGqwkaISS1lQ/bCgiD4xhRnEIdj1PEpb77Q=; b=AH7ZLHgjgLMDEph6Yz4ZWxdzGejStUIfb/pTukPnDN9k7fJipiDoXHehCgzNxDqo2j ugg0Kd8BBGciY4qdOfDWi58gtDmIGddCNF8zTjuCWnPH2iAdVh3lOyAPiHAJzxb24RLA e0S8ROLgkqbWaMWIgtkLiCRExtAHVM+retRzs= 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=XCAz07CDuFOZzfgvchr37/ixkBCANXSr+py3WUOnhpmiMEOrnege13PjiESJRWXCLE nvmzp2pShZ/YACWO+5woAv3rfr5SEebiXQ0vYigS7R0j4U63LjJw9Vi2dR7L5/30gD4j ugR6fmDJ8nBwXtkpD5HGxLmRaP5fCQQ4Qa7n4= Received: by 10.216.86.206 with SMTP id w56mr100581wee.1.1255627723407; Thu, 15 Oct 2009 10:28:43 -0700 (PDT) Received: from weongyo ([174.35.1.224]) by mx.google.com with ESMTPS id m5sm627705gve.26.2009.10.15.10.28.39 (version=SSLv3 cipher=RC4-MD5); Thu, 15 Oct 2009 10:28:41 -0700 (PDT) Received: by weongyo (sSMTP sendmail emulation); Thu, 15 Oct 2009 10:29:14 -0700 From: Weongyo Jeong Date: Thu, 15 Oct 2009 10:29:14 -0700 To: Gavin Atkinson Message-ID: <20091015172914.GF67082@weongyo> Mail-Followup-To: Gavin Atkinson , bsduser , freebsd-current@freebsd.org References: <86051.1254232666@critter.freebsd.dk> <20091013174201.GC67082@weongyo> <86iqei7tgq.fsf@jodie.vectavision.com> <20091014201059.GE67082@weongyo> <20091014230715.E96894@ury.york.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091014230715.E96894@ury.york.ac.uk> 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: Thu, 15 Oct 2009 17:28:46 -0000 On Wed, Oct 14, 2009 at 11:08:39PM +0100, Gavin Atkinson wrote: > On Wed, 14 Oct 2009, Weongyo Jeong wrote: > >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. > >>> > >>>Could you please test with attached patch? > >>> > >> > >>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! > > Many thanks for this! > > Do you know if this patch is likely to fix the panics seen with rum(4) or > is this likely to only fix the TX hangs? AFAIK this patch only fixes TX hangs. I didn't see PRs yet related with the panics but I think it could affect user's panic a little bit. regards. Weongyo Jeong