Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1601162pxf; Fri, 12 Mar 2021 13:58:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJzNPjdlUUlGuQIcIEuIacJGOB8nD4dW5nP7sINqUvfAcx1H6oS0jrWCo2nmr1MpFBtrxM/s X-Received: by 2002:a05:6402:68e:: with SMTP id f14mr16585327edy.169.1615586308208; Fri, 12 Mar 2021 13:58:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615586308; cv=none; d=google.com; s=arc-20160816; b=B8mUCpMYb1H+7gmbCIwR5UzLIU5JWQMHL7/hM9sN1OCSHIpv82k191E58q9H2JVdlx JzAvG6qK9IfguXB28RrSm+lCzDyJ4BHuo+lpEASfCsApwgDHnm77q+creX95sUFfBGhx Q3EJwb3zUAuEPIPnzPchggJLA3Jz9O3CHQF1sWCJlPM74OLgJCFWDVyLYp/oITJIlit7 DxKu4gYwwkXThQDxR0t1u8ndAQulGcCBdbOS/yF65nJ+lbdQgPUU42yac/7Dgo5IWesZ d18WhSl7UIOBDO36pSVDOqQzbxYU8j5kcgJgnQEKAJzYAaMCvJMjsWtJcRveHLQX4Q+G OGWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Fw85ZQ8OkFdIMoDIYzCBRAhIsaS35ow4WDdllgoecvA=; b=sgyD6uY+ni4Y6RimngXCKI2kpZxU1V+aCRAqEqq3AIBvkFgyHoMYAgzkzmU0b7MK94 Zip07Jug0plDZSBG1wsnxwAXbzYaRfjmBaX381wChLkU4PgHsTQWVWlkP73KkJdCZRwM BUtnrMXl/o06enXlDY4dKRFdLEP6A48TN1O28mfTg8O24S9trzLIj1Xu2yo7w8CV6LQ4 OD8z8fd7JPjIzwQfpbd5Po7G6BlJh8NmFL82P9FN/tPY1JJ+b+Xo0ArQN+mmu8lxgeWx 98pcWuG2QdH7sibMJuGnhdoeq2pF70RKmfID1D473SUouBZJtuH9F4lM7vav2ZbX/9Ot 3JJQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q16si5084909ejd.145.2021.03.12.13.58.05; Fri, 12 Mar 2021 13:58:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235402AbhCLV4w (ORCPT + 99 others); Fri, 12 Mar 2021 16:56:52 -0500 Received: from netrider.rowland.org ([192.131.102.5]:40369 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S235369AbhCLV4n (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-kernel@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 -