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

Chuck Burns break19 at gmail.com
Wed Dec 7 02:34:21 UTC 2011


It crashed again earlier, and I have another trace for you.  My wifi
died, and I tried service netif restart. It refused to associate to
the WAP.  Unplugging the dongle then caused a kernel panic, attached
is the core.txt file from the dump.

On Mon, Dec 5, 2011 at 7:59 AM, Bernhard Schmidt <bschmidt at techwires.net> wrote:
> 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


More information about the freebsd-net mailing list