From: "Michael Frank" <mhf@linuxmail.org>
To: "Bill Davidsen" <davidsen@tmr.com>, "Krzysztof Halasa" <khc@pm.waw.pl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: ACPI and ISA IRQ 9, Linux 2.4
Date: Tue, 24 Feb 2004 00:42:57 +0800 [thread overview]
Message-ID: <opr3t0pvx24evsfm@smtp.pacific.net.th> (raw)
In-Reply-To: <403A25B0.5090104@tmr.com>
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
prev parent reply other threads:[~2004-02-23 16:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=opr3t0pvx24evsfm@smtp.pacific.net.th \
--to=mhf@linuxmail.org \
--cc=davidsen@tmr.com \
--cc=khc@pm.waw.pl \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.