Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Oct 2011 20:54:33 -0500
From:      Chuck Burns <break19@gmail.com>
To:        Arnaud Lacombe <lacombar@gmail.com>
Subject:   Re: [urtw] Wifi link dying randomly. reboot required to reconnect.
Message-ID:  <201110042054.33599.break19@gmail.com>
Resent-Message-ID: <201110042103.04675.break19@gmail.com>
In-Reply-To: <CACqU3MWJt2YX82cW9eJACJ-ALQCoTnaErnCZUWTz5EnYJKHY=w@mail.gmail.com>
References:  <201110042008.48915.break19@gmail.com> <CACqU3MWJt2YX82cW9eJACJ-ALQCoTnaErnCZUWTz5EnYJKHY=w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110042054.33599.break19>