All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Sanjay Gandotra <sanjay.gandotra@exar.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: Help On Adaptec SAS Controller AD-483000
Date: Wed, 02 Apr 2008 18:45:07 -0500	[thread overview]
Message-ID: <1207179907.3082.61.camel@localhost.localdomain> (raw)
In-Reply-To: <90500F9127D5CC40BE9D712D8ACCB4860864F5@fre1exch00.hq.exar.com>

On Wed, 2008-04-02 at 16:32 -0700, Sanjay Gandotra wrote:
> Hi,
>  
> Ok, the issue I have is the following:
>  
> I have connected a SATA Port Multiplier to AD-483000. And I have two sata drives connected to the Sata port multiplier (one at port 0 and second at port 1)
> My Linux Kernel is 2.6.24.3. I am using the drivers in the kernel.. aic94xx and libsas
>  
> The drive at port 0 of the sata port multiplier is detected nicely. The problem is that the second drive on the port multiplier is not detected. 
> After investigations.. I figured out that no one is trying to do sata port multiplier initialisation and detection. After reading the sata spec etc., I tried to modify libsas so that before detecting any sata device, it would send out FIS (soft reset ) to sata port 15 with SRST bit set to 1 followed by another FIS to sata port 15 with SRST bit set to 0.
>  
> The first FIS goes out. I can see it on a SATA analyzer. The second  FIS never goes out... 
> Adaptec's driver.. is giving errors for the first FIS.

I'm afraid the basic source of the problem is that port multiplier
support in libsas is stubbed out.  No-one developing the driver actually
has a port multiplier (and we assumed that everyone would use expanders
anyway).

The place to begin is in libsas/sas_ata.c:sas_discover_stat_pm() which
basically returns -ENODEV at the moment.

James



  reply	other threads:[~2008-04-02 23:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-02 23:32 Help On Adaptec SAS Controller AD-483000 Sanjay Gandotra
2008-04-02 23:45 ` James Bottomley [this message]
2008-04-03  0:01   ` Sanjay Gandotra
2008-04-03 17:25     ` Sanjay Gandotra
2008-04-03 17:57     ` Sanjay Gandotra
  -- strict thread matches above, loose matches on Subject: below --
2008-04-08 21:32 Rakesh

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=1207179907.3082.61.camel@localhost.localdomain \
    --to=james.bottomley@hansenpartnership.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=sanjay.gandotra@exar.com \
    /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.