From owner-freebsd-current@FreeBSD.ORG Fri Dec 14 14:24:44 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92CCA16A419 for ; Fri, 14 Dec 2007 14:24:44 +0000 (UTC) (envelope-from kevlo@kevlo.org) Received: from ns.kevlo.org (kevlo.org [220.128.136.52]) by mx1.freebsd.org (Postfix) with ESMTP id 0E1A013C447 for ; Fri, 14 Dec 2007 14:24:43 +0000 (UTC) (envelope-from kevlo@kevlo.org) Received: from [127.0.0.1] (kevlo.org [220.128.136.52]) (authenticated bits=0) by ns.kevlo.org (8.14.1/8.14.1) with ESMTP id lBEDqaMk010235; Fri, 14 Dec 2007 21:52:42 +0800 (CST) (envelope-from kevlo@kevlo.org) From: Kevin Lo To: Leonardo Midolo In-Reply-To: <1197629943.6054.5.camel@leo-laptop.homeunix.net> References: <1196593676.6051.19.camel@leo-laptop.homeunix.net> <20071213070051.GA52728@freebsd.weongyo.org> <1197629943.6054.5.camel@leo-laptop.homeunix.net> Content-Type: multipart/mixed; boundary="=-vxePk/qQXnAban4Tt0vf" Date: Fri, 14 Dec 2007 21:53:12 +0800 Message-Id: <1197640392.6307.3.camel@monet> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Cc: freebsd-current@freebsd.org Subject: Re: Panic 7.0 BETA-3 (page fault) using D-Link DWL-G122 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Dec 2007 14:24:44 -0000 --=-vxePk/qQXnAban4Tt0vf Content-Type: text/plain Content-Transfer-Encoding: 7bit Leonardo Midolo wrote: > Thanks for your reply, > I downloaded the if_rum.c rev 1.15 and recompiled the kernel (BETA-3, 2 > dec). I still get a page fault: Please try attached patch, thanks. > Thanks, > best regards. > > Leonardo Midolo Kevin --=-vxePk/qQXnAban4Tt0vf Content-Disposition: attachment; filename=patch-if_rum.c Content-Type: text/x-patch; name=patch-if_rum.c; charset=UTF-8 Content-Transfer-Encoding: 7bit --- if_rum.c.orig 2007-12-14 21:37:20.000000000 +0800 +++ if_rum.c 2007-12-14 21:45:46.000000000 +0800 @@ -839,6 +839,9 @@ struct rum_softc *sc = data->sc; struct ifnet *ifp = sc->sc_ic.ic_ifp; + if (!priv) + return; + if (data->m != NULL && data->m->m_flags & M_TXCB) ieee80211_process_callback(data->ni, data->m, 0/*XXX*/); --=-vxePk/qQXnAban4Tt0vf--