Date: Tue, 20 May 2014 14:13:01 +0200 From: Idwer Vollering <vidwer@gmail.com> To: Hans Petter Selasky <hps@selasky.org> Cc: hps@bitfrost.no, freebsd-wireless@freebsd.org, freebsd-usb@freebsd.org Subject: Re: if_rsu hardware causes a kernel panic on removal.. Message-ID: <CAPp9Ork4H=v%2BudbteJgjOCS9HeGUgMSCFdMOm84x8i0jr4%2BJ=w@mail.gmail.com> In-Reply-To: <537AEC79.6080406@selasky.org> References: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com> <537AEC79.6080406@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2014-05-20 7:47 GMT+02:00 Hans Petter Selasky <hps@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); >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPp9Ork4H=v%2BudbteJgjOCS9HeGUgMSCFdMOm84x8i0jr4%2BJ=w>