All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: idurdanovic@comcast.net
Cc: linux-ide@vger.kernel.org
Subject: Re: sata_sil24 and sil-4726
Date: Thu, 04 Oct 2007 16:42:38 +0900	[thread overview]
Message-ID: <4704996E.4010601@gmail.com> (raw)
In-Reply-To: <47049799.3030509@gmail.com>

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

Tejun Heo wrote:
> Igor Durdanovic wrote:
>> Tejun Heo writes:
>>>> Can you try to update the firmware as explained in the SIMG support page
>>>> and see whether that fixes the problem?
>> I am actually trying to put all the sw on the array, will try to
>> update firmware later.
>>
>> Have some weird problems .. the whole thing just froze, sigh.
>> Also, why can't I enable write-caching on each drive behind PM?
> 
> You should be.  What do you mean by not being able to enable write-caching?
> 
>>> Hmmm... Before doing that, do your drives spin up one-by-one as the
>>> above probing progresses?
>> Yes, the probing starts with the bottom drive and progresses to the
>> top. But it seems for each drive it resets (from the bottom) all
>> already probed drives.
> 
> SRST failure puts the host port into non-responding state and the driver
> resets the host port which in turn resets the PMP, so libata tries to
> reinitialize everything.  Can you post boot log with printk timestamp
> (CONFIG_PRINTK_TIME) turned on?
> 

Also, does the attached patch change the behavior?

-- 
tejun

[-- Attachment #2: fix-wait --]
[-- Type: text/plain, Size: 568 bytes --]

---
 drivers/ata/libata-eh.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: work/drivers/ata/libata-eh.c
===================================================================
--- work.orig/drivers/ata/libata-eh.c
+++ work/drivers/ata/libata-eh.c
@@ -2180,7 +2180,8 @@ int ata_eh_reset(struct ata_link *link, 
 				"(errno=%d), retrying in %u secs\n",
 				rc, (jiffies_to_msecs(delta) + 999) / 1000);
 
-			schedule_timeout_uninterruptible(delta);
+			while (delta)
+				delta = schedule_timeout_uninterruptible(delta);
 		}
 
 		if (rc == -EPIPE ||

  reply	other threads:[~2007-10-04  7:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <18180.26625.216781.626572@kitty1.shrimp.net>
     [not found] ` <470468EE.909@gmail.com>
     [not found]   ` <18180.30643.554165.292012@kitty1.shrimp.net>
     [not found]     ` <4704790C.7060901@gmail.com>
2007-10-04  5:35       ` sata_sil24 and sil-4726 Igor Durdanovic
2007-10-04  5:57         ` Tejun Heo
2007-10-04  6:16           ` Igor Durdanovic
2007-10-04  6:46             ` Tejun Heo
2007-10-04  7:16               ` Tejun Heo
2007-10-04  7:29                 ` Igor Durdanovic
2007-10-04  7:34                   ` Tejun Heo
2007-10-04  7:42                     ` Tejun Heo [this message]
2007-10-04 13:36                       ` Igor Durdanovic
2007-10-08  1:06                         ` Tejun Heo
2007-10-04  7:43                     ` Igor Durdanovic
2007-10-04  7:47                       ` Tejun Heo
2007-10-04 13:49                         ` Igor Durdanovic
2007-10-08  0:27                         ` Igor Durdanovic

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=4704996E.4010601@gmail.com \
    --to=htejun@gmail.com \
    --cc=idurdanovic@comcast.net \
    --cc=linux-ide@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.