Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to flash firmware on IBM OpenPower S822LC for Big Data, model 8001-12C #5336

Closed
whowutwut opened this issue Jun 27, 2018 · 1 comment

Comments

@whowutwut
Copy link
Member

Also known as Stratton Boxes with model code: 8001-12C

The issue here is that it goes into the OpenPower "for HPC" code path which expects a HPM file instead of the .pnor/.bin files. The issue is:

[root@c910f02c05p03 OP825]# rflash stratton01 -d v2.20_BMC1.27
Error: [c910f02c05p03]: stratton01: The image file doesn't match this machine
@whowutwut whowutwut added this to the 2.14.2 milestone Jun 27, 2018
@whowutwut whowutwut self-assigned this Jun 27, 2018
@whowutwut
Copy link
Member Author

whowutwut commented Jun 27, 2018

The message comes out here:

2099         # step 3 power on
2100         $cmd = $pre_cmd . " chassis power on";
2101         $output = xCAT::Utils->runcmd($cmd, -1);
2102         if ($::RUNCMD_RC != 0) {
2103             $exit_with_error_func->($sessdata->{node}, $callback,
2104                 "Running ipmitool command $cmd failed: $output");
2105         }
2106
2107         $exit_with_success_func->($sessdata->{node}, $callback, "Firmware updated, powering chassis on to populate FRU information...     ");
2108     }
2109
2110     if (($hpm_data_hash{deviceID} ne $sessdata->{device_id}) ||
2111         ($hpm_data_hash{productID} ne $sessdata->{prod_id}) ||
2112         ($hpm_data_hash{manufactureID} ne $sessdata->{mfg_id})) {
2113         $exit_with_error_func->($sessdata->{node}, $callback,
2114             "The image file doesn't match this machine");
2115     }

But this code path is for OpenPower (non Supermicro) boxes... with HPM firmware files.

The problem is that in this clause, the model was missed:

1976
1977     # For IBM Power S822LC for Big Data (Supermicro) machines such as
1978     # P9 Boston (9006-22C, 9006-12C, 5104-22C) or P8 Briggs (8001-22C)
1979     # firmware update is done using pUpdate utility expected to be in the
1980     # specified data directory along with the update files .bin for BMC or .pnor for Host
1981     if ($output =~ /8001-22C|9006-22C|5104-22C|9006-12C/) {
1982         # Verify valid data directory was specified
1983

Briggs boxes 8001-22C is there, but not 8001-12C, will create a Pull Request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant