Re: [gentoo-user] SATA kernel messages
From ChangeLog-2.6.20.7- commit c23bbe5978f98e7ae3a41f13dbf48d70c6651573 Author: Conke Hu <[EMAIL PROTECTED]> Date: Tue Apr 10 13:06:56 2007 -0400 ahci.c: walkaround for SB600 SATA internal error issue ahci.c: walkaround for SB600 SATA internal error issue 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 0x4001) 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 0x4001) 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 -
Re: [gentoo-user] SATA kernel messages
On 4/16/07, Daniel Pielmeier <[EMAIL PROTECTED]> wrote: 2007/4/16, David Grant <[EMAIL PROTECTED]>: > I am constantly getting errors like this. I don't think it is a problem with > the drive although it might be. I have seen "hard resetting port" messages > through my google searches but often they are associated with an error of > some sort. I'm using 2.6.19. Anyone else have any experience with this? > > Apr 16 01:44:19 sonata kernel: ata1: hard resetting port > Apr 16 01:44:20 sonata kernel: ata1: hardreset failed, retrying in 5 secs > Apr 16 01:44:24 sonata kernel: ata1: hard resetting port > Apr 16 01:44:25 sonata kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 > SControl 310) > Apr 16 01:44:25 sonata kernel: ata1.00: configured for UDMA/100 > Apr 16 01:44:25 sonata kernel: ata1: EH complete > Apr 16 01:44:25 sonata kernel: SCSI device sda: 625142448 512-byte hdwr > sectors (320073 MB) > Apr 16 01:44:25 sonata kernel: sda: Write Protect is off > Apr 16 01:44:25 sonata kernel: SCSI device sda: drive cache: write back I also had this kind of problem after setting up my new pc from components. To fix it i checked the connections of my sata cables which were not connected tightly. Maybe you have the same problem. Thanks for the tip. Actually I should have been looking at syslog rather than messages because syslog does show the error: Apr 16 08:54:45 sonata kernel: ata1: exception Emask 0x10 SAct 0x0 SErr 0x9 action 0x2 frozen Apr 16 08:54:45 sonata kernel: ata1: hard resetting port Apr 16 08:54:45 sonata kernel: ata1: COMRESET failed (device not ready) Apr 16 08:54:45 sonata kernel: ata1: hardreset failed, retrying in 5 secs Apr 16 08:54:50 sonata kernel: ata1: hard resetting port Apr 16 08:54:51 sonata kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) Apr 16 08:54:51 sonata kernel: ata1.00: configured for UDMA/100 Apr 16 08:54:51 sonata kernel: ata1: EH complete Apr 16 08:54:1 sonata kernel: SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB) Apr 16 08:54:51 sonata kernel: sda: Write Protect is off Apr 16 08:54:51 sonata kernel: sda: Mode Sense: 00 3a 00 00 Apr 16 08:54:51 sonata kernel: SCSI device sda: drive cache: write back -- David Grant http://www.davidgrant.ca
Re: [gentoo-user] SATA kernel messages
2007/4/16, David Grant <[EMAIL PROTECTED]>: I am constantly getting errors like this. I don't think it is a problem with the drive although it might be. I have seen "hard resetting port" messages through my google searches but often they are associated with an error of some sort. I'm using 2.6.19. Anyone else have any experience with this? Apr 16 01:44:19 sonata kernel: ata1: hard resetting port Apr 16 01:44:20 sonata kernel: ata1: hardreset failed, retrying in 5 secs Apr 16 01:44:24 sonata kernel: ata1: hard resetting port Apr 16 01:44:25 sonata kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) Apr 16 01:44:25 sonata kernel: ata1.00: configured for UDMA/100 Apr 16 01:44:25 sonata kernel: ata1: EH complete Apr 16 01:44:25 sonata kernel: SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB) Apr 16 01:44:25 sonata kernel: sda: Write Protect is off Apr 16 01:44:25 sonata kernel: SCSI device sda: drive cache: write back I also had this kind of problem after setting up my new pc from components. To fix it i checked the connections of my sata cables which were not connected tightly. Maybe you have the same problem. -- [EMAIL PROTECTED] mailing list
[gentoo-user] SATA kernel messages
I am constantly getting errors like this. I don't think it is a problem with the drive although it might be. I have seen "hard resetting port" messages through my google searches but often they are associated with an error of some sort. I'm using 2.6.19. Anyone else have any experience with this? Apr 16 01:44:19 sonata kernel: ata1: hard resetting port Apr 16 01:44:20 sonata kernel: ata1: hardreset failed, retrying in 5 secs Apr 16 01:44:24 sonata kernel: ata1: hard resetting port Apr 16 01:44:25 sonata kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) Apr 16 01:44:25 sonata kernel: ata1.00: configured for UDMA/100 Apr 16 01:44:25 sonata kernel: ata1: EH complete Apr 16 01:44:25 sonata kernel: SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB) Apr 16 01:44:25 sonata kernel: sda: Write Protect is off Apr 16 01:44:25 sonata kernel: SCSI device sda: drive cache: write back -- David Grant http://www.davidgrant.ca