linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: Andrew Ryder <tireman@shaw.ca>
Cc: "Gaston, Jason D" <jason.d.gaston@intel.com>, linux-ide@vger.kernel.org
Subject: Re: Sata 4726 Testing
Date: Fri, 11 Jan 2008 16:49:28 +0900	[thread overview]
Message-ID: <47871F88.8070109@gmail.com> (raw)
In-Reply-To: <4786C42A.10403@shaw.ca>

[-- Attachment #1: Type: text/plain, Size: 921 bytes --]

Andrew Ryder wrote:
> For the regular power on detected, are you referring to cold/warm
> booting the system and verifying initialization or only power cycling
> the 4726?
> 
> Here are my test results, TestingRoutine.txt is the procedure I followed
> and test results obtained. If I missed something, please let me know.
> 
> From what I could find, the problem with ata1.03 not being detected is
> consistent with the port. In my testing, I moved the last drive to the
> 5th port on the 4726 and the problem carried through. The issue seemed
> to only occur when the 4726 was powered on/off, not when it was
> unplugged and re-plugged with the power on.
> 
> If I have some time on the weekend, I will do a test routine of several
> hot un-plugs / re-plugs of the 4726 and see what happens.

Thanks a lot for all the testing.  Can you please apply the attached
patch and see whether things improve?

Thanks.

-- 
tejun

[-- Attachment #2: sil24-freeze-fix.patch --]
[-- Type: text/x-patch, Size: 1058 bytes --]

diff --git a/drivers/ata/sata_sil24.c b/drivers/ata/sata_sil24.c
index b4c674d..864c1c1 100644
--- a/drivers/ata/sata_sil24.c
+++ b/drivers/ata/sata_sil24.c
@@ -301,7 +301,7 @@ static struct sil24_cerr_info {
 	[PORT_CERR_PKT_PROT]	= { AC_ERR_HSM, ATA_EH_SOFTRESET,
 				    "invalid data directon for ATAPI CDB" },
 	[PORT_CERR_SGT_BOUNDARY] = { AC_ERR_SYSTEM, ATA_EH_SOFTRESET,
-				     "SGT no on qword boundary" },
+				     "SGT not on qword boundary" },
 	[PORT_CERR_SGT_TGTABRT]	= { AC_ERR_HOST_BUS, ATA_EH_SOFTRESET,
 				    "PCI target abort while fetching SGT" },
 	[PORT_CERR_SGT_MSTABRT]	= { AC_ERR_HOST_BUS, ATA_EH_SOFTRESET,
@@ -1094,10 +1094,13 @@ static void sil24_error_intr(struct ata_port *ap)
 		if (ci && ci->desc) {
 			err_mask |= ci->err_mask;
 			action |= ci->action;
+			if (action & ATA_EH_RESET_MASK)
+				freeze = 1;
 			ata_ehi_push_desc(ehi, "%s", ci->desc);
 		} else {
 			err_mask |= AC_ERR_OTHER;
 			action |= ATA_EH_SOFTRESET;
+			freeze = 1;
 			ata_ehi_push_desc(ehi, "unknown command error %d",
 					  cerr);
 		}

  reply	other threads:[~2008-01-11  7:49 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4769A17A.8070806@shaw.ca>
     [not found] ` <4769F974.2020905@gmail.com>
2007-12-20 22:23   ` Sata 4726 Testing Andrew Ryder
2007-12-22 13:53   ` Andrew Ryder
2008-01-07 16:12     ` Tejun Heo
2008-01-07 22:28       ` Andrew Ryder
2008-01-08  3:54         ` Tejun Heo
2008-01-08  8:00           ` Andrew Ryder
2008-01-09  5:45             ` Tejun Heo
2008-01-09 17:47               ` Andrew Ryder
2008-01-10  0:53                 ` Tejun Heo
2008-01-10  1:58                   ` Gaston, Jason D
2008-01-10  3:19                     ` Tejun Heo
2008-01-10 16:24                       ` Gaston, Jason D
2008-01-10  3:29               ` Tejun Heo
2008-01-09 23:00                 ` Andrew Ryder
2008-01-10  4:20                   ` Tejun Heo
2008-01-09 23:55                     ` Andrew Ryder
2008-01-10  6:36                       ` Tejun Heo
2008-01-11  1:19                         ` Andrew Ryder
2008-01-11  7:49                           ` Tejun Heo [this message]
2008-01-11 23:13                             ` Andrew Ryder
2008-01-13  5:10                               ` Tejun Heo
2008-01-13 19:01                                 ` Andrew Ryder
2008-01-14  0:35                                   ` Tejun Heo
2008-01-19 22:05                                     ` Andrew Ryder
2008-01-20  3:21                                       ` Tejun Heo
2008-01-14 19:07                                 ` Gaston, Jason D

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=47871F88.8070109@gmail.com \
    --to=htejun@gmail.com \
    --cc=jason.d.gaston@intel.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=tireman@shaw.ca \
    /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).