public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg Stark <gsstark@mit.edu>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Greg Stark <gsstark@mit.edu>, Brad Campbell <brad@wasp.net.au>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Jeff Garzik <jgarzik@pobox.com>
Subject: Re: Crashed Drive, libata wedges when trying to recover data
Date: 03 Sep 2004 11:58:07 -0400	[thread overview]
Message-ID: <877jrbtkds.fsf@stark.xeocode.com> (raw)
In-Reply-To: <1094219609.7923.0.camel@localhost.localdomain>


Alan Cox <alan@lxorguk.ukuu.org.uk> writes:

> On Gwe, 2004-09-03 at 15:27, Greg Stark wrote:
> > Well I still have a problem. It seems once this occurs that *every* further
> > access generates the error.
> 
> If you are accessing it through the file system I'd expect that to an
> extent.

I've even unmounted the filesystem and tried mounting it again. Now I can't
even mount it without generating the error.

It seems like once I get the "ATA: abnormal status 0x59 on port 0xEFE7" error
the device becomes completely inaccessible.

Whereas before I get the "abnormal status" error I can mount the filesystem,
and read some of the directories just fine. Even once I hit the bad section I
can still access the good areas. It's only once I've hit the bad section
enough to trigger this message that the entire disk becomes inaccessible.

> Is this true copying the raw device ?

Well using "dd bs=512 if=/dev/sda4 of=/dev/null" I see errors on every block.
The errors below are from the dd. Notice the errors are for every logical
block starting at block 1.

I haven't gotten to writing a program to use O_DIRECT yet. But this is a
pretty strong indictment. Since the filesystem worked fine before the error I
know the superblock can be read at least.

Sep  3 11:48:39 stark kernel: ata1: command 0x25 timeout, stat 0x59 host_stat 0x21
Sep  3 11:48:39 stark kernel: ata1: status=0x59 { DriveReady SeekComplete DataRequest Error }
Sep  3 11:48:39 stark kernel: ata1: error=0x01 { AddrMarkNotFound }
Sep  3 11:48:39 stark kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB: 0x28 00 0e 4f f7 81 00 00 7f 00 
Sep  3 11:48:39 stark kernel: Current sda: sense = 70  3
Sep  3 11:48:39 stark kernel: ASC=13 ASCQ= 0
Sep  3 11:48:39 stark kernel: Raw sense data:0x70 0x00 0x03 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x13 0x00 0x00 0x00 0x00 0x00 
Sep  3 11:48:39 stark kernel: end_request: I/O error, dev sda, sector 240121729
Sep  3 11:48:39 stark kernel: Buffer I/O error on device sda4, logical block 1
Sep  3 11:48:39 stark kernel: ATA: abnormal status 0x59 on port 0xEFE7
Sep  3 11:48:39 stark last message repeated 2 times
Sep  3 11:49:09 stark kernel: ata1: command 0x25 timeout, stat 0x59 host_stat 0x21
Sep  3 11:49:09 stark kernel: ata1: status=0x59 { DriveReady SeekComplete DataRequest Error }
Sep  3 11:49:09 stark kernel: ata1: error=0x01 { AddrMarkNotFound }
Sep  3 11:49:09 stark kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB: 0x28 00 0e 4f f7 82 00 00 7e 00 
Sep  3 11:49:09 stark kernel: Current sda: sense = 70  3
Sep  3 11:49:09 stark kernel: ASC=13 ASCQ= 0
Sep  3 11:49:09 stark kernel: Raw sense data:0x70 0x00 0x03 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x13 0x00 0x00 0x00 0x00 0x00 
Sep  3 11:49:09 stark kernel: end_request: I/O error, dev sda, sector 240121730
Sep  3 11:49:09 stark kernel: Buffer I/O error on device sda4, logical block 2
Sep  3 11:49:09 stark kernel: ATA: abnormal status 0x59 on port 0xEFE7
Sep  3 11:49:09 stark last message repeated 2 times
Sep  3 11:49:39 stark kernel: ata1: command 0x25 timeout, stat 0x59 host_stat 0x21
Sep  3 11:49:39 stark kernel: ata1: status=0x59 { DriveReady SeekComplete DataRequest Error }
Sep  3 11:49:39 stark kernel: ata1: error=0x01 { AddrMarkNotFound }
Sep  3 11:49:39 stark kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB: 0x28 00 0e 4f f7 83 00 00 7d 00 
Sep  3 11:49:39 stark kernel: Current sda: sense = 70  3
Sep  3 11:49:39 stark kernel: ASC=13 ASCQ= 0
Sep  3 11:49:39 stark kernel: Raw sense data:0x70 0x00 0x03 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x13 0x00 0x00 0x00 0x00 0x00 
Sep  3 11:49:39 stark kernel: end_request: I/O error, dev sda, sector 240121731
Sep  3 11:49:39 stark kernel: Buffer I/O error on device sda4, logical block 3
Sep  3 11:49:39 stark kernel: ATA: abnormal status 0x59 on port 0xEFE7
Sep  3 11:49:39 stark last message repeated 2 times
Sep  3 11:50:09 stark kernel: ata1: command 0x25 timeout, stat 0x59 host_stat 0x21
Sep  3 11:50:09 stark kernel: ata1: status=0x59 { DriveReady SeekComplete DataRequest Error }
Sep  3 11:50:09 stark kernel: ata1: error=0x01 { AddrMarkNotFound }
Sep  3 11:50:09 stark kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB: 0x28 00 0e 4f f7 84 00 00 7c 00 
Sep  3 11:50:09 stark kernel: Current sda: sense = 70  3
Sep  3 11:50:09 stark kernel: ASC=13 ASCQ= 0
Sep  3 11:50:09 stark kernel: Raw sense data:0x70 0x00 0x03 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x13 0x00 0x00 0x00 0x00 0x00 
Sep  3 11:50:09 stark kernel: end_request: I/O error, dev sda, sector 240121732
Sep  3 11:50:09 stark kernel: Buffer I/O error on device sda4, logical block 4
Sep  3 11:50:09 stark kernel: ATA: abnormal status 0x59 on port 0xEFE7
Sep  3 11:50:09 stark last message repeated 2 times
Sep  3 11:50:39 stark kernel: ata1: command 0x25 timeout, stat 0x59 host_stat 0x21
Sep  3 11:50:39 stark kernel: ata1: status=0x59 { DriveReady SeekComplete DataRequest Error }
Sep  3 11:50:39 stark kernel: ata1: error=0x01 { AddrMarkNotFound }
Sep  3 11:50:39 stark kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB: 0x28 00 0e 4f f7 85 00 00 7b 00 
Sep  3 11:50:39 stark kernel: Current sda: sense = 70  3
Sep  3 11:50:39 stark kernel: ASC=13 ASCQ= 0
Sep  3 11:50:39 stark kernel: Raw sense data:0x70 0x00 0x03 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x13 0x00 0x00 0x00 0x00 0x00 
Sep  3 11:50:39 stark kernel: end_request: I/O error, dev sda, sector 240121733
Sep  3 11:50:39 stark kernel: Buffer I/O error on device sda4, logical block 5
Sep  3 11:50:39 stark kernel: ATA: abnormal status 0x59 on port 0xEFE7
Sep  3 11:50:39 stark last message repeated 2 times
Sep  3 11:51:09 stark kernel: ata1: command 0x25 timeout, stat 0x59 host_stat 0x21
Sep  3 11:51:09 stark kernel: ata1: status=0x59 { DriveReady SeekComplete DataRequest Error }
Sep  3 11:51:09 stark kernel: ata1: error=0x01 { AddrMarkNotFound }
Sep  3 11:51:09 stark kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB: 0x28 00 0e 4f f7 86 00 00 7a 00 
Sep  3 11:51:09 stark kernel: Current sda: sense = 70  3
Sep  3 11:51:09 stark kernel: ASC=13 ASCQ= 0
Sep  3 11:51:09 stark kernel: Raw sense data:0x70 0x00 0x03 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x13 0x00 0x00 0x00 0x00 0x00 
Sep  3 11:51:09 stark kernel: end_request: I/O error, dev sda, sector 240121734
Sep  3 11:51:09 stark kernel: Buffer I/O error on device sda4, logical block 6
Sep  3 11:51:09 stark kernel: ATA: abnormal status 0x59 on port 0xEFE7
Sep  3 11:51:09 stark last message repeated 2 times
Sep  3 11:51:39 stark kernel: ata1: command 0x25 timeout, stat 0x59 host_stat 0x21
Sep  3 11:51:39 stark kernel: ata1: status=0x59 { DriveReady SeekComplete DataRequest Error }
Sep  3 11:51:39 stark kernel: ata1: error=0x01 { AddrMarkNotFound }
Sep  3 11:51:39 stark kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB: 0x28 00 0e 4f f7 87 00 00 79 00 
Sep  3 11:51:39 stark kernel: Current sda: sense = 70  3
Sep  3 11:51:39 stark kernel: ASC=13 ASCQ= 0
Sep  3 11:51:39 stark kernel: Raw sense data:0x70 0x00 0x03 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x13 0x00 0x00 0x00 0x00 0x00 
Sep  3 11:51:39 stark kernel: end_request: I/O error, dev sda, sector 240121735
Sep  3 11:51:39 stark kernel: Buffer I/O error on device sda4, logical block 7
Sep  3 11:51:39 stark kernel: ATA: abnormal status 0x59 on port 0xEFE7
Sep  3 11:51:39 stark last message repeated 2 times
Sep  3 11:52:09 stark kernel: ata1: command 0x25 timeout, stat 0x59 host_stat 0x21
Sep  3 11:52:09 stark kernel: ata1: status=0x59 { DriveReady SeekComplete DataRequest Error }
Sep  3 11:52:09 stark kernel: ata1: error=0x01 { AddrMarkNotFound }
Sep  3 11:52:09 stark kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB: 0x28 00 0e 4f f7 88 00 00 78 00 
Sep  3 11:52:09 stark kernel: Current sda: sense = 70  3
Sep  3 11:52:09 stark kernel: ASC=13 ASCQ= 0
Sep  3 11:52:09 stark kernel: Raw sense data:0x70 0x00 0x03 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x13 0x00 0x00 0x00 0x00 0x00 
Sep  3 11:52:09 stark kernel: end_request: I/O error, dev sda, sector 240121736
Sep  3 11:52:09 stark kernel: Buffer I/O error on device sda4, logical block 8
Sep  3 11:52:09 stark kernel: ATA: abnormal status 0x59 on port 0xEFE7



-- 
greg


  reply	other threads:[~2004-09-03 15:59 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-02  8:32 Crashed Drive, libata wedges when trying to recover data Greg Stark
2004-09-02  9:05 ` Brad Campbell
2004-09-03  4:52   ` Greg Stark
2004-09-03  5:13     ` Greg Stark
2004-09-03 11:08     ` Alan Cox
2004-09-03 14:27       ` Greg Stark
2004-09-03 13:53         ` Alan Cox
2004-09-03 15:58           ` Greg Stark [this message]
2004-09-03 15:09             ` Alan Cox
2004-09-03 16:47               ` Greg Stark
2004-09-03 17:08                 ` Eric Mudama
2004-09-03 17:35                   ` Greg Stark
2004-09-03 17:57                   ` Greg Stark
2004-09-03 19:45                     ` Brad Campbell
2004-09-04  0:10                     ` Eric Mudama
2004-09-03 12:51     ` Brad Campbell
2004-09-03 14:09       ` Alan Cox
2004-09-04 21:58         ` Greg Stark
2004-09-05  4:02           ` Brad Campbell

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=877jrbtkds.fsf@stark.xeocode.com \
    --to=gsstark@mit.edu \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=brad@wasp.net.au \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@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