Thread (6 messages) 6 messages, 5 authors, 2000-12-05

Re: dual IRQ 23 (was: USB?; 2.2.18 no boot?; aic7xxx?)

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2000-12-03 20:41:58

On Tue, 28 Nov 2000, Stefan Jeglinski wrote:
quoted
usb-ohci.c: USB OHCI at membase 0xd0184000, IRQ 23

already gives a clue. Question is, what else is at IRQ 23?

Michael
In both 2.2.17 and 2.2.18pre23 (bk), 6-slot PTP (9500-ish), cards are
as follows, top to bottom:

Adaptec 2940UW
Farallon ethernet 10/100
OrangeLink firewire/usb combo
Matrox Mystique card
ixMicro TV card
ixMicro Twin Turbo card [aka imstt]


lspci -vv is attached at the end. The key point is that the entry for
the Adaptec 2940UW card and the Orangelink USB card BOTH say:

	Interrupt: pin A routed to IRQ 23

Hah. So, this might explain a lot. Obviously this is why my usb mouse
only responds when there is some disk activity, and only for a
moment. It ALSO may help explain why I was having trouble booting
(kernel panic traced to aic7xxx and its call to ioremap). However,
this boot issue is still suspicious for 2 reasons:

	1. 2.2.17 lspci -vv ALSO shows same shared IRQ 23, and 2.2.17
	   never had boot problem. But it also has no USB stuff compiled in.

	2. My boot "workaround" is simply to add printk statements at
	   strategic points in the source. Boot problem solved. Weird.


At any rate, why are these 2 devices sharing an IRQ, and what can be
done about it? Thanks Michael Schmitz for giving me the first
concrete lead on this.
Shared interrupts are allowed by PCI. If it doesn't work, it means one of the
drivers (or both) can't cope with shared interrupts. The solution is to fix the
driver(s).

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help