linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Lord <liml@rtr.ca>
To: Tejun Heo <htejun@gmail.com>
Cc: Jeff Garzik <jgarzik@pobox.com>,
	IDE/ATA development list <linux-ide@vger.kernel.org>,
	Alan Cox <alan@redhat.com>
Subject: Re: ata_std_qc_defer not good enough for FIS-based switching ?
Date: Wed, 14 May 2008 10:45:38 -0400	[thread overview]
Message-ID: <482AFB12.3040005@rtr.ca> (raw)
In-Reply-To: <482AF322.2090605@gmail.com>

Tejun Heo wrote:
> Mark Lord wrote:
>> Tejun Heo wrote:
>>> Mark Lord wrote:
>>>> Mmm.. I just plugged the same PM + drives into my sata_sil24 card here,
>>>> and that driver went bonkers when I did the same test.
>>>>
>>>> Had to reboot eventually to recover.
>>>
>>> Hmm... That can't be.  Above all, although we do manual scheduling 
>>> around sil24, the controller does its own scheduling and will happily 
>>> issue command in the right order even if the software scheduler 
>>> screws up.  Do you have the log?
>> ..
>>
>> Here's what was in /var/log/messages after I held the power button
>> for five seconds to force a poweroff and then rebooted.  I didn't make 
>> much
>> effort to learn more, as I'm already busy enough testing/debugging 
>> sata_mv.
> 
> Hmmm... Have been testing NCQ + non-NCQ heavy load test w/ deadline 
> scheduler for 30+ mins now and there's no problem at all.  I'm pretty 
> sure sata_sil24 can handle mixed (across different drives) NCQ + non-NCQ 
> workload okay.
> 
> One catch w/ sata_sil24 is that it has something called PMP DMA CS 
> errata which means that all context is lost if any error (including a 
> device one) occurs during commands are pending to more than two devices 
> behind a port, the controller's state gets completely corrupt, so when 
> something goes wrong while lots of commands are pending via PMP, it's 
> often impossible what exactly went wrong.
> 
> sil4726/3726 also has a quirk.  It has configuration device as the last 
> device and issuing random IOs it might cause unpredictable results.  So, 
> can you please re-try the test excluding the pseudo config device?
..

Yeah, I'll retest it Right Now.  :)

At the moment, I have the Sil PM plugged in, and it all behaves nicely.
The previous failure was with the Marvell PM, so I'll hook that up next
and retest with it.

Cheers


  reply	other threads:[~2008-05-14 14:45 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-28 21:06 ata_std_qc_defer not good enough for FIS-based switching ? Mark Lord
2008-04-28 22:08 ` Mark Lord
2008-04-28 23:11   ` Tejun Heo
2008-04-28 23:42     ` Mark Lord
2008-04-29  1:18       ` Tejun Heo
2008-04-29  2:26         ` Mark Lord
2008-05-14 14:11           ` Tejun Heo
2008-05-14 14:45             ` Mark Lord [this message]
2008-05-14 14:53               ` Mark Lord
2008-05-14 15:50                 ` Mark Lord
2008-05-14 15:59                   ` Mark Lord
2008-05-15  7:12                     ` Tejun Heo
2008-05-15  6:51                 ` Tejun Heo
2008-04-29 17:09     ` Mark Lord
2008-04-29 17:17       ` Mark Lord
2008-04-30  9:38       ` Tejun Heo
2008-04-30 14:02       ` Mark Lord

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=482AFB12.3040005@rtr.ca \
    --to=liml@rtr.ca \
    --cc=alan@redhat.com \
    --cc=htejun@gmail.com \
    --cc=jgarzik@pobox.com \
    --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 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).