if_rsu hardware causes a kernel panic on removal..

Hans Petter Selasky hps at selasky.org
Tue May 20 05:46:54 UTC 2014


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?

--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-usb mailing list