From: Tejun Heo <htejun@gmail.com>
To: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Cc: Jeff Garzik <jeff@garzik.org>,
linux-ide@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [QUESTION] ATA: abnormal status 0x80 on port 0xCC07
Date: Tue, 06 Feb 2007 23:10:14 -0800 [thread overview]
Message-ID: <45C97B56.8020800@gmail.com> (raw)
In-Reply-To: <45C8EAAD.5000905@googlemail.com>
Hello,
Michal Piotrowski wrote:
[--snip--]
> diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
> index a388a8d..cf70702 100644
> --- a/drivers/ata/libata-core.c
> +++ b/drivers/ata/libata-core.c
> @@ -1037,7 +1037,7 @@ static unsigned int ata_id_xfermask(cons
> * the PIO timing number for the maximum. Turn it into
> * a mask.
> */
> - u8 mode = id[ATA_ID_OLD_PIO_MODES] & 0xFF;
> + u8 mode = (id[ATA_ID_OLD_PIO_MODES] >> 8) & 0xFF;
> if (mode < 5) /* Valid PIO range */
> pio_mask = (2 << mode) - 1;
> else
All modern devices implement word53 and the above code probably never
runs in your case.
> There are 55 per cent chances that this is a hardware problem and
> 45 % that this is a software bug.
This seems more like a hardware problem to me.
> 9 Power_On_Hours 0x0032 098 098 000 Old_age Always - 2207
>
> Error 6 occurred at disk power-on lifetime: 2202 hours (91 days + 18 hours)
> When the command that caused the error occurred, the device was active or idle.
>
> After command completion occurred, registers were:
> ER ST SC SN CL CH DH
> -- -- -- -- -- -- --
> 40 51 00 bc 0c 02 e0 Error: UNC at LBA = 0x00020cbc = 134332
>
> Commands leading to the command that caused the error were:
> CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
> -- -- -- -- -- -- -- -- ---------------- --------------------
> c8 00 00 2f 0c 02 e0 00 00:01:07.193 READ DMA
> ec 03 46 00 00 00 a0 02 00:01:07.192 IDENTIFY DEVICE
> ef 03 46 00 00 00 a0 00 00:01:07.180 SET FEATURES [Set transfer mode]
> ec 00 00 bc 0c 02 a0 02 00:01:05.100 IDENTIFY DEVICE
> c8 00 00 2f 0c 02 e0 00 00:01:05.096 READ DMA
There have been a series of read errors on LBA 0x20cbc about five hours
before the smart log was dumped. The error status as seen by the drive
is uncorrectable media error at LBA 0x20cbc. The failing command is
READ for LBA 0x20c2f, so the drive could read some sectors but not all
of them. Maybe the command times out while the drive keeps retrying read.
Hmmm.. errors in smart log and dmesg don't have matching LBAs. So, it's
possible that those failed read and the command timeouts are unrelated.
Please keep watching and report. We need more info to determine
what's going on.
--
tejun
next prev parent reply other threads:[~2007-02-07 7:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-03 18:44 [QUESTION] ATA: abnormal status 0x80 on port 0xCC07 Michal Piotrowski
2007-02-06 20:53 ` Michal Piotrowski
[not found] ` <6bffcb0e0702061557r2ba51186ra33a428e1a1f051@mail.gmail.com>
2007-02-07 0:54 ` Michal Piotrowski
2007-02-07 7:10 ` Tejun Heo [this message]
2007-02-07 3:23 ` Jeff Garzik
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=45C97B56.8020800@gmail.com \
--to=htejun@gmail.com \
--cc=jeff@garzik.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michal.k.k.piotrowski@gmail.com \
/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).