Gentoo Archives: gentoo-user

From: sain yan <sainry@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] SATA kernel messages
Date: Tue, 17 Apr 2007 12:22:46
Message-Id: 7593aeb0704170516o4d844869g8162bb0045925da8@mail.gmail.com
In Reply to: Re: [gentoo-user] SATA kernel messages by David Grant
1 >From ChangeLog-2.6.20.7-------------------------
2
3 commit c23bbe5978f98e7ae3a41f13dbf48d70c6651573
4 Author: Conke Hu <conke.hu@×××××.com>
5 Date: Tue Apr 10 13:06:56 2007 -0400
6
7 ahci.c: walkaround for SB600 SATA internal error issue
8
9 ahci.c: walkaround for SB600 SATA internal error issue
10
11 There is a HW issue in ATI SB600 SATA that PxSERR.E should not be
12 set on some conditions, for example, when there is no media in SATA
13 CD/DVD drive or media is not ready, AHCI controller fails to execute
14 ATAPI commands and reports PORT_IRQ_TF_ERR, but ATI SB600 SATA
15 controller sets PxSERR.E at the
16 same time, which is not necessary.
17 This patch is just to ignore the INTERNAL ERROR in such case.
18 Without this patch, ahci error handler will report many errors as
19 below:
20 ----------- cut from dmesg -----------
21 ata9: soft resetting port
22 ata9: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
23 ata9.00: configured for UDMA/33
24 ata9: EH complete
25 ata9.00: exception Emask 0x40 SAct 0x0 SErr 0x800 action 0x2
26 ata9.00: (irq_stat 0x40000001)
27 ata9.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0
28 res 51/24:03:00:00:20/00:00:00:00:00/a0 Emask 0x40 (internal
29 error)
30 ata9: soft resetting port
31 ata9: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
32 ata9.00: configured for UDMA/33
33 ata9: EH complete
34 ata9.00: exception Emask 0x40 SAct 0x0 SErr 0x800 action 0x2
35 ata9.00: (irq_stat 0x40000001)
36 ata9.00: cmd a0/01:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x43 data 12
37 in
38 res 51/24:03:00:00:00/00:00:00:00:00/a0 Emask 0x40 (internal
39 error)
40 -------- end cut ---------