From nobody Mon Feb 28 09:19:16 2022
X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0632119F01E9;
Mon, 28 Feb 2022 09:19:20 +0000 (UTC)
(envelope-from br@bsdpad.com)
Received: from mail.bsdpad.com (mail.bsdpad.com [116.202.106.248])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
(Client did not present a certificate)
by mx1.freebsd.org (Postfix) with ESMTPS id 4K6ZZb6n6Bz4qLw;
Mon, 28 Feb 2022 09:19:19 +0000 (UTC)
(envelope-from br@bsdpad.com)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bsdpad.com;
s=20201212; h=Subject:To:From;
bh=B1WKQOM8QbOyqV6D/3xpF4qroRiCG8Ip35z4N/AtvIw=; b=a1KDqpYgPuS/KHNeRa/BovfvDt
n6WFGBdnUXy3ZlPwtEIECtbcvEMLGGb4Lsrcg71sjVXISTXGoFY+62ezUzPAm2JY6Gy5hAHqK7mck
rIr6d1bj9/RnXaQrpVE7Xc2m9ZSIpxgAav3H2nF8NtpRY3Y8y27PG7C1RUVjcvBPpQQzlH/cNI/4a
mbU0Ewaab67eW2dmhwWdzKTCU8i0Y8NMX1Vvjg+9dXxOI3rtwYFwztwdpRb1+aInYfUWM+hnZaEAA
3sSZEV3sfDhpoOhkGyxfe+vH9CRZ6gFb0VR9muOHNBxQZkV2cCj0+xOoJawl/jHyEyVOQkzlNpUd/
8NDkmTnQ==;
Received: from localhost ([127.0.0.1] helo=bsdpad.com)
by mail.bsdpad.com with smtp (Exim 4.94 (FreeBSD))
(envelope-from
)
id 1nOcBY-0004O2-Iz; Mon, 28 Feb 2022 09:19:16 +0000
Received: by bsdpad.com (nbSMTP-1.00) for uid 1001
br@bsdpad.com; Mon, 28 Feb 2022 09:19:16 +0000 (GMT)
Date: Mon, 28 Feb 2022 09:19:16 +0000
From: Ruslan Bukin
To: Hans Petter Selasky
Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org,
dev-commits-src-main@freebsd.org
Subject: Re: git: 7520b88860d7 - main - usb(4): Automagically apply all
quirks for USB mass storage devices.
Message-ID:
References: <202202240930.21O9UFKS055179@gitrepo.freebsd.org>
List-Id: Commit messages for the main branch of the src repository
List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main
List-Help:
List-Post:
List-Subscribe:
List-Unsubscribe:
Sender: owner-dev-commits-src-main@freebsd.org
X-BeenThere: dev-commits-src-main@freebsd.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To:
X-Rspamd-Queue-Id: 4K6ZZb6n6Bz4qLw
X-Spamd-Bar: ----
Authentication-Results: mx1.freebsd.org;
none
X-Spamd-Result: default: False [-4.00 / 15.00];
REPLY(-4.00)[]
X-ThisMailContainsUnwantedMimeParts: N
On Sun, Feb 27, 2022 at 09:34:42PM +0100, Hans Petter Selasky wrote:
> On 2/27/22 20:48, Ruslan Bukin wrote:
> > Hi,
> >
> > I've an xhci issue with this change on my ARM Morello Board.
> > I've attached boot log. Can you look?
> >
> > Thanks.
> >
> > Ruslan
>
> Hi,
>
> The "xhci0: Resetting controller" indicates that the XHCI hardware
> halted. If you just need this device working, then just load
> usb_quirk.ko in /boot/loader.conf and add the same quirk there!
>
> man usb_quirk
>
> Maybe you can enable hw.usb.xhci.debug=17 from the loader during boot.
> If there is only one device it shouldn't spam the console too much.
>
> Sorry for the breakage. Seems to be related to xhci.c and probably its
> handling of the unconfigure command.
>
Here is the output with xhcidebug = 17:
https://people.freebsd.org/~br/usb_issue_debug_17.txt
Can you look? I've unplugged mouse and keyboard, but left USB storage device.
Ruslan