* ACPI and ISA IRQ 9, Linux 2.4 @ 2004-02-19 1:19 Krzysztof Halasa 2004-02-23 16:09 ` Bill Davidsen 0 siblings, 1 reply; 3+ messages in thread From: Krzysztof Halasa @ 2004-02-19 1:19 UTC (permalink / raw) To: linux-kernel Hi, I think this is a known problem, but I don't know how to fix it: I have a dual Pentium-2 machine (non-SCSI Asus P2B-D), latest BIOS with ACPI etc. It has an ISA card (serial port) using IRQ 9 (I can't change the IRQ). It works fine without ACPI, Linux 2.4 lists IRQ 9 as APIC edge-triggered. With acpi=force (due to BIOS date) IRQ 9 is used by ACPI. /proc/interrupts lists it as APIC level-triggered, and the ISA card no longer generates interrupts. IRQ 9 is set to "ISA" in BIOS setup. acpi_irq_isa=9 doesn't help. Is is possible to fix it? Or is it just impossible to use ISA IRQ 9 with ACPI? More details available on request, of course. -- Krzysztof Halasa, B*FH ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ACPI and ISA IRQ 9, Linux 2.4 2004-02-19 1:19 ACPI and ISA IRQ 9, Linux 2.4 Krzysztof Halasa @ 2004-02-23 16:09 ` Bill Davidsen 2004-02-23 16:42 ` Michael Frank 0 siblings, 1 reply; 3+ messages in thread From: Bill Davidsen @ 2004-02-23 16:09 UTC (permalink / raw) To: Krzysztof Halasa; +Cc: linux-kernel Krzysztof Halasa wrote: > Hi, > > I think this is a known problem, but I don't know how to fix it: > > I have a dual Pentium-2 machine (non-SCSI Asus P2B-D), latest BIOS with > ACPI etc. It has an ISA card (serial port) using IRQ 9 (I can't change > the IRQ). It works fine without ACPI, Linux 2.4 lists IRQ 9 as > APIC edge-triggered. > > With acpi=force (due to BIOS date) IRQ 9 is used by ACPI. /proc/interrupts > lists it as APIC level-triggered, and the ISA card no longer generates > interrupts. > > IRQ 9 is set to "ISA" in BIOS setup. acpi_irq_isa=9 doesn't help. > > Is is possible to fix it? Or is it just impossible to use ISA IRQ 9 > with ACPI? > > More details available on request, of course. I have a similar problem, and my aha1520 can't be moved off irq9 without cutting traces on the system board. How bad is it without ACPI at all? I tried that for a while, and several other things didn't work, and it looks as if the aha1520 driver won't share irq anyway, and something else (I forget) wants that irq as well. I boot into 2.4 to do backups, fortunately the only thing on the SCSI. -- bill davidsen <davidsen@tmr.com> CTO TMR Associates, Inc Doing interesting things with small computers since 1979 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ACPI and ISA IRQ 9, Linux 2.4 2004-02-23 16:09 ` Bill Davidsen @ 2004-02-23 16:42 ` Michael Frank 0 siblings, 0 replies; 3+ messages in thread From: Michael Frank @ 2004-02-23 16:42 UTC (permalink / raw) To: Bill Davidsen, Krzysztof Halasa; +Cc: linux-kernel On Mon, 23 Feb 2004 11:09:20 -0500, Bill Davidsen <davidsen@tmr.com> wrote: > Krzysztof Halasa wrote: >> Hi, >> >> I think this is a known problem, but I don't know how to fix it: >> >> I have a dual Pentium-2 machine (non-SCSI Asus P2B-D), latest BIOS with >> ACPI etc. It has an ISA card (serial port) using IRQ 9 (I can't change >> the IRQ). It works fine without ACPI, Linux 2.4 lists IRQ 9 as >> APIC edge-triggered. >> >> With acpi=force (due to BIOS date) IRQ 9 is used by ACPI. /proc/interrupts >> lists it as APIC level-triggered, and the ISA card no longer generates >> interrupts. >> >> IRQ 9 is set to "ISA" in BIOS setup. acpi_irq_isa=9 doesn't help. >> >> Is is possible to fix it? Or is it just impossible to use ISA IRQ 9 >> with ACPI? >> >> More details available on request, of course. > > I have a similar problem, and my aha1520 can't be moved off irq9 without > cutting traces on the system board. How bad is it without ACPI at all? I > tried that for a while, and several other things didn't work, and it > looks as if the aha1520 driver won't share irq anyway, and something > else (I forget) wants that irq as well. > > I boot into 2.4 to do backups, fortunately the only thing on the SCSI. > > Try to reduce or eliminate IRQ sharing. See also Documentation/kernel-parameters.txt acpi_irq_balance essentially disables PCI IRQ sharing as long as there are enough IRQs available . acpi_irq_pci adds IRQs to the list of IRQs allocatable to PCI. acpi_irq_isa adds IRQs to the list of IRQs allocatable to ISA. If you have unused ISA IRQs, in particular 3,4,5,6,7 such as HW wo serial, printer and ancient sound and need IRQ9 on isa, put this on the kernel command line: acpi_irq_balance acpi_irq_pci=3,4,5,6,7 acpi_irq_isa=9 Adjust the lists of IRQs to suit your HW, eg if you got ttyS0 on ISA take out IRQ4 on PCI and move it to the ISA side. Hopefully with a bit of experimenting the problems mentioned can be solved. For testing it is suggested to also put init=/bin/sh on the command line to avoid a full boot. I like to use the opportunity to thank Len Brown to have implemented these functions which greatly enhance the flexibility of ACPI IRQ management :) Regards Michael ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-02-23 16:43 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2004-02-19 1:19 ACPI and ISA IRQ 9, Linux 2.4 Krzysztof Halasa 2004-02-23 16:09 ` Bill Davidsen 2004-02-23 16:42 ` Michael Frank
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox