[urtw] Wifi link dying randomly. reboot required to reconnect.
Chuck Burns
break19 at gmail.com
Wed Oct 5 02:03:53 UTC 2011
On Tuesday, October 04, 2011 8:31:02 PM you wrote:
> Hi,
<snip>
> could you report that panic, please ?
Well.. if I could get the dump to actually happen, I could report it
correctly, as it is, I will likely just have to take a picture of the screen
when it happens again, although the last few times the driver dies, I simply
restart the machine, so no panic, but I'll let it panic the next time, and
take a picture with a digital camera if I have to..
<snip some more>
> 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 = 0x00000001, /* basic xmit operation */
> URTW_DEBUG_RECV = 0x00000002, /* basic recv operation */
> URTW_DEBUG_RESET = 0x00000004, /* reset processing */
> URTW_DEBUG_TX_PROC = 0x00000008, /* tx ISR proc */
> URTW_DEBUG_RX_PROC = 0x00000010, /* rx ISR proc */
> URTW_DEBUG_STATE = 0x00000020, /* 802.11 state transitions */
> URTW_DEBUG_STAT = 0x00000040, /* statistic */
> URTW_DEBUG_INIT = 0x00000080, /* initialization of dev */
> URTW_DEBUG_TXSTATUS = 0x00000100, /* tx status */
> URTW_DEBUG_ANY = 0xffffffff
> };
>
> to see if anything useful pops up ?
>
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.
Thanks,
Chuck
More information about the freebsd-net
mailing list