From: Tejun Heo <htejun@gmail.com>
To: Conke Hu <conke.hu@gmail.com>
Cc: Jeff Garzik <jeff@garzik.org>, Alan <alan@lxorguk.ukuu.org.uk>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-ide@vger.kernel.org
Subject: Re: [PATCH] ahci.c: walkaround for SB600 SATA internal error issue
Date: Tue, 27 Mar 2007 19:48:57 +0900 [thread overview]
Message-ID: <4608F699.9030102@gmail.com> (raw)
In-Reply-To: <5767b9100703270333k71361b89n756281124fd78c80@mail.gmail.com>
Conke Hu wrote:
> There is a HW issue in ATI SB600 SATA that PxSERR.E should not be
> set on some conditions, for example, when there is no media in SATA
> CD/DVD drive or media is not ready, AHCI controller fails to execute
> ATAPI commands and reports PORT_IRQ_TF_ERR, but ATI SB600 SATA
> controller sets PxSERR.E at the
> same time, which is not necessary.
> This patch is just to ignore the INTERNAL ERROR in such case.
> Without this patch, ahci error handler will report many errors as
> below:
> ----------- cut from dmesg -----------
> ata9: soft resetting port
> ata9: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> ata9.00: configured for UDMA/33
> ata9: EH complete
> ata9.00: exception Emask 0x40 SAct 0x0 SErr 0x800 action 0x2
> ata9.00: (irq_stat 0x40000001)
> ata9.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0
> res 51/24:03:00:00:20/00:00:00:00:00/a0 Emask 0x40 (internal error)
> ata9: soft resetting port
> ata9: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> ata9.00: configured for UDMA/33
> ata9: EH complete
> ata9.00: exception Emask 0x40 SAct 0x0 SErr 0x800 action 0x2
> ata9.00: (irq_stat 0x40000001)
> ata9.00: cmd a0/01:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x43 data 12 in
> res 51/24:03:00:00:00/00:00:00:00:00/a0 Emask 0x40 (internal error)
> -------- end cut ---------
>
> Signed-off-by: Conke Hu <conke.hu@amd.com>
Acked-by: Tejun Heo <htejun@gmail.com>
--
tejun
prev parent reply other threads:[~2007-03-27 10:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-27 10:33 [PATCH] ahci.c: walkaround for SB600 SATA internal error issue Conke Hu
2007-03-27 10:48 ` Tejun Heo [this message]
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=4608F699.9030102@gmail.com \
--to=htejun@gmail.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=conke.hu@gmail.com \
--cc=jeff@garzik.org \
--cc=linux-ide@vger.kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).