rpms/opensm/devel .cvsignore, 1.2, 1.3 opensm.conf, 1.1, 1.2 opensm.initd, 1.2, 1.3 opensm.spec, 1.4, 1.5 sources, 1.2, 1.3 opensm-3.2.1-rpath.patch, 1.1, NONE

Doug Ledford dledford at fedoraproject.org
Wed Apr 22 14:24:10 UTC 2009


Author: dledford

Update of /cvs/extras/rpms/opensm/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19539

Modified Files:
	.cvsignore opensm.conf opensm.initd opensm.spec sources 
Removed Files:
	opensm-3.2.1-rpath.patch 
Log Message:
* Wed Apr 22 2009 Doug Ledford <dledford at redhat.com> - 3.3.1-1
- Update to latest upstream version



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/opensm/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	30 Jun 2008 23:33:50 -0000	1.2
+++ .cvsignore	22 Apr 2009 14:24:01 -0000	1.3
@@ -1 +1,2 @@
 opensm-3.2.1.tar.gz
+opensm-3.3.1.tar.gz


Index: opensm.conf
===================================================================
RCS file: /cvs/extras/rpms/opensm/devel/opensm.conf,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- opensm.conf	30 Jun 2008 23:33:50 -0000	1.1
+++ opensm.conf	22 Apr 2009 14:24:04 -0000	1.2
@@ -1,129 +1,310 @@
-OPTIONS="-B"
-# DEBUG mode
-#  This option specifies a debug option.
-#  These options are not normally needed.
-#  The number following -d selects the debug
-#  option to enable as follows:
-#  OPT   Description
-#  ---    -----------------
-#  0  - Ignore other SM nodes.
-#  1  - Force single threaded dispatching.
-#  2  - Force log flushing after each log message.
-#  3  - Disable multicast support.
-#  4  - Put OpenSM in memory tracking mode.
-#  10.. Put OpenSM in testability mode.
-#  none, no debug options are enabled.
-# OPTIONS="$OPTIONS -d 1"
-
-# LMC
-#  This option specifies the subnet's LMC value.
-#  The number of LIDs assigned to each port is 2^LMC.
-#  The LMC value must be in the range 0-7.
-#  LMC values > 0 allow multiple paths between ports.
-#  LMC values > 0 should only be used if the subnet
-#  topology actually provides multiple paths between
-#  ports, i.e. multiple interconnects between switches.
-#  OpenSM defaults to LMC = 0, which allows
-#  one path between any two ports.
-# OPTIONS="$OPTIONS -l 0"
-
-# MAXSMPS
-#  This option specifies the number of VL15 SMP MADs
-#  allowed on the wire at any one time.
-#  Specifying -maxsmps 0 allows unlimited outstanding SMPs.
-#  Without -maxsmps, OpenSM defaults to a maximum of
-#  four outstanding SMP.
-OPTIONS="$OPTIONS -maxsmps 0"
-
-# REASSIGN_LIDS
-#  This option causes OpenSM to reassign LIDs to all
-#  end nodes. Specifying "REASSIGN_LIDS=yes" on a running subnet
-#  may disrupt subnet traffic.
-#  With "REASSIGN_LIDS=no", OpenSM attempts to preserve existing
-#  LID assignments resolving multiple use of same LID.
-# OPTIONS="$OPTIONS -r"
-
-# SWEEP
-#  This option specifies the number of seconds between
-#  subnet sweeps.  Specifying SWEEP=0 disables sweeping.
-#  OpenSM defaults to a sweep interval of 10 seconds.
-# OPTIONS="$OPTIONS -s 10"
-
-# TIMEOUT
-#  This option specifies the time in milliseconds
-#  used for transaction timeouts.
-#  Specifying -t 0 disables timeouts.
-#  Without -t, OpenSM defaults to a timeout value of
-#  200 milliseconds.
-# OPTIONS="$OPTIONS -t 200"
-
-# OSM_LOG
-#  This option defines the log to be the given file.
-#  By default the log goes to /tmp/osm.log, which isn't very suitable
-#  for a distribution, so we override it by default here.
-#  For the log to go to standard output use OSM_LOG=stdout.
-OPTIONS="$OPTIONS -f /var/log/opensm.log"
-
-# QoS
-#  This option enable QoS support in opensm
-# OPTIONS="$OPTIONS -Q"
-
-# QoS_POLICY
-#  This option sets the file from which to load the QoS policy
-# OPTIONS="$OPTIONS -Y /etc/rdma/qos_policy"
-
-# VERBOSE
-#  This option increases the log verbosity level.
-#  The "-v" option may be specified multiple times
-#  to further increase the verbosity level.
-#   "-V" option sets the maximum verbosity level and
-#   forces log flushing.
-#   The "-V" is equivalent to "-vf 0xFF -d 2".
-# OPTIONS="$OPTIONS -v 0x00"
-
-# ROUTING_ENGINE
-#  This option chooses the routing engine to use instead of the default
-#  algorithm Min Hop
-#  Supported engines are: updn, file, ftree, lash, dor
-# OPTIONS="$OPTIONS -R updn"
-
-# ROOT_GUID_FILE
-#  This option only allowed when UPDN algorithm is activated
-#  It specifies the guid list file from which to fetch the root node guid list
-#  The file contain in each line only one valid guid
-# OPTIONS="$OPTIONS -a /etc/rdma/root_guids"
-
-# CN_GUID_FILE
-#  This option only allowed when UPDN algorithm is activated
-#  It specifies the guid list file from which to fetch the compute node
-#  guid list
-#  The file contain in each line only one valid guid
-# OPTIONS="$OPTIONS -u /etc/rdma/cn_guids"
-
-# GUID
-#  This option specifies the local port GUID value
-#  with which OpenSM should bind.  OpenSM may be
-#  bound to 1 port at a time.
-#  If GUID given is 0, opensm would list the available guids and wait for 
-#  the user to select one (which obviously is no use in an init script)
-#  Without -g, OpenSM trys to use the default port.
-# OPTIONS="$OPTIONS -g <guid in hex>"
-
-# PRIORITY
-#  This option specifies the SM's PRIORITY.
-#  This will effect the handover cases, where master
-#  is chosen by priority and GUID.  Range goes
-#  from 0 (lowest priority) to 15 (highest).
-OPTIONS="$OPTIONS -p 15"
-
-# OSM_CACHE_DIR
-#  There is no command line option to opensm to set this, it can only be set
-#  as an environment variable.
-OSM_CACHE_DIR=/var/cache/opensm
-
-# CACHE_OPTIONS
-#  Cache the given command line options into the file
-#  OSM_CACHE_DIR/opensm.opts for use next invocation
-#  Set to '--cache-options' or '-c' in order to enable
-# OPTIONS="$OPTIONS -c"
+#
+# DEVICE ATTRIBUTES OPTIONS
+#
+# The port GUID on which the OpenSM is running
+guid 0x0000000000000000
+
+# M_Key value sent to all ports qualifying all Set(PortInfo)
+m_key 0x0000000000000000
+
+# The lease period used for the M_Key on this subnet in [sec]
+m_key_lease_period 0
+
+# SM_Key value of the SM used for SM authentication
+sm_key 0x0000000000000001
+
+# SM_Key value to qualify rcv SA queries as 'trusted'
+sa_key 0x0000000000000001
+
+# Note that for both values above (sm_key and sa_key)
+# OpenSM version 3.2.1 and below used the default value '1'
+# in a host byte order, it is fixed now but you may need to
+# change the values to interoperate with old OpenSM running
+# on a little endian machine.
+
+# Subnet prefix used on this subnet
+subnet_prefix 0xfe80000000000000
+
+# The LMC value used on this subnet
+lmc 0
+
+# lmc_esp0 determines whether LMC value used on subnet is used for
+# enhanced switch port 0. If TRUE, LMC value for subnet is used for
+# ESP0. Otherwise, LMC value for ESP0s is 0.
+lmc_esp0 FALSE
+
+# The code of maximal time a packet can live in a switch
+# The actual time is 4.096usec * 2^<packet_life_time>
+# The value 0x14 disables this mechanism
+packet_life_time 0x12
+
+# The number of sequential packets dropped that cause the port
+# to enter the VLStalled state. The result of setting this value to
+# zero is undefined.
+vl_stall_count 0x07
+
+# The number of sequential packets dropped that cause the port
+# to enter the VLStalled state. This value is for switch ports
+# driving a CA or router port. The result of setting this value
+# to zero is undefined.
+leaf_vl_stall_count 0x07
+
+# The code of maximal time a packet can wait at the head of
+# transmission queue.
+# The actual time is 4.096usec * 2^<head_of_queue_lifetime>
+# The value 0x14 disables this mechanism
+head_of_queue_lifetime 0x12
+
+# The maximal time a packet can wait at the head of queue on
+# switch port connected to a CA or router port
+leaf_head_of_queue_lifetime 0x10
+
+# Limit the maximal operational VLs
+max_op_vls 5
+
+# Force PortInfo:LinkSpeedEnabled on switch ports
+# If 0, don't modify PortInfo:LinkSpeedEnabled on switch port
+# Otherwise, use value for PortInfo:LinkSpeedEnabled on switch port
+# Values are (IB Spec 1.2.1, 14.2.5.6 Table 146 "PortInfo")
+#    1: 2.5 Gbps
+#    3: 2.5 or 5.0 Gbps
+#    5: 2.5 or 10.0 Gbps
+#    7: 2.5 or 5.0 or 10.0 Gbps
+#    2,4,6,8-14 Reserved
+#    Default 15: set to PortInfo:LinkSpeedSupported
+force_link_speed 15
+
+# The subnet_timeout code that will be set for all the ports
+# The actual timeout is 4.096usec * 2^<subnet_timeout>
+subnet_timeout 18
+
+# Threshold of local phy errors for sending Trap 129
+local_phy_errors_threshold 0x08
+
+# Threshold of credit overrun errors for sending Trap 130
+overrun_errors_threshold 0x08
+
+#
+# PARTITIONING OPTIONS
+#
+# Partition configuration file to be used
+partition_config_file /etc/ofed/partitions.conf
+
+# Disable partition enforcement by switches
+no_partition_enforcement FALSE
+
+#
+# SWEEP OPTIONS
+#
+# The number of seconds between subnet sweeps (0 disables it)
+sweep_interval 10
+
+# If TRUE cause all lids to be reassigned
+reassign_lids FALSE
+
+# If TRUE forces every sweep to be a heavy sweep
+force_heavy_sweep FALSE
+
+# If TRUE every trap will cause a heavy sweep.
+# NOTE: successive identical traps (>10) are suppressed
+sweep_on_trap TRUE
+
+#
+# ROUTING OPTIONS
+#
+# If TRUE count switches as link subscriptions
+port_profile_switch_nodes FALSE
+
+# Name of file with port guids to be ignored by port profiling
+port_prof_ignore_file (null)
+
+# Routing engine
+# Multiple routing engines can be specified separated by
+# commas so that specific ordering of routing algorithms will
+# be tried if earlier routing engines fail.
+# Supported engines: minhop, updn, file, ftree, lash, dor
+routing_engine (null)
+
+# Connect roots (use FALSE if unsure)
+connect_roots FALSE
+
+# Use unicast routing cache (use FALSE if unsure)
+use_ucast_cache FALSE
+
+# Lid matrix dump file name
+lid_matrix_dump_file (null)
+
+# LFTs file name
+lfts_file (null)
+
+# The file holding the root node guids (for fat-tree or Up/Down)
+# One guid in each line
+root_guid_file (null)
+
+# The file holding the fat-tree compute node guids
+# One guid in each line
+cn_guid_file (null)
+
+# The file holding the node ids which will be used by Up/Down algorithm instead
+# of GUIDs (one guid and id in each line)
+ids_guid_file (null)
+
+# The file holding guid routing order guids (for MinHop and Up/Down)
+guid_routing_order_file (null)
+
+# SA database file name
+sa_db_file (null)
+
+#
+# HANDOVER - MULTIPLE SMs OPTIONS
+#
+# SM priority used for deciding who is the master
+# Range goes from 0 (lowest priority) to 15 (highest).
+sm_priority 15
+
+# If TRUE other SMs on the subnet should be ignored
+ignore_other_sm FALSE
+
+# Timeout in [msec] between two polls of active master SM
+sminfo_polling_timeout 10000
+
+# Number of failing polls of remote SM that declares it dead
+polling_retry_number 4
+
+# If TRUE honor the guid2lid file when coming out of standby
+# state, if such file exists and is valid
+honor_guid2lid_file FALSE
+
+#
+# TIMING AND THREADING OPTIONS
+#
+# Maximum number of SMPs sent in parallel
+max_wire_smps 32
+
+# The maximum time in [msec] allowed for a transaction to complete
+transaction_timeout 200
+
+# Maximal time in [msec] a message can stay in the incoming message queue.
+# If there is more than one message in the queue and the last message
+# stayed in the queue more than this value, any SA request will be
+# immediately returned with a BUSY status.
+max_msg_fifo_timeout 10000
+
+# Use a single thread for handling SA queries
+single_thread FALSE
+
+#
+# MISC OPTIONS
+#
+# Daemon mode
+daemon TRUE
+
+# SM Inactive
+sm_inactive FALSE
+
+# Babbling Port Policy
+babbling_port_policy FALSE
+
+#
+# Event Plugin Options
+#
+event_plugin_name (null)
+
+#
+# Node name map for mapping node's to more descriptive node descriptions
+# (man ibnetdiscover for more information)
+#
+node_name_map_name (null)
+
+#
+# DEBUG FEATURES
+#
+# The log flags used
+log_flags 0x03
+
+# Force flush of the log file after each log message
+force_log_flush FALSE
+
+# Log file to be used
+log_file /var/log/opensm.log
+
+# Limit the size of the log file in MB. If overrun, log is restarted
+log_max_size 0
+
+# If TRUE will accumulate the log over multiple OpenSM sessions
+accum_log_file TRUE
+
+# The directory to hold the file OpenSM dumps
+dump_files_dir /var/log/
+
+# If TRUE enables new high risk options and hardware specific quirks
+enable_quirks FALSE
+
+# If TRUE disables client reregistration
+no_clients_rereg FALSE
+
+# If TRUE OpenSM should disable multicast support and
+# no multicast routing is performed if TRUE
+disable_multicast FALSE
+
+# If TRUE opensm will exit on fatal initialization issues
+exit_on_fatal TRUE
+
+# console [off|local]
+console off
+
+# Telnet port for console (default 10000)
+console_port 10000
+
+#
+# QoS OPTIONS
+#
+# Enable QoS setup
+qos FALSE
+
+# QoS policy file to be used
+qos_policy_file /etc/ofed/qos-policy.conf
+
+# QoS default options
+qos_max_vls 0
+qos_high_limit -1
+qos_vlarb_high (null)
+qos_vlarb_low (null)
+qos_sl2vl (null)
+
+# QoS CA options
+qos_ca_max_vls 0
+qos_ca_high_limit -1
+qos_ca_vlarb_high (null)
+qos_ca_vlarb_low (null)
+qos_ca_sl2vl (null)
+
+# QoS Switch Port 0 options
+qos_sw0_max_vls 0
+qos_sw0_high_limit -1
+qos_sw0_vlarb_high (null)
+qos_sw0_vlarb_low (null)
+qos_sw0_sl2vl (null)
+
+# QoS Switch external ports options
+qos_swe_max_vls 0
+qos_swe_high_limit -1
+qos_swe_vlarb_high (null)
+qos_swe_vlarb_low (null)
+qos_swe_sl2vl (null)
+
+# QoS Router ports options
+qos_rtr_max_vls 0
+qos_rtr_high_limit -1
+qos_rtr_vlarb_high (null)
+qos_rtr_vlarb_low (null)
+qos_rtr_sl2vl (null)
+
+# Prefix routes file name
+prefix_routes_file /etc/ofed/prefix-routes.conf
+
+#
+# IPv6 Solicited Node Multicast (SNM) Options
+#
+consolidate_ipv6_snm_req FALSE
 


Index: opensm.initd
===================================================================
RCS file: /cvs/extras/rpms/opensm/devel/opensm.initd,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- opensm.initd	17 Sep 2008 03:06:39 -0000	1.2
+++ opensm.initd	22 Apr 2009 14:24:05 -0000	1.3
@@ -4,12 +4,12 @@
 #
 # chkconfig: - 15 85
 # description: Activates/Deactivates InfiniBand Subnet Manager
-# config: /etc/rdma/opensm.conf
+# config: /etc/ofed/opensm.conf
 #
 ### BEGIN INIT INFO
 # Provides:       opensm
 # Default-Stop: 0 1 2 3 4 5 6
-# Required-Start: $rdma
+# Required-Start: $openib
 # Short-Description: Starts/Stops the InfiniBand Subnet Manager
 # Description: Starts/Stops the InfiniBand Subnet Manager
 ### END INIT INFO
@@ -17,24 +17,17 @@
 . /etc/rc.d/init.d/functions
 
 prog=/usr/sbin/opensm
-CONFIG=/etc/rdma/opensm.conf
 PID_FILE=/var/run/opensm.pid
 ACTION=$1
 
 start()
 {
     local OSM_PID=
-    if [ ! -f $CONFIG ]; then
-        echo -n "Starting opensm: $CONFIG missing" 
-        echo_failure
-        return 6
-    fi
-    . $CONFIG
     [ -f /var/lock/subsys/opensm ] && return 0
     # Start opensm
     echo -n "Starting IB Subnet Manager:"
-    $prog $OPTIONS > /dev/null 2>&1
-    sleep 1        
+    $prog -B > /dev/null 2>&1
+    sleep 1
     OSM_PID=`pidof $prog`
     checkpid $OSM_PID
     RC=$?
@@ -53,7 +46,7 @@
 
     OSM_PID=`cat $PID_FILE`
 
-    checkpid "$OSM_PID"
+    checkpid $OSM_PID
     RC=$?
     if [ $RC -ne 0 ]; then
 	rm -f $PID_FILE


Index: opensm.spec
===================================================================
RCS file: /cvs/extras/rpms/opensm/devel/opensm.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- opensm.spec	6 Mar 2009 10:44:02 -0000	1.4
+++ opensm.spec	22 Apr 2009 14:24:05 -0000	1.5
@@ -1,6 +1,6 @@
 Name: opensm
-Version: 3.2.1
-Release: 3%{?dist}
+Version: 3.3.1
+Release: 1%{?dist}
 Summary: OpenIB InfiniBand Subnet Manager and management utilities
 Group: System Environment/Daemons
 License: GPLv2 or BSD
@@ -9,10 +9,9 @@
 Source1: opensm.conf
 Source2: opensm.logrotate
 Source3: opensm.initd
-Patch0:  opensm-3.2.1-rpath.patch
 Patch1:  opensm-3.2.1-elif.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: libibmad-devel >= 1.2.0, libtool, bison, flex, byacc
+BuildRequires: libibmad-devel >= 1.3.0, libtool, bison, flex, byacc
 Requires: %{name}-libs = %{version}-%{release}, logrotate, rdma
 
 %description
@@ -47,9 +46,7 @@
 
 %prep
 %setup -q
-%patch0 -p1 -b .rpath
 %patch1 -p1 -b .elif
-./autogen.sh
 
 %build
 %configure --with-opensm-conf-sub-dir=rdma
@@ -60,6 +57,7 @@
 make install DESTDIR=$RPM_BUILD_ROOT
 # remove unpackaged files from the buildroot
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+rm -fr $RPM_BUILD_ROOT%{_sysconfdir}/init.d
 install -D -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rdma/opensm.conf
 install -D -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/opensm
 install -D -m755 %{SOURCE3} $RPM_BUILD_ROOT%{_initrddir}/opensm
@@ -110,6 +108,9 @@
 %{_libdir}/lib*.a
 
 %changelog
+* Wed Apr 22 2009 Doug Ledford <dledford at redhat.com> - 3.3.1-1
+- Update to latest upstream version
+
 * Fri Mar 06 2009 Caolán McNamara <caolanm at redhat.com> - 3.2.1-3
 - fix bare elifs to rebuild
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/opensm/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	30 Jun 2008 23:33:50 -0000	1.2
+++ sources	22 Apr 2009 14:24:05 -0000	1.3
@@ -1 +1 @@
-997d10f81896a0d70e0f21f0e78eca92  opensm-3.2.1.tar.gz
+8c8c153f21d9f6cee51fc3d501c54fe7  opensm-3.3.1.tar.gz


--- opensm-3.2.1-rpath.patch DELETED ---




More information about the scm-commits mailing list