From owner-freebsd-current@FreeBSD.ORG Mon Sep 21 15:56:26 2009 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 6E0D1106566C for ; Mon, 21 Sep 2009 15:56:26 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id DDF3E8FC22 for ; Mon, 21 Sep 2009 15:56:25 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id n8LFgH8j006577; Mon, 21 Sep 2009 17:42:19 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id n8LFgHBW006576; Mon, 21 Sep 2009 17:42:17 +0200 (CEST) (envelope-from marius) Date: Mon, 21 Sep 2009 17:42:17 +0200 From: Marius Strobl To: "David E. Cross" Message-ID: <20090921154217.GA6474@alchemy.franken.de> References: <1253500439.24101.8.camel@kagome> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1253500439.24101.8.camel@kagome> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: psm0: unable to allocation IRQ (solution, well workaround) 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: Mon, 21 Sep 2009 15:56:26 -0000 On Sun, Sep 20, 2009 at 10:33:59PM -0400, David E. Cross wrote: > I recently stumbled across this bug, and I have a solution to my > specific case. > > The problem is the following: > acpi_ibm0: irq 12 on acpi0 > > > _IF_, I put "device acpi_ibm" into the kernel config, disaster, psm0 is > unable to attach. > > If I "acpi_ibm_load="YES"" in /boot/loader.conf, I then get the > following: > acpi_ibm0: on acpi0 > > Note the lack of "irq12" > > Which then frees up: > > psm0: irq 12 on atkbdc0 > > > Now, psm0 maps its IRQ as RF_SHAREABLE, so it _should_ work regardless, > right? > > I'd regard this as a fairly serious bug. > > I'm really at a loss of where to track it down more, looking at the > acpi_ibm code, its pretty opaque as to how resource allocations are done > and why this would ever map irq 12 (well, at least to me). > This was probably fixed by r197350 again. Marius