From owner-freebsd-net@FreeBSD.ORG Wed Oct 29 15:50:28 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 DF4E4766; Wed, 29 Oct 2014 15:50:28 +0000 (UTC) Received: from st11p02mm-asmtp001.mac.com (st11p02mm-asmtpout001.mac.com [17.172.220.236]) (using TLSv1 with cipher DES-CBC3-SHA (112/168 bits)) (Client CN "smtp.me.com", Issuer "VeriSign Class 3 Extended Validation SSL SGC CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8F875BFB; Wed, 29 Oct 2014 15:50:27 +0000 (UTC) Received: from fukuyama.hsd1.ca.comcast.net (unknown [73.162.13.215]) by st11p02mm-asmtp001.mac.com (Oracle Communications Messaging Server 7u4-27.10(7.0.4.27.9) 64bit (built Jun 6 2014)) with ESMTPSA id <0NE7007BCQNZ6Y40@st11p02mm-asmtp001.mac.com>; Wed, 29 Oct 2014 15:50:25 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52,1.0.28,0.0.0000 definitions=2014-10-29_06:2014-10-28,2014-10-29,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1408290000 definitions=main-1410290156 Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Subject: Re: urtwn(4) Random freezes, urtwn_getbuf: out of xmit buffers From: Rui Paulo In-reply-to: <1414525275.43009.3.camel@bruno> Date: Wed, 29 Oct 2014 08:50:23 -0700 Content-transfer-encoding: quoted-printable Message-id: <87B376C9-72D1-41D8-868C-45908D642CA1@me.com> References: <1414525275.43009.3.camel@bruno> To: sbruno@freebsd.org X-Mailer: Apple Mail (2.1990.1) 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: Wed, 29 Oct 2014 15:50:29 -0000 On Oct 28, 2014, at 12:41, Sean Bruno wrote: >=20 > 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. >=20 > hw.usb.urtwn.debug: 1 >=20 > 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 That means the firmware is stuck and is holding transmit buffers, so we = have no more in the unused list. > Additionally, I get the following at module load time: >=20 > urtwn0: > on usbus0 > urtwn0: could not read efuse byte at address 0x10 > urtwn0: could not read efuse byte at address 0x18 I'm not sure what this is. -- Rui Paulo