From owner-freebsd-net@FreeBSD.ORG Wed Oct 5 01:31:04 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4803F106566C for ; Wed, 5 Oct 2011 01:31:04 +0000 (UTC) (envelope-from lacombar@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id CD8838FC18 for ; Wed, 5 Oct 2011 01:31:03 +0000 (UTC) Received: by wwe3 with SMTP id 3so1649629wwe.31 for ; Tue, 04 Oct 2011 18:31:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=yK9YY2WIpumbQ6Dkg6+azqhzU23C1rpjKGbf+cqI+Ak=; b=WJ/A6ZXXTqFqA1kCrnpYDpYfeeSDDs9lJHGce3unaoqfOlKdMsuGC3n+vYGQWxRaRf efJKS8GJ8uNu/ARaiOwqxSXANFcOtL0/J4KrNh3VSCQwqbU8CYtSGjfFIU5ZYwUYH7Rj 3ESs9NvHFHLQLOXnA8s2folJ0DBwBVuWFWsC4= MIME-Version: 1.0 Received: by 10.227.175.77 with SMTP id w13mr2288824wbz.36.1317778262236; Tue, 04 Oct 2011 18:31:02 -0700 (PDT) Received: by 10.180.103.33 with HTTP; Tue, 4 Oct 2011 18:31:02 -0700 (PDT) In-Reply-To: <201110042008.48915.break19@gmail.com> References: <201110042008.48915.break19@gmail.com> Date: Tue, 4 Oct 2011 21:31:02 -0400 Message-ID: From: Arnaud Lacombe To: Chuck Burns Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org, Weongyo Jeong Subject: Re: [urtw] Wifi link dying randomly. reboot required to reconnect. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 05 Oct 2011 01:31:04 -0000 Hi, [Added driver author, Weongyo Jeong , to the CC: list] On Tue, Oct 4, 2011 at 9:08 PM, Chuck Burns wrote: > =A0have a Netgear WG111v2 - which is a RealTek 8187 based usb 802.11G don= gle, > and which uses the if_urtw module. > > At random intervals, my internet connection just dies, I cannot ping the = AP, > am told "Network is down" by ping. > > The LED light on the adapter will have also gone out, and in dmesg, I get > "wlan: link state changed to DOWN" and nothing I can do will restart the > connection. > > Killing wpa_supplicant and restarting it does nothing. > > I've even destroyed and recreated the wlan0 device and still nothing. =A0= The > card is effectively off, and non-responsive. > > What's worse is, I cannot remove and reinsert the adapter, because doing = so > causes a kernel panic. > > kldunload if_urtw -also- causes a kernel panic. =A0I've had this issue si= nce 8.0 > was released, and I've also tried -current with no success at resolving t= his > issue. > could you report that panic, please ? > As a point of note, this adapter is stable under OpenBSD, Linux, and Wind= ows. > It is only under FreeBSD and Solaris(OI, OSOL, and SolExpress10/11) that = this > issue exists... > > If anyone has any ideas for things to try, I am willing to try pretty muc= h > anything to get this resolved. > can you try to rebuild the module with URTW_DEBUG enabled, then set hw.usb.urtw.debug to any of the state in the following enum: enum { URTW_DEBUG_XMIT =3D 0x00000001, /* basic xmit operation */ URTW_DEBUG_RECV =3D 0x00000002, /* basic recv operation */ URTW_DEBUG_RESET =3D 0x00000004, /* reset processing */ URTW_DEBUG_TX_PROC =3D 0x00000008, /* tx ISR proc */ URTW_DEBUG_RX_PROC =3D 0x00000010, /* rx ISR proc */ URTW_DEBUG_STATE =3D 0x00000020, /* 802.11 state transitions */ URTW_DEBUG_STAT =3D 0x00000040, /* statistic */ URTW_DEBUG_INIT =3D 0x00000080, /* initialization of dev */ URTW_DEBUG_TXSTATUS =3D 0x00000100, /* tx status */ URTW_DEBUG_ANY =3D 0xffffffff }; to see if anything useful pops up ? Thanks, - Arnaud > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >