Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1921832.1
Update Date:2016-05-26
Keywords:

Solution Type  Problem Resolution Sure

Solution  1921832.1 :   smpartition add outputs "Wrong value for pkey. Legal value is 1 to 0x7fff"  


Related Items
  • Exalogic Elastic Cloud X3-2 Quarter Rack
  •  
  • Sun Network QDR InfiniBand Gateway Switch
  •  
Related Categories
  • PLA-Support>Sun Systems>SAND>Network>SN-SND: Sun Network Infiniband
  •  




In this Document
Symptoms
Cause
Solution
References


Created from <SR 3-9527794808>

Applies to:

Exalogic Elastic Cloud X3-2 Quarter Rack - Version X3 and later
Sun Network QDR InfiniBand Gateway Switch - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.

Symptoms

Customer tries to add partition table to recently upgraded IB GW switch running 2.1.3-4

    gw01#  smpartition start
    gw01#  smpartition add -pkey 0x8006 -port 0x0010effccdcc001 -m full
   Wrong value for pkey. Legal value is 1 to 0x7fff 

Cause

bug 15781777 smpartition should only accept pkey without membership bit as input

This bug was fixed for firmware version 2.1.2, but if users previously have hit
this bug, i.e. added pkey with membership bit in a firmware version prior to
firmware version 2.1.2, the partition will work as before even after upgrade to
firmware version 2.1.2 or newer, but users will not be able to change the partitions
(add members, delete members, modify the partition, or remove the partition) which
have the membership bit set.

 

Solution

 Follow the steps in the IB patch 18144395 /SUN_DCS_GW_2.1.3-4/README_pkey_filter to convert partition.current
  to the new format.


  In the old format, the full member partitions start with high order bit set. ie: partition 0x8006
  Resulting in the error "Wrong value for pkey. Legal value is 1 to 0x7fff"

Verify by checking the output of :

gw01:smpartition list active

<snip>

= 0x8006


  After running the script /SUN_DCS_GW_2.1.3-4/pkey_filter.pl you will notice all partitons
  now begin with "0"  so 0x8006 is now 0x0006


  Now run the following:

gw01# smpartition start
gw01# smpartition add -pkey 0x0006 -port 0x0010effccdcc001 -m full
gw01# smpartition list modified (check that GUIDS now under partiton 0x0006)
  = 0x0006:
0x0010effccdcc001;=full,

gw01# smpartition commit    <  updates standby SM
gw01# smpartition list active  < confirm commit


References

<NOTE:1921766.1> - showvnic command run on an IB gateway switch outputs "WAIT-VHUB"

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback