Date: Tue, 21 Feb 2006 12:18:21 GMT From: Miguel Ramos <miguel@anjos.strangled.net> To: freebsd-gnats-submit@FreeBSD.org Subject: usb/93640: device ehci causes interrupt storm on this MSI amd64 motherboard Message-ID: <200602211218.k1LCIKjp058998@www.freebsd.org> Resent-Message-ID: <200602211220.k1LCK8vd079354@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 93640 >Category: usb >Synopsis: device ehci causes interrupt storm on this MSI amd64 motherboard >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 21 12:20:07 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Miguel Ramos >Release: RELENG_6, 6.0_RELEASE, 6.1-BETA1, amd64 and 386 versions >Organization: >Environment: >Description: Booting any FreeBSD version after 6.0 (any which includes device ehci in GENERIC) on this machine (an athlon64 laptop with an MSI motherboard), either the 386 architecture version or the amd64, causes an interrupt storm. Furthermore, this interrupt storm is not throttled by kernel interrupt storm protection, therefore the interrupt service routine starves the system, which becomes as slow as an old 386 25MHz. Perhaps this is a separate bug? vmstat -i shows that these interrupts arrive at a rate of 50000 to 70000 per second. All USB devices are detected as (generic). ohci0: <OHCI (generic) USB controller> mem 0xfbdfd000-0xfbdfdfff irq 19 at device 19.0 on pci0 ohci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xfbdfd000 ohci0: (New OHCI DeviceId=0x43741002) ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: <OHCI (generic) USB controller> on ohci0 usb0: USB revision 1.0 uhub0: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered ohci1: <OHCI (generic) USB controller> mem 0xfbdfe000-0xfbdfefff irq 19 at device 19.1 on pci0 ohci1: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xfbdfe000 ohci1: (New OHCI DeviceId=0x43751002) ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: <OHCI (generic) USB controller> on ohci1 usb1: USB revision 1.0 uhub1: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 4 ports with 4 removable, self powered ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfbdff000-0xfbdfffff irq 19 at device 19.2 on pci0 ehci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xfbdff000 ehci0: (New EHCI DeviceId=0x43731002) ehci0: [GIANT-LOCKED] usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: <EHCI (generic) USB 2.0 controller> on ehci0 usb2: USB revision 2.0 uhub2: (0x1002) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 8 ports with 8 removable, self powered >How-To-Repeat: This problem happens whenever I boot any FreeBSD version after 6.0-RELEASE, either the 386 or the amd64 architecture version. I specifically tested 6.0-RELEASE (i386 and amd64), 6.1-BETA1 (i386 and amd64), RELENG_6 (as of Feb 14 2006, i386 version), and 7.0-CURRENT February snapshot (amd64). >Fix: Removing the line that says device ehci from GENERIC and compiling the kernel, generates a working system. Otherwise, there seems to be no way of throttling the interrupt storm. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602211218.k1LCIKjp058998>