Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2852293imu; Sun, 6 Jan 2019 11:34:43 -0800 (PST) X-Google-Smtp-Source: ALg8bN64ATr5qp+mvlIyOauWg+qoF3TJAaU/y8mlbcx58Zf1k6v7YrB5AgcN+RFxNVhhaHoztWGa X-Received: by 2002:a17:902:2868:: with SMTP id e95mr58888996plb.317.1546803283823; Sun, 06 Jan 2019 11:34:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546803283; cv=none; d=google.com; s=arc-20160816; b=R7KbqRMPH6njFkjXjFrBuyqr4iyqY1bEuoRVl4RpQxPf4EtqR1SBjYA+K5Ycv4J4K+ br8kh9yRHmJjAWl04axh24FMziXeB3p/yfID66ikl+v06qhXKnFlWCGOuE5/uYp+tuuq qxhp4JELWIcZUjzAnOiCGGFha3rOPDy0xKEwtVPeSH6JzeekFXVc1Sw5IVV0fGBo0AWv DBMVDlMqKOp/x9fEJi5x/z2qm9U9QysGjdPe2Wx2wditH/LOnMaGRcHw9NG56VQW8+h5 F3iqHJELh7naoR62aSxmsNTqiBvHe9Fq+bZ9AMJnVf0iITZzYWlYxp+ydwdTxAe0iROG hClg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=vrVYSwQMPhRCTdCIBKJFNbmH6Rycli9NEDcMtuz9oVw=; b=e88aDaoKnjXvzgyJ1bB9V54y9fJKEIsE6LJE/7HjJgg81wNz6DeN9DvH3Yr4g77vLl p79G/GSXsyb5Z+yfcOdTEPwBlS3OZXY5SnlCcZauUF6iTjJVVc3YWJnluzXAFzyABKM7 Hfypw0YdSJE2N9oiLAJiUFRIfyKYPrAlAYM+XBjE3Nzr+WcsSMF/7861xQYmbNycpP9Q SUvHpNcmp//D+5bA/PjjzYz69Us6Cfqtwqu0AioxYxbXjPrVSpWZI58sYh7C0EM2lMOx 2GsfZuUPJwIP8pZn3kFj1HFz6D+FB8ibDgzKoCLL8e82+W48wMZ2fxFkfoTnNt3XWrlx sH4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kXW1n0Fq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q32si59757084pgm.410.2019.01.06.11.34.28; Sun, 06 Jan 2019 11:34:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kXW1n0Fq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726135AbfAFTdX (ORCPT + 99 others); Sun, 6 Jan 2019 14:33:23 -0500 Received: from mail-qt1-f179.google.com ([209.85.160.179]:34629 "EHLO mail-qt1-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726072AbfAFTdW (ORCPT ); Sun, 6 Jan 2019 14:33:22 -0500 Received: by mail-qt1-f179.google.com with SMTP id r14so45728444qtp.1; Sun, 06 Jan 2019 11:33:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vrVYSwQMPhRCTdCIBKJFNbmH6Rycli9NEDcMtuz9oVw=; b=kXW1n0FqRwMBijqFBoz3opBY2tNoWgIlo84vJW/OI5rwDsbjyf1jLFkRQ/SfW+XfH1 YilyBuT713z8gvWmNAg1eAhX40GankL+nR1C9rSF4UXeW/uurcgj7lv9TOnyD+g66MLU zvbrIEBTYWFJRG6/j5W5RiE7UMxdSwpSChgODM+Tmb4Kx8Jurf77cYzL6havqobE0c7I nOiM558fst4GHTMFzgWVVLuOsMPBET6gS/HCHx5iGImidBJSB/nGudjDs2jK+lwHcJ7+ EeRzq14GU37j2HUyg7YNke3RTVQ8nElxRrLvOpbKokT3EcPlYIT/noaW/grce+NSnto1 7kzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vrVYSwQMPhRCTdCIBKJFNbmH6Rycli9NEDcMtuz9oVw=; b=ZiPFrhuZdEM5TvTv+Mie+r+mRtt4deyZsiKiZLmCJklw/Ao43+bsZPiCuZYVd0ZPZD LYaCuo3KDW8yqF4cYoJ0hyB7HN6wE2VYAJcXidcDAOobEZCV3h4aO8QZh3KwdBP9xIYA FFNXTl9uGOAylTlxOl681z7JxX3PgaphGraZtNztu59TC5dvUrL4RQZZOlxulJC45Nfx q6prpLpsT4mljtM/AjfI/wPzXnvSIqUHt6EiCU2FVhilr/cm0uFOFbZLm/3LwMN31O6t 4Gs8arQsh6ph+MW/DpdaWplDD1py8swIVu3spWW/5Eix+dbBJ7w7FINHExZ01L9sn6eX yKUA== X-Gm-Message-State: AA+aEWaGxH3LUMXUGLWhs6GGfUTR0Dx8BdHzc5vjgFL0Kn/J1vrY4GJq hhET1jtEQIQWdL8BXiekmG4gV3HoOP64HT8KuDM3Sw== X-Received: by 2002:ac8:1:: with SMTP id a1mr56856982qtg.366.1546803201086; Sun, 06 Jan 2019 11:33:21 -0800 (PST) MIME-Version: 1.0 References: <824caf1d-f5db-a439-fc77-deda67df5bfc@linux.intel.com> In-Reply-To: <824caf1d-f5db-a439-fc77-deda67df5bfc@linux.intel.com> From: Nathan Royce Date: Sun, 6 Jan 2019 13:33:09 -0600 Message-ID: Subject: Re: kernel: xhci_hcd 0000:00:14.0: ERROR unknown event type 37 - Kernel 4.19.13 To: Mathias Nyman Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Alan Stern , gregkh@linuxfoundation.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I'm only posting to say I'm still waiting... The error came up while I slept, and when I copied that log and looked at it (yes, it WAS huge, just as you said), the timestamps at the head/tail were much later than the journal logged times. So I made a little script to monitor the journal kernel entries for that message and have it copy the file after maybe 5 seconds. And now, I'm just waiting for that error to occur again. On Wed, Jan 2, 2019 at 5:32 AM Mathias Nyman wrote: > > The event type 37 is a host controller event, most likely a event ring full error. > > So there are probably so many events that we fill the event ring before we can handle them. > > Could you take traces of this? > Note that the trace file will be huge. > > mount -t debugfs none /sys/kernel/debug > echo 81920 > /sys/kernel/debug/tracing/buffer_size_kb > echo 1 > /sys/kernel/debug/tracing/events/xhci-hcd/enable > > copy the traces somewhere safe once the error is triggered: > cp /sys/kernel/debug/tracing/trace / > > -Mathias