Re: aic7xxx support for >2TB volumes?

Brian King
2005-11-21T15:27:19Z

Kilian CAVALOTTI wrote:
> On Monday 21 November 2005 15:48, Brian King wrote:
>
>>Quite possibly. Looking at ahc_linux_run_command in aic7xxx_osm.c it
>>appears that commands with a cdb length of > 12 are sent to the adapter in
>>a different way.
>
>
> Do you mean: ?
> hscb->cdb_len = cmd->cmd_len;
> if (hscb->cdb_len <= 12) {
> memcpy(hscb->shared_data.cdb, cmd->cmnd, hscb->cdb_len);
> } else {
> memcpy(hscb->cdb32, cmd->cmnd, hscb->cdb_len);
> scb->flags |= SCB_CDB32_PTR;
> }

Yes.

>>Perhaps this method does not work on the card you have.
>
>
> Isn't there a way to determine if the HBA has an hardware limitation, or the
> size of the max command length it accepts?

I've never seen a hardware spec for these adapters, so I can't really comment.
Hopefully someone else on the list can help on this one...

--
Brian King
eServer Storage I/O
IBM Linux Technology Center