From owner-freebsd-net@FreeBSD.ORG Thu Oct 30 19:11:49 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E0DCBF5E; Thu, 30 Oct 2014 19:11:49 +0000 (UTC) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C019E64F; Thu, 30 Oct 2014 19:11:49 +0000 (UTC) Received: from [192.168.200.212] (unknown [50.136.155.142]) (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 5E8EA193964; Thu, 30 Oct 2014 19:11:48 +0000 (UTC) Subject: Re: urtwn(4) Random freezes, urtwn_getbuf: out of xmit buffers From: Sean Bruno Reply-To: sbruno@freebsd.org To: Kevin Lo In-Reply-To: <1414692589.1773.11.camel@bruno> References: <1414525275.43009.3.camel@bruno> <20141030025241.GA73148@ns.kevlo.org> <1414692589.1773.11.camel@bruno> Content-Type: text/plain; charset="us-ascii" Date: Thu, 30 Oct 2014 12:11:47 -0700 Message-ID: <1414696307.1773.12.camel@bruno> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: FreeBSD Net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2014 19:11:50 -0000 On Thu, 2014-10-30 at 11:09 -0700, Sean Bruno wrote: > On Thu, 2014-10-30 at 10:52 +0800, Kevin Lo wrote: > > On Tue, Oct 28, 2014 at 12:41:15PM -0700, Sean Bruno wrote: > > > > > > It looks like recent HEAD seems to fail intermittently here on my home > > > network. It will recover, but urtwn(4) seems to lose an ack or > > > something on txmit. turning on debug, yields this message during the > > > hang event. > > > > > > hw.usb.urtwn.debug: 1 > > > > > > Oct 28 12:34:58 bruno kernel: _urtwn_getbuf: _urtwn_getbuf: out of xmit > > > buffers > > > Oct 28 12:34:58 bruno kernel: urtwn_getbuf: urtwn_getbuf: stop queue > > > Oct 28 12:34:58 bruno kernel: _urtwn_getbuf: _urtwn_getbuf: out of xmit > > > buffers > > > Oct 28 12:34:58 bruno kernel: urtwn_getbuf: urtwn_getbuf: stop queue > > > > > > Additionally, I get the following at module load time: > > > > > > urtwn0: > > > on usbus0 > > > urtwn0: could not read efuse byte at address 0x10 > > > urtwn0: could not read efuse byte at address 0x18 > > > > Strange. What the wlan dongle model do you use? I have the RTL8188CUS > > wireless usb adaptor (Edimax EW-7811Un), but I cannot reproduce that issue. > > > > Kevin > > > urtwn0: > on usbus0 > urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R > > This is one that I "aquired" from hiren@ ... I assume its supposed to > work fine. > > sean > I connected this device to a seperate computer and was seeing the same type of timeouts. Just wanted to make sure that it wasn't a USB controller issues. sean