On Wed, 2007-12-19 at 23:46 -0500, Douglas Gilbert wrote: > smp_utils is a package of command line utilities for invoking > SMP functions to monitor and manage SAS expanders. SMP is the > Serial Attached SCSI (SAS) Management Protocol (SMP). A SAS Host > Bus Adapter (HBA) includes a SMP initiator (along with a SSP and > STP initiator). A SAS expander contains a SMP target. > > Previous versions have supported two interfaces: the "mptctl" > pass through used by MPT Fusion SAS HBAs and the "smp_portal" > sysfs attribute pass through used by Luben's aic94xx driver. > > This beta adds preliminary support for an interface based on > the scsi generic version 4 ("sgv4") interface. It works, apart > from a few shortcomings, with the MPT Fusion SAS driver found > in lk 2.6.24-rc4 . My aic94xx based hardware refuses to > work with the mainline driver (but works with Luben's > driver) so I'm unable to test it with the "sgv4" interface. I > would be grateful if someone would test it and tell me how it > fairs. Since the sgv4 interface essentially talks to the > linux SAS transport layer, other SAS HBAs may work as well. I'm pleased to report that it works just fine for me with my aic94xx setup and the sgv4 interface and a couple of LSI expanders (which, unfortunately don't take all the commands ... it looks like you're using the SAS2.0 set). I'll also plug in my mpt1068 and see if I can get it to function through the sgv4 interface as well. One of the things which might be useful would be for SAS hosts to respond to SMP requests so they could also be managed with these tools. To do this, we'd have to put a SMP interpreter for them inside the transport class, probably just for a minimal set of SMP frames ... what do people think about this? Thanks for doing this, James - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html