[urtw] Wifi link dying randomly. reboot required to reconnect.
Arnaud Lacombe
lacombar at gmail.com
Wed Oct 5 01:31:04 UTC 2011
Hi,
[Added driver author, Weongyo Jeong <weongyo at FreeBSD.org>, to the CC: list]
On Tue, Oct 4, 2011 at 9:08 PM, Chuck Burns <break19 at gmail.com> wrote:
> have a Netgear WG111v2 - which is a RealTek 8187 based usb 802.11G dongle,
> and which uses the if_urtw module.
>
> At random intervals, my internet connection just dies, I cannot ping the AP,
> am told "Network is down" by ping.
>
> The LED light on the adapter will have also gone out, and in dmesg, I get
> "wlan: link state changed to DOWN" and nothing I can do will restart the
> connection.
>
> Killing wpa_supplicant and restarting it does nothing.
>
> I've even destroyed and recreated the wlan0 device and still nothing. The
> card is effectively off, and non-responsive.
>
> What's worse is, I cannot remove and reinsert the adapter, because doing so
> causes a kernel panic.
>
> kldunload if_urtw -also- causes a kernel panic. I've had this issue since 8.0
> was released, and I've also tried -current with no success at resolving this
> issue.
>
could you report that panic, please ?
> As a point of note, this adapter is stable under OpenBSD, Linux, and Windows.
> It is only under FreeBSD and Solaris(OI, OSOL, and SolExpress10/11) that this
> issue exists...
>
> If anyone has any ideas for things to try, I am willing to try pretty much
> anything to get this resolved.
>
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 ?
Thanks,
- Arnaud
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>
More information about the freebsd-net
mailing list