hello,
i've been working with johannes erdfelt in fixing a problem with usb on
my machine. it's a dual pentium 3 system on a tyan tiger 133 mobo (via
apollo pro 133a chipset). basically, usb works when i don't enable smp
or when i disable apic on smp-enabled kernels. he believes that we're
seeing a pci irq routing problem and that i should contact martin mares
about this problem. (i've written him a couple times, but have heard
nothing, so i figure he's either away, busy, or whatnot and i thought
i'd try lkml for help.)
i have an ethernet card on my system and it shares an irq with usb-uhci.
in this state, i see interrupts for the irq eth0 and usb-uhci
share. when i remove the ethernet card, i get this in /proc/interrupts:
CPU0 CPU1
0: 37124 19379 IO-APIC-edge timer
1: 146 84 IO-APIC-edge keyboard
2: 0 0 XT-PIC cascade
8: 1 0 IO-APIC-edge rtc
14: 1640 1910 IO-APIC-edge ide0
15: 1 1 IO-APIC-edge ide1
16: 29 28 IO-APIC-level ide2
18: 26 27 IO-APIC-level aic7xxx
19: 0 0 IO-APIC-level usb-uhci
NMI: 56419 56419
LOC: 56392 56403
ERR: 0
from this, je thought that this was a pci irq routing problem and not a
usb problem.
because of this, running an smp-enabled kernel with apic enabled yields
the "device not accepting new address" error on startup (usb is compiled
into my kernel, so i'm not sure what part is actually triggering the
error) and none of the usb devices work. (yes, i've checked the mps and
tried both 1.1 and 1.4.) if i disable apic or don't use an smp-enabled
kernel, everything works fine. this has been happening for quite a
while, at least since 2.4.0test9, right up to test13-pre3.
i really don't know what kind of information would be useful for
debugging this problem. i don't know much about kernel programming, but
i am more than willing to try any kind of patch or give any information
about my system that could help squash this bug. it's a problem that
quite a few people on the linux-usb list are complaining about (all, it
seems, have this via chipset). please let me know if there's any more
info i can provide, i'm more than happy to help.
thanks,
pete
--
Pete Toscano p:[email protected] w:[email protected]
GPG fingerprint: D8F5 A087 9A4C 56BB 8F78 B29C 1FF0 1BA7 9008 2736
On Wed, Dec 20, 2000 at 02:06:12PM -0500, Pete Toscano wrote:
> hello,
>
> i've been working with johannes erdfelt in fixing a problem with usb
> on my machine. it's a dual pentium 3 system on a tyan tiger 133 mobo
> (via apollo pro 133a chipset). basically, usb works when i don't
> enable smp or when i disable apic on smp-enabled kernels. he believes
> that we're seeing a pci irq routing problem and that i should contact
> martin mares about this problem. (i've written him a couple times,
> but have heard nothing, so i figure he's either away, busy, or whatnot
> and i thought i'd try lkml for help.)
I have this same exact motherboard (graciously donated by someone for me
to try to help solve this problem) and the same exact problem.
I don't have any shared interrupts, but the USB subsystem is not getting
any interrupts through to it.
Attached is my kernel startup log with DEBUG enabled in pci.c. This is
for 2.4.0-test12 as I haven't seen any pci changes in the test13-pre
series yet. 2.2.18 also has the same problem.
If anyone needs any other information, or can suggest anything else,
please let me know.
thanks,
greg k-h
--
greg@(kroah|wirex).com