All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: linux-ext4@vger.kernel.org
Subject: [Bug 89511] USB-storage mount error
Date: Fri, 05 Jun 2015 14:54:18 +0000	[thread overview]
Message-ID: <bug-89511-13602-tQM9qfAxyV@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-89511-13602@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=89511

--- Comment #51 from Alan Stern <stern@rowland.harvard.edu> ---
For those new to this bug report, the interesting part starts here:

    https://bugzilla.kernel.org/show_bug.cgi?id=89511#c19

In short, these are USB drive adapters that doesn't support the
SYNCHRONIZE CACHE command but claim to be write-back.  (In at least 
one case, it initially claims to be write-through but then changes to 
write-back following a reset, or something like that.)

On Thu, 4 Jun 2015 bugzilla-daemon@bugzilla.kernel.org wrote:

> --- Comment #50 from Markus Rathgeb <maggu2810@gmail.com> ---
> I ran in the same trouble with an old USB case for 2.5'' IDE hard discs.
> 
> The drive cache_type is set to "write back" if it plugged in.
> The drive is working using if I set the cache type to "temporary write
> through".
> 
> So, I think this is the exact same problem discussed here.
> 
> At the moment I tested the workaround using v3.18.2 (gentoo-sources).
> Without the workaround the problem also exists using the Kernel v4.0.4 (used
> gentoo-sources, but I think that should not be related to the problem at all).
> 
> Is there anything I / we can do, to solve this problem at all in the kernel
> space (e.g. if SYNCHRONIZE CACHE command is not working, fallback to write
> through)?

This is up to the SCSI developers.

The real question is what should happen when a drive really does have a
write cache but doesn't recognize the SYNCHRONIZE CACHE command.  I
don't know what the kernel can do in this case -- maybe just log a
one-time error message and turn off sdkp->WCE?

Alan Stern

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

  parent reply	other threads:[~2015-06-05 14:54 UTC|newest]

Thread overview: 81+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-10  2:35 [Bug 89511] New: USB-storage mount error bugzilla-daemon
2014-12-10 17:17 ` [Bug 89511] " bugzilla-daemon
2014-12-10 22:33 ` bugzilla-daemon
2014-12-10 22:51 ` bugzilla-daemon
2014-12-11 10:00 ` bugzilla-daemon
2014-12-11 19:31 ` bugzilla-daemon
2014-12-12 13:01 ` bugzilla-daemon
2014-12-13  7:41 ` bugzilla-daemon
2014-12-16 21:50 ` bugzilla-daemon
2014-12-19  8:36 ` bugzilla-daemon
2014-12-19  8:41 ` bugzilla-daemon
2014-12-19  8:42 ` bugzilla-daemon
2014-12-19  8:44 ` bugzilla-daemon
2014-12-19  8:44 ` bugzilla-daemon
2014-12-19  8:48 ` bugzilla-daemon
2014-12-19  8:50 ` bugzilla-daemon
2014-12-19 18:51 ` bugzilla-daemon
2014-12-19 21:15 ` bugzilla-daemon
2014-12-19 21:16 ` bugzilla-daemon
2014-12-19 21:19 ` bugzilla-daemon
2014-12-19 22:11 ` bugzilla-daemon
2014-12-20  1:48 ` bugzilla-daemon
2014-12-20  1:50 ` bugzilla-daemon
2014-12-20  1:50 ` bugzilla-daemon
2014-12-20  1:55 ` bugzilla-daemon
2014-12-25  7:45 ` bugzilla-daemon
2014-12-25 21:03 ` bugzilla-daemon
2014-12-26  7:56 ` bugzilla-daemon
2014-12-26 15:51 ` bugzilla-daemon
2014-12-26 22:08 ` bugzilla-daemon
2014-12-27 12:51 ` bugzilla-daemon
2014-12-27 13:01 ` bugzilla-daemon
2014-12-28  8:15 ` bugzilla-daemon
2014-12-28  8:24 ` bugzilla-daemon
2014-12-28  8:32 ` bugzilla-daemon
2015-01-02  0:49 ` bugzilla-daemon
2015-01-03 23:47 ` bugzilla-daemon
2015-01-04 20:12 ` bugzilla-daemon
2015-01-05 12:10 ` bugzilla-daemon
2015-01-05 13:48 ` bugzilla-daemon
2015-01-06  1:08 ` bugzilla-daemon
2015-01-06  1:42 ` bugzilla-daemon
2015-01-07  1:55 ` bugzilla-daemon
2015-01-08 13:01 ` bugzilla-daemon
2015-01-08 14:14 ` bugzilla-daemon
2015-01-09 13:46 ` bugzilla-daemon
2015-01-09 13:46 ` bugzilla-daemon
2015-01-09 19:54 ` bugzilla-daemon
2015-01-09 20:56 ` bugzilla-daemon
2015-01-09 21:19 ` bugzilla-daemon
2015-01-10 21:13 ` bugzilla-daemon
2015-01-11  1:29 ` bugzilla-daemon
2015-01-11  2:22 ` bugzilla-daemon
2015-06-04  7:47 ` bugzilla-daemon
2015-06-05 14:54 ` bugzilla-daemon [this message]
2015-06-07 10:22 ` bugzilla-daemon
2015-06-07 14:35 ` bugzilla-daemon
2015-06-07 22:12 ` bugzilla-daemon
2015-06-09 20:40 ` bugzilla-daemon
2015-06-09 21:11 ` bugzilla-daemon
2015-06-11  2:01 ` bugzilla-daemon
2015-06-11 13:56 ` bugzilla-daemon
2015-06-11 18:22 ` bugzilla-daemon
2015-06-11 18:46 ` bugzilla-daemon
2015-06-17 17:05 ` bugzilla-daemon
2015-06-17 17:18 ` bugzilla-daemon
2015-06-17 17:54 ` bugzilla-daemon
2015-06-17 19:56 ` bugzilla-daemon
2015-06-19 23:50 ` bugzilla-daemon
2015-06-21  8:59 ` bugzilla-daemon
2015-06-22 14:33 ` bugzilla-daemon
2015-07-22 17:39 ` bugzilla-daemon
2015-12-03  1:18 ` bugzilla-daemon
2015-12-03 23:25 ` bugzilla-daemon
2015-12-03 23:52 ` bugzilla-daemon
2017-09-17 12:12 ` bugzilla-daemon
2017-09-18 20:59 ` bugzilla-daemon
2017-09-19 14:46 ` bugzilla-daemon
2017-09-19 15:04 ` bugzilla-daemon
2017-09-19 17:18 ` bugzilla-daemon
     [not found] <bug-89511-1728-xp33cMoHb4@https.bugzilla.kernel.org/>
2015-06-05 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=bug-89511-13602-tQM9qfAxyV@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=linux-ext4@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.