Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2288191pxb; Fri, 5 Mar 2021 11:46:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJxuT72XIXy/Jp1Hs1S4AtQ4CfkdeNlq7f2jcpWWTCuyKKELEtxq01NHRLptLENlmQEtrwuM X-Received: by 2002:aa7:c850:: with SMTP id g16mr10663206edt.324.1614973571832; Fri, 05 Mar 2021 11:46:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614973571; cv=none; d=google.com; s=arc-20160816; b=e8emrTv8GnAXC+Rvi0CE9Kklij5B0dfjsEeocUAAYFO4Rj5X6wy2GpnTr3cj6gjDaM olZ80+6Mq4oLElatdtWYH0h2tipAq4cC6irWCPgQLGd8iYccHHlqhUC5kB119BgHS5bZ 5BdblSFt01SfVVybf35pcfRtpK2CvpaLwjKK5ykQqVxMlmNS9BZfvAC9/T7E+/wZLmt5 ElvxR6rqIccD0BdLigOvUaFL4SeUdv15L0XqfCppktEKei3xHwrr+kmyw7SrI73yGbLA uAoGZFgnZyl6ENIs4rD6EHttj6dTJFQawyDA4ihfifuhjOH265p2pOu6hv3Nb7zxPFi8 AhUA== 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=nt32QhVHzb3AENSb5YIy5UA4K+u/RYIwLbCnQB1uC4Q=; b=pB8M3MWAi69qoDP5PpmlxYBRutfliM2cRUNjwjhdmnPTdCS+O86OiGXyAaI/Mvj3bp gZh0MmiF1dkvXOtr1VUxif/gvRR7m2HdDdAom+1Pr+U0QkbudcikDfceCyu/Y4UVAdnt 0QJ+8jS+DDddP9eJKMAWNHYkDR7zVf4KgOLqb+mO9yQH3Gk4nQsp4oax2XDlzT15vczb BrwvVyIpTJyJGCjgiF7Mo9ZBHd9kYdCXDim+kCX2gHgt4f7xH3VSP0PVDGDBAlLoLg2I KXhMZLlZt33vk42lIPpOOqHtZ5UCKTr/Ox+QrwsCUN4dku1PCXY0jrD4CVnlJnA6n21+ zW2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cN6sWaGU; 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 b15si2273055edz.247.2021.03.05.11.45.49; Fri, 05 Mar 2021 11:46:11 -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=cN6sWaGU; 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 S230084AbhCETmY (ORCPT + 99 others); Fri, 5 Mar 2021 14:42:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230112AbhCETmR (ORCPT ); Fri, 5 Mar 2021 14:42:17 -0500 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71EE6C06175F; Fri, 5 Mar 2021 11:42:17 -0800 (PST) Received: by mail-io1-xd2b.google.com with SMTP id g27so3256334iox.2; Fri, 05 Mar 2021 11:42: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=nt32QhVHzb3AENSb5YIy5UA4K+u/RYIwLbCnQB1uC4Q=; b=cN6sWaGUr7uk5054iUQya5vyfzhWjihiu9zHJixqNTx+519hMe0GIVJpQ03aebfcLX OXjfPzZKOBACLFgu+N1y+PzR5mqiyOV4UmlkpP3HL2zbykb4Eg1uWUndqaGR1aIJQeoM xfDsdZIDmhrtxStve4B+yZ+kRkijzgzJwX496jFvjUPGcSRfx4zwNLaWogxESSV9LGXt r8ZjCZJPDsDa+a0b23ebjmfUb1Hb3YyBVHX/I2PVM3P3SRhjQyT7/J1FtfwORo+EyvwT 1whISDx+BMTNGnbRN1Z/HMfHDKAG1jWRydHnRw5Da9ub6DsAJebqRzfGO85ZV/bN7yO6 lPMw== 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=nt32QhVHzb3AENSb5YIy5UA4K+u/RYIwLbCnQB1uC4Q=; b=ive7mP+kY+LEwfdWeAQGO4jCpFGFY9izn+6GHCu499/kk7CDRoBHWMYKwcq9tLXJsu qVdrvvtIiQRONcmUXsl7nHQc7ruaTjsXXQ9bbBSLDuRDEqWYL0MaZU+Hblzn4r+QhDcm YCOLVNb2mwJiiDekAUl+M/55CKnBw/UVi0YBuhlTy5BBvIei7bL3Cm70RVcCG62QPhOe S/zRgLtFL4FHSdGEBzRwI6Vo2iZSgZC+qEtutiQhE7iamiXMZNtZHUfK8tTr77inOb7p f4sDk15MQjlTMsUoRIrf0wGt7YzPfuOjANi+ItKCatH2cXIm1f4ooguqRbEGB1iZFEYR jyGw== X-Gm-Message-State: AOAM532TLwxD+PZ+V5AXOgtv0IM17X6SqAoLHiazyStAqZ9do22Rtvbx kkjn2MWRsQpsEKEeqKqSqY6xnyLAQR7Y0EQA5fABZQuqbAO63g== X-Received: by 2002:a02:b890:: with SMTP id p16mr11266473jam.138.1614973336876; Fri, 05 Mar 2021 11:42:16 -0800 (PST) MIME-Version: 1.0 References: <20210301155321.GA1490228@rowland.harvard.edu> <20210305160728.GE38200@rowland.harvard.edu> <20210305193003.GE48113@rowland.harvard.edu> In-Reply-To: <20210305193003.GE48113@rowland.harvard.edu> Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Fri, 5 Mar 2021 20:41:40 +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 Fri, Mar 5, 2021 at 8:30 PM Alan Stern wrote: > > On Fri, Mar 05, 2021 at 08:22:22PM +0100, Sedat Dilek wrote: > > The quirks match: > > > > [Fri Mar 5 20:06:56 2021] usb-storage 4-1:1.0: USB Mass Storage device detected > > [Fri Mar 5 20:06:56 2021] usb-storage 4-1:1.0: Quirks match for vid > > 174c pid 55aa: 400000 > > > > That seems not to be the trick: > > > > root# LC_ALL=C dmesg -T | grep 'usb 4-1:' > > [Fri Mar 5 20:06:55 2021] usb 4-1: new SuperSpeed Gen 1 USB device > > number 2 using xhci_hcd > > [Fri Mar 5 20:06:55 2021] usb 4-1: New USB device found, > > idVendor=174c, idProduct=55aa, bcdDevice= 1.00 > > [Fri Mar 5 20:06:55 2021] usb 4-1: New USB device strings: Mfr=2, > > Product=3, SerialNumber=1 > > [Fri Mar 5 20:06:55 2021] usb 4-1: Product: MEDION HDDrive-n-GO > > [Fri Mar 5 20:06:55 2021] usb 4-1: Manufacturer: MEDION > > [Fri Mar 5 20:06:55 2021] usb 4-1: SerialNumber: 3180000000000000092C > > [Fri Mar 5 20:06:57 2021] usb 4-1: reset SuperSpeed Gen 1 USB device > > number 2 using xhci_hcd > > Okay, that indicates the ATA commands are being sent not by the kernel > but by some program. I'm not sure how you can easily find out which > program; probably the best thing to do is turn them off one by one until > you find the one responsible. > I can hardly imagine which user-space tools other than powertop can interfere here. Any ideas? I will remove or better comment the quirks in /etc/modules-load.d/usb-storage.conf for now. - Sedat -