From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 Message-Id: Date: Tue, 28 Nov 2000 20:55:13 -0500 To: linuxppc-dev@lists.linuxppc.org From: Stefan Jeglinski Subject: dual IRQ 23 (was: USB?; 2.2.18 no boot?; aic7xxx?) Cc: Michael Schmitz Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: > 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. Stefan Jeglinski lspci output for 2.2.18pre23. FWIW I also note that there are numerous but subtle differences (in the + and - designations) between lspci -vv for 2.2.17 and 2.2.18pre23. Is this an issue? 00:0b.0 Host bridge: Apple Computer Inc. Bandit PowerPC host bridge (rev 03) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort+ SERR- TAbort- SERR- Region 1: Memory at 80901000 (32-bit, non-prefetchable) Expansion ROM at 80910000 [disabled] 00:0e.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 41) Subsystem: Standard Microsystems Corp [SMC]: Unknown device 2401 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- Reset- FastB2B- Capabilities: [80] Power Management version 1 Flags: PMEClk- AuxPwr- DSI- D1+ D2+ PME- Status: D0 PME-Enable- DSel=0 DScale=0 PME- Capabilities: [90] #06 [0000] 00:10.0 Class ff00: Apple Computer Inc. Grand Central I/O (rev 02) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR-