From owner-freebsd-usb@FreeBSD.ORG Tue Feb 21 12:20:09 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB36B16A422 for ; Tue, 21 Feb 2006 12:20:09 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C25E43D49 for ; Tue, 21 Feb 2006 12:20:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1LCK8BR079355 for ; Tue, 21 Feb 2006 12:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1LCK8vd079354; Tue, 21 Feb 2006 12:20:08 GMT (envelope-from gnats) Resent-Date: Tue, 21 Feb 2006 12:20:08 GMT Resent-Message-Id: <200602211220.k1LCK8vd079354@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Miguel Ramos Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5A5016A426 for ; Tue, 21 Feb 2006 12:18:21 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92A1C43D45 for ; Tue, 21 Feb 2006 12:18:21 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k1LCILNX058999 for ; Tue, 21 Feb 2006 12:18:21 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k1LCIKjp058998; Tue, 21 Feb 2006 12:18:21 GMT (envelope-from nobody) Message-Id: <200602211218.k1LCIKjp058998@www.freebsd.org> Date: Tue, 21 Feb 2006 12:18:21 GMT From: Miguel Ramos To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: usb/93640: device ehci causes interrupt storm on this MSI amd64 motherboard X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2006 12:20:09 -0000 >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: 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: 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: 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: 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: 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: 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: