From owner-freebsd-usb@freebsd.org Wed May 2 07:22:41 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6699FC4613 for ; Wed, 2 May 2018 07:22:41 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6346387761 for ; Wed, 2 May 2018 07:22:41 +0000 (UTC) (envelope-from hps@selasky.org) Received: by mailman.ysv.freebsd.org (Postfix) id 24CCFFC4612; Wed, 2 May 2018 07:22:41 +0000 (UTC) Delivered-To: usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11036FC4611 for ; Wed, 2 May 2018 07:22:41 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (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 9B99B87743 for ; Wed, 2 May 2018 07:22:40 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 32F7C2602CA; Wed, 2 May 2018 09:22:33 +0200 (CEST) Subject: Re: IRQ storm on xhci0 To: Eitan Adler , usb@freebsd.org References: From: Hans Petter Selasky Message-ID: Date: Wed, 2 May 2018 09:22:25 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2018 07:22:41 -0000 On 05/02/18 06:22, Eitan Adler wrote: > On 1 May 2018 at 20:53, Eitan Adler wrote: >> Hi all, >> >> I am noticing consistently high IRQ rates on xhci0 >> >> example from vmstat -i right now: >> irq259: xhci0 2222153 1876 >> >> and this is not the highest I've seen. >> >> My understanding is that a rate of 1876/s is insane for USB devices. >> Any suggestions of what I can do to debug? >> >> Things I've tried: >> - disabling MSI interrupts >> - disabling MSI-X interrupts >> - powering off all usb devices using usbconfig >> - unplugging all USB devices >> >> One thing of note: >> My mobo has a broken USB connector resulting in one of the two front >> USB-3 ports not working. I'm guessing this is related but I'd like >> some confirmation and/or a way to bypass the issue in software. > > with insane debugging enabled: > Try to see with usbdump if any traffic is passing on xhci0. --HPS