[ofa-general] Opensm dies with updn specified in opensm.opts

Hal Rosenstock halr at voltaire.com
Mon Apr 2 09:23:08 PDT 2007


On Mon, 2007-04-02 at 12:08, Steven Carter wrote:
> OpenSM (from OFED 1.1) runs when '-R updn' is specified on the command 
> line for up/down routing, but seg faults when it is specified in 
> opensm.opts.

Can you try the same thing with OFED 1.2 ?

> # Start with clean opensm.opts:
> 
> [root at bruiser osm]# rm /var/cache/osm/opensm.opts
> rm: remove regular file `/var/cache/osm/opensm.opts'? y
> [root at bruiser osm]# /opt/ofed-1.1/bin/opensm -c
> -------------------------------------------------
> OpenSM Rev:openib-2.0.5
> Based on OpenIB svn Exported revision
> Command Line Arguments:
>  Caching command line options
>  Log File: /var/log/osm.log
> -------------------------------------------------
> OpenSM Rev:openib-2.0.5 OpenIB svn Exported revision
> 
> Using default GUID 0x8f1040397886d
> Entering MASTER state
> 
> SUBNET UP
> 
> OpenSM: Got signal 2 - exiting...
> Exiting SM
> 
> # Runs fine with clean opensm.opts:
> 
> [root at bruiser osm]# /opt/ofed-1.1/bin/opensm
> -------------------------------------------------
> OpenSM Rev:openib-2.0.5
> Based on OpenIB svn Exported revision
>  Using Cached Option:guid = 0x0008f1040397886d
>  Using Cached Option:log_flags = 3
> Command Line Arguments:
>  Log File: /var/log/osm.log
> -------------------------------------------------
> OpenSM Rev:openib-2.0.5 OpenIB svn Exported revision
> 
> Entering MASTER state
> 
> SUBNET UP
> 
> OpenSM: Got signal 2 - exiting...
> Exiting SM
> 
> # Specify up/down routing and write out to opensm.opts:
> 
> [root at bruiser osm]# /opt/ofed-1.1/bin/opensm -R updn -c
> -------------------------------------------------
> OpenSM Rev:openib-2.0.5
> Based on OpenIB svn Exported revision
>  Using Cached Option:guid = 0x0008f1040397886d
>  Using Cached Option:log_flags = 3
> Command Line Arguments:
>  Activate 'updn' routing engine
>  Caching command line options
>  Log File: /var/log/osm.log
> -------------------------------------------------
> OpenSM Rev:openib-2.0.5 OpenIB svn Exported revision
> 
> Entering MASTER state
> 
> SUBNET UP
> 
> OpenSM: Got signal 2 - exiting...
> Exiting SM
> 
> # And it dies:
> 
> [root at bruiser osm]# /opt/ofed-1.1/bin/opensm
> -------------------------------------------------
> OpenSM Rev:openib-2.0.5
> Based on OpenIB svn Exported revision
>  Using Cached Option:guid = 0x0008f1040397886d
> Segmentation fault 

Can you find out where it seg faults ?

> # The routing is the only difference:
> 
> [root at bruiser osm]# diff opensm.opts.updn opensm.opts.good
> 103,105d102
> < # Routing engine
> < routing_engine updn
> <

Is there a root nodes guid file being used ?

-- Hal

> 
> Thanks,
> 
> Steven.
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general




More information about the general mailing list