On Mon, 10 May 2004, Bartosz Taudul wrote:
> Hi,
> Firstly, the bug report entry in FAQ is at least confusing. It says
> "post to the right mailing list". But which mailing list is the right
> one to post bugs?
Did you read the whole answer? It also says "You should send this
information to the user/help mailing list."
I'm not sure I know how a driver could effect the number of interupts that
get sent by hardware (I guess it could somehow misconfigure a device).
Have you tried with noapic, or do you need that?
> My problem is that when ehci_hcd module is loaded, 30-40% of processor
> time is spent in hard interrupt handlers ('hi' field in top). I've got
> no usb 2.0 compliant devices connected.
>
> [19:19 [EMAIL PROTECTED]:~]% cat /proc/interrupts
> CPU0
> 0: 3244132 XT-PIC timer
> 1: 10598 IO-APIC-edge i8042
> 8: 2 IO-APIC-edge rtc
> 9: 0 IO-APIC-level acpi
> 12: 139918 IO-APIC-edge i8042
> 14: 17658 IO-APIC-edge ide0
> 15: 57 IO-APIC-edge ide1
> 177: 48 IO-APIC-level ohci_hcd
> 185: 0 IO-APIC-level ohci_hcd
> 193: 119760594 IO-APIC-level ehci_hcd
> 217: 1619 IO-APIC-level EMU10K1, eth1
> 225: 9650 IO-APIC-level eth0
> NMI: 0
> LOC: 3244005
> ERR: 0
> MIS: 0
>
> System is running for one hour and ehci_hcd has been loaded for 10
> minutes only. It's clear that amount of interrupts is way beyond normal.
>
> Furthermore, sometimes (but very rarely) my printer is not detected
> until ehci_hcd is loaded. Normally it works fine with only ohci_hcd
> module loaded.
>
> My system specs:
> soltek sl-75frnl motherboard, nforce2 chipset,
> vanilla 2.6.6 kernel compiled with gcc 3.4.0 (bug appeared also on older
> kernels and gccs'), local APIC and IO-APIC enabled.
>
>
> [19:19 [EMAIL PROTECTED]:~]% cat /proc/bus/usb/devices
> T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6
> B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
> D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1
> P: Vendor=0000 ProdID=0000 Rev= 2.06
> S: Manufacturer=Linux 2.6.6 ehci_hcd
> S: Product=EHCI Host Controller
> S: SerialNumber=0000:00:02.2
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
> E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms
>
> T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
> B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
> D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=0000 ProdID=0000 Rev= 2.06
> S: Manufacturer=Linux 2.6.6 ohci_hcd
> S: Product=OHCI Host Controller
> S: SerialNumber=0000:00:02.1
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
> E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
>
> T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
> B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
> D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=0000 ProdID=0000 Rev= 2.06
> S: Manufacturer=Linux 2.6.6 ohci_hcd
> S: Product=OHCI Host Controller
> S: SerialNumber=0000:00:02.0
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
> E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
>
> T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
> D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=03f0 ProdID=7304 Rev= 1.00
> S: Manufacturer=hp
> S: Product=deskjet 3500
> S: SerialNumber=TH374140YN76
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
> I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
> E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
>
>
> [19:21 [EMAIL PROTECTED]:~]% s lspci -v (cut all non-usb related devices)
> 00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a3) (prog-if
> 10 [OHCI])
> Subsystem: nVidia Corporation: Unknown device 0c11
> Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 177
> Memory at db001000 (32-bit, non-prefetchable) [size=4K]
> Capabilities: [44] Power Management version 2
>
> 00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a3) (prog-if
> 10 [OHCI])
> Subsystem: nVidia Corporation: Unknown device 0c11
> Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 185
> Memory at db002000 (32-bit, non-prefetchable) [size=4K]
> Capabilities: [44] Power Management version 2
>
> 00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a3) (prog-if
> 20 [EHCI])
> Subsystem: nVidia Corporation: Unknown device 0c11
> Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 193
> Memory at db003000 (32-bit, non-prefetchable) [size=256]
> Capabilities: [44] #0a [2080]
> Capabilities: [80] Power Management version 2
>
>
> dmesg output after loading ehci_hcd:
> ehci_hcd 0000:00:02.2: EHCI Host Controller
> PCI: Setting latency timer of device 0000:00:02.2 to 64
> ehci_hcd 0000:00:02.2: irq 193, pci mem e09c0000
> ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 3
> PCI: cache line size of 64 is not supported by device 0000:00:02.2
> ehci_hcd 0000:00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29
> hub 3-0:1.0: USB hub found
> hub 3-0:1.0: 6 ports detected
> usb 1-2: USB disconnect, address 3
> drivers/usb/class/usblp.c: usblp0: removed
> usb 1-2: new full speed USB device using address 4
> drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto
> 2 vid 0x03F0 pid 0x7304
>
> wolf
>
--
/------------------------------------+-------------------------\
|Stephen J. Gowdy | SLAC, MailStop 34, |
|http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road, |
|http://calendar.yahoo.com/gowdy | Menlo Park CA 94025, USA |
|EMail: [EMAIL PROTECTED] | Tel: +1 650 926 3144 |
\------------------------------------+-------------------------/
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel