Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1828704ybn; Thu, 26 Sep 2019 02:52:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqwY0RQ1vMmZMfBcv4v9rkTwgT8wTHNcUdRNJXuxWok8xoBVtePUlptWCoIG2SPtGKyBl32u X-Received: by 2002:a05:6402:150a:: with SMTP id f10mr2499621edw.110.1569491543305; Thu, 26 Sep 2019 02:52:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569491543; cv=none; d=google.com; s=arc-20160816; b=SXc8cIb00A6D7ish56gNUoDcae9prZOq56VgkPXcp7vNCrA2cvi5Tivbc18/+DAvIT xH8jOT/VHHTVFGH9bWGHsJzLMDZVo71rSLYuLQ+L1MxQsiieYXmSBZkMYAAYH605CAGP wfMm4Xf1yaKyp0WGSAfND6g4hQsSk5AS+DaPhF1LXDoEUoHV0kgJafoQH38vmK6r3KwI f6FSXuFGyQ0d1DykpvleAHwxbt0zBMaZq2UoTt3Sx9TmT0u+MDzH/lR3S7H2y69AcihZ mSbRQNW6wHA2P6Hv3VjpqOsqWrnKXt+hVaMr6ux77+zV4sEJmNGi/1wplz+FeVl613+7 HMsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:in-reply-to :subject:cc:to:from:date; bh=/UqnKuyueACInDugnfGDcKhHtxXYS5ODyiS554y9AdY=; b=rHawTmBDDw9yMWjcTS+F6LNmvCLo+LfSAqAPFNuqGpuOJiyJ0v4rvgyKD1ZBE7n1Xj QZC2ORujWuWWqGqy4FBOQoGgCceC7NvtVOGZcB6OHRgr+twRiCz6tncpf5fzE4UQCF5V 3LyI9Cav89dLZuhMdm3fIixOYAFVBSfWGq67mxbEUIYpEFREQFoNVe1eMvhL0XNA6H7r 1bY6G7UVMOZPJQ3V0XDgl1Zig/V7EFQkYlx9StZYfgTZ2S5ewAasG5ZHXBpVBh3TuRQP ery201fILJ6/OpT4npo586YxsM95Ibn4Jm8VTSr+091Rp9GSrUQH81FyuzQXLETtl+Pw yrwQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a14si1052242eda.111.2019.09.26.02.52.00; Thu, 26 Sep 2019 02:52:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2634239AbfIYScA (ORCPT + 99 others); Wed, 25 Sep 2019 14:32:00 -0400 Received: from netrider.rowland.org ([192.131.102.5]:39663 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S2439908AbfIYSb7 (ORCPT ); Wed, 25 Sep 2019 14:31:59 -0400 Received: (qmail 5400 invoked by uid 500); 25 Sep 2019 14:31:58 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 25 Sep 2019 14:31:58 -0400 Date: Wed, 25 Sep 2019 14:31:58 -0400 (EDT) From: Alan Stern X-X-Sender: stern@netrider.rowland.org To: Piergiorgio Sartor cc: Christoph Hellwig , Jens Axboe , USB list , , Kernel development list Subject: Re: reeze while write on external usb 3.0 hard disk [Bug 204095] In-Reply-To: <20190925170741.GA5235@lazy.lzy> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 25 Sep 2019, Piergiorgio Sartor wrote: > On Mon, Aug 26, 2019 at 07:38:33PM +0200, Piergiorgio Sartor wrote: > > On Tue, Aug 20, 2019 at 06:37:22PM +0200, Piergiorgio Sartor wrote: > > > On Tue, Aug 20, 2019 at 09:23:26AM +0200, Christoph Hellwig wrote: > > > > On Mon, Aug 19, 2019 at 10:14:25AM -0400, Alan Stern wrote: > > > > > Let's bring this to the attention of some more people. > > > > > > > > > > It looks like the bug that was supposed to be fixed by commit > > > > > d74ffae8b8dd ("usb-storage: Add a limitation for > > > > > blk_queue_max_hw_sectors()"), which is part of 5.2.5, but apparently > > > > > the bug still occurs. > > > > > > > > Piergiorgio, > > > > > > > > can you dump the content of max_hw_sectors_kb file for your USB storage > > > > device and send that to this thread? > > > > > > Hi all, > > > > > > for both kernels, 5.1.20 (working) and 5.2.8 (not working), > > > the content of /sys/dev/x:y/queue/max_hw_sectors_kb is 512 > > > for USB storage devices (2.0 and 3.0). > > > > > > This is for the PC showing the issue. > > > > > > In an other PC, which does not show the issus at the moment, > > > the values are 120, for USB2.0, and 256, for USB3.0. > > > > Hi again, > > > > any news on this? > > > > Is there anything I can do to help? > > > > Should I report this somewhere else too? > > > > Currently this is quite a huge problem for me, > > since the only working external storage is an > > old 1394 HDD... > > Hi all, > > I'm now on kernel 5.2.16, from Fedora, and still I > see the same issue. > > I guess it is not a chipset quirk, since there > are two involved here. > For the USB 2.0 I've (with "lspci"): > > USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI]) > > For USB 3.0 I've: > > USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller (prog-if 30 [XHCI]) > > Any idea on how to proceed? > > Thanks a lot. One thing you can try is git bisect from 5.1.20 (or maybe just 5.1.0) to 5.2.8. If you can identify a particular commit which caused the problem to start, that would help. Alan Stern