mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Lev A. Melnikovsky" <melnikovsky@mail.ru>
To: Artur Skawina <art.08.09@gmail.com>
Cc: 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 11:19:33 +0400 (MSD)	[thread overview]
Message-ID: <alpine.LFD.2.00.0908030958570.31015@nev.ubzr> (raw)
In-Reply-To: <4A759CAB.9010002@gmail.com>

  On Sun, 2 Aug 2009 at 6:03pm, Artur Skawina wrote:

AS> Lev A. Melnikovsky wrote:
AS> > I have read through a year old thread on "JMicron JM20337 USB-SATA data
AS> > corruption bugfix" and it seems here's another aspect of the same
AS> > problem. The SATA disk has genuine errors (bad sectors, just in case: I
AS> > am not going to use it but to recover some data from it). Unfortunately
AS> > when a bad block is read no error is returned, instead a caller is
AS> > blocked indefinitely (until the USB cable is removed). The system log is
AS> > filled with repetitive
AS> > 
AS> > sd 3:0:0:0: [sdf] Sense Key : 0x0 [current]
AS> > sd 3:0:0:0: [sdf] ASC=0x0 ASCQ=0x0
AS> 
AS> yes, jmicron bridges do not report errors properly and just stall pretty
AS> much indefinitely; found out the hard way, when a disk started to develop
My interpretation was different - the bridge firmware does not crash but 
remains alive (it does not report the error properly but "zis iz probably 
perfectly normal behaviour for a Vogon"). This is the Linux kernel that 
indefinitely tries to re-read. Am I wrong?

AS> What did work for my case was to copy the data from the disk and every 
AS> time the process stalled turn off power to the sata drive for a few 
AS> seconds (leaving the bridge connected). The bridge in most cases 
AS> recovered and a bit more data got off the drive.
My nerve is too weak to touch ground/power until the data line is 
disconnected. Running -rc1 seems not so dangerous...

-L

  reply	other threads:[~2009-08-03  7:19 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 [this message]
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
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.0908030958570.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 \
    /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®