From: "H. Peter Anvin" <hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
To: James Bottomley
<James.Bottomley-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org>
Cc: Alan Stern
<stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org>,
Oliver Neukum <oneukum-l3A5Bk7waGM@public.gmane.org>,
Ellwood Blues
<elwood.blue-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-scsi <linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
USB Storage List
<usb-storage-ijkIwGHArpdIPJnuZ7Njw4oP9KaGy4wf@public.gmane.org>
Subject: Re: [usb-storage] Re: Fwd: 2TB USB hard drive for backing up
Date: Tue, 22 Jan 2013 13:17:20 -0600 [thread overview]
Message-ID: <2d90dddf-1bdc-4f43-bdf3-9ec09e38bb8b@email.android.com> (raw)
In-Reply-To: <1358874830.2387.46.camel-sFMDBYUN5F8GjUHQrlYNx2Wm91YjaHnnhRte9Li2A+AAvxtiuMwx3w@public.gmane.org>
Don't worry... I have lived in that world for decades... it's a lot like BIOS.
James Bottomley <James.Bottomley-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org> wrote:
>On Tue, 2013-01-22 at 11:05 -0600, H. Peter Anvin wrote:
>> On 01/22/2013 09:43 AM, Alan Stern wrote:
>> > On Tue, 22 Jan 2013, Oliver Neukum wrote:
>> >
>> >> On Tuesday 22 January 2013 11:05:35 James Bottomley wrote:
>> >>>> May 3 18:19:06 relampago3 kernel: [ 3948.472796] sd 7:0:0:0:
>[sdf]
>> >>>> 1565565872 512-byte logical blocks: (801 GB/746 GiB)
>> >>>
>> >>> This looks like a wrap around of your actual size. This appears
>to
>> >>> indicate the device isn't replying correctly to READ CAPACITY.
>The
>> >>> conventional return from READ CAPACITY should be -1 which would
>trigger
>> >>> us to retry with READ CAPACITY(16).
>> >>
>> >> What can we do? The answer the device is giving is quite ordinary.
>> >> Do we need another quirk and an associated flag?
>> >
>> > The JMicron bridges are well known to be fairly buggy. Another
>quirk
>> > may indeed be the only solution. Oliver, would you like to write a
>
>> > patch for it?
>> >
>>
>> Would it make more sense to try READ CAPACITY(16) first? Or does
>that
>> have other bad effects?
>
>That has other effect: Many USB devices crash the firmware on 16 byte
>commands (sigh, welcome to our world ...)
>
>James
--
Sent from my mobile phone. Please excuse brevity and lack of formatting.
prev parent reply other threads:[~2013-01-22 19:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <jmunm9$90r$2@speranza.aioe.org>
[not found] ` <201204301814.21525.Martin@lichtvoll.de>
[not found] ` <CAGZeNoc82T0jS=Sg3d2umqi6PjAWjOKjqK2RbuK+QfAzN3Pmww@mail.gmail.com>
[not found] ` <201205010044.24643.Martin@lichtvoll.de>
[not found] ` <CAGZeNoeSEtTMK22+JcsG7xRRrbsQwgJV5iLgWenrX=rvLr-ZXQ@mail.gmail.com>
[not found] ` <CAGZeNof6NWiXhCDPpZiLu8QhQ_6Cmp-nhSOf=h=-jAjccWaa7g@mail.gmail.com>
[not found] ` <CAGZeNoeEoecpjvuP9uwphostOcrrAJNerxYGUtjyaMEBn04jxQ@mail.gmail.com>
[not found] ` <CAGZeNoeEoecpjvuP9uwphostOcrrAJNerxYGUtjyaMEBn04jxQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-01-22 11:05 ` Fwd: 2TB USB hard drive for backing up James Bottomley
2013-01-22 11:49 ` Oliver Neukum
2013-01-22 11:58 ` James Bottomley
2013-01-22 15:43 ` [usb-storage] " Alan Stern
2013-01-22 17:05 ` H. Peter Anvin
2013-01-22 17:13 ` James Bottomley
[not found] ` <1358874830.2387.46.camel-sFMDBYUN5F8GjUHQrlYNx2Wm91YjaHnnhRte9Li2A+AAvxtiuMwx3w@public.gmane.org>
2013-01-22 19:17 ` H. Peter Anvin [this message]
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=2d90dddf-1bdc-4f43-bdf3-9ec09e38bb8b@email.android.com \
--to=hpa-ymnouzjc4hwavxtiumwx3w@public.gmane.org \
--cc=James.Bottomley-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org \
--cc=elwood.blue-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=oneukum-l3A5Bk7waGM@public.gmane.org \
--cc=stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org \
--cc=usb-storage-ijkIwGHArpdIPJnuZ7Njw4oP9KaGy4wf@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox