Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Oct 2011 21:31:02 -0400
From:      Arnaud Lacombe <lacombar@gmail.com>
To:        Chuck Burns <break19@gmail.com>
Cc:        freebsd-net@freebsd.org, Weongyo Jeong <weongyo@FreeBSD.org>
Subject:   Re: [urtw] Wifi link dying randomly. reboot required to reconnect.
Message-ID:  <CACqU3MWJt2YX82cW9eJACJ-ALQCoTnaErnCZUWTz5EnYJKHY=w@mail.gmail.com>
In-Reply-To: <201110042008.48915.break19@gmail.com>
References:  <201110042008.48915.break19@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

[Added driver author, Weongyo Jeong <weongyo@FreeBSD.org>, to the CC: list]

On Tue, Oct 4, 2011 at 9:08 PM, Chuck Burns <break19@gmail.com> wrote:
> =A0have a Netgear WG111v2 - which is a RealTek 8187 based usb 802.11G don=
gle,
> 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. =A0=
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. =A0I've had this issue si=
nce 8.0
> was released, and I've also tried -current with no success at resolving t=
his
> issue.
>
could you report that panic, please ?

> As a point of note, this adapter is stable under OpenBSD, Linux, and Wind=
ows.
> 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 muc=
h
> 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     =3D 0x00000001, /* basic xmit operation */
  URTW_DEBUG_RECV     =3D 0x00000002, /* basic recv operation */
  URTW_DEBUG_RESET    =3D 0x00000004, /* reset processing */
  URTW_DEBUG_TX_PROC  =3D 0x00000008, /* tx ISR proc */
  URTW_DEBUG_RX_PROC  =3D 0x00000010, /* rx ISR proc */
  URTW_DEBUG_STATE    =3D 0x00000020, /* 802.11 state transitions */
  URTW_DEBUG_STAT     =3D 0x00000040, /* statistic */
  URTW_DEBUG_INIT     =3D 0x00000080, /* initialization of dev */
  URTW_DEBUG_TXSTATUS =3D 0x00000100, /* tx status */
  URTW_DEBUG_ANY      =3D 0xffffffff
};

to see if anything useful pops up ?

Thanks,
 - Arnaud

> _______________________________________________
> 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?CACqU3MWJt2YX82cW9eJACJ-ALQCoTnaErnCZUWTz5EnYJKHY=w>