Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2014 07:47:37 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Idwer Vollering <vidwer@gmail.com>, freebsd-usb@freebsd.org,  freebsd-wireless@freebsd.org
Cc:        hps@bitfrost.no
Subject:   Re: if_rsu hardware causes a kernel panic on removal..
Message-ID:  <537AEC79.6080406@selasky.org>
In-Reply-To: <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>
References:  <CAPp9Or=6ryhXzLCE07xOKywwQLkJ7FQ-1w8ePru6p0Cfr0FcJQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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);




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?537AEC79.6080406>