From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D4B0C433E6 for ; Fri, 12 Mar 2021 21:57:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DF0F864FB3 for ; Fri, 12 Mar 2021 21:57:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235400AbhCLV4w (ORCPT ); Fri, 12 Mar 2021 16:56:52 -0500 Received: from netrider.rowland.org ([192.131.102.5]:41447 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S235357AbhCLV4n (ORCPT ); Fri, 12 Mar 2021 16:56:43 -0500 Received: (qmail 314502 invoked by uid 1000); 12 Mar 2021 16:56:42 -0500 Date: Fri, 12 Mar 2021 16:56:42 -0500 From: Alan Stern To: Sedat Dilek Cc: Mathias Nyman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman Subject: Re: [xhci] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd Message-ID: <20210312215642.GA314300@rowland.harvard.edu> References: <20210307154645.GA103559@rowland.harvard.edu> <20210307170702.GB104554@rowland.harvard.edu> <20210312180523.GB302347@rowland.harvard.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Fri, Mar 12, 2021 at 07:26:31PM +0100, Sedat Dilek wrote: > On Fri, Mar 12, 2021 at 7:05 PM Alan Stern wrote: > > Although it's not conclusive, this log seems to indicate that ata_id > > is the only program causing resets. Have you tried preventing the > > ata_id program from running (for example, by renaming it)? > > > > This is /lib/udev/ata_id from Debian's udev package. That does not answer my question. > > > Your diff now should say; s/SCSI ioctl error/SCSI ioctl info'. > > > > No, it shouldn't. The log message itself is an info, but the event it > > reports is an error. > > > > OK. > Some of these SCSI ioctl errors are not causing a xhci-reset. Yes, I noticed that. In fact, the commands that cause a reset are all A1 (and not all of them), never 85. > > > Alan, so "t" flags should be added as a quirks to linux-kernel sources... > > > > > > t = NO_ATA_1X (don't allow ATA(12) and ATA(16) commands, uas only); > > > > > > ...for my ASMedia USB-3.0 controller? > > > > That's not at all clear. This is a very common and popular device, > > and nobody else has reported these problems. It could be that > > something is odd about your particular drive or computer, not these > > drives in general. > > > > So, the external USB-3.0 HDD is now in "UAS only" mode/status. Why? Did you change something? Alan Stern > Cannot judge if things got better or not. > > - Sedat -