Comments (19)
@Emy-inspur FYI
from openbmc.
@mzipse
Please let your host team take a look at this issue. thanks!
from openbmc.
@dhruvibm , can you comment on how IPS might debug the dump fails? Perhaps logging in via the Service Account and then what to look for?
from openbmc.
To debug the PHYP hang I'm wondering if the IPS team is familiar with using isteps? I believe Istep mode is similar to P9 but you could then stop at the istep just before the hang and then look at what HDAT data is getting passed to PHYP.
from openbmc.
Sorry, didn't mean to close this issue.
from openbmc.
@dhruvibm
The value of hdatSystemVendorName
printed is the combined value of F5 and F6 before entering the PHYP.
from openbmc.
@mzipse Now, the problem is that we cannot build a firmware that can boot phyp success, even if we do not add the sms-related modifications.
So, i hope you can provide a detailed explanation on how to build a firmware that can successfully boot phyp based on open source code.
from openbmc.
@mzipse @dhruvibm From the discussion here, IPS knows how to debug using isteps. But seems system hung after handed over to PHYP. Could you help confirm the value is correct if splice F5 and F6 together for hdatSystemVendorName
?
from openbmc.
@edwin-wang @mzipse @dhruvibm Let's synchronize the information.
- We add SMS modify in Hostboot and BMC, and we print the sms value in hdat when hostboot execute, it looks good. But when the machine boot to PHYP, the system hang.
- We did a test: build op-build 1030 without SMS modify and replace most of hostboot lid(HBB, HBBL, HBEL, HBI, HBICORE_SYMS, HBOTSTINGFILE, HBRT, HBRT_RT, HB_VOLATILE, HBD-4U, HBD_RT-4U, HBD_RT-4U) into the hostfw IBM send to IPS,use this hostfw to boot machine,the system hang when phyp booting.
- We not familiar with execute a signle istep by BMC, but this does not prevent us from debugging.
I don't think it's necessarily the SMS modification that caused the problem, but it's probably the method we built hostfw is incorrect .
from openbmc.
A true "hang" is rare so I suspect there is a TI or checkstop happening. Can we get a BMC dump? Or failing that at least the peltool output of all visible logs. There should be a log that includes the TI SRC and/or the checkstop reason.
from openbmc.
We noticed A7004714 in the output.
From https://www.ibm.com/docs/en/power8/0000-REF?topic=POWER8_REF/p8eai/A7004714.html
Explanation
Platform LIC has detected a new VPD card.
Response
The new VPD card requires new activation codes. Enter the new activation codes.
This could be preventing PHYP standby. You will need to apply the appropriate license keys on your system.
from openbmc.
@dcrowell77 Thank you for your answer.
The event logs and BMC dump we obtainted are as follows, Please take a look.
https://github.com/Emy-inspur/SMS-Logs.git
Also, how can I obtain or generate the appropriate license keys?
from openbmc.
Email sent to Xujin on the procedure for clearing license keys and using IPS activation codes.
Also, per feedback from Uma, you should consider setting the time to aid in future debugging using dumps. And lastly, we noticed some resources have been guarded out. You should consider clearing guard (guard -r).
from openbmc.
An A7004714 does NOT necessarily require ANY action. It only means when phyp came up, there was no COD information (activations) found to be stored in the server yet -- at the very WORST, we'd come up with 1 processor and some memory available -- the 4714 is NOT an IPL-blocker.
I'm sure there will be more discussion at the meeting, but likely something else is not satisfied, thus the IPL cannot go from C7004091 to "Standby/Runtime". Absence of COD activations alone will NOT block an IPL from completing.
from openbmc.
There was a request from Travis from PHYP team to have one HDAT change to enaable the flag System Security Settings (it 2 = 1: Platform security overrides allowed).
Below is the change to be applied for the same:
*** hdatiplparms.C
736 // by a service processor
737 this->iv_hdatIPLParams->iv_sysParms.hdatSysSecuritySetting = 0;
738
---> New two lines to be added
739 // Set the Bit 2 for Platform security overrides
740 this->iv_hdatIPLParams->iv_sysParms.hdatSysSecuritySetting != 0x20000;
from openbmc.
Do you mean to add this line?
this->iv_hdatIPLParams->iv_sysParms.hdatSysSecuritySetting |= 0x2000;
If I understand correctly, it seems to have no effect.
Same as previous tests:
The host console stop at C7004091,and there is no output on Hypervisor console.
from openbmc.
I believe IBM team figured out some other issue with the HBRT lids. So doing the above HDAT change makes no sense now. Please ignore my HDAT fix suggestion.
from openbmc.
Yes, i get the email. Thank you for your reply anyway.
from openbmc.
@lxwinspur , I think we can close this issue now, correct? With an updated step dealing with the LIDs in the Host firmware build process, I think this was resolved.
from openbmc.
Related Issues (20)
- 1030.ips: The Health status of Powersupply shows Critical after AC HOT 17
- 1030.ips: The Status of cpu shows Absent after AC HOT 6
- 1030.10.ips: `Input power was lost` appeared probalilistically after AC HOT 4
- SBE dump parse fail HOT 7
- 1030-ips: dev ACF can't initiate dump HOT 5
- 1030.20.ips: The value of memory licensed on the web is not consistent with what we see in phyp HOT 15
- Journal persistence not enabled for Mihawk or Mowgli HOT 2
- 1030.20.ips: incorrect description of error message HOT 6
- 1030.20.ips: Everest: The character display on the SMS web page is disordered when starting in non HMC mode HOT 7
- 1040.00.ips: Unable to power on with host secure boot enabled HOT 5
- 1030/1040-IPS:the black point in the checkbox of option B moves to option A after option A saved and then select option B HOT 11
- 1040.00.ips: Incorrect web prompt HOT 5
- 1040.00.ips: The Parent ID displayed for the CXP card in the NVMe expansion chassis (FC #ESR0) is incorrect HOT 7
- 1040.00.ips: Wrong CXP Card Location information HOT 5
- IPS localized FW Character Modification HOT 4
- Some PLDM questions about WarmReboot HOT 4
- Incorrect display of expiration time for UAK activation code HOT 2
- A translation error HOT 5
- “ServiceLogin Certificate” not translated into Chinese HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openbmc.