Bug 13816
Summary: | [dg45id] using irq 18 will cause "irq 16: nobody cared" | ||
---|---|---|---|
Product: | Platform Specific/Hardware | Reporter: | Oleksij Rempel (fishor) (bug-track) |
Component: | x86-64 | Assignee: | platform_x86_64 (platform_x86_64) |
Status: | CLOSED OBSOLETE | ||
Severity: | normal | CC: | alan, mikko.rantalainen |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.30- 2.6.31-rc4 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
dmesg
lsusb lspci |
Description
Oleksij Rempel (fishor)
2009-07-23 07:31:33 UTC
Created attachment 22465 [details]
dmesg
Created attachment 22466 [details]
lsusb
Created attachment 22467 [details]
lspci
I did smole script to test haw interrupts are used: $for i in $(seq 1 1000); do cat /proc/interrupts >> test; sleep 10s; done $grep usb[3,4,5] test there is no connections on usb3. on usb4 are keyboard an mouse. on usb5 is the soundcard. ====================================================================== -------after boot. there is too match interrupts on 16, -------there is nothing connected. 16: 4276 4520 IO-APIC-fasteoi uhci_hcd:usb3 18: 2732 2598 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb5, uhci_hcd:usb8 21: 856 816 IO-APIC-fasteoi uhci_hcd:usb4 -------here i begin to play to usb sound card on usb5. 16: 12162 10987 IO-APIC-fasteoi uhci_hcd:usb3 18: 8070 7134 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb5, uhci_hcd:usb8 21: 887 875 IO-APIC-fasteoi uhci_hcd:usb4 16: 20097 17784 IO-APIC-fasteoi uhci_hcd:usb3 18: 13539 11674 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb5, uhci_hcd:usb8 21: 1003 958 IO-APIC-fasteoi uhci_hcd:usb4 ------- count of interrupts on irq 16 is almost double of irq18 16: 28083 24881 IO-APIC-fasteoi uhci_hcd:usb3 18: 19091 16130 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb5, uhci_hcd:usb8 21: 1005 968 IO-APIC-fasteoi uhci_hcd:usb4 ...... ...... 16: 94758 81082 IO-APIC-fasteoi uhci_hcd:usb3 18: 61430 53863 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb5, uhci_hcd:usb8 21: 1389 1539 IO-APIC-fasteoi uhci_hcd:usb4 16: 103141 87919 IO-APIC-fasteoi uhci_hcd:usb3 18: 66678 58625 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb5, uhci_hcd:usb8 21: 1389 1539 IO-APIC-fasteoi uhci_hcd:usb4 ------- irq 16: nobody cared, Disabling IRQ #16. 16: 107840 92161 IO-APIC-fasteoi uhci_hcd:usb3 18: 71854 63458 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb5, uhci_hcd:usb8 21: 1389 1539 IO-APIC-fasteoi uhci_hcd:usb4 16: 107840 92161 IO-APIC-fasteoi uhci_hcd:usb3 18: 76498 68823 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb5, uhci_hcd:usb8 21: 1389 1539 IO-APIC-fasteoi uhci_hcd:usb4 One day more and i lerned some 1/8 byte more. This is not about sound card low and hi speed usb devices. Normally i attach hi speed device for example to uhci_hcd:usb3 it will route connection to ehci_hcd:usb1 and all interrupts will got to IRQ 18 (on this pc).. if i attach low speed device to uhci_hcd:usb3 it no need to route some where, so it will use IRQ 16... i hope i understand it correctly. the bug is: if i attach low speed device to uhci_hcd:usb5 it will sort of broadcast connection to uhci_hcd:usb5 and uhci_hcd:usb3. And use both IRQs, 16 and 18. I can reproduce it with any low speed device attached on "ehci_hcd:usb1, uhci_hcd:usb5" |