From owner-freebsd-current@FreeBSD.ORG Wed Oct 14 22:09:11 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 60DEC106568D for ; Wed, 14 Oct 2009 22:09:11 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw2.york.ac.uk (mail-gw2.york.ac.uk [144.32.128.247]) by mx1.freebsd.org (Postfix) with ESMTP id D20E98FC15 for ; Wed, 14 Oct 2009 22:09:10 +0000 (UTC) Received: from mail-gw7.york.ac.uk (mail-gw7.york.ac.uk [144.32.129.30]) by mail-gw2.york.ac.uk (8.13.6/8.13.6) with ESMTP id n9EM8fS5028900; Wed, 14 Oct 2009 23:08:41 +0100 (BST) Received: from ury.york.ac.uk ([144.32.108.81]) by mail-gw7.york.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1MyC1R-0000EE-SL; Wed, 14 Oct 2009 23:08:41 +0100 Received: from ury.york.ac.uk (localhost.york.ac.uk [127.0.0.1]) by ury.york.ac.uk (8.14.3/8.14.3) with ESMTP id n9EM8fHJ076723; Wed, 14 Oct 2009 23:08:41 +0100 (BST) (envelope-from gavin@FreeBSD.org) Received: from localhost (gavin@localhost) by ury.york.ac.uk (8.14.3/8.14.3/Submit) with ESMTP id n9EM8dpI076706; Wed, 14 Oct 2009 23:08:39 +0100 (BST) (envelope-from gavin@FreeBSD.org) X-Authentication-Warning: ury.york.ac.uk: gavin owned process doing -bs Date: Wed, 14 Oct 2009 23:08:39 +0100 (BST) From: Gavin Atkinson X-X-Sender: gavin@ury.york.ac.uk To: Weongyo Jeong In-Reply-To: <20091014201059.GE67082@weongyo> Message-ID: <20091014230715.E96894@ury.york.ac.uk> References: <86051.1254232666@critter.freebsd.dk> <20091013174201.GC67082@weongyo> <86iqei7tgq.fsf@jodie.vectavision.com> <20091014201059.GE67082@weongyo> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin@freebsd.org 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 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 22:09:11 -0000 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? Thanks, Gavin