-
Notifications
You must be signed in to change notification settings - Fork 183
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
The console was added, but there is no output. #5359
Comments
Is there any output on the console at all? i.e. do you see the normal Hostboot startup messages and the isteps? If not, I would guess you have something misconfigured on the BMC side. How are you displaying the console? We ssh to port 2200 on the BMC to see it. The BMC also saves the console into /var/log/obmc-console.log . I know there are configuration files on the BMC itself to control this but I don't have a lot of familiarity with the details. |
Checking the file of /var/log/obmc-console.log, I can see the normal Hostboot startup messages and the isteps, but I cannot see the log I added.
CONSOLE::displayf(CONSOLE::DEFAULT, NULL, "Test log"); //added
.... |
This is something we do all the time so if you see all of the normal Hostboot messages my first guess is that you are not actually patching your code on like you think. Another experiment to confirm this would be to modify an existing message that you do actually see to prove if your changes are really running or not. Another tip is to look at the hash in the Welcome message. It should match your local tree if your patches are being used. |
On branch ibm-release-fw1030, commit 3c097c5
The following log is added to hostboot(commit:cc5f1cdd6ca59a8a83c9539c657f4837695722d3), but the host console does not output the log.
#include <console/consoleif.H>
CONSOLE::displayf(CONSOLE::DEFAULT, NULL, "Test log");
Attempts to add logs to the following hostboot files have no output:
/src/usr/pldm/extended/hb_fru.C
/src/usr/hdat/hdatiplparms.C
How to output console logs? Thankyou.
The text was updated successfully, but these errors were encountered: