From: Ming Zhang <mingz@ele.uri.edu>
To: Matthew Wilcox <matthew@wil.cx>
Cc: Bryan Henderson <hbryan@us.ibm.com>,
Arjan van de Ven <arjan@infradead.org>,
linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: hwo to adjust interrupt?
Date: Fri, 12 Aug 2005 15:27:58 -0400 [thread overview]
Message-ID: <1123874878.5546.119.camel@localhost.localdomain> (raw)
In-Reply-To: <20050812191400.GB18979@parcelfarce.linux.theplanet.co.uk>
On Fri, 2005-08-12 at 20:14 +0100, Matthew Wilcox wrote:
> On Fri, Aug 12, 2005 at 03:05:51PM -0400, Ming Zhang wrote:
> > i tried to remove the SA_SHIRQ option when request_irq(), unfortunately
> > it seems that the IO-APIC will only try to allocate same # to it and
> > once that slot is used, the request_irq will fail.
>
> Yes. These two interrupts are physically on the same wire attached to
> the IO-APIC. You need to put the card in a different slot to change
> which interrupt it gets.
>
thanks.
i tried to move aic7xxx into another slot and now it uses 17 and 18
instead of previously 16 17.
thus my question is how many intr available in APIC? what if i have a
quad port nic card and 1-2 scsi dual port controllers on board? then
they must share anyway?
[root@sc420 root]# cat /proc/interrupts
CPU0 CPU1
0: 103368 60018 IO-APIC-edge timer
1: 80 68 IO-APIC-edge i8042
4: 7 0 IO-APIC-edge serial
8: 3 0 IO-APIC-edge rtc
9: 0 0 IO-APIC-level acpi
14: 494 0 IO-APIC-edge ide0
16: 740 0 IO-APIC-level eth1
17: 15 0 IO-APIC-level aic7xxx
18: 28 43 IO-APIC-level uhci_hcd:usb4, eth0, aic7xxx
20: 4178 179 IO-APIC-level libata
21: 0 0 IO-APIC-level ehci_hcd:usb1, uhci_hcd:usb2
22: 0 0 IO-APIC-level uhci_hcd:usb3
23: 0 0 IO-APIC-level uhci_hcd:usb5
NMI: 0 0
LOC: 163279 163330
ERR: 0
MIS: 0
prev parent reply other threads:[~2005-08-12 19:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-11 22:31 hwo to adjust interrupt? Ming Zhang
2005-08-12 7:14 ` Arjan van de Ven
2005-08-12 13:14 ` Ming Zhang
2005-08-12 16:59 ` Bryan Henderson
2005-08-12 17:04 ` Arjan van de Ven
2005-08-12 17:35 ` Bryan Henderson
2005-08-12 17:45 ` Ming Zhang
2005-08-12 17:51 ` Arjan van de Ven
2005-08-12 18:06 ` Ming Zhang
2005-08-15 18:47 ` Bryan Henderson
2005-08-15 19:06 ` Ming Zhang
2005-08-12 19:05 ` Ming Zhang
2005-08-12 19:14 ` Matthew Wilcox
2005-08-12 19:27 ` Ming Zhang [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=1123874878.5546.119.camel@localhost.localdomain \
--to=mingz@ele.uri.edu \
--cc=arjan@infradead.org \
--cc=hbryan@us.ibm.com \
--cc=linux-scsi@vger.kernel.org \
--cc=matthew@wil.cx \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox