[openib-general] srp trouble on RHEL4 U4

Lakshmanan, Madhu mlakshmanan at silverstorm.com
Wed Oct 18 02:36:50 PDT 2006


>> Madhu Lakshmanan wrote:
>> Which SRP target are you using? Could you also give some more 
>> details on
>> the fabric setup; i.e. what IB switch / gateway your host is
connected
>> to, and what kind of storage you wish to access? The full command
that
>> you used (echo -n .... > ..../add_target) to configure the SRP target
>> would be very useful as well.
> 
> From: Mirochnick Natalia [mailto:liakhovitch at mail.ru] 
> Subject: Re: [openib-general] srp trouble on RHEL4 U4
> 
> 2. Here's the details:
> 
> IB switch: Silverstorm 5000
> Storage: NetApp FAS 320
> 
> root@[...]# /usr/ofed/sbin/ibsrpdm -c
> id_ext=0000000000000001,ioc_guid=00066a01380001de,dgid=fe80000
> 00000000000066a02600001de,pkey=ffff,service_id=000049435353525
> 0,io_class=ff00
> id_ext=0000000000000001,ioc_guid=00066a02380001de,dgid=fe80000
> 00000000000066a02600001de,pkey=ffff,service_id=000049435353525
> 0,io_class=ff00
> 
> [root at ...]# echo -n 
> id_ext=0000000000000001,ioc_guid=00066a01380001de,dgid=fe80000
> 00000000000066a02600001de,pkey=ffff,service_id=0000494353535250 
>  > /sys/class/infiniband_srp/srp-mthca0-1/add_target
> 

The problem is with the echo string you are giving. The command should
be invoked as:

echo -n id_ext=0000000000000001,ioc_guid=00066a01380001de,dgid=fe80000
00000000000066a02600001de,pkey=ffff,service_id=0000494353535250,
io_class=ff00 > /sys/class/infiniband_srp/srp-mthca0-1/add_target

You were missing the 'io_class=ff00' bit.

Let me know if it works.

Madhu




More information about the general mailing list