Date: Tue, 4 Oct 2011 22:41:22 -0400 From: Arnaud Lacombe <lacombar@gmail.com> To: Chuck Burns <break19@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: [urtw] Wifi link dying randomly. reboot required to reconnect. Message-ID: <CACqU3MXVH4mz%2BJ75NRVq23bNDBzyJw7xXQ6gK6aQdC-9h9SMSA@mail.gmail.com> In-Reply-To: <201110042132.52788.break19@gmail.com> References: <201110042008.48915.break19@gmail.com> <CACqU3MWJt2YX82cW9eJACJ-ALQCoTnaErnCZUWTz5EnYJKHY=w@mail.gmail.com> <201110042054.33599.break19@gmail.com> <201110042132.52788.break19@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Tue, Oct 4, 2011 at 10:32 PM, Chuck Burns <break19@gmail.com> wrote: > On Tuesday, October 04, 2011 8:54:33 PM Chuck Burns wrote: > <snip> >> 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACqU3MXVH4mz%2BJ75NRVq23bNDBzyJw7xXQ6gK6aQdC-9h9SMSA>