Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1471167pxb; Sun, 7 Mar 2021 20:44:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJwA2bwboS/px1qodceCIw3t6BphrBvp5X30U4DPp4uqq1VqdOxeG3FDMyvOxz8IrgsxLs3z X-Received: by 2002:a17:906:5a8f:: with SMTP id l15mr13299317ejq.462.1615178676500; Sun, 07 Mar 2021 20:44:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615178676; cv=none; d=google.com; s=arc-20160816; b=JB/fMisXrK56IMwqsBwrWWmcUOfQsWapMUdwtVkubjhbuFf3+8407+HRKXv/gBNvA4 Rr3miuxai4a8xhEcOr9kBgJ5F2scG/VHhxI/lnOSY+5GHS4/4WNd6k1Wu3/9hbCzYcgH 361IvCNj73sMC0RwxW8+sQC+zxjlK2PEl03mRo1jNe6ROqqVxoRjA5DIo/X2xV+QFfRW SzmWNO7zk1mpSsF3bOZtYWlrlS/sL2dafLF1l8aCAOiVvAIi/plSf6ozpogAc9MkZ9Ud InwIMOht7sZpGHLSqqkVpInN34Dwo13EknB6iH+lWP86p85FKcfwna0SZ/e34rJaxhMg /FAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:dkim-signature; bh=+BScBCwBTySUma8nKeNtG77a++lO6VTBqBBOLea9Ch8=; b=VNdfECum6Rck1Scv9RU6MOFD70FI7ySSzn7OLaVqOrgeoGknU0FinPRsoZCq7FzBZ/ FS69TSSy39IrQKbpEM6f4nfLLHK0o598bcAy7kXS//Im4Xk3kZPupMVdyglM/pJZ+Gri yd/nV8KvaQDtBZLOiA86CSjDSMPgiUJdl+DmDFLeFdh4t0XHZC6pvj3eYKZlgF922WCO GXo9aWyffUtdaR6B2yErpfIU2UUodpVmhQK7ccT78Zs48Yg6m9FmtvZCeWxIV+N1fWu0 pQEmwJg2WJxuLntwsoJwGe8pSxPv7zu5NUUMexZI/Kv5ZH+52j9ebO32D7biMUg/3iuR 6ebg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="oe/7dsR0"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y18si6081302edr.411.2021.03.07.20.44.13; Sun, 07 Mar 2021 20:44:36 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="oe/7dsR0"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232529AbhCGQ6f (ORCPT + 99 others); Sun, 7 Mar 2021 11:58:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231380AbhCGQ6R (ORCPT ); Sun, 7 Mar 2021 11:58:17 -0500 Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43AD1C06174A; Sun, 7 Mar 2021 08:58:17 -0800 (PST) Received: by mail-il1-x132.google.com with SMTP id g9so6727894ilc.3; Sun, 07 Mar 2021 08:58:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=+BScBCwBTySUma8nKeNtG77a++lO6VTBqBBOLea9Ch8=; b=oe/7dsR0nmGlvLVkEyChzN9JviXQFZc6Swo8ACjsYC1CetQl45ne5vwG+BlNQycTiA Y19Sdh6iXYpRaiCFlsVFtnojwiveX7DHjFpqCXizGLsa8AFXENQgN55PAppn3eNSmyQz YRSZH6NP9Zb999lMzeqUGC7YojKW0LVFvYMBCkf+uMYooqfFUfGhtoy7dbA1MyUzHtRy NKYFHEl+hWOnKTcCdzlfT1jbL5VfFN/pWNxojgaeagKI84tQoCYo7bX5UNso/OlkRQ+M FgKG2a55gjZ1CHxKWIwDlZjcLVvxBiFP6Ejh4zlD1gS/taP8VRsJt7hu1GF+TWeCzkNK zBxA== 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:reply-to :from:date:message-id:subject:to:cc; bh=+BScBCwBTySUma8nKeNtG77a++lO6VTBqBBOLea9Ch8=; b=kZNFHLU1Lj98cbjAn8yHkkr3TK7F6ftaJ7GJjHTX8PSCt/MDIvq/i9/sEj6EFRDlAw lCwlrwscn+J9xYn0DjFzUpe0Htj/gnwv3R+i33B4cTuuCrdSKJrH348bTvGYf0ntb0Bb GCKbV0t/8LjlAluDuYp+k++Lv4mF+bSTS312SOoeugAHS+/nyrQddH13yfAxtKGmtMHE HtX8Qk11iTYaWpnxPF/5tMywhkV2mxIp2C00NXhqLuh7s6dggToNel/iMrrJv34uQgfZ ojLnS4Q9xHFzPoU8tJ4+7MBveIX/cV36yB61kLjpMKq+SVIXu7gJI7oixhyZUOslYg+w 7WQA== X-Gm-Message-State: AOAM532W2FFy+8LPHX4fZiVIfACrgkppHh904fuo1rAp5282vWdKhZM3 X3xnmBiQJAnyT4OKub1qJ4lXh3hCn++bPjuGsjHV6MdJRuiWhg== X-Received: by 2002:a92:444e:: with SMTP id a14mr16737739ilm.215.1615136296542; Sun, 07 Mar 2021 08:58:16 -0800 (PST) MIME-Version: 1.0 References: <20210305193003.GE48113@rowland.harvard.edu> <20210305194745.GF48113@rowland.harvard.edu> <20210306165808.GD74411@rowland.harvard.edu> <20210307154645.GA103559@rowland.harvard.edu> In-Reply-To: <20210307154645.GA103559@rowland.harvard.edu> Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Sun, 7 Mar 2021 17:57:39 +0100 Message-ID: Subject: Re: [xhci] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd To: Alan Stern Cc: Mathias Nyman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 7, 2021 at 4:46 PM Alan Stern wrote: > > On Sat, Mar 06, 2021 at 09:49:00PM +0100, Sedat Dilek wrote: > > > For testing purposes, I stopped these systemd services: > > > > 1. systemctl stop smartmontools.service > > > > 2. systemctl stop udisks2.service > > > > Last seen xhci-reset: > > > > [Sat Mar 6 21:37:40 2021] SCSI ioctl error, cmd 85, prog pool-udisksd > > > > So, that every 10min xhci-reset was caused by pool-udisksd from udisks2.service. > > You have found the cause of your problem! Great! > > And now, obviously order to fix the problem, you'll have to look into > the udisks2 service. Maybe you can configure it so that it won't send > the problem-causing commands. > I tried yesterday to add --debug option to the ExexStart line of udisks2.service, but did not see anything helpful. There exist more user-space than udisks2 causing these xhci-resets. The cmd#s are also clear: A1 and 85 - whatever they mean. As said with Linux v5.10.y and Linux v5.11 I have not seen this. What about CCing linux-block and linux-scsi people? - Sedat -