From owner-freebsd-net@FreeBSD.ORG Thu Oct 30 02:53:44 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 EA6B0945; Thu, 30 Oct 2014 02:53:44 +0000 (UTC) Received: from ns.kevlo.org (220-135-115-6.HINET-IP.hinet.net [220.135.115.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns.kevlo.org", Issuer "ns.kevlo.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 85020F7B; Thu, 30 Oct 2014 02:53:44 +0000 (UTC) Received: from ns.kevlo.org (localhost [127.0.0.1]) by ns.kevlo.org (8.14.8/8.14.8) with ESMTP id s9U2qgpc073162 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 30 Oct 2014 10:52:42 +0800 (CST) (envelope-from kevlo@ns.kevlo.org) Received: (from kevlo@localhost) by ns.kevlo.org (8.14.8/8.14.8/Submit) id s9U2qgVL073161; Thu, 30 Oct 2014 10:52:42 +0800 (CST) (envelope-from kevlo) Date: Thu, 30 Oct 2014 10:52:41 +0800 From: Kevin Lo To: sbruno@freebsd.org Subject: Re: urtwn(4) Random freezes, urtwn_getbuf: out of xmit buffers Message-ID: <20141030025241.GA73148@ns.kevlo.org> References: <1414525275.43009.3.camel@bruno> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1414525275.43009.3.camel@bruno> User-Agent: Mutt/1.5.22 (2013-10-16) 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 02:53:45 -0000 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