Password when programming IPMC

Hi! I have a basic question. When I try to program my IPMC via Ethernet and IPMCTool, a password is requested. What would be that password?

Cheers

Mathieu

Hello,

please have a look at Sign in to CERN

Let me know if this does not work.

Cheers,

Markus

In case you cannot access the link:

Upgrade the ipmc using ipmitool

Using direct ethernet connection to the IPMC:

  • Execute "./ipmitool -I lan -H <ipmc_ip> -U “” -P “” hpm upgrade hpm1all.img force
  • Execute "./ipmitool -I lan -H <ipmc_ip> -U “” -P “” hpm activate

OR

Using ethernet connection to the shelf manager:

  • Execute "./ipmitool -I lan -H <shmm_ip> -U “” -P “” -t <ipmc_ipmb_addr> hpm upgrade hpm1all.img force
  • Execute "./ipmitool -I lan -H <shmm_ip> -U “” -P “” -t <ipmc_ipmb_addr> hpm activate

Thanks, indeed I was missing the -U, -P, I was following Weigang instruction where that was missing.

I am now able to flash the IPMC, but it does not seem to properly activate and use the new version :

./src/ipmitool -I lan -H 192.168.1.34 -U "" -P "" hpm upgrade hpm1all.img force

PICMG HPM.1 Upgrade Agent 1.0.9:

Validating firmware image integrity...OK
Performing preparation stage...
Services may be affected during upgrade. Do you wish to continue? (y/n): y
OK

Performing upgrade stage:

-------------------------------------------------------------------------------
|ID  | Name        |                     Versions                        | %  |
|    |             |      Active     |      Backup     |      File       |    |
|----|-------------|-----------------|-----------------|-----------------|----|
|   1|A2F-ATCA BOO |   1.30 00000000 | ---.-- -------- |   1.30 00000000 |100%|
|    |Upload Time: 00:02             | Image Size:   18318 bytes              |
|   0|A2F-ATCA FIR |   1.30 00000000 | ---.-- -------- |   1.30 00000000 |100%|
|    |Upload Time: 00:08             | Image Size:  134534 bytes              |
|   2|A2F-ATCA FRU |   1.30 00000000 | ---.-- -------- |   1.30 00000000 |100%|
|    |Upload Time: 00:00             | Image Size:     486 bytes              |
-------------------------------------------------------------------------------
(*) Component requires Payload Cold Reset

Firmware upgrade procedure successful


gFEX@DESKTOP-H54PNK1 /home/ipmitool-1.8.18
$ ./src/ipmitool -I lan -H 192.168.1.34 -U "" -P "" hpm activate

PICMG HPM.1 Upgrade Agent 1.0.9:

Close Session command failed

gFEX@DESKTOP-H54PNK1 /home/ipmitool-1.8.18
$ ./src/ipmitool -I lan -H 192.168.1.34 -U "" -P "" hpm activate

PICMG HPM.1 Upgrade Agent 1.0.9:

Error activating firmware
compcode=0xd5: Command not supported in present state

After reboot, I see the IPMC name and IP did not change. Any idea what is going on ?

Cheers ,

Mathieu

Here is, for reference, what I get on my system:

$ ipmitool -I lan -H 192.168.1.34 -U "" -P "" hpm upgrade mj_temporary.img force

PICMG HPM.1 Upgrade Agent 1.0.9:

Validating firmware image integrity...OK
Performing preparation stage...
Services may be affected during upgrade. Do you wish to continue? (y/n): y
OK

Performing upgrade stage:

-------------------------------------------------------------------------------
|ID  | Name        |                     Versions                        | %  |
|    |             |      Active     |      Backup     |      File       |    |
|----|-------------|-----------------|-----------------|-----------------|----|
|   1|A2F-ATCA BOO |   1.30 00000000 | ---.-- -------- |   1.30 00000000 |100%|
|    |Upload Time: 00:16             | Image Size:   18374 bytes              |
|   0|A2F-ATCA FIR |   1.30 00000000 |   1.30 00000000 |   1.30 00000000 |100%|
|    |Upload Time: 02:26             | Image Size:  171874 bytes              |
|   2|A2F-ATCA FRU |   1.30 00000000 | ---.-- -------- |   1.30 00000000 |100%|
|    |Upload Time: 00:01             | Image Size:     526 bytes              |
-------------------------------------------------------------------------------
(*) Component requires Payload Cold Reset

Firmware upgrade procedure successful

pi@raspberrypi:/home/joos $ ipmitool -I lan -H 192.168.1.34 -U "" -P "" hpm activate

PICMG HPM.1 Upgrade Agent 1.0.9:

Close Session command failed

pi@raspberrypi:/home/joos $ ipmitool -I lan -H 192.168.1.34 -U "" -P "" fru
FRU Device Description : Builtin FRU Device (ID 0)
 Board Mfg Date        : Thu Jun  1 02:00:00 2017
 Board Mfg             : Cirly/Addax
 Board Product         : TEST_MJ2
 Board Serial          : 00001
 Board Part Number     : P580050995
 Product Manufacturer  : CERN
 Product Name          : IPMC-TestPAD-MJ2
 Product Part Number   : PN00001
 Product Version       : v.1.20
 Product Serial        : 0000001

Are you able to connect the debug UART of the IPMC to a minicom session?

Thanks, Joos, my output is in fact the same (with my own custom strings when running FRU). However, the chassis still detect the old name, and after reboot, even though the FRU command returns the same information as after flashing, but the chassis (and ip address assigned) is still from the previous config.

We cannot get UART access so easily, but we can try.

Cheers,

Mathieu

Is this IPMC at CERN or in your institute? If it was at CERN I could have a look at it in our test setup and try to load your image with my tools.