From owner-freebsd-wireless@FreeBSD.ORG Fri Oct 14 04:11:04 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC1551065673 for ; Fri, 14 Oct 2011 04:11:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8B08D8FC16 for ; Fri, 14 Oct 2011 04:11:04 +0000 (UTC) Received: by ggeq3 with SMTP id q3so948233gge.13 for ; Thu, 13 Oct 2011 21:11:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2iR17ml2qP4JYc+2kdKIPpDaDGUmz9T1sF6MuJHLPAE=; b=g65rNgUypmtQOlj02xycQJsD+ps38quu3MdpvsfFuJ3tnToK7mBhSXf9esWsHm2L/b /mi80TGuK4RmDjdiN+P0RwBZTqBHLxkOMYYWi+YX/ANElKUKuqNTckfYp4IoO4dTcC9a t1i033Oy8F44uLa4QQ0Prok3Xbi0orxBk3t/8= MIME-Version: 1.0 Received: by 10.236.197.69 with SMTP id s45mr9022004yhn.54.1318565463906; Thu, 13 Oct 2011 21:11:03 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.236.109.167 with HTTP; Thu, 13 Oct 2011 21:11:03 -0700 (PDT) In-Reply-To: <957EB052144AA64AB39F7AB268783201022FA3E653@VA3DIAXVS881.RED001.local> References: <957EB052144AA64AB39F7AB268783201022FA3E653@VA3DIAXVS881.RED001.local> Date: Fri, 14 Oct 2011 12:11:03 +0800 X-Google-Sender-Auth: kHgzp2kKmomZYSwcBfb2hiJKtzI Message-ID: From: Adrian Chadd To: Edgar Martinez Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: LOR - COM LOCK X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2011 04:11:04 -0000 On 11 October 2011 23:49, Edgar Martinez wrote: > Kernel page fault with the following non-sleepable locks held: > exclusive sleep mutex ath1_scan_lock (ath1_scan_lock) r =3D 0 (0xc5912778= ) locked @ /usr/src/sys/net80211/ieee80211_node.c:2158 Right, the "lock held" isn't important though. What's the actual panic. > Fatal trap 12: page fault while in kernel mode > fault virtual address =A0 =3D 0xc5c83008 > fault code =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D supervisor read, page not prese= nt > instruction pointer =A0 =A0 =3D 0x20:0xc06520ac > stack pointer =A0 =A0 =A0 =A0 =A0 =3D 0x28:0xcead8964 > frame pointer =A0 =A0 =A0 =A0 =A0 =3D 0x28:0xcead8974 > code segment =A0 =A0 =A0 =A0 =A0 =A0=3D base 0x0, limit 0xfffff, type 0x1= b > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D DPL 0, pres 1, def32 1= , gran 1 > processor eflags =A0 =A0 =A0 =A0=3D interrupt enabled, resume, IOPL =3D 0 > current process =A0 =A0 =A0 =A0 =3D 75563 (hostapd) > [ thread pid 75563 tid 100057 ] > Stopped at =A0 =A0 =A00xc06520ac =3D ieee80211_free_node_debug+0xc: =A0 = =A0 movl =A0 =A00x8(%esi),%edi Hm, in the debugger, what's "nt" ? Is it NULL? Adrian