From owner-freebsd-questions@FreeBSD.ORG Tue Jul 15 13:40:45 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9861A106566C for ; Tue, 15 Jul 2008 13:40:45 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D3C528FC2C; Tue, 15 Jul 2008 13:40:43 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <487CA8DC.2090703@FreeBSD.org> Date: Tue, 15 Jul 2008 15:40:44 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Yony Yossef References: <20def4870807140902y4e5aad69r649d577fb5f5ad84@mail.gmail.com> <487BE91E.1020202@FreeBSD.org> <20def4870807150605w6e3de82eq4a999360e9b49b6c@mail.gmail.com> In-Reply-To: <20def4870807150605w6e3de82eq4a999360e9b49b6c@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: options WITNESS and locks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2008 13:40:45 -0000 Yony Yossef wrote: > Something is still unclear. All my locks are MTX_DEF type, which means > sleepable, including the one specified in the crash report (MTNIC state > semaphore). > This crash happens when I try to call bus_resource_alloc_any for a SYS_REQ > which is trying to obtain the second lock (ACPI root bus). How come my > MTX_DEF lock is being treated as as non-sleepable? MTX_DEF locks *are* non-sleepable :-) Kris