From owner-freebsd-net@FreeBSD.ORG  Tue Oct 28 19:41:35 2014
Return-Path: <owner-freebsd-net@FreeBSD.ORG>
Delivered-To: freebsd-net@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 1FFF746D;
 Tue, 28 Oct 2014 19:41:35 +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 DDED1CEB;
 Tue, 28 Oct 2014 19:41:34 +0000 (UTC)
Received: from [192.168.200.213] (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 37033193964;
 Tue, 28 Oct 2014 19:41:25 +0000 (UTC)
Subject: urtwn(4) Random freezes, urtwn_getbuf: out of xmit buffers
From: Sean Bruno <sbruno@ignoranthack.me>
Reply-To: sbruno@freebsd.org
To: FreeBSD Net <freebsd-net@freebsd.org>
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 28 Oct 2014 12:41:15 -0700
Message-ID: <1414525275.43009.3.camel@bruno>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port 
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-net@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: Networking and TCP/IP with FreeBSD <freebsd-net.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-net>,
 <mailto:freebsd-net-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net/>
List-Post: <mailto:freebsd-net@freebsd.org>
List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>,
 <mailto:freebsd-net-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Oct 2014 19:41:35 -0000

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: <vendor 0x0bda product 0x8176, class 0/0, rev 2.00/2.00, addr 1>
on usbus0
urtwn0: could not read efuse byte at address 0x10
urtwn0: could not read efuse byte at address 0x18