On Tue, 2006-11-28 at 20:52 -0500, Douglas Gilbert wrote: > Mark Haverkamp wrote: > > On Tue, 2006-11-28 at 13:46 -0800, Mark Haverkamp wrote: > >> On Tue, 2006-11-28 at 13:44 -0500, Douglas Gilbert wrote: > >> > >> [ ... ] > >> > > > > I don't know if this helps, but I found the verbose option. Here is a > > little debug output. > > > > > > ./smp_discover -vvvvvvvvv -p 12 -s 0x500508b300a27a2f /dev/mptctl > > Discover request: 40 10 00 02 00 00 00 00 00 0c 00 00 00 00 00 00 > > send_req_mpt: subvalue=0 SAS address=0x500508b300a27a2f > > mptctl two scatter gather list interface > > IOCStatus=0x1 > > IOCStatus=0x1 IOCLogInfo=0xA27A2F SASStatus=0x0 > > smp_send_req failed, res=-1 > > Mark, > The iocnum may be greater than 0 (especially if you have > other MPT Fusion HBAs (any kind) in that computer). > Have a look in the log around where the mptsas driver > is registered and look for the string "ioc". The number > following "ioc" is what you need. If you find "ioc3" then > try: > > ./smp_discover -p 12 -s 0x500508b300a27a2f /dev/mptctl,3 OK thanks, I do have an mptspi card too. # ./smp_discover -vvvvvvvvv -p 12 -s 0x500508b300a27a2f /dev/mptctl,2 Discover request: 40 10 00 02 00 00 00 00 00 0c 00 00 00 00 00 00 send_req_mpt: subvalue=2 SAS address=0x500508b300a27a2f mptctl two scatter gather list interface Discover response: expander change count: 0 phy identifier: 12 attached device type: end device negotiated physical link rate: phy enabled; 3 Gbps attached initiator: ssp=0 stp=0 smp=0 sata_host=0 attached sata port selector: 0 attached target: ssp=0 stp=1 smp=0 sata_device=0 SAS address: 0x500508b300a27a2f attached SAS address: 0x500508b300a27a2c attached phy identifier: 0 attached inside ZPSDS persistent: 0 attached requested inside ZPSDS: 0 attached break_reply capable: 0 programmed minimum physical link rate: 3 Gbps hardware minimum physical link rate: 3 Gbps programmed maximum physical link rate: 3 Gbps hardware maximum physical link rate: 3 Gbps phy change count: 105 virtual phy: 1 partial pathway timeout value: 7 us routing attribute: direct connector type: No information connector element index: 0 connector physical link: 0 > > To verify that expander SAS address, try this: > find /sys -name "sas_device:expander*" > cd to any directory found and try "cat sas_address". 0x500508b300a27a2f > > > BTW there is a smp_utils version 0.92 beta at > http://www.torque.net/sg > the error messages are somewhat clearer. > > > Doug Gilbert > -- Mark Haverkamp <markh@xxxxxxxx> - 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