[urtw] Wifi link dying randomly. reboot required to reconnect.

Bernhard Schmidt bschmidt at techwires.net
Mon Dec 5 14:00:02 UTC 2011


On Mon, Dec 5, 2011 at 14:44, Chuck Burns <break19 at gmail.com> wrote:
> freebeast dumped core - see /var/crash/vmcore.0
> Sun Dec  4 14:58:49 CST 2011
> FreeBSD freebeast 10.0-CURRENT FreeBSD 10.0-CURRENT #4 r228221: Sat
> Dec  3 09:10:37 CST 2011
> toor at freebeast:/usr/obj/usr/src/sys/GENERIC  amd64
> panic:
> ..
> #9  0xffffffff8092f692 in node_free (ni=0xffffff8003565000)
>    at ieee80211_ratectl.h:84
> #10 0xffffffff8071634b in urtw_free_data_list (sc=Variable "sc" is not
> available.
> )
>    at /usr/src/sys/dev/usb/wlan/if_urtw.c:989
> #11 0xffffffff8071bf75 in urtw_detach (dev=0xfffffe0005b22a00)
>    at /usr/src/sys/dev/usb/wlan/if_urtw.c:957
> #12 0xffffffff80868d54 in device_detach (dev=0xfffffe0005b22a00)
>    at device_if.h:214
> #13 0xffffffff806df6a8 in usb_detach_device (udev=0xfffffe0005b19000,
>    iface_index=32 ' ', flag=Variable "flag" is not available.
> ) at /usr/src/sys/dev/usb/usb_device.c:1062
> #14 0xffffffff806dffc4 in usb_unconfigure (udev=0xfffffe0005b19000,
> flag=Variable "flag" is not available.

ni/vap does no longer exist at that point because it has been free'd
before. How about attached patch?

-- 
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: urtw.diff
Type: text/x-diff
Size: 526 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20111205/ee852b65/urtw.bin


More information about the freebsd-net mailing list