From owner-freebsd-usb@freebsd.org Sun Oct 23 03:47:44 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A004AC13A0B for ; Sun, 23 Oct 2016 03:47:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 851F4C4 for ; Sun, 23 Oct 2016 03:47:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u9N3liTJ010466 for ; Sun, 23 Oct 2016 03:47:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 213713] xhci and ehci interrupt storms Date: Sun, 23 Oct 2016 03:47:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jailbird@fdf.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Oct 2016 03:47:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213713 Bug ID: 213713 Summary: xhci and ehci interrupt storms Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: usb Assignee: freebsd-usb@FreeBSD.org Reporter: jailbird@fdf.net CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org Created attachment 176069 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D176069&action= =3Dedit output from dmesg, vmstat -i, usbconfig, and debug sysctls I have 2 Lenovo ThinkServer RD450 machines that are pretty much identical: Intel Haswell Xeon E5-2630 CPUs 2 SD cards in internal SD/USB adapters in a ZFS mirror for booting 6 4TB Hitachi SAS drives (ZFS "RAID-10") 2 200GB Seagate SAS SSDs (1 SLOG, 1 L2ARCH) These used to work perfectly probably around 10 months ago using then -CURR= ENT (which was 11.x before the first BETAs/RCs). Since then they've pretty much been powered off and I'm trying to revive them. So far I've tried both 11-STABLE and 12-CURRENT. Under both of them, sometimes booting dies as the= USB bus the SD adapters are on time out, which keeps the kernel from finding the boot devices. Other times everything works, however both the xhci0 and ehc= i0 interrupts receive over ~250k interrupts/second. If I disable XHCI in the = UEFI firmware, the xhci0 interrupts obviously stop, but the ehci0 ones are unchanged. As I said, I don't recall this happening before, so it's either= a change that happened in the kernel, or it's something introduced by an UEFI update (I'm on the latest that was released about a month ago). UEFI settings that might be relevant: PCI/PCIE Settings SR-IOV Tech Support - Enabled ARI Support - Enabled Above 4GB Decoding - Enabled ASPM Support - Auto USB Settings Legacy USB Support - Disabled Port 60/64 Emulation - Disabled XHCI - Enabled Miscellaneous Settings X2APIC - Enabled (toggling this doesn't seem to change the issue) dmesg, 'vmstat -i', usbconfig, and output from setting hw.usb.debug, hw.usb.ehci.debug, and hw.usb.xhci.debug are attached. I got this all off of the 11-STABLE host booted off LiveUSB, so it will hav= e an extra device listed. The 12-CURRENT host *NOT* booted off of LiveUSB (so without the extra device) has the same issues. --=20 You are receiving this mail because: You are the assignee for the bug.=