From owner-freebsd-net@FreeBSD.ORG Wed Oct 5 02:41:24 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 86EC8106566B for ; Wed, 5 Oct 2011 02:41:24 +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 1EFB38FC12 for ; Wed, 5 Oct 2011 02:41:23 +0000 (UTC) Received: by wwe3 with SMTP id 3so1700070wwe.31 for ; Tue, 04 Oct 2011 19:41:23 -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; bh=3PE5O73avrWFVtPSoKlpeMg4JRpZDLa1UN397xtN88Y=; b=Gme93ZHOaRnl1iQkeO6dWxgPtTdiZdRO5hIcnb0xCwF7VSOl210k2oYjrLHRJqBJlJ +eID9Ip/IGAd48g7tZURwWYGrTc7KzHzPPM+pYB+oXQjyDhm2i9W+HrqPeB7T9U8NdjE sgUwn7QCMjxILG6jF0//J0MI61ngaqkomQnSg= MIME-Version: 1.0 Received: by 10.227.153.211 with SMTP id l19mr2346617wbw.51.1317782483031; Tue, 04 Oct 2011 19:41:23 -0700 (PDT) Received: by 10.180.103.33 with HTTP; Tue, 4 Oct 2011 19:41:22 -0700 (PDT) In-Reply-To: <201110042132.52788.break19@gmail.com> References: <201110042008.48915.break19@gmail.com> <201110042054.33599.break19@gmail.com> <201110042132.52788.break19@gmail.com> Date: Tue, 4 Oct 2011 22:41:22 -0400 Message-ID: From: Arnaud Lacombe To: Chuck Burns Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-net@freebsd.org 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:41:24 -0000 Hi, On Tue, Oct 4, 2011 at 10:32 PM, Chuck Burns wrote: > 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.. > that's correct too :) > Also, upon setting the sysctl to 0xffffffff, it shows that it set the value to > -1, is this correct? > yes, the variable is exposed as being signed (-1 is encoded 0xffffffff on 32bit platform using two's complement), but accessed as a bitfield. You should now have message on the console, don't you ? Thanks, - Arnaud > Chuck > _______________________________________________ > 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" >