From: Douglas Gilbert <dougg@torque.net>
To: Guy <bugzilla@watkins-home.com>
Cc: 'Matthias Andree' <matthias.andree@gmx.de>,
'SCSI Mailing List' <linux-scsi@vger.kernel.org>
Subject: Re: Help decoding: Info fld=0x25e6e3, Current sd08:b1: sense key Recovered Error
Date: Wed, 19 Jan 2005 11:22:35 +1000 [thread overview]
Message-ID: <41EDB65B.5030007@torque.net> (raw)
In-Reply-To: <200501182334.j0INYD904933@www.watkins-home.com>
Guy wrote:
> Good info. Thanks!
> I could not find the answer with google. Too much noise!
>
> Is 0x25e6e3 the block number?
Yes (logical block number expressed in hex)
> If it is, is it relative to the beginning of sdl1, or sdl?
/dev/sdl
> If not, what is it?
Looking at the settings of the "read write error recovery"
mode page on /dev/sdl may be instructive. ['sginfo -e /dev/sdl'
from sg3_utils.] The PER bit seems to be set (otherwise a
recovered error should not have been reported) but the ARRE
and AWRE bits are probably clear. Those bits control the
automatic reaasignment of a block when a recovered error
occurs as reported in your case.
Assuming the problem occurred on a read and that the ARRE
it is clear then you may want to reassign that block. To
check its current state you might try:
sg_dd if=/dev/sdl skip=0x25e6e3 of=. bs=512 count=1 blk_sgio=1
If that recovered error persists (or worse) rather than formatting
the disk, reassigning that block is more surgical. sg_reassign has
be added to sg3_utils recently (v1.12 beta at www.torque.net/sg)
to do this. In your case:
sg_reassign -a 0x25e6e3 /dev/sdl
If successful the replaced sector should go into the
"grown" defect list ('sginfo -G /dev/sdl'). This utility
may be worth trying before and after the sg_reassign.
Another way to accomplish the same thing is to set
the ARRE bit (and the AWRE while you are at it) and do
another read of that block. The reported additonal
sense message should change to something like "Recovered
data: data auto-reallocated". Reading the whole disk
might be wise (to see if that lba was a lone case).
More generally this is not a good sign concerning the
health of that disk. No data has been lost _yet_ but it
had to work hard to recovery it. Any entries in the "grown"
defect list is not a good sign. Also with smartmontools
you might like to try 'smartctl -a /dev/sdl' and examine
the "Error counter log" and compare that does some of your
other drives that are not reporting problems. A long
self test may also be appropriate: 'smartctl -t long /dev/sdl'.
Doug Gilbert
> -----Original Message-----
> From: Matthias Andree [mailto:matthias.andree@gmx.de]
> Sent: Tuesday, January 18, 2005 4:09 PM
> To: Guy
> Cc: unlisted-recipients:; no To-header on input; 'SCSI Mailing List'
> Subject: Re: Help decoding: Info fld=0x25e6e3, Current sd08:b1: sense key
> Recovered Error
>
> "Guy" <bugzilla@watkins-home.com> writes:
>
>
>>Can anyone help decode this info?
>>
>>What is 0x25e6e3?
>>What disk is sd08:b1?
>
>
> /dev/sdl1 (ess dee ell one) - that's sedecimal notation for a device
> with major 8 minor 0xb1 = 177;
>
> $ ls -l /dev/sd* |grep " 8, 177"
> brw-rw---- 1 root disk 8, 177 2004-10-02 10:38 /dev/sdl1
>
>
>>kernel: Info fld=0x25e6e3, Current sd08:b1: sense key Recovered Error
>>kernel: Additional sense indicates Recovered data with error corr. &
>
> retries
>
>>applied
>
>
> Time to check and possibly replace the drive, or at least refresh the
> block.
>
> smartmontools (on sourceforge) and perhaps badblocks or Jörg Schillings
> sformat (careful!) may help you with that.
>
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2005-01-19 1:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200501121941.18058.david-b@pacbell.net>
2005-01-14 16:05 ` [PATCH as445] Fix reference to deallocated memory in sd.c Alan Stern
2005-01-18 14:56 ` [PATCH as448] Fix reference to deallocated memory in sr.c Alan Stern
2005-01-18 15:10 ` James Bottomley
2005-01-18 20:55 ` Help decoding: Info fld=0x25e6e3, Current sd08:b1: sense key Recovered Error Guy
2005-01-18 21:08 ` Matthias Andree
2005-01-18 23:32 ` Guy
2005-01-19 1:22 ` Douglas Gilbert [this message]
2005-01-19 4:32 ` Guy
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=41EDB65B.5030007@torque.net \
--to=dougg@torque.net \
--cc=bugzilla@watkins-home.com \
--cc=linux-scsi@vger.kernel.org \
--cc=matthias.andree@gmx.de \
/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