From owner-freebsd-usb@freebsd.org Sun Apr 29 21:01:39 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 E3155FB87F6 for ; Sun, 29 Apr 2018 21:01:38 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.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 65CD370B36 for ; Sun, 29 Apr 2018 21:01:38 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 24F07FB87ED; Sun, 29 Apr 2018 21:01:38 +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 12CD5FB87EC for ; Sun, 29 Apr 2018 21:01:38 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8ED5370B12 for ; Sun, 29 Apr 2018 21:01:37 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id BC1401F29D for ; Sun, 29 Apr 2018 21:01:36 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3TL1a9k055356 for ; Sun, 29 Apr 2018 21:01:36 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3TL1aNh055355 for usb@FreeBSD.org; Sun, 29 Apr 2018 21:01:36 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201804292101.w3TL1aNh055355@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: usb@FreeBSD.org Subject: Problem reports for usb@FreeBSD.org that need special attention Date: Sun, 29 Apr 2018 21:01:36 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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: Sun, 29 Apr 2018 21:01:39 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 200938 | service moused restart required after resume from Open | 213877 | xhci reset causes panic on SuperMicro A1SRi-2758F In Progress | 200938 | service moused restart required after resume from 3 problems total for which you should take action. From owner-freebsd-usb@freebsd.org Wed May 2 03:54:04 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 C1157FC0C30 for ; Wed, 2 May 2018 03:54:04 +0000 (UTC) (envelope-from lists@eitanadler.com) 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 5781783148 for ; Wed, 2 May 2018 03:54:04 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by mailman.ysv.freebsd.org (Postfix) id 17F2EFC0C2F; Wed, 2 May 2018 03:54:04 +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 05730FC0C2E for ; Wed, 2 May 2018 03:54:04 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-yw0-x230.google.com (mail-yw0-x230.google.com [IPv6:2607:f8b0:4002:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F10883147 for ; Wed, 2 May 2018 03:54:03 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by mail-yw0-x230.google.com with SMTP id h6-v6so4148726ywj.9 for ; Tue, 01 May 2018 20:54:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:from:date:message-id:subject:to; bh=ojfZjCznPI4DoHoD/1gVuuYYF/G4LwzrL+QeEMeMWkA=; b=HC4t+I784/45qIPbJHTTvp1SAB/tLP8iWgxPmxaBHlMZRGAyx7QYePIXMdQtbywhgr QC6UnaKy2TaowcwejBoR9CKlg8JKWty7xkSUKqYAl3FOmvMY+HzRqsD6SE6GLcWyyAhH yM8AzesdZB3IpdfO9UumpbhfhlQc/McUixUkA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ojfZjCznPI4DoHoD/1gVuuYYF/G4LwzrL+QeEMeMWkA=; b=on5h1TUN0xqBWNMceVzqDTejgb2NG6jhu/TwUi0E73latriMkb0QBbbok662IP+azz e3FNVImgirTHUFifHTQd/P/S7Lc72+L3KUBgfYgyOsY16cd070MfZnLWoS1eXhtbReL6 X4mL0nmtldzTa/74XLUzhXsZ4iEKOBWZi7cucPELSXI6prgDSFGgXbU7wDv/tDdWC8xS m5KstVxCU6HJOmcEE7EV1ID9QEhrKJKhAZS+H5kKUXollINJIdSY+S+ch8o47r7Hjiav lPKypcZBCLuOswWLt7wGjdthwvZcumE3qONfY4qVHxwU5GEpxW3FfvKxFVxp6mAKVDUi HBXA== X-Gm-Message-State: ALQs6tDAGVVXtNoWGH0ysXTJd1joYtMgT/kWlCTsrL5IIjHUYr/Fb4xf Q/CJsq6cSsLT58XOsETBfBLmYbBo/8GC4qMGg+8gWQ== X-Google-Smtp-Source: AB8JxZpJFTdS5DjrwZHxErTpAD96Qy2eUZ2+Oh0VMQTttKWfQlpWP7EKD7NEwo9eH0N4mTT+2zxp4WLAI31s7yDAa94= X-Received: by 2002:a81:6dd0:: with SMTP id i199-v6mr9917895ywc.141.1525233242625; Tue, 01 May 2018 20:54:02 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:c709:0:0:0:0:0 with HTTP; Tue, 1 May 2018 20:53:32 -0700 (PDT) From: Eitan Adler Date: Tue, 1 May 2018 20:53:32 -0700 Message-ID: Subject: IRQ storm on xhci0 To: usb@freebsd.org Content-Type: text/plain; charset="UTF-8" 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 03:54:04 -0000 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. -- Eitan Adler From owner-freebsd-usb@freebsd.org Wed May 2 04:23:03 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 10357FC1664 for ; Wed, 2 May 2018 04:23:03 +0000 (UTC) (envelope-from lists@eitanadler.com) 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 8803E88AEF for ; Wed, 2 May 2018 04:23:02 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by mailman.ysv.freebsd.org (Postfix) id 474D2FC1663; Wed, 2 May 2018 04:23:02 +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 24E23FC1662 for ; Wed, 2 May 2018 04:23:02 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-yb0-x22d.google.com (mail-yb0-x22d.google.com [IPv6:2607:f8b0:4002:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BF77D88AEE for ; Wed, 2 May 2018 04:23:01 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by mail-yb0-x22d.google.com with SMTP id y5-v6so4840520ybg.0 for ; Tue, 01 May 2018 21:23:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=qapHrQiMVTLG6gfep8EvL0R/IJk6D/zOCyMCB1aPZJs=; b=tevNnHU8rCCUuFNfl9sKKfwXr8z5oYIA2cR6W7DN8N8mfvBofqMrLFy7ZhmGG+rvRG brj6HfM5VmQ5XEKwpc6qEzuawVSzy9P4WPJd44CnSbDLwy1PWdX+IpYE6TOk2ZTyfqzY 1RrvdH5QICpvkYyZqM+phnm+WgFugKbvVZD/A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=qapHrQiMVTLG6gfep8EvL0R/IJk6D/zOCyMCB1aPZJs=; b=dvouieQylDsD2SCzFntY2nqijTvNlo5vC38TPKuwyieP3XRJo6NJqNERDka57VXQVX QpY4IxbSH92jk22N5e4sJH0RDk9sa4JxaDIm/911hCNXnB3Uu7ixdaByrtoF6J9tbal/ Nj1Ee9kMutWp0l5kEnVH17qhEolMl1EElVctgo5bK1yqg1xYXZCBnXEhXNS5410Gb+zy eSHC1swTVqpEMltQXrBGShSaxO3kcumvfAhhUCvQVkJP71ouiWmLAO+5/OzpmWtowy/e Q+eKEd4XVXC3ktvZY+utkPE4bgRnHCtXMjHWJ9GRC5W3d+t2WFKr0itrRN1G0LonP0ep isxg== X-Gm-Message-State: ALQs6tCEK7XfrXOsd8EmMg1X2CqhKNDKR6U3iy3+R/eS68NiXAlNyfsU 6JUdgoHsHsW61nGiEeGAQHxpatiCAp7nscDZk/LnLKbL X-Google-Smtp-Source: AB8JxZof/JSKFfrJnuwfli06KgATwALwUBArl4cQeusbtJAtOCk159PmjKcJ/MocpU2TQMvsnVcQaVt0NFkbThzTgIk= X-Received: by 2002:a25:5b0b:: with SMTP id p11-v6mr10243375ybb.338.1525234980550; Tue, 01 May 2018 21:23:00 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:c709:0:0:0:0:0 with HTTP; Tue, 1 May 2018 21:22:30 -0700 (PDT) In-Reply-To: References: From: Eitan Adler Date: Tue, 1 May 2018 21:22:30 -0700 Message-ID: Subject: Re: IRQ storm on xhci0 To: usb@freebsd.org Content-Type: text/plain; charset="UTF-8" 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 04:23:03 -0000 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: ... [3542] xhci_check_transfer: slot=1 epno=6 stream=256 remainder=0 status=1 [3542] xhci_check_transfer: stream_id=0 [3542] xhci_check_transfer: Checking if 0x0000000099c01480 == (0x000000005df39980 .. 0x000000005df39aa0) [3542] xhci_check_transfer: Checking if 0x0000000099c01480 == (0x0000000099c01480 .. 0x0000000099c015a0) [3542] xhci_check_transfer: New remainder: 0 [3542] xhci_check_transfer: Following next TD [3542] xhci_interrupt_poll: event[103] = 32 (0x00000001167f8790 0x01000000 0x01078001) [3542] xhci_check_transfer: slot=1 epno=7 stream=256 remainder=0 status=1 [3542] xhci_check_transfer: stream_id=0 [3542] xhci_check_transfer: Checking if 0x00000001167f8790 == (0x000000005df7b980 .. 0x000000005df7baa0) [3542] xhci_check_transfer: Checking if 0x00000001167f8790 == (0x00000001167f8600 .. 0x00000001167f8720) [3542] xhci_interrupt_poll: event[104] = 32 (0x00000001167f8600 0x0d000031 0x01078001) [3542] xhci_check_transfer: slot=1 epno=7 stream=3328 remainder=49 status=13 [3542] xhci_check_transfer: stream_id=0 [3542] xhci_check_transfer: Checking if 0x00000001167f8600 == (0x000000005df7b980 .. 0x000000005df7baa0) [3542] xhci_check_transfer: Checking if 0x00000001167f8600 == (0x00000001167f8600 .. 0x00000001167f8720) [3542] xhci_check_transfer: New remainder: 49 [3542] xhci_check_transfer: TD has short pkt [3542] xhci_interrupt: real interrupt (status=0x00000008) [3542] xhci_interrupt_poll: event[105] = 32 (0x0000000099c01490 0x01000000 0x01068001) [3542] xhci_check_transfer: slot=1 epno=6 stream=256 remainder=0 status=1 [3542] xhci_check_transfer: stream_id=0 [3542] xhci_check_transfer: Checking if 0x0000000099c01490 == (0x000000005df39980 .. 0x000000005df39aa0) [3542] xhci_check_transfer: Checking if 0x0000000099c01490 == (0x0000000099c01300 .. 0x0000000099c01420) [3542] xhci_interrupt_poll: event[106] = 32 (0x0000000099c01300 0x01000000 0x01068001) [3542] xhci_check_transfer: slot=1 epno=6 stream=256 remainder=0 status=1 [3542] xhci_check_transfer: stream_id=0 [3542] xhci_check_transfer: Checking if 0x0000000099c01300 == (0x000000005df39980 .. 0x000000005df39aa0) [3542] xhci_check_transfer: Checking if 0x0000000099c01300 == (0x0000000099c01300 .. 0x0000000099c01420) [3542] xhci_check_transfer: New remainder: 0 [3542] xhci_check_transfer: Following next TD [3542] xhci_interrupt_poll: event[107] = 32 (0x00000001167f8610 0x01000000 0x01078001) [3542] xhci_check_transfer: slot=1 epno=7 stream=256 remainder=0 status=1 [3542] xhci_check_transfer: stream_id=0 [3542] xhci_check_transfer: Checking if 0x00000001167f8610 == (0x000000005df7b980 .. 0x000000005df7baa0) [3542] xhci_check_transfer: Checking if 0x00000001167f8610 == (0x00000001167f8480 .. 0x00000001167f85a0) [3542] xhci_interrupt_poll: event[108] = 32 (0x00000001167f8480 0x0d000031 0x01078001) [3542] xhci_check_transfer: slot=1 epno=7 stream=3328 remainder=49 status=13 [3542] xhci_check_transfer: stream_id=0 [3542] xhci_check_transfer: Checking if 0x00000001167f8480 == (0x000000005df7b980 .. 0x000000005df7baa0) [3542] xhci_check_transfer: Checking if 0x00000001167f8480 == (0x00000001167f8480 .. 0x00000001167f85a0) [3542] xhci_check_transfer: New remainder: 49 [3542] xhci_check_transfer: TD has short pkt .... -- Eitan Adler 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 From owner-freebsd-usb@freebsd.org Wed May 2 13:57:46 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 BD14CFAA81C for ; Wed, 2 May 2018 13:57:46 +0000 (UTC) (envelope-from lists@eitanadler.com) 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 3BA897DB99 for ; Wed, 2 May 2018 13:57:46 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by mailman.ysv.freebsd.org (Postfix) id F0A44FAA81B; Wed, 2 May 2018 13:57:45 +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 DAEDAFAA81A for ; Wed, 2 May 2018 13:57:45 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-yw0-x231.google.com (mail-yw0-x231.google.com [IPv6:2607:f8b0:4002:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 632397DB97 for ; Wed, 2 May 2018 13:57:45 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by mail-yw0-x231.google.com with SMTP id l15-v6so4555905ywk.3 for ; Wed, 02 May 2018 06:57:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=cWTuQyNgJGN97J9zbfYZtWA4h4Gz8RP/v07v1YwRc1Q=; b=FgpB6Gzfe72tiVhPGU2Kf104phWAry+2pEgvMNvguQr2pygk4Fh2p7Q9HrkAB1gkZL pjM0+HFR+8EdZyt+xSbjATzx14IMO4lcfnUZt5i1RAIjwuVmlqD9ch89vyOAz9pcl58V yMmhuR0s1fk+BKfkSkODovhc3bDfGX3EUQwr4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=cWTuQyNgJGN97J9zbfYZtWA4h4Gz8RP/v07v1YwRc1Q=; b=Wh6njDMWp+cZJih8NqjI/+6CIaqKIAOxr9R2wegZ140vCEoTly6HbWSL2iLHeCtVK1 m6uGcjvTJR67e5TrBLB0vDNiig+TFO6ocUb3BPQRN8VVPXSWM0FNr9K+T2sRab2QSsEz JJ/TYSjeVke1E/q9fjOhtns2pAYXMWJlvk5TmUk1H9LE4Kght0bZjkBGf2TsuDh+/9+C vPjfT96MdkhJkrtJ6Hqq2C6kbLS7f3cb1YyMQInTyNTdlpYe/n72DiXtC2tPfxRO86oG VDhzQyXry88blq8crFCsueaaDFfTCVUG/yEma16sNR5LYMp4LoPKl+TeKq22nkcZ+jz8 hDLg== X-Gm-Message-State: ALQs6tB+wX2b64Sj9wYK26cU05EZdkEucXuIMfSLTNZt3dMA4Ilu1zpz k2Ay1g8bGyVjQSKSTF2qWjkvHMP2WI6T3gDNbNA/yA== X-Google-Smtp-Source: AB8JxZpgFDA1RVymbVAPcFlngF2gXicGWnWwNkHhLQLcYfKbOHjolMkk7uJG2IWSYmeqcZShtoGmBCpYqQj3LPidREM= X-Received: by 2002:a81:3e1f:: with SMTP id l31-v6mr10730224ywa.37.1525269464667; Wed, 02 May 2018 06:57:44 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:c709:0:0:0:0:0 with HTTP; Wed, 2 May 2018 06:57:14 -0700 (PDT) In-Reply-To: References: From: Eitan Adler Date: Wed, 2 May 2018 06:57:14 -0700 Message-ID: Subject: Re: IRQ storm on xhci0 To: Hans Petter Selasky Cc: usb@freebsd.org Content-Type: text/plain; charset="UTF-8" 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 13:57:47 -0000 On 2 May 2018 at 00:22, Hans Petter Selasky wrote: > 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. Heh. should have added that to the list of things I did. There is no traffic. -- Eitan Adler From owner-freebsd-usb@freebsd.org Thu May 3 16:43:58 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 C5CE0FB12B6 for ; Thu, 3 May 2018 16:43:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.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 51E6A6E216 for ; Thu, 3 May 2018 16:43:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 13CB4FB12B3; Thu, 3 May 2018 16:43:58 +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 0093CFB12B2 for ; Thu, 3 May 2018 16:43:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8450C6E215 for ; Thu, 3 May 2018 16:43:57 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id D59DB2F5DB for ; Thu, 3 May 2018 16:43:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w43GhuWf098858 for ; Thu, 3 May 2018 16:43:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w43GhuEK098856 for usb@FreeBSD.org; Thu, 3 May 2018 16:43:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 227954] FreeBSD memstick doesn't boot off of non-efi systems Date: Thu, 03 May 2018 16:43:56 +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 Some People X-Bugzilla-Who: takedown.man@yandex.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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 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.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2018 16:43:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227954 Bug ID: 227954 Summary: FreeBSD memstick doesn't boot off of non-efi systems Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: usb Assignee: usb@FreeBSD.org Reporter: takedown.man@yandex.com While writing an mini-memstick image of the FreeBSD operating system onto a USB, the said USB doesn't boot off of an non-EFI system --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Fri May 4 13:24:48 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 42F14FAD978 for ; Fri, 4 May 2018 13:24:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.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 C81E579BDF for ; Fri, 4 May 2018 13:24:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 855D1FAD977; Fri, 4 May 2018 13:24:47 +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 72E74FAD976 for ; Fri, 4 May 2018 13:24:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0999879BD1 for ; Fri, 4 May 2018 13:24:47 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 4872D127A1 for ; Fri, 4 May 2018 13:24:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w44DOkvZ082182 for ; Fri, 4 May 2018 13:24:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w44DOksf082181 for usb@FreeBSD.org; Fri, 4 May 2018 13:24:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 227954] FreeBSD memstick doesn't boot off of non-efi systems Date: Fri, 04 May 2018 13:24:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: re@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: 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.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2018 13:24:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227954 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|usb@FreeBSD.org |re@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.=