From owner-freebsd-current@FreeBSD.ORG Mon Sep 21 03:06:47 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 D3E051065670 for ; Mon, 21 Sep 2009 03:06:47 +0000 (UTC) (envelope-from crossd@cs.rpi.edu) Received: from cliffclavin.cs.rpi.edu (cliffclavin.cs.rpi.edu [128.213.1.9]) by mx1.freebsd.org (Postfix) with ESMTP id 74B748FC08 for ; Mon, 21 Sep 2009 03:06:47 +0000 (UTC) X-SMTP-From: cpe-72-226-79-217.nycap.res.rr.com [72.226.79.217] ([10.1.2.195]) {United States} DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=cs.rpi.edu; h= subject:from:to:content-type:date:message-id:mime-version: content-transfer-encoding; s=default; i=crossd@cs.rpi.edu; t= 1253500299; x=1254105099; l=841; bh=ZsW5mTUz6MShO1AWNv7BH54T2B4= ; b=hflIO7GpGKDO7vANxj4daAZOYIfXAS/7CghoJkI5RFC3Crq8HWRyr4yFPWLE xPXB9gyrOlJBhpzzi/FAfx3xUTV+8QT34N41yA9Cm3XbIIA4ZUKLSkKV4Z9vhFwv 4fODtJ7C00MJIksmvkFLrHRr7t1CaKkUzNpjpEz/y+2+sh0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cs.rpi.edu; h=subject:from:to: content-type:date:message-id:mime-version: content-transfer-encoding; q=dns; s=default; b=HhJWTO2Zr8D8zNhv6 Abgzlewhmmd9MiLw5rp1wLAAKtsh/yopnTMHCXFQHIqSQG1F4Lbbo9ZouFFDYPA2 hz6Z6Tl3lzK8Hlpy6eQlROVHpFfJaEqKKj6bCyaC9CPOIv/OWsRTqlADQjpc3ouh hi5Xs1nkZABcX5vsgSjrcMalec= Authentication-Results: cliffclavin.cs.rpi.edu; DKIM=neutral (none) header.from=crossd@cs.rpi.edu; SPF=neutral (mfrom; Mechanism '?all' matched) smtp.mail=crossd@cs.rpi.edu X-Auth-Passed: cliffclavin.cs.rpi.edu:n8L2VNpg066257 Auth:crossd Received: from [10.1.2.195] (cpe-72-226-79-217.nycap.res.rr.com [72.226.79.217]) (authenticated bits=0) by cliffclavin.cs.rpi.edu (8.14.3/8.13.6) with ESMTP id n8L2VNpg066257 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 20 Sep 2009 22:31:39 -0400 (EDT) From: "David E. Cross" To: freebsd-current@freebsd.org Content-Type: text/plain Date: Sun, 20 Sep 2009 22:33:59 -0400 Message-Id: <1253500439.24101.8.camel@kagome> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 128.213.1.9 Subject: 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 03:06:47 -0000 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). -- David E. Cross