mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Lev A. Melnikovsky" <melnikovsky@mail.ru>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Artur Skawina <art.08.09@gmail.com>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	linux-usb@vger.kernel.org
Subject: Re: reading errors on JMicron JM20337 USB-SATA
Date: Mon, 3 Aug 2009 23:24:46 +0400 (MSD)	[thread overview]
Message-ID: <alpine.LFD.2.00.0908032046010.31015@nev.ubzr> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0908031021370.16132-100000@iolanthe.rowland.org>


  On Mon, 3 Aug 2009 at 6:25pm, Alan Stern wrote:

AS> You are correct except for the term "indefinitely".  The retries _will_
AS> stop if you wait long enough.  Unfortunately, because of all the nested
AS> retry loops in the SCSI drivers and at the application level, you may
AS> have to wait as long as half an hour.
It was a simple test, I've plugged the USB cable off after two hours, this 
is apparently not long enough:

[root ~]# time dd if=/dev/sdf of=/dev/null skip=61395120 count=1 bs=512
dd: reading `/dev/sdf': Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 7550.12 s, 0.0 kB/s
dd: closing input file `/dev/sdf': Bad file descriptor

real    125m50.119s
user    0m0.000s
sys     0m0.000s

-L

  parent reply	other threads:[~2009-08-03 19:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-01 22:23 Lev A. Melnikovsky
2009-08-02 14:03 ` Artur Skawina
2009-08-03  7:19   ` Lev A. Melnikovsky
2009-08-03 14:25     ` Alan Stern
2009-08-03 15:33       ` Artur Skawina
2009-08-03 15:45         ` Alan Stern
2009-08-03 19:24       ` Lev A. Melnikovsky [this message]
2009-08-03 19:52         ` 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=alpine.LFD.2.00.0908032046010.31015@nev.ubzr \
    --to=melnikovsky@mail.ru \
    --cc=art.08.09@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    /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

all inboxes | Powered by JetHome®