From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60680C432C0 for ; Sat, 23 Nov 2019 18:12:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 350AB2067D for ; Sat, 23 Nov 2019 18:12:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mqrJ0NRm" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726518AbfKWSMZ (ORCPT ); Sat, 23 Nov 2019 13:12:25 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:41485 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726494AbfKWSMZ (ORCPT ); Sat, 23 Nov 2019 13:12:25 -0500 Received: by mail-pg1-f195.google.com with SMTP id 207so5025480pge.8 for ; Sat, 23 Nov 2019 10:12:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:cc:references:from:openpgp:autocrypt:subject:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=fsMFIiqX55DoBmpazW+9ohix9+cT6hcqtIMlCRaFEuc=; b=mqrJ0NRmaqCSvKsyvpUPRDxLhxwlC7otA8XRawynQQA2QZQl1TPkuUCJ1nIyCs61om 2L3/OOFOJYefA0OVy3rUdw4eUlNoyfxdJRz7SNUNrvlAPkTbT0qnftjLJkW7DqnSgQf3 XA0tV3KafXgae0G7FzKDUNtD3ZJtOA/w7U5d8uvm+c0GFZ24xrjeDa+75Go/MZMac6xY v1nWx2KOdkeIm/J2rX0kuc5Y5NB/jLol6nsWdeqMBpwvZ2NjOUY9LlubLJwbqudZS87H fY8/e3EWEK22wbPkT9Mfwu7J5OPeKDqHJyIRNYHpxWAL4XAEw9QrwAw5iivSITJO7QsH /wvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:references:from:openpgp:autocrypt:subject :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=fsMFIiqX55DoBmpazW+9ohix9+cT6hcqtIMlCRaFEuc=; b=HomCokM0e3iiOzFz2yoLvzZkb+73g7aVQCb/BIxwqDRVYqNQZ1XaNGXVMKvLI8H16Y sZzUTL7ybSybKCLUVq7OFyXzdb1YoQ4m6MBiCNgD6fv1PdjsLquSu5ozxCe9xU8oHP8d RnMEwuUQ0FE+/7a+TGa+7XMYefZmXszCrQdNq69YXa5jHedHqtr0DydMSJOYPbBjG0Ej XmrnHW0I40UlIyXAXodmKhFw/Cy7fdpwXY2bdPEHg0JLMjcWYAZuJqDhn3c1/S8t1Gz2 Gt6uObS+3aOHXjI8rRy4oxLZb4mvWHUUQuAipVhw2hXwZoC+3twPo5GA1Iy3LOAcE0RC m0Dw== X-Gm-Message-State: APjAAAVvJtsmqzqoYkGIlocVJ382DViEIBStsGh8SBhXaDVNYQhwAekY 1uTwdPRkd2EKhJchyS0URgwmHfIW X-Google-Smtp-Source: APXvYqzPJ6U0uhWT0fdDrjN3eSvTWFsRQPfNafec8nJakXmfDiyooHkf/ApcRWxXsBDBsWifcDT25A== X-Received: by 2002:a63:d854:: with SMTP id k20mr23343258pgj.305.1574532742337; Sat, 23 Nov 2019 10:12:22 -0800 (PST) Received: from [192.168.1.74] (cm-58-10-155-5.revip7.asianet.co.th. [58.10.155.5]) by smtp.gmail.com with ESMTPSA id a23sm2792985pjv.26.2019.11.23.10.12.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Nov 2019 10:12:21 -0800 (PST) To: Chris Murphy Cc: xfs list References: From: Pedro Ribeiro Openpgp: preference=signencrypt Autocrypt: addr=pedrib@gmail.com; prefer-encrypt=mutual; keydata= mQINBFwm1BoBEADn2jWmdJ/bfYt68oCakbE96zbB+zLzNcEH9JtYvArsgiKEnC+vre1RUzxb XEk6YwVLK/sYpvW73pibLcxPrmwPcxeDPvgWBE+CrEq+1CwMUFaTo3oZDp7XJIusvpRhLgNZ T1XCNKL76QsdSn9ePXgxCt+yUdYmc2p5hhppCOxFaRVLXfPTsZfsRF7bG8CFXYMZddXzhKNl X0VsLx31TT8NTcxhg9rS+AvHpt4WVmPn8N/HnIcxbXimMpJJbY1BSzlWIHo08ZH03g2ksR63 9LBkGkRGmw43x0FWTAokH3CUtXoEue1DAIepZKQBF/wz3HZ5Qmh22i7rqOjTfYYOcb4IXejg 92h5HiRoAPqPjfaxj8ftjnxbb9T29YYi2U26VjEuWHEl/eBq9si14r+qMstQnldLtS9YSML2 0pP4aW9BVTqnlYlXu7TjzIiFOucZ4uOmnR27Hz14RPrEPB9/WLV+FNDamlhlLutSh/HZGjul lO0mNR2vOjNdh1pSR+61qH3hrxQBruXY9d0Jz4glTabmxDUxlqu3IsXUh5zrbiyHZobsZl9D B6qxofIOBps2YBZ0EkLemeIrVJTZqisEzdt2V/ueSCxpPX2ojYWbWlEcX0mNMiQeio+G9JvK AQHiLMm+kT1H15B0lMAO5I7qZkVjwKl/KX2gcFuliDRsEfQLbwARAQABtCBQZWRybyBSaWJl aXJvIDxwZWRyaWJAZ21haWwuY29tPokCVAQTAQoAPhYhBEzoWj0TPXi7vANnHDw5SWaHDpZs BQJcJtQa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fvC0Z0alVzAVjbNBClXdT/F2XL8u9nmymzh8f2j1/8LUk 11kPI7eNvJGmVpYbBuON/aHSWv/HL/d4+FzKY0iIbkjM8OQ2NKtWp5yPViey0RnAVW8= Subject: Re: Bug when mounting XFS with external SATA drives in USB enclosures Message-ID: <192321f0-f79d-8b2d-4bfc-9316ae6fa2e6@gmail.com> Date: Sun, 24 Nov 2019 01:12:18 +0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org On 23/11/2019 23:56, Chris Murphy wrote: > > What about checking for differences in kernel messages between the > stripped down and stocked kernel, during device discovery. That is > connect no drives, boot the stripped kernel with the problem, connect > one of the problem USB devices, record the kernel messages that > result. Repeat that with the stock Debian kernel that doesn't exhibit > the bug. I'm not sure if you received it in the first email, but I have a zipfile with the dmesg output of both the Debian config and my own config, as well as the configs themselves. If for some reason the mailing list didn't process the attachment, you can download it from here: https://gofile.io/?c=6TaB3p Not sure if there a way to enable more verbose output? > > My guess is this is some obscure USB related bug. There are a ton of > bugs with USB enclosure firmware, controllers, and drivers. > Possibly, although it affects 3 different enclosures, so it should not be something enclosure specific, but affect a common layer. > Also, is this USB enclosure directly connected to the computer? Or to > a powered hub? I have inordinate problems with USB enclosures directly > connected to an Intel NUC, but when connected to a Dyconn USB hub with > external power source, the problems all go away. And my understanding > is the hub doesn't just act like a repeater. It pretty much rewrites > the entire stream. So there's something screwy going on either with > the Intel controller I have, or the USB-SATA bridge chip, that causes > confusing that the hub eliminates. All connected directly to the computer, two via USB-3, one via USB-C, same errors. >