if_rsu hardware causes a kernel panic on removal..
Idwer Vollering
vidwer at gmail.com
Tue May 20 12:13:02 UTC 2014
2014-05-20 7:47 GMT+02:00 Hans Petter Selasky <hps at selasky.org>:
> On 05/19/14 23:21, Idwer Vollering wrote:
>>
>> ..while running a kernel that has rsu_debug set to >0.
>>
>> Line 1712: "fault virtual address = 0xffff804000000000"
>> core0.txt ->
>> http://ra.openbios.org/~idwer/freebsd/fbsd_10-stable_rsu_panic_core_0.txt
>>
>> HTH,
>
>
> Hi,
>
> Does this patch make any difference?
Yes, this solves the panic.
>
> --HPS
>
> === ./if_rsu.c
> ==================================================================
> --- ./if_rsu.c (revision 266400)
> +++ ./if_rsu.c (local)
> @@ -423,8 +423,6 @@
> struct ifnet *ifp = sc->sc_ifp;
> struct ieee80211com *ic = ifp->if_l2com;
>
> - if (!device_is_attached(self))
> - return (0);
> rsu_stop(ifp, 1);
> usbd_transfer_unsetup(sc->sc_xfer, RSU_N_TRANSFER);
> ieee80211_ifdetach(ic);
>
More information about the freebsd-wireless
mailing list