Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
55 replies Latest Post - ‏2015-03-17T16:34:57Z by yllw98stng
SystemAdmin
SystemAdmin
3234 Posts
ACCEPTED ANSWER

Pinned topic I/O module has incorrect VPD information

‏2013-01-28T09:27:38Z |
Hello!

We have warning message on our BladeCenter "I/O module 1 has incorrect VPD information" in AMM web interface. (screenshot in attach)

There are no errors in event log, which can explain this warning message.

Cisco Ethernet Switch module in BladeCenter worked normally, but we can't understand why this event happened and how to fix it.

Thank you so much!
Updated on 2013-01-29T11:22:26Z at 2013-01-29T11:22:26Z by SystemAdmin
  • MichaelHMartel
    MichaelHMartel
    32 Posts
    ACCEPTED ANSWER

    Re: I/O module has incorrect VPD information

    ‏2013-01-28T11:15:52Z  in response to SystemAdmin
    We get this from time to time. I've contacted IBM on this a number of times. They have a perl script you can run from a box and fix the corrupted VPD. The last I knew they still did not know what causes this issue.

    My reccomendation would be to contact IBM support.

    Michael
    • SystemAdmin
      SystemAdmin
      3234 Posts
      ACCEPTED ANSWER

      Re: I/O module has incorrect VPD information

      ‏2013-01-29T11:22:26Z  in response to MichaelHMartel
      It means I can't found and run this script without IBM support engineer and bug will not be corrected, if my contract has expired?
    • IBMAssistance
      IBMAssistance
      2 Posts
      ACCEPTED ANSWER

      Re: I/O module has incorrect VPD information

      ‏2013-05-24T14:14:53Z  in response to MichaelHMartel

      Michael, where do you suppose to run the script?

  • Javi_CR
    Javi_CR
    4 Posts
    ACCEPTED ANSWER

    Re: I/O module has incorrect VPD information

    ‏2013-05-23T16:09:26Z  in response to SystemAdmin

    I have the script,  how do I run it ? Where in the AMM ? Or in the Blade Switch ?

     

    • Javi_CR
      Javi_CR
      4 Posts
      ACCEPTED ANSWER

      Re: I/O module has incorrect VPD information

      ‏2013-05-23T17:28:54Z  in response to Javi_CR

      It works! 

      $ perl fix-vpd-ssh.pl <amm IP> <userid> <active AMM>  <switch> <offset> <type>

       

        where 
         <amm IP>      is IP @ of amm.                e.g. 9.42.161.57
         <userid>      is login id for amm.           e.g. USERID 
         <active AMM>  is which AMM is active         valid values:  1,2
         <switch>      is switch bay with bad switch  valid values:  1,2,3,4,7,8,9,10
         <offset>      is offset to bad VPD area      valid values:  0,2
                       if failure shows vpd version C304, set offset to 0
                       if failure shows vpd version D6A0, set offset to 2
         <type>        optional parameter      
                       is type of switch (if 8677)    valid values:  BCE,BCER (default=BCE)
                       note: 8677 has 2 midplane types (BCE/BCER)
                             if script fails running on 8677 try running with type=BCER
       
      examples:
            perl fix-vpd-ssh.pl  9.42.161.43 USERID PASSW0RD 1 1 0
                    will check and fix vpd if corruption is at offset 0 on switch in slot 1 with AMM 1 active
            perl fix-vpd-ssh.pl  9.42.161.43 USERID PASSW0RD 1 2 BCER
                    will check and fix vpd if corruption is at offset 2 on switch in slot 1 of BCER chassis with AMM1 active
      • AkeemDaly
        AkeemDaly
        2 Posts
        ACCEPTED ANSWER

        Re: I/O module has incorrect VPD information

        ‏2013-06-12T21:29:09Z  in response to Javi_CR

        Javi can you attach or send a copy of this script please?

        • Javi_CR
          Javi_CR
          4 Posts
          ACCEPTED ANSWER

          Re: I/O module has incorrect VPD information

          ‏2013-06-12T21:58:12Z  in response to AkeemDaly

          Sure.

          Let me know if you have any problems.

           

          Regards, 

           

          Javier

          Attachments

          • AkeemDaly
            AkeemDaly
            2 Posts
            ACCEPTED ANSWER

            Re: I/O module has incorrect VPD information

            ‏2013-06-12T23:03:02Z  in response to Javi_CR

            That worked perfect! Thanks Javier!

            • MichaelK13
              MichaelK13
              2 Posts
              ACCEPTED ANSWER

              Re: I/O module has incorrect VPD information

              ‏2013-07-01T10:03:11Z  in response to AkeemDaly

              I have the same problem. I ran the script twice, the problem was corrected, but a few days later, she appeared again ...

              Details of my network switch:

              Product ID: WS-CBS3012-IBM-I

              Software: 12.2(55)SE

              Updated on 2013-07-01T10:17:08Z at 2013-07-01T10:17:08Z by MichaelK13
    • Givemeahint
      Givemeahint
      3 Posts
      ACCEPTED ANSWER

      Re: I/O module has incorrect VPD information

      ‏2013-07-18T18:44:43Z  in response to Javi_CR

      HI Javi

      Where did you end up running this script from?  I've tried from the AMM CLI and the CMD prompt and no joy.  I've got the PERL binaries installed, am I missing anything else?

      Thanks

      • Givemeahint
        Givemeahint
        3 Posts
        ACCEPTED ANSWER

        Re: I/O module has incorrect VPD information

        ‏2013-07-18T19:14:24Z  in response to Givemeahint

        Found it.  I had to download PLINK.EXE from here http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html and replace SSH with PLINK in the script.

        • Javi_CR
          Javi_CR
          4 Posts
          ACCEPTED ANSWER

          Re: I/O module has incorrect VPD information

          ‏2013-07-18T19:25:16Z  in response to Givemeahint

          Good let me know if you need extra help!

          • Givemeahint
            Givemeahint
            3 Posts
            ACCEPTED ANSWER

            Re: I/O module has incorrect VPD information

            ‏2013-07-18T19:29:43Z  in response to Javi_CR

            The script doesn't fix the issue and returns an 'Corrupt VPD not found".  I've tried different parameters, but still no joy.  I guess it's a call to IBM then !

            • Marcin_IBM
              Marcin_IBM
              1 Post
              ACCEPTED ANSWER

              Re: I/O module has incorrect VPD information

              ‏2013-09-24T11:54:55Z  in response to Givemeahint

              This is the same error I'm getting also.  "Corrupt VPD not found".  I downloaded PLINK as well, and replaced the ssh commands in the script file with "plink".  What did IBM end up saying Givemeahint?

              What SSH client is everyone else using to complete this?

               

              • gez
                gez
                275 Posts
                ACCEPTED ANSWER

                Re: I/O module has incorrect VPD information

                ‏2013-09-27T16:30:15Z  in response to Marcin_IBM

                You can get 'corrupt VPD not found' if the AMM is caching the VPD info.  Reboot the AMM then run the script again

  • AcalBarton
    AcalBarton
    4 Posts
    ACCEPTED ANSWER

    Re: I/O module has incorrect VPD information

    ‏2013-08-13T14:39:13Z  in response to SystemAdmin

    Can Somebody please advise which prompt i need to run this scripts from?

    • Josh_Corder
      Josh_Corder
      94 Posts
      ACCEPTED ANSWER

      Re: I/O module has incorrect VPD information

      ‏2013-08-13T15:15:05Z  in response to AcalBarton

      You need to run that script from any terminal command line that can access, or is in the same vlan as the AMM.  Basically, if you can reach the AMM via command line you can run it.

      • AcalBarton
        AcalBarton
        4 Posts
        ACCEPTED ANSWER

        Re: I/O module has incorrect VPD information

        ‏2013-08-13T15:35:36Z  in response to Josh_Corder

        Thanks Josh, when i log in to the AMM via ssh I get the system> prompt. how do  get to the CLI prompt where I can run the perl command?

        • Josh_Corder
          Josh_Corder
          94 Posts
          ACCEPTED ANSWER

          Re: I/O module has incorrect VPD information

          ‏2013-08-13T15:42:56Z  in response to AcalBarton

          You don't log in to the AMM.  You feed it the IP address, username, and password from your terminal BEFORE you log in.

          • AcalBarton
            AcalBarton
            4 Posts
            ACCEPTED ANSWER

            Re: I/O module has incorrect VPD information

            ‏2013-08-14T15:44:59Z  in response to Josh_Corder

            I am still struggling with this. When I run the script it just sits at enter AMM password when prompted below: and never prompts for the password.

            if you try to enter the password it comes up with FATAL Error: server unexpectedly closed network connection.

            any ideas?

            • Josh_Corder
              Josh_Corder
              94 Posts
              ACCEPTED ANSWER

              Re: I/O module has incorrect VPD information

              ‏2013-08-14T17:55:27Z  in response to AcalBarton

              Are you supply the password as a variable when calling the script?

               

              perl fix-vpd-ssh.pl  9.42.161.43 USERID PASSW0RD 1 1 0

              USERID and PASSW0RD are actually the login information you have set for the AMM.  If PASSW0RD is not the password, then you must specify what you are using in order for it to work.

              • AcalBarton
                AcalBarton
                4 Posts
                ACCEPTED ANSWER

                Re: I/O module has incorrect VPD information

                ‏2013-08-15T09:21:39Z  in response to Josh_Corder

                The script doesnt run when I add the password as a variable.

                perl fix-vpd-ssh.pl 192.168.100.96 USERID PASSW0RD 1 2 0

                It returns "MM [ PASSW0RD] is invalid value. Must be active MM: either 1 or 2"

                so I try:

                perl fix-vpd-ssh.pl 192.168.100.96 USERID 1  2 0  This just returns "enter AMM password when prompted below:" and stays there.

                • gez
                  gez
                  275 Posts
                  ACCEPTED ANSWER

                  Re: I/O module has incorrect VPD information

                  ‏2013-08-19T13:07:31Z  in response to AcalBarton

                  You will be prompted to enter the AMM password up to 4 times.  If its prompting you for a password you need to enter it or it will just stay there, its waiting for input from you.  This is normal.   If you are getting a fatal error connection closed message when entering the password, it sounds like the SSH connection to the AMM is being terminated for some reason.  Are you running this script over a network?  If so, maybe try hooking a laptop directly to the AMM and running the script from the laptop.

                  I just thought of something...something similar happened to me.  I forgot which version of the script I was running when this occurred, and I do not recall the exact error message I was getting, but it was occruing during the enter the password phase of the script.   Run the script and put in the AMM password, let the script fail.  Then log into the AMM web interface and check the event log and see if there are any SSH login failures from userid XXXXX.  compare XXXXX with what you are using in the script.  I ran into an issue one time where even though I was specifying USERID in the script, it was actually trying to log in as 'Administrator' and therefore was failing to authenticate.  To work around the problem I created an 'Administrator' username and the script worked.

                  Updated on 2013-08-19T13:23:21Z at 2013-08-19T13:23:21Z by gez
                  • jimcgreen
                    jimcgreen
                    4 Posts
                    ACCEPTED ANSWER

                    Re: I/O module has incorrect VPD information

                    ‏2013-12-31T22:02:40Z  in response to gez

                    I am getting the same error as AcalBarton

                    I enter

                    c:\strawberry>perl fix_ssh_vpd.pl  10.0.0.7 USERID PASSW0RD 1 1 0

                    and receive

                    Script to detect and fix incorrect VPD on cisco switch such as 3012/3110G.

                    Syntax
                      perl fix-vpd-ssh.pl <amm IP> <userid> <active AMM>  <switch> <offset> <type>
                      where
                       <amm IP>      is IP @ of amm.                e.g. 9.42.161.57
                       <userid>      is login id for amm.           e.g. USERID
                       <active AMM>  is which AMM is active         valid values:  1,2
                       <switch>      is switch bay with bad switch  valid values:  1,2,3,4,7,8,9,10
                       <offset>      is offset to bad VPD area      valid values:  0,2
                                     if failure shows vpd version C304, set offset to 0
                                     if failure shows vpd version D6A0, set offset to 2
                       <type>        optional parameter
                                     is type of switch (if 8677)    valid values:  BCE,BCER (default
                    =BCE)
                                     note: 8677 has 2 midplane types (BCE/BCER)
                                           if script fails running on 8677 try running with type=BCE
                    R

                    examples:
                          perl fix-vpd-ssh.pl  9.42.161.43 USERID PASSW0RD 1 1 0
                                  will check and fix vpd if corruption is at offset 0 on switch in s
                    lot 1 with AMM 1 active
                          perl fix-vpd-ssh.pl  9.42.161.43 USERID PASSW0RD 1 2 BCER
                                  will check and fix vpd if corruption is at offset 2 on switch in s
                    lot 1 of BCER chassis with AMM1 active


                    you will be prompted up to 4 times for password associated with AMM



                    MM [PASSW0RD] is invalid value.  Must be active MM: either 1 or  2

                    ;

                    • jimcgreen
                      jimcgreen
                      4 Posts
                      ACCEPTED ANSWER

                      Re: I/O module has incorrect VPD information

                      ‏2013-12-31T22:05:01Z  in response to jimcgreen

                      If I enter

                      c:\strawberry>perl fix_ssh_vpd.pl  10.0.0.7 USERID 1 1 0

                      I receive

                      Script to detect and fix incorrect VPD on cisco switch such as 3012/3110G.

                      Syntax
                        perl fix-vpd-ssh.pl <amm IP> <userid> <active AMM>  <switch> <offset> <type>
                        where
                         <amm IP>      is IP @ of amm.                e.g. 9.42.161.57
                         <userid>      is login id for amm.           e.g. USERID
                         <active AMM>  is which AMM is active         valid values:  1,2
                         <switch>      is switch bay with bad switch  valid values:  1,2,3,4,7,8,9,10
                         <offset>      is offset to bad VPD area      valid values:  0,2
                                       if failure shows vpd version C304, set offset to 0
                                       if failure shows vpd version D6A0, set offset to 2
                         <type>        optional parameter
                                       is type of switch (if 8677)    valid values:  BCE,BCER (default
                      =BCE)
                                       note: 8677 has 2 midplane types (BCE/BCER)
                                             if script fails running on 8677 try running with type=BCE
                      R

                      examples:
                            perl fix-vpd-ssh.pl  9.42.161.43 USERID PASSW0RD 1 1 0
                                    will check and fix vpd if corruption is at offset 0 on switch in s
                      lot 1 with AMM 1 active
                            perl fix-vpd-ssh.pl  9.42.161.43 USERID PASSW0RD 1 2 BCER
                                    will check and fix vpd if corruption is at offset 2 on switch in s
                      lot 1 of BCER chassis with AMM1 active


                      you will be prompted up to 4 times for password associated with AMM



                      ============= checking that chassis is BCH, BCE, BCS or BCHT

                      about to issue:   ssh USERID@10.0.0.7 info


                      enter AMM password when prompted below:

                      'ssh' is not recognized as an internal or external command,
                      operable program or batch file.


                       did not find an BCH, BCE, BCS or BCHT chassis.


                      c:\strawberry>

                      • jimcgreen
                        jimcgreen
                        4 Posts
                        ACCEPTED ANSWER

                        Re: I/O module has incorrect VPD information

                        ‏2013-12-31T23:07:17Z  in response to jimcgreen

                        I figured it out. I needed OpenSSH for windows from the sourceforge site.

                        Although I did get  "corrupt VPD not found on specified switch" for either offset even after rebooting the AMM and retrying.

                        • jimcgreen
                          jimcgreen
                          4 Posts
                          ACCEPTED ANSWER

                          Re: I/O module has incorrect VPD information

                          ‏2014-01-02T16:42:01Z  in response to jimcgreen

                          I finally got the error to clear. These are the steps I took.

                          Download the Perl script to my Windows 7 laptop from Javi_CR's post above.

                          Download and install Strawberry Perl to my Win 7 laptop from strawberryperl.com

                          Download and install portable OpenSSH for windows to my Win 7 laptop from http://openssh.com/portable.html

                          Move the Perl script to where Strawberry Perl was installed [c:\strawberry]

                          Open a cmd prompt on my Win 7 laptop and cd to c:\strawberry

                          Restart the AMM and wait until it is accessible but before it throws the VPD error

                          issue the command to fix offset 0 (note that the Perl script file name is different than shown in the examples in the script and the password variable is not used in the command) The IP is whatever your AMM IP is.

                          perl fix_ssh_vpd.pl  10.0.0.7 USERID 1 1 0

                          issue the command to fix offset 2

                          perl fix_ssh_vpd.pl  10.0.0.7 USERID 1 1 2

                          In my case it gave a "Corrupt VPD not found" for the attempt to fix offset 0 and a "fixed" message for the attempt to fix offset 2.

                           

                           

                          • sejod2004
                            sejod2004
                            1 Post
                            ACCEPTED ANSWER

                            Re: I/O module has incorrect VPD information

                            ‏2014-01-02T16:57:40Z  in response to jimcgreen

                            I wound up using Red Hat in a VM. Too much trouble getting Windows to run it.

                            Talking to IBM they said the most common offset value is 2

                            • Mr.Moe
                              Mr.Moe
                              21 Posts
                              ACCEPTED ANSWER

                              Re: I/O module has incorrect VPD information

                              ‏2014-03-25T00:25:23Z  in response to sejod2004

                              If anyone of you still having issue, drop me a message I will assist you.

                               

                              Thanks

                              • yllw98stng
                                yllw98stng
                                4 Posts
                                ACCEPTED ANSWER

                                Re: I/O module has incorrect VPD information

                                ‏2014-03-25T20:19:37Z  in response to Mr.Moe

                                I'm still having the issue.  I'm running:

                                "perl fix-vpd-ssh.pl 10.104.0.6 USERID 1 2 0"

                                and have also tried

                                "perl fix-vpd-ssh.pl 10.104.0.6 USERID 1 2 2"

                                It prompts for the password twice and then reports "Corrupt VPN not found on specified switch".  I only have 1 AMM and the 3012 is in bay 2. 

                                • Mr.Moe
                                  Mr.Moe
                                  21 Posts
                                  ACCEPTED ANSWER

                                  Re: I/O module has incorrect VPD information

                                  ‏2014-03-25T21:02:56Z  in response to yllw98stng
                                  Log in to your primary AMM and provided the output of those two command
                                  dbg -T mm[1] i2c131 1 b 2a a4 0 4
                                  dbg -T mm[1] i2c131 1 b 2a a4 2 4
                                  • yllw98stng
                                    yllw98stng
                                    4 Posts
                                    ACCEPTED ANSWER

                                    Re: I/O module has incorrect VPD information

                                    ‏2014-03-25T21:06:22Z  in response to Mr.Moe

                                    system> dbg -T mm[1] i2c131 1 b 2a a4 0 4
                                    issuing i2ct_readDevice( 1, 11, a4, 0, x, 4, x, 2a)
                                    i2c write FAILED with return code = 255!!!

                                     

                                    system> dbg -T mm[1] i2c131 1 b 2a a4 2 4
                                    issuing i2ct_readDevice( 1, 11, a4, 2, x, 4, x, 2a)
                                    data:   0(0x00) = 0xd6
                                      1(0x01) = 0xa0
                                      2(0x02) = 0xc3
                                      3(0x03) = 0xfc

                                    i2c read SUCCESS!!!

                                    • Mr.Moe
                                      Mr.Moe
                                      21 Posts
                                      ACCEPTED ANSWER

                                      Re: I/O module has incorrect VPD information

                                      ‏2014-03-25T21:16:11Z  in response to yllw98stng

                                      Type this command: dbg -T mm[1] i2c132 1 b 2a a4 2 4 0x01 0x04 0x03 0xfc9

                                      (This command will only work for yllw98stng scenario. DO NOT USE this command with your configuration if you don't know what your doing, you might break something that was working before)

                                      Thanks

                                      Updated on 2014-03-25T21:28:27Z at 2014-03-25T21:28:27Z by Mr.Moe
                                      • Mr.Moe
                                        Mr.Moe
                                        21 Posts
                                        ACCEPTED ANSWER

                                        Re: I/O module has incorrect VPD information

                                        ‏2014-03-25T21:23:43Z  in response to Mr.Moe

                                        Result?

                                      • yllw98stng
                                        yllw98stng
                                        4 Posts
                                        ACCEPTED ANSWER

                                        Re: I/O module has incorrect VPD information

                                        ‏2014-03-25T21:23:51Z  in response to Mr.Moe

                                        Thanks a bunch.  I ran the command, rebooted the AMM, and it is no longer reporting Incorrect VPD.

                                        • Mr.Moe
                                          Mr.Moe
                                          21 Posts
                                          ACCEPTED ANSWER

                                          Re: I/O module has incorrect VPD information

                                          ‏2014-03-25T21:25:11Z  in response to yllw98stng

                                          Have fun ;)

                                          Updated on 2014-03-25T21:27:02Z at 2014-03-25T21:27:02Z by Mr.Moe
                                          • zmanovsky
                                            zmanovsky
                                            6 Posts
                                            ACCEPTED ANSWER

                                            Re: I/O module has incorrect VPD information

                                            ‏2014-03-27T05:27:08Z  in response to Mr.Moe
                                            I have 2 AMM (active 1) and the 3012 is in bay 1. 
                                            I have a same situation:
                                            "perl fix-vpd-ssh.pl x.x.x.x USERID 1 1 0"
                                            and have also tried
                                            "perl fix-vpd-ssh.pl x.x.x.x USERID 1 1 2"
                                            and then reports "Corrupt VPD not found on specified switch".
                                             
                                            Could you help me?
                                            Updated on 2014-03-27T06:00:40Z at 2014-03-27T06:00:40Z by zmanovsky
                                            • Mr.Moe
                                              Mr.Moe
                                              21 Posts
                                              ACCEPTED ANSWER

                                              Re: I/O module has incorrect VPD information

                                              ‏2014-03-27T09:09:17Z  in response to zmanovsky

                                              Hi provide me the output of the following command:

                                              dbg -T mm[1] i2c131 1 a 2a a2 0 4
                                              dbg -T mm[1] i2c131 1 a 2a a2 2 4

                                              • zmanovsky
                                                zmanovsky
                                                6 Posts
                                                ACCEPTED ANSWER

                                                Re: I/O module has incorrect VPD information

                                                ‏2014-03-28T04:28:28Z  in response to Mr.Moe
                                                system> dbg -T mm[1] i2c131 1 a 2a a2 0 4
                                                issuing i2ct_readDevice( 1, 10, a2, 0, x, 4, x, 2a)
                                                i2c write FAILED with return code = 255!!!
                                                 
                                                system> dbg -T mm[1] i2c131 1 a 2a a2 2 4
                                                issuing i2ct_readDevice( 1, 10, a2, 2, x, 4, x, 2a)
                                                i2c write FAILED with return code = 255!!!
                                                 
                                                • Mr.Moe
                                                  Mr.Moe
                                                  21 Posts
                                                  ACCEPTED ANSWER

                                                  Re: I/O module has incorrect VPD information

                                                  ‏2014-03-28T13:05:01Z  in response to zmanovsky

                                                  You sure the switch is in bay 1?

                                                  Show me a screenshot of your AMM status page where we see the switches...

                                                  • zmanovsky
                                                    zmanovsky
                                                    6 Posts
                                                    ACCEPTED ANSWER

                                                    Re: I/O module has incorrect VPD information

                                                    ‏2014-03-31T04:30:13Z  in response to Mr.Moe

                                                    Yes.

                                                    Attachments

                                                    • Mr.Moe
                                                      Mr.Moe
                                                      21 Posts
                                                      ACCEPTED ANSWER

                                                      Re: I/O module has incorrect VPD information

                                                      ‏2014-03-31T04:43:37Z  in response to zmanovsky

                                                      Hi provide me the output of those commands please:

                                                       

                                                      dbg -T mm[2] i2c131 1 a 2a a2 0 4
                                                      dbg -T mm[2] i2c131 1 a 2a a2 2 4

                                                       

                                                       

                                                      • zmanovsky
                                                        zmanovsky
                                                        6 Posts
                                                        ACCEPTED ANSWER

                                                        Re: I/O module has incorrect VPD information

                                                        ‏2014-03-31T04:50:21Z  in response to Mr.Moe
                                                        system> dbg -T mm[2] i2c131 1 a 2a a2 0 4
                                                        issuing i2ct_readDevice( 1, 10, a2, 0, x, 4, x, 2a)
                                                        i2c write FAILED with return code = 255!!!
                                                         
                                                        system> dbg -T mm[2] i2c131 1 a 2a a2 2 4
                                                        issuing i2ct_readDevice( 1, 10, a2, 2, x, 4, x, 2a)
                                                        i2c write FAILED with return code = 255!!!
                                                         
                                                        • Mr.Moe
                                                          Mr.Moe
                                                          21 Posts
                                                          ACCEPTED ANSWER

                                                          Re: I/O module has incorrect VPD information

                                                          ‏2014-03-31T04:56:20Z  in response to zmanovsky

                                                          Do the following steps please:

                                                           

                                                          1.Remove module 1

                                                          2.Re-insert module 1 (Check if the post complete succesfuly)

                                                          3.Restart Active (Primary) AMM.

                                                          4. Provide me the result of those commands:

                                                          dbg -T mm[1] i2c131 1 a 2a a2 0 4
                                                          dbg -T mm[1] i2c131 1 a 2a a2 2 4

                                                          • zmanovsky
                                                            zmanovsky
                                                            6 Posts
                                                            ACCEPTED ANSWER

                                                            Re: I/O module has incorrect VPD information

                                                            ‏2014-03-31T05:22:42Z  in response to Mr.Moe

                                                            I re-inserted module 1, restarted Active AMM and ran commands:

                                                            system> dbg -T mm[1] i2c131 1 a 2a a2 0 4
                                                            Command cannot be issued to this target.  Type env -h for help on changing
                                                            targets.
                                                            system> dbg -T mm[1] i2c131 1 a 2a a2 2 4
                                                            Command cannot be issued to this target.  Type env -h for help on changing
                                                             
                                                            • Mr.Moe
                                                              Mr.Moe
                                                              21 Posts
                                                              ACCEPTED ANSWER

                                                              Re: I/O module has incorrect VPD information

                                                              ‏2014-03-31T07:28:47Z  in response to zmanovsky

                                                              Which AMM is the active one now?

                                                               

                                                              • zmanovsky
                                                                zmanovsky
                                                                6 Posts
                                                                ACCEPTED ANSWER

                                                                Re: I/O module has incorrect VPD information

                                                                ‏2014-03-31T07:40:56Z  in response to Mr.Moe

                                                                AMM 2 is active:

                                                                 

                                                                Attachments

                                                                • Mr.Moe
                                                                  Mr.Moe
                                                                  21 Posts
                                                                  ACCEPTED ANSWER

                                                                  Re: I/O module has incorrect VPD information

                                                                  ‏2014-03-31T07:47:19Z  in response to zmanovsky

                                                                  Run the following command:

                                                                   

                                                                  dbg -T mm[2] i2c131 1 a 2a a2 0 4
                                                                  dbg -T mm[2] i2c131 1 a 2a a2 2 4

                                                                   

                                                                  result?

                                                                  Updated on 2014-04-01T16:14:38Z at 2014-04-01T16:14:38Z by Mr.Moe
                                          • yllw98stng
                                            yllw98stng
                                            4 Posts
                                            ACCEPTED ANSWER

                                            Re: I/O module has incorrect VPD information

                                            ‏2015-03-17T16:34:57Z  in response to Mr.Moe

                                            Almost a year later, my issue has returned.  I still only have 1 AMM, and the 3012 is still in slot two.  I entered the following commands and received the following results (which differed slightly from my results last time):

                                            system> dbg -T mm[1] i2c131 1 b 2a a4 0 4
                                            issuing i2ct_readDevice( 1, 11, a4, 0, x, 4, x, 2a)
                                            data:   0(0x00) = 0x03
                                              1(0x01) = 0xfe
                                              2(0x02) = 0x01
                                              3(0x03) = 0x04

                                            i2c read SUCCESS!!!

                                            system> dbg -T mm[1] i2c131 1 b 2a a4 2 4
                                            issuing i2ct_readDevice( 1, 11, a4, 2, x, 4, x, 2a)
                                            i2c write FAILED with return code = 255!!!

                              • PPriit
                                PPriit
                                11 Posts
                                ACCEPTED ANSWER

                                Re: I/O module has incorrect VPD information

                                ‏2014-05-05T10:57:08Z  in response to Mr.Moe

                                Hi,

                                I also have the same problem that 1 Cisco 3012 displays incorrect VPD message and cannot be fixed by this perl script.

                                I ran the commands and outputs are here:

                                system> dbg -T mm[1] i2c131 1 a 2a a2 0 4
                                issuing i2ct_readDevice( 1, 10, a2, 0, x, 4, x, 2a)
                                i2c write FAILED with return code = 255!!!

                                system> dbg -T mm[1] i2c131 1 a 2a a2 2 4
                                issuing i2ct_readDevice( 1, 10, a2, 2, x, 4, x, 2a)
                                i2c write FAILED with return code = 255!!!

                                 

                                Could you help?

                              • Matt The Body
                                Matt The Body
                                1 Post
                                ACCEPTED ANSWER

                                Re: I/O module has incorrect VPD information

                                ‏2014-05-05T13:43:21Z  in response to Mr.Moe

                                Mr. Moe

                                 

                                Was hoping you could assist me.

                                My Error is as follows

                                I/O module 2 has incorrect VPD information

                                 

                                I downloaded and ran the script. below is the result.

                                c:\Perl64\bin>perl fix_ssh_vpd.pl USERID 1 2 0

                                Script to detect and fix incorrect VPD on cisco switch such as 3012/3110G.

                                Syntax
                                  perl fix-vpd-ssh.pl <amm IP> <userid> <active AMM>  <switch> <offset> <type>
                                  where
                                   <amm IP>      is IP @ of amm.                e.g. 9.42.161.57
                                   <userid>      is login id for amm.           e.g. USERID
                                   <active AMM>  is which AMM is active         valid values:  1,2
                                   <switch>      is switch bay with bad switch  valid values:  1,2,3,4,7,8,9,10
                                   <offset>      is offset to bad VPD area      valid values:  0,2
                                                 if failure shows vpd version C304, set offset to 0
                                                 if failure shows vpd version D6A0, set offset to 2
                                   <type>        optional parameter
                                                 is type of switch (if 8677)    valid values:  BCE,BCER (default
                                =BCE)
                                                 note: 8677 has 2 midplane types (BCE/BCER)
                                                       if script fails running on 8677 try running with type=BCE
                                R

                                examples:
                                      perl fix-vpd-ssh.pl  9.42.161.43 USERID PASSW0RD 1 1 0
                                              will check and fix vpd if corruption is at offset 0 on switch in s
                                lot 1 with AMM 1 active
                                      perl fix-vpd-ssh.pl  9.42.161.43 USERID PASSW0RD 1 2 BCER
                                              will check and fix vpd if corruption is at offset 2 on switch in s
                                lot 1 of BCER chassis with AMM1 active


                                you will be prompted up to 4 times for password associated with AMM

                                 

                                Switch ID [0] incorrect.   Can only fix VPD for BCH switches 1-4 and 7-10 or BCS
                                /BCE switches 1-4.

                                 

                                I don't understand the error message in the last line.

                                • jbaumann
                                  jbaumann
                                  1 Post
                                  ACCEPTED ANSWER

                                  Re: I/O module has incorrect VPD information

                                  ‏2014-05-20T10:28:32Z  in response to Matt The Body

                                  Well, that is simple to explain.

                                   

                                  The syntax for the command is

                                   perl fix-vpd-ssh.pl <amm IP> <userid> <active AMM>  <switch> <offset> <type>
                                   

                                  and you typed

                                  c:\Perl64\bin>perl fix_ssh_vpd.pl USERID 1 2 0

                                   

                                  So the script assumed "USERID" as the host name of the AMM, "1" as username, "2" as active AMM and "0" as the slot number of the switch. And that's why the script complained that only switches 1-4 and 7-10 are valid.

                                   

                              • JamesKay
                                JamesKay
                                2 Posts
                                ACCEPTED ANSWER

                                Re: I/O module has incorrect VPD information (help please)

                                ‏2014-06-04T23:02:53Z  in response to Mr.Moe

                                Hello Mr. Moe

                                 

                                 

                                Taking you up on your offer. I also have this issue and the perl script is not finding the corrupt vpd.

                                BC/E

                                Cisco 3012.

                                 

                                about to issue:   ssh workbooks@XXX dbg -T mm[1] i2c131  1  a 2a a2  0 4  
                                 
                                 
                                enter AMM password when prompted below: 
                                 
                                password:
                                 
                                 
                                  vpd string = 0x03 0xbe 0x01 0x00 
                                 
                                 
                                 
                                  corrupt VPD not found on specified switch
                                 
                                ----
                                 
                                 
                                about to issue:   ssh workbooks@XXX dbg -T mm[1] i2c131  1  a 2a a2  2 4  
                                 
                                 
                                enter AMM password when prompted below: 
                                 
                                password:
                                 
                                 
                                  vpd string = 
                                 
                                 
                                 
                                  corrupt VPD not found on specified switch
                                 

                                 

                                 

                                Running  BPET62Y on AMM.

                                If you can assist that would be great.

                                Thank you

                                James.

                                 

                                • Mr.Moe
                                  Mr.Moe
                                  21 Posts
                                  ACCEPTED ANSWER

                                  Re: I/O module has incorrect VPD information (help please)

                                  ‏2014-06-04T23:14:28Z  in response to JamesKay

                                  Please tell me which AMM is active; 1 or 2?

                                  Please tell me in which slot is the affected switch?

                                   

                                  ***Thanks Mr.Moe***

                                  • JamesKay
                                    JamesKay
                                    2 Posts
                                    ACCEPTED ANSWER

                                    Re: I/O module has incorrect VPD information (help please)

                                    ‏2014-06-09T10:17:58Z  in response to Mr.Moe

                                    OK, I have moved the switch into a test rig in our office. I have an AMM (slot 1) running the latest firmware BPET66E and two 3012 switches. The Cisco in bay 1 has corrupt VPD and the one in bay 2 is OK.

                                    Bay Type Manufacturer MAC Address IP Address Pwr Unique ID Type ID Stacking Mode Protected Mode POST Status
                                    1
                                      Ethernet SM     CSCO (CSCO)     n/a     n/a     On    n/a   n/a 
                                     Standby 
                                     Disabled 
                                    POST results not complete: 00
                                    2
                                      Ethernet SM     CSCO (CSCO)     00:24:51:4E:93:00     View     On    n/a   n/a 
                                     Standby 
                                     Disabled 

                                    POST results available: Module completed POST successfully.

                                    James-Kay:Desktop jkay$ perl fix_ssh_vpd.pl 192.168.1.234 USERID 1 1 0

                                    \

                                    Script to detect and fix incorrect VPD on cisco switch such as 3012/3110G.

                                      

                                    Syntax

                                      perl fix-vpd-ssh.pl <amm IP> <userid> <active AMM>  <switch> <offset> <type>

                                      where 

                                       <amm IP>      is IP @ of amm.                e.g. 9.42.161.57

                                       <userid>      is login id for amm.           e.g. USERID 

                                       <active AMM>  is which AMM is active         valid values:  1,2

                                       <switch>      is switch bay with bad switch  valid values:  1,2,3,4,7,8,9,10

                                       <offset>      is offset to bad VPD area      valid values:  0,2

                                                     if failure shows vpd version C304, set offset to 0

                                                     if failure shows vpd version D6A0, set offset to 2

                                       <type>        optional parameter      

                                                     is type of switch (if 8677)    valid values:  BCE,BCER (default=BCE)

                                                     note: 8677 has 2 midplane types (BCE/BCER)

                                                           if script fails running on 8677 try running with type=BCER

                                     

                                    examples:

                                          perl fix-vpd-ssh.pl  9.42.161.43 USERID PASSW0RD 1 1 0

                                                  will check and fix vpd if corruption is at offset 0 on switch in slot 1 with AMM 1 active

                                          perl fix-vpd-ssh.pl  9.42.161.43 USERID PASSW0RD 1 2 BCER

                                                  will check and fix vpd if corruption is at offset 2 on switch in slot 1 of BCER chassis with AMM1 active

                                     

                                     

                                    you will be prompted up to 4 times for password associated with AMM

                                     

                                     

                                     

                                    ============= checking that chassis is BCH, BCE, BCS or BCHT 

                                     

                                    about to issue:   ssh USERID@192.168.1.234 info

                                     

                                     

                                    enter AMM password when prompted below: 

                                     

                                    WARNING! This computer system and network is PRIVATE AND PROPRIETARY and 

                                    may only be accessed by authorized users. Unauthorized use of this 

                                    computer system or network is strictly prohibited and may be subject to 

                                    criminal prosecution, employee discipline up to and including discharge, 

                                    or the termination of vendor/service contracts. The owner, or its 

                                    agents , may monitor any activity or communication on the computer system 

                                    or network. The owner, or its agents, may retrieve any information 

                                    stored within the computer system or network. By accessing and using 

                                    this computer system or network, you are consenting to such monitoring 

                                    and information retrieval for law enforcement and other purposes. Users 

                                    should have no expectation of privacy as to any communication on or 

                                    information stored within the computer system or network, including 

                                    information stored locally or remotely on a hard drive or other media in 

                                    use with this computer system or network.

                                    password:

                                     

                                     

                                     found BCE chasssis

                                     

                                     

                                    ============= checking vpd of specififed switch

                                     

                                    about to issue:   ssh USERID@192.168.1.234 dbg -T mm[1] i2c131  1  a 2a a2  0 4  

                                     

                                     

                                    enter AMM password when prompted below: 

                                     

                                    WARNING! This computer system and network is PRIVATE AND PROPRIETARY and 

                                    may only be accessed by authorized users. Unauthorized use of this 

                                    computer system or network is strictly prohibited and may be subject to 

                                    criminal prosecution, employee discipline up to and including discharge, 

                                    or the termination of vendor/service contracts. The owner, or its 

                                    agents , may monitor any activity or communication on the computer system 

                                    or network. The owner, or its agents, may retrieve any information 

                                    stored within the computer system or network. By accessing and using 

                                    this computer system or network, you are consenting to such monitoring 

                                    and information retrieval for law enforcement and other purposes. Users 

                                    should have no expectation of privacy as to any communication on or 

                                    information stored within the computer system or network, including 

                                    information stored locally or remotely on a hard drive or other media in 

                                    use with this computer system or network.

                                    password:

                                     

                                     

                                      vpd string = 

                                     

                                     

                                     

                                      corrupt VPD not found on specified switch

                                     

                                    James-Kay:Desktop jkay$ 

                                     

                                     

                                    Thanks.