All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: linux-scsi@vger.kernel.org
Subject: [Bug 60711] New: USB drive no longer detected as removable storage media
Date: Wed, 07 Aug 2013 08:15:30 +0000	[thread overview]
Message-ID: <bug-60711-11613@https.bugzilla.kernel.org/> (raw)

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

            Bug ID: 60711
           Summary: USB drive no longer detected as removable storage
                    media
           Product: IO/Storage
           Version: 2.5
    Kernel Version: 3.10.3
          Hardware: i386
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: low
          Priority: P1
         Component: SCSI
          Assignee: linux-scsi@vger.kernel.org
          Reporter: trallala@onlinehome.de
        Regression: No

Created attachment 107132
  --> https://bugzilla.kernel.org/attachment.cgi?id=107132&action=edit
DMESG excerpt from success and failure

This patch

commit 98dcc2946adbe4349ef1ef9b99873b912831edd4
Author: Martin K. Petersen <martin.petersen@oracle.com>
Date:   Thu Jun 6 22:15:55 2013 -0400
SCSI: sd: Update WRITE SAME heuristics
commit 66c28f97120e8a621afd5aa7a31c4b85c547d33d upstream.

introduced with kernel patch-3.10.3 effectively breaks detection of some USB
drives as removable storage media. The concerned drives are recognized by the
SCSI layer, but are no longer available as removable storage (see attachment).

Commenting out the following if-clause from sd.c (function sd_read_write_same)
        if (!scsi_get_vpd_page(sdev, 0x89, buffer, SD_BUF_SIZE))
            sdev->no_write_same = 1;
makes anything working as expected.

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

             reply	other threads:[~2013-08-07  8:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-07  8:15 bugzilla-daemon [this message]
2013-11-13 16:19 ` [Bug 60711] USB drive no longer detected as removable storage media bugzilla-daemon

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-60711-11613@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=linux-scsi@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.