From: Gene Heskett <gene.heskett@gmail.com>
To: Mark Lord <lkml@rtr.ca>
Cc: Mikael Pettersson <mikpe@it.uu.se>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux ide Mailing list <linux-ide@vger.kernel.org>
Subject: Re: Problem with ata layer in 2.6.24
Date: Mon, 28 Jan 2008 13:59:23 -0500 [thread overview]
Message-ID: <200801281359.24050.gene.heskett@gmail.com> (raw)
In-Reply-To: <479E1CF4.7060706@rtr.ca>
On Monday 28 January 2008, Mark Lord wrote:
>> [ 64.037975] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
>> [ 64.038102] ata1.00: BMDMA stat 0x65
>> [ 64.038227] ata1.00: cmd c8/00:58:89:3d:07/00:00:00:00:00/e0 tag 0 dma
>> 45056 in [ 64.038229] res 51/40:58:8b:3d:07/00:00:00:00:00/e0
>> Emask 0x9 (media error) [ 64.038432] ata1.00: status: { DRDY ERR }
>> [ 64.038555] ata1.00: error: { UNC }
>> [ 64.050125] ata1.00: configured for UDMA/100
>> [ 64.050134] sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
>> [ 64.050138] sd 0:0:0:0: [sda] Sense Key : 0x3 [current] [descriptor]
>> [ 64.050142] Descriptor sense data with sense descriptors (in hex):
>> [ 64.050143] 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
>> [ 64.050149] 00 07 3d 8b
>> [ 64.050152] sd 0:0:0:0: [sda] ASC=0x11 ASCQ=0x4
>> [ 64.050155] end_request: I/O error, dev sda, sector 474507
>
>..
>
>This error looks somewhat different from the samples posted earlier.
>This one is quite definitively a "bad sector".
>
>It should also show up in "smartctl -a -data /dev/sda" (near the bottom)
>if SMART was enabled on this drive at boot.
>
It does not unforch.
>You could try reading that specific sector again just to make sure.
>One way is to figure out how to use "dd" for this.
[root@coyote ~]# dd if=/dev/sda bs=512 skip=474506 count=3
��▒6
{�G���G���libkdecorations.so.1.0.0��c�®���J{�G���G���libkfontinst.so.0.0.0��c�®����"ʂ�GP�~GJ3G
6�7�8�#��z;����{�G���G���libkhotkeys_shared.so.1.0.0��c�®���N{�G���G���libkickermain.so.1.0.0��c�®���Y{�G���G���libkonq.so.4.2.0��c�®���Z{�G���G���libkonqsidebarplugin.so.1.2.0��c�®���d{�G���G���libksgrd.so.1.2.0��c�®����▒��G7
G▒�=G▒]��^���▒?����e{�G���G���libksplashthemes.so.0.0.0��c�®����{�G���G���libtaskbar.so.1.2.0��c�®����{�G���G���libtaskmanager.so.1.0.0��c�®�3+0
records in
3+0 records out
1536 bytes (1.5 kB) copied, 6.1403e-05 s, 25.0 MB/s
>Another way is to use the "make_bad_sector" utility that
>is included in the source tarball for hdparm-7.7, as follows:
>
> make_bad_sector --readback /dev/sda 474507
>
Apparently not in the rpm, darnit.
>(when invoked as above, it does *not* "make" a bad sector; no worries).
>
>If it reports an I/O error consistently on that, then the sector is
>indeed faulty, and it's contents have long been lost.
>
>You can repair the bad sector (but not the original contents) like this:
>
> make_bad_sector --rewrite /dev/sda 474507
>
>Cheers
I'm going up to Clarksburg this afternoon to see if I can find a couple of
drives, one a 2.5" bigger than 40Gb for my 2.5" maxtor usb housing, and
another pata drive big enough to run this thing & just re-install the
December respin after I save as much of this as I can, there's nearly 50GB
here now.
Maybe it won't be so fscking picky about the next drive.
I was hoping someone could look at that last dmseg I attached, but apparently
everybody is blinded by unrelated details as that bad sector may have been
transient, caused by the multiple hardware reset type reboots so far today :(
The last 3 reboots have interrupted a 'smartctl -t long /dev/sda' in
progress. :(
If I reconvert to non libata, can I do that only for the pata drives of which
there are 3 here including the dvd writer, and still use libata for the lone
sata drive left?
And can I do that without mucking with the device map, which will make
amanda/tar attempt to do a level 0 on the whole system if its changed. I see
the drives are at 254 again, when are they going to be given a stable device
address out of the LANANA experimental group so we can reboot without mucking
with that and driving tar crazy?
Thanks everybody.
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
I just had my entire INTESTINAL TRACT coated with TEFLON!
next prev parent reply other threads:[~2008-01-28 19:08 UTC|newest]
Thread overview: 74+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200801272122.21823.gene.heskett@gmail.com>
[not found] ` <18333.36746.819935.641383@harpo.it.uu.se>
[not found] ` <1201521783.6149.33.camel@lappy>
2008-01-28 12:54 ` Problem with ata layer in 2.6.24 Gene Heskett
2008-01-28 13:19 ` Gene Heskett
2008-01-28 13:57 ` Mikael Pettersson
2008-01-28 16:35 ` Gene Heskett
2008-01-28 16:50 ` Calvin Walton
2008-01-28 17:20 ` Zan Lynx
2008-01-28 17:30 ` Gene Heskett
2008-01-28 17:44 ` Gene Heskett
2008-01-28 17:59 ` Daniel Barkalow
2008-01-28 18:23 ` Richard Heck
2008-01-28 20:01 ` Daniel Barkalow
2008-01-29 0:05 ` Gene Heskett
2008-01-29 0:34 ` Daniel Barkalow
2008-01-29 1:31 ` Gene Heskett
2008-01-29 1:51 ` Daniel Barkalow
2008-01-29 4:48 ` Michal Jaegermann
2008-01-29 12:12 ` Alan Cox
2008-01-29 14:30 ` Gene Heskett
2008-01-29 14:51 ` Gene Heskett
2008-01-29 15:47 ` Alan Cox
2008-01-29 16:32 ` Gene Heskett
2008-01-29 16:48 ` Mikael Pettersson
2008-01-29 17:04 ` Gene Heskett
2008-01-29 17:38 ` Daniel Barkalow
2008-01-29 17:44 ` Alan Cox
2008-01-29 18:12 ` Daniel Barkalow
2008-01-29 17:59 ` Gene Heskett
2008-01-29 18:54 ` Alan Cox
2008-01-29 22:41 ` Gene Heskett
2008-01-29 22:48 ` Alan Cox
2008-01-30 0:19 ` rgheck
2008-01-30 0:19 ` Mark Lord
2008-01-29 17:06 ` rgheck
2008-01-29 17:12 ` Alan Cox
2008-01-29 17:24 ` rgheck
2008-01-29 17:40 ` Alan Cox
2008-01-29 18:11 ` Mark Lord
2008-01-29 18:28 ` rgheck
2008-01-29 18:32 ` Mark Lord
2008-01-29 18:14 ` Daniel Barkalow
2008-01-29 18:46 ` Alan Cox
2008-01-29 19:14 ` Daniel Barkalow
2008-01-29 19:34 ` Alan Cox
2008-01-28 16:56 ` Gene Heskett
2008-01-28 18:20 ` Mark Lord
2008-01-28 18:59 ` Gene Heskett [this message]
2008-01-28 20:43 ` Mark Lord
2008-01-29 0:06 ` Gene Heskett
2008-01-29 3:16 ` Mark Lord
2008-01-29 4:07 ` Gene Heskett
2008-01-28 17:06 ` Dave Neuer
2008-01-29 4:23 ` Kasper Sandberg
2008-01-29 4:49 ` Gene Heskett
2008-01-29 5:01 ` Kasper Sandberg
2008-02-02 7:13 ` Tejun Heo
2008-01-28 14:44 ` Richard Heck
2008-01-28 17:01 ` Gene Heskett
2008-01-28 18:38 ` Mark Lord
2008-01-28 20:01 ` Alan Cox
2008-01-28 20:29 ` Mark Lord
[not found] ` <479E24F7.4090502@rtr.ca>
2008-01-28 19:01 ` Mark Lord
[not found] ` <200801281404.12937.gene.heskett@gmail.com>
[not found] ` <479E399C.1030409@rtr.ca>
2008-01-28 20:32 ` Mark Lord
2008-01-28 19:08 ` Jeff Garzik
2008-01-28 19:13 ` Gene Heskett
2008-01-29 6:41 ` Florian Attenberger
2008-01-29 15:04 ` Gene Heskett
2008-01-29 16:12 ` Mark Lord
2008-01-29 16:36 ` Gene Heskett
2008-01-29 18:09 ` Mark Lord
2008-01-29 16:50 ` rgheck
2008-01-29 16:58 ` Jeff Garzik
2008-01-29 17:12 ` Gene Heskett
2008-01-29 17:32 ` Jeff Garzik
2008-01-29 17:53 ` Gene Heskett
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=200801281359.24050.gene.heskett@gmail.com \
--to=gene.heskett@gmail.com \
--cc=a.p.zijlstra@chello.nl \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkml@rtr.ca \
--cc=mikpe@it.uu.se \
/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;
as well as URLs for NNTP newsgroup(s).