Re: psm0: unable to allocation IRQ (solution, well workaround)

From: Marius Strobl <marius_at_alchemy.franken.de>
Date: Mon, 21 Sep 2009 17:42:17 +0200
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: <IBM ThinkPad ACPI Extras> 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: <IBM ThinkPad ACPI Extras> on acpi0
> 
> Note the lack of "irq12"
> 
> Which then frees up:
> 
> psm0: <PS/2 Mouse> 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
Received on Mon Sep 21 2009 - 13:56:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:55 UTC