public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
From: Alan Stern <stern@rowland.harvard.edu>
To: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Cc: Tobias Jakobi <cubic2k@gmail.com>,
	gregkh@linuxfoundation.org, linux-usb@vger.kernel.org
Subject: Re: [PATCH] usb: storage: add quirks for VIA VL817 USB3-SATA bridge
Date: Mon, 27 Sep 2021 11:04:00 -0400	[thread overview]
Message-ID: <20210927150400.GA361082@rowland.harvard.edu> (raw)
In-Reply-To: <609b10d0-7a20-ffa2-b283-67e0e91c7909@math.uni-bielefeld.de>

On Sun, Sep 26, 2021 at 08:14:46PM +0200, Tobias Jakobi wrote:
> Hello Alan,
> 
> On 9/21/21 6:42 PM, Alan Stern wrote:
> > On Tue, Sep 21, 2021 at 06:06:45PM +0200, Tobias Jakobi wrote:
> > > Hi Alan,
> > > 
> > > sorry but your analysis of the log is wrong. Nothing was disconnected or
> > > unplugged when the device behaves this way. The enclosure is connected to
> > > the power the entire time, and the same applies to the physical USB
> > > connection to my system.
> > That may be so, but if it is then the log extract you included with the
> > patch is very misleading.  For instance, you didn't include any part of
> > the log before and leading up to the line saying "usb 2-1.2: USB
> > disconnect, device number 4".  Thus there is no way for the reader to
> > tell what caused this event, whether it was a physical unplug or not.
> 
> I included the part of the kernel log which shows how the issue manifests
> itself. Do you think I'm so stupid as to believe I could prevent a physical
> unplug of the enclosure by blacklisting UAS? Really, this is getting
> ridiculous...

No, I don't believe that.  However, I do believe you are so stupid as 
to post a patch with a description that does not justify it and 
includes a lot of irrelevant details.  (Hey, you brought up the issue 
of how stupid you are!  :-)

> > > To make things very clear: This happens in under five minutes after having
> > > powered up the enclosure and starting a file transfer to the installed RAID.
> > > After blacklisting UASP the enclosure works perfectly fine for hours. I hope
> > > this clears things up.
> > You didn't answer my question about using NO_ATA_1X instead of
> > IGNORE_UAS.  This is a perfect example of one of the dangers of
> > top-posting -- it makes it far too easy for people to miss important
> > points in the email they are replying to.  (Hint: Don't top-post!)
> 
> I did not answer this question, because I didn't have the answer to it yet.
> I have tested your suggestion today, but sadly I'm running into the same
> type of problem with NO_ATA_1X. You can find the complete kernel log here:
> https://www.math.uni-bielefeld.de/~tjakobi/archive/dmesg_VL817.log

Good, thank you.  Unfortunately the log doesn't include any smoking 
guns pointing to an underlying cause.

> The RAID1 is broken after such an event.
> 
> With best wishes,
> Tobias
> 
> 
> > 
> > Alan Stern
> > 
> > > With best wishes,
> > > Tobias
> > > 
> > > On 9/21/21 5:13 PM, Alan Stern wrote:
> > > > On Tue, Sep 21, 2021 at 12:17:52PM +0200, Tobias Jakobi wrote:
> > > > > The VL817 is used in the RaidSonic Icy Box IB-3740-C31 enclosure. The enclosure
> > > > > is advertised as having UASP support, but appears to have problems with 4Kn
> > > > > drives (test was done with two Seagate Exos X, 12TB).
> > > > > 
> > > > > Disable UAS for the VL817 as it behaves highly unstable:

I still have to wonder if the enclosure works okay with other types of 
disk drive.  And if it doesn't, why don't these errors show up on 
Windows systems?  Or on other VIA enclosures?

That's why I'm cautious about accepting this patch.  I don't want to 
slow down unnecessarily a bunch of USB disks that could work just fine 
at the higher UAS transfer rates.

By the way, does the enclosure have its own power source, or does it 
rely entirely on power provided over the USB cable?  Note that UAS can 
use more power than the older mass-storage protocols, because it queues 
more operations in rapid succession (which is also why it runs faster).

Alan Stern

  reply	other threads:[~2021-09-27 15:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-21 10:17 [PATCH] usb: storage: add quirks for VIA VL817 USB3-SATA bridge Tobias Jakobi
2021-09-21 15:13 ` Alan Stern
2021-09-21 16:06   ` Tobias Jakobi
2021-09-21 16:42     ` Alan Stern
2021-09-26 18:14       ` Tobias Jakobi
2021-09-27 15:04         ` Alan Stern [this message]
2021-10-01 20:36           ` Tobias Jakobi
2021-10-02 14:54             ` Alan Stern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210927150400.GA361082@rowland.harvard.edu \
    --to=stern@rowland.harvard.edu \
    --cc=cubic2k@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=tjakobi@math.uni-bielefeld.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox