linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Does ICH9M support eSATA Port Multiplier?
@ 2009-10-29 19:36 Peter Klotz
  2009-10-30  0:02 ` Robert Hancock
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Klotz @ 2009-10-29 19:36 UTC (permalink / raw)
  To: linux-ide

I have the following setup:

Notebook (Ubuntu 9.10, 2.6.31-14 amd64) with ICH9M controller in AHCI 
mode and an external storage box (Sil5744, 2 HDDs) connected via eSATA.

The box supports JBOD and the manufacturer says that a Port Multiplier 
capable eSATA port is needed to see both HDDs.

I see only one HDD.

Here is part of the dmesg output from startup:

[    0.725096] ahci 0000:00:1f.2: AHCI 0001.0200 32 slots 4 ports 3 Gbps 
0x23 impl SATA mode
[    0.725099] ahci 0000:00:1f.2: flags: 64bit ncq sntf stag pm led clo 
pio slum part ems


The pmp flag is not present but several sources claim that ICH9 supports 
Port Multiplier.

Should Port Multiplier be available for ICH9M?
Can I enable it somehow maybe by using a module option?

Regards, Peter.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Does ICH9M support eSATA Port Multiplier?
  2009-10-29 19:36 Does ICH9M support eSATA Port Multiplier? Peter Klotz
@ 2009-10-30  0:02 ` Robert Hancock
  2009-10-30 22:10   ` Peter Klotz
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Hancock @ 2009-10-30  0:02 UTC (permalink / raw)
  To: Peter Klotz; +Cc: linux-ide

On 10/29/2009 01:36 PM, Peter Klotz wrote:
> I have the following setup:
>
> Notebook (Ubuntu 9.10, 2.6.31-14 amd64) with ICH9M controller in AHCI
> mode and an external storage box (Sil5744, 2 HDDs) connected via eSATA.
>
> The box supports JBOD and the manufacturer says that a Port Multiplier
> capable eSATA port is needed to see both HDDs.
>
> I see only one HDD.
>
> Here is part of the dmesg output from startup:
>
> [ 0.725096] ahci 0000:00:1f.2: AHCI 0001.0200 32 slots 4 ports 3 Gbps
> 0x23 impl SATA mode
> [ 0.725099] ahci 0000:00:1f.2: flags: 64bit ncq sntf stag pm led clo pio
> slum part ems
>
>
> The pmp flag is not present but several sources claim that ICH9 supports
> Port Multiplier.

It seems like it may be variable between specific ICH versions (mobile, 
RAID, etc.) whether they support PMP or not. Obviously in your case the 
controller doesn't report PMP support in the AHCI capabilities register.

>
> Should Port Multiplier be available for ICH9M?
> Can I enable it somehow maybe by using a module option?

No module parameter for that, you'd have to hack the code in ahci.c to 
force the option on. No guarantees it's going to work if the controller 
doesn't report the capability, though.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Does ICH9M support eSATA Port Multiplier?
  2009-10-30  0:02 ` Robert Hancock
@ 2009-10-30 22:10   ` Peter Klotz
  2009-10-31 17:02     ` Robert Hancock
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Klotz @ 2009-10-30 22:10 UTC (permalink / raw)
  Cc: linux-ide

Robert Hancock wrote:
>> Can I enable it somehow maybe by using a module option?
> 
> No module parameter for that, you'd have to hack the code in ahci.c to 
> force the option on. No guarantees it's going to work if the controller 
> doesn't report the capability, though.

Could you please give me a hint what to change in ahci.c?

I would like to try and see what happens.

Could such a hack damage the hardware?

Regards, Peter.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Does ICH9M support eSATA Port Multiplier?
  2009-10-30 22:10   ` Peter Klotz
@ 2009-10-31 17:02     ` Robert Hancock
  2009-11-01 20:34       ` Peter Klotz
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Hancock @ 2009-10-31 17:02 UTC (permalink / raw)
  To: Peter Klotz; +Cc: linux-ide

On 10/30/2009 04:10 PM, Peter Klotz wrote:
> Robert Hancock wrote:
>>> Can I enable it somehow maybe by using a module option?
>>
>> No module parameter for that, you'd have to hack the code in ahci.c to
>> force the option on. No guarantees it's going to work if the
>> controller doesn't report the capability, though.
>
> Could you please give me a hint what to change in ahci.c?
>
> I would like to try and see what happens.

Based on the version in Linus' git, you'd likely want to add to 
ahci_save_initial_config something like:

cap |= HOST_CAP_PMP;

>
> Could such a hack damage the hardware?

Not likely. It's not impossible that data loss could result though, 
better back up important files first..

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Does ICH9M support eSATA Port Multiplier?
  2009-10-31 17:02     ` Robert Hancock
@ 2009-11-01 20:34       ` Peter Klotz
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Klotz @ 2009-11-01 20:34 UTC (permalink / raw)
  Cc: linux-ide

Robert Hancock wrote:
> On 10/30/2009 04:10 PM, Peter Klotz wrote:
>> Robert Hancock wrote:
>>>> Can I enable it somehow maybe by using a module option?
>>>
>>> No module parameter for that, you'd have to hack the code in ahci.c to
>>> force the option on. No guarantees it's going to work if the
>>> controller doesn't report the capability, though.
>>
>> Could you please give me a hint what to change in ahci.c?
>>
>> I would like to try and see what happens.
> 
> Based on the version in Linus' git, you'd likely want to add to 
> ahci_save_initial_config something like:
> 
> cap |= HOST_CAP_PMP;
> 
>>
>> Could such a hack damage the hardware?
> 
> Not likely. It's not impossible that data loss could result though, 
> better back up important files first..

Thanks a lot. I had already prepared the kernel, then I found the Intel 
datasheet, which states that ICH9 does not support port multipliers.

http://www.intel.com/assets/pdf/datasheet/316972.pdf

Regards, Peter.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-11-01 20:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-29 19:36 Does ICH9M support eSATA Port Multiplier? Peter Klotz
2009-10-30  0:02 ` Robert Hancock
2009-10-30 22:10   ` Peter Klotz
2009-10-31 17:02     ` Robert Hancock
2009-11-01 20:34       ` Peter Klotz

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).