From owner-freebsd-usb@freebsd.org Thu Jan 24 21:54:06 2019 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 AAB9814C0128 for ; Thu, 24 Jan 2019 21:54:06 +0000 (UTC) (envelope-from philnorm@gmail.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 EEDB889158 for ; Thu, 24 Jan 2019 21:54:05 +0000 (UTC) (envelope-from philnorm@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id B112314C0126; Thu, 24 Jan 2019 21:54:05 +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 8E7FC14C0125 for ; Thu, 24 Jan 2019 21:54:05 +0000 (UTC) (envelope-from philnorm@gmail.com) Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F327989157 for ; Thu, 24 Jan 2019 21:54:04 +0000 (UTC) (envelope-from philnorm@gmail.com) Received: by mail-wm1-x32a.google.com with SMTP id g67so4683410wmd.2 for ; Thu, 24 Jan 2019 13:54:04 -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=WJg9bAt5mOu1cgr4Bdwl6uX31a7gcg25sQoVK8FLJBg=; b=OvegeoeTFTeak5/8XduGG8bXZmh33+H8R3wyufVQGRQtg7IuxYT/ur+zB7lxbSqb/S vjjfA8YG1lgDguPEGNZPfJmQPalgUom0rQlvPe95eq6nJJPwXseFqCEh6I8xhOSqRiTE rkvjqpDXSa7/q7gtc0NwxkzMhOrir8fyRaTjELa7lRfup3QcVsoNWtyKMBffLw5K6dTJ J9M7zbvYuvWhzsakzNHkTPv59ZtDD1vWn/t/PT7oOrUrADHh/RYzkc8+tX5jywUZ6HQA P1K/qzQV7dwn7mariAXErMngcOUCLzeZ0Nug4J2SB9KY04Kiqf3Hp3YJ4nBRjVGHAHGz 0/5A== 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=WJg9bAt5mOu1cgr4Bdwl6uX31a7gcg25sQoVK8FLJBg=; b=BdaZXq2g/BCsH2ggRaE0/xTc9dejRY1TGJr7sdpHECIr6FfWgljuSiutfPk6KcF0ib 88OeGjhL2VzreKdfIWvGUEyr+WKoltgqMbLIYEHJf6T0RpIVWLkFE4gsP1MP3WZbCBWs BYJnmfCVsh7H9IGSfxbA0pMuZ7LfkYtdsymmdX/mvT/NQ080UPTa6k4l5HbT2B6AiSo6 oEOyKsv8utsp3WqYG1Ic4pNdqyyiqjxVgtyBEGVJy4ylMpFYfj7eFjutEI/aLjcLGslR xUeEfoIHZ7P9YKIY170nBOdl3mtDzG8ul4uoRACTfC8ssErF1z+Oy8fdHgExo6U0v+yq a87w== X-Gm-Message-State: AJcUukcB3CbFCXfrv0wTTEjoXwFnFOIxQnwHsVRlmDzuZQEEEbfCgqOk +HPtu5vAUSEZNACVZeIad9vHx5evvgWWWaTRPn6jM+LL X-Google-Smtp-Source: ALg8bN5/Y6fzvRjPiisoYuMag+1nqMF9Z06eegsGRwKMuHWjp757KYBVO6K+tjFi9xtfZt9+Y15T2K05LqCbEEEB0tY= X-Received: by 2002:a1c:1688:: with SMTP id 130mr4180808wmw.86.1548366843669; Thu, 24 Jan 2019 13:54:03 -0800 (PST) MIME-Version: 1.0 References: <2ef9ce91-27cb-fced-aa08-1c26b28f3991@selasky.org> In-Reply-To: <2ef9ce91-27cb-fced-aa08-1c26b28f3991@selasky.org> From: Phil Norman Date: Thu, 24 Jan 2019 22:53:51 +0100 Message-ID: Subject: Re: Diagnosing probable USB hardware failure To: Hans Petter Selasky Cc: usb@freebsd.org X-Rspamd-Queue-Id: F327989157 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.989,0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2019 21:54:07 -0000 I hadn't; thanks for that. It certainly spams a lot. I've dumped /var/log/messages (since a recent reboot with the USB system going nuts) here: http://splodge.fluff.org/~phil/messages-2019-01-24.txt Cheers, Phil On Thu, 24 Jan 2019 at 22:02, Hans Petter Selasky wrote: > On 1/24/19 9:51 PM, Phil Norman wrote: > > Hi. > > > > I have a Ryzen 3 1200, and Fatal1ty X370 mini-ITX motherboard. I've been > > suffering USB problems (details here: > > https://lists.freebsd.org/pipermail/freebsd-stable/2018-June/089155.html > ) > > for a long time, have tried a bunch of BIOS updates, including the latest > > for my motherboard. I've also gone through 3 versions of FreeBSD, and am > > now on 12/stable. > > > > In short, the only way I can have a stable USB system is by switching > power > > off, then booting up from cold, and then not removing or inserting any > USB > > devices. Kind of annoying. > > > > I'm pretty convinced this is not an OS issue (I had the same problem on > > NetBSD, and instability on Linux too, before I switched to FreeBSD). > > However, I have no idea how much of the USB hardware is implemented in > the > > CPU, and how much in the motherboard. Can anyone help me with this > > question, or point me at diagnostic tools for figuring out where the > > problem is? > > > > I'd be *very* happy to solve this problem. > > > > Hi, > > Did you try to enable the XHCI debugging sysctl to get more information? > > sysctl hw.usb.xhci.debug=16 > > --HPS >