From owner-freebsd-net@FreeBSD.ORG Wed Oct 5 02:33:42 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 B6C94106566C for ; Wed, 5 Oct 2011 02:33:42 +0000 (UTC) (envelope-from break19@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 736AA8FC12 for ; Wed, 5 Oct 2011 02:33:42 +0000 (UTC) Received: by yxk36 with SMTP id 36so1438786yxk.13 for ; Tue, 04 Oct 2011 19:33:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; bh=OwsKLtqT0Gib6+x99eKgLLf5eeWVwP0VHz3o0dvOVSQ=; b=us43TDcMUdEMn+QXz4Rg173LpCHYkYs+z+w2IRxvhi1rUKyth+qVRYvYoYjj0ntCOf 9hgt6i2hGb7BYEvMtLATalm4uTx7kVRxmGGZWsz1uQjtxe5blcEbEtt0A0mQCVlBPr4d OpjTUQpbB/a41udKR5E/u5JednQvd3pV0eMFo= Received: by 10.101.194.26 with SMTP id w26mr41420anp.135.1317782021808; Tue, 04 Oct 2011 19:33:41 -0700 (PDT) Received: from blackbeast.local (c-98-230-65-110.hsd1.al.comcast.net. [98.230.65.110]) by mx.google.com with ESMTPS id g38sm455852ann.4.2011.10.04.19.33.40 (version=SSLv3 cipher=OTHER); Tue, 04 Oct 2011 19:33:41 -0700 (PDT) From: Chuck Burns To: freebsd-net@freebsd.org Date: Tue, 4 Oct 2011 21:32:52 -0500 User-Agent: KMail/1.13.7 (FreeBSD/8.2-STABLE; KDE/4.6.5; amd64; ; ) References: <201110042008.48915.break19@gmail.com> <201110042054.33599.break19@gmail.com> In-Reply-To: <201110042054.33599.break19@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201110042132.52788.break19@gmail.com> 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 02:33:42 -0000 On Tuesday, October 04, 2011 8:54:33 PM Chuck Burns wrote: > I'm not sure how to rebuild just the module with that option URTW_DEBUG > enabled.. I'm being told by some to just add the device to my kernel config > along with the line "option URTW_DEBUG" .. but if there's a better way, let > me know please. > > Also, I suppose that means if I want the "any" I sysctl > hw.usb.urtw.debug=0xffffffff right? Still a bit green with regards to > debugging. I wound up adding "#define URTW_DEBUG" to the top of the if_urtw.c file and make install'ing the module from the proper subdirectory.. Also, upon setting the sysctl to 0xffffffff, it shows that it set the value to -1, is this correct? Chuck