linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: Fredrik Sjoholm <fredrik@sjoholm.com>
Cc: Jeremy Jackson <jerj@coplanar.net>,
	Jeff Garzik <jgarzik@pobox.com>,
	linux-ide@vger.kernel.org
Subject: Re: libata SATA support for Sil 3726 port multiplier
Date: Tue, 18 Jul 2006 19:46:05 -0400	[thread overview]
Message-ID: <44BD72BD.70105@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0607111807240.23635@mail.ezic.com>

Hello, Fredrik.

Fredrik Sjoholm wrote:
> 
> Hi,
> 
> The 3726 multiplier is in fact built into an external box:
> 
>     http://www.datoptic.com/cgi-bin/web.cgi?product=Sbox-P&detail=yes
> 
> I connected the box with the 3726 multiplier to a 3132 based pci-x card 
> via an eSATA cable.
> 
> There is one remaining quirk which i didn't notice before emailing you 
> the mini-fix: When booting cold, the spin-up of each drive happens 
> sequentially and the 5 second retry isn't enough for each drive to get 
> ready. This wouldn't have been a problem except for the fact that even 
> the latest version (7.3.13) of the Sil3132 BIOS doesn't bother detecting 
> and spinning-up anything except the 1st drive on the multiplier. On 
> subsequent bootups, with drives already spinning, it work right away.
> 
> I guess it would be nice to spin-up all drives in rapid succession, and 
> then retry them all at once every few seconds, but all i did was to 
> increase the timeout to 15 seconds which works too.

Yes, we have yet to implement staggered spinup support with someway to 
control the number of concurrently spun up devices.  It's on my agenda. 
  SATA staggered spinup is enabled by loading certain pin in the power 
connector during power-up.  So, it is the enclosure which determines 
whether staggered spin-up is enabled or disabled.  Your enclosure may 
have a dip switch or something to control that.

> here are the dmesg outputs:
> 
> 1. warm start, everything ok:
> 
>     http://www.sjoholm.com/sata/dmesg.warmspin-ok
> 
> 2. cold start, 5 second timeouts. only 1st drive usable:
> 
>     http://www.sjoholm.com/sata/dmesg.spinup5-fail
> 
> 3. cold start, ssleep(15)'s in libata-eh.c, all drives ok:
> 
>     http://www.sjoholm.com/sata/dmesg.spinup15-ok

Can you try new version and see how it acts?

http://home-tj.org/files/libata-tj-stable/libata-tj-2.6.17.4-20060710.tar.bz2

It probably won't fix the problem but hardreset implementation has 
changed and it would help me understanding how spinning up device acts. 
  Also, turning on CONFIG_PRINTK_TIME (Kernel Hacking -> Show timing 
information on printks) will be nice.

Thanks.

-- 
tejun

  reply	other threads:[~2006-07-18 23:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-04  5:53 libata SATA support for Sil 3726 port multiplier Fredrik Sjoholm
2006-07-11 16:24 ` Jeremy Jackson
2006-07-12  2:17   ` Fredrik Sjoholm
2006-07-18 23:46     ` Tejun Heo [this message]
2006-07-18 23:55       ` Fredrik Sjoholm
2006-07-19  0:21       ` Edward Falk

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=44BD72BD.70105@gmail.com \
    --to=htejun@gmail.com \
    --cc=fredrik@sjoholm.com \
    --cc=jerj@coplanar.net \
    --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).