Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1824030ybn; Thu, 26 Sep 2019 02:47:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqzwUE0jgksDShMCOp1V2k8gTpf0MmY4x7x3a/QdWB2H9m2+mFTS8X3X0KMDxYuS/ShRta4E X-Received: by 2002:a17:906:1853:: with SMTP id w19mr2234394eje.232.1569491242746; Thu, 26 Sep 2019 02:47:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569491242; cv=none; d=google.com; s=arc-20160816; b=EjILpVvHpHoQtbCjqGopI9S2CNHgARV7mjwYSWb2glVMcngtBdb0JNsBWuEojwIrzH sIimanyJEDJVdEA44QdBm37VWHvqb5pTDnGGQQkCf92n+R9uOdMcarO+J7/UVAnVi3kH LaZFv8eYmS4bKotKm7GBqJshyJeco7czsvYPb1C3KXiz7JZLGVxu8/oyrwxpMZ+TK6tY unIckH0QN51NBnmlqNIOve+2j7tDUxUMVQsC5ZASy8jBnlrmmhZ0vqDUf1VTrBRxw1ez AC/3DUem9g2aFJYiN8tX5+Nm8yViCaflZrI5ObfZb4A9ZiJ9qSTSvqMEPyo9d7d6i050 rOaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=9viXzIu6/nS6hdO3iMgGy1E8fUWLkHudmMTN1CXMlx8=; b=zHVwFBJAEZ95Tzmz9bNPE35TF7s2IyCGP3tM9C0Qz1rhBIHDNA+r5IzKDOAsigR9rm Mp5ZH3GNvhBk8662kq26etPnEai50beFnYrFP71ZScQrZM7UEa3MkaYZDfSXC8Fh24PQ OEO8TgqcroS0MH+78Da3F5Q17ZIH29T6llrO3xYj+SE7kVksWpIB/q6WOjaQAfWM8Xr7 ncYAXfUOt/Xk7f5VHxol0ko0QGujPh8BZvkmZQmSn9JKwx/W35HwWzvtt053oQAXYsdd pE5tCbLpezFmOx27aHK1uFop7aCXRK76+o2rnZuru5G5aqK+N9Py1Qw8xEL5flacUwjU +mUg== 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 f11si730413ejw.116.2019.09.26.02.46.59; Thu, 26 Sep 2019 02:47:22 -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 S2408210AbfIYRIH (ORCPT + 99 others); Wed, 25 Sep 2019 13:08:07 -0400 Received: from mx009.vodafonemail.xion.oxcs.net ([153.92.174.39]:60396 "EHLO mx009.vodafonemail.xion.oxcs.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2407544AbfIYRIH (ORCPT ); Wed, 25 Sep 2019 13:08:07 -0400 Received: from vsmx002.vodafonemail.xion.oxcs.net (unknown [192.168.75.192]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTP id 5D2D2605B16; Wed, 25 Sep 2019 17:08:04 +0000 (UTC) Received: from lazy.lzy (unknown [87.157.113.162]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTPA id B4A926066CF; Wed, 25 Sep 2019 17:07:47 +0000 (UTC) Received: from lazy.lzy (localhost [127.0.0.1]) by lazy.lzy (8.15.2/8.14.5) with ESMTPS id x8PH7gAS005723 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 25 Sep 2019 19:07:42 +0200 Received: (from red@localhost) by lazy.lzy (8.15.2/8.15.2/Submit) id x8PH7fiP005722; Wed, 25 Sep 2019 19:07:41 +0200 Date: Wed, 25 Sep 2019 19:07:41 +0200 From: Piergiorgio Sartor To: Piergiorgio Sartor Cc: Christoph Hellwig , Alan Stern , Jens Axboe , USB list , linux-block@vger.kernel.org, Kernel development list Subject: Re: reeze while write on external usb 3.0 hard disk [Bug 204095] Message-ID: <20190925170741.GA5235@lazy.lzy> References: <20190817095422.GA4200@lazy.lzy> <20190820072326.GD28968@lst.de> <20190820163722.GA2991@lazy.lzy> <20190826173833.GA4166@lazy.lzy> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190826173833.GA4166@lazy.lzy> User-Agent: Mutt/1.12.1 (2019-06-15) X-VADE-STATUS: LEGIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. bye, -- piergiorgio