diff options
author | Richard J. Knight <rjknight@us.ibm.com> | 2013-09-06 14:03:59 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-09-11 17:03:35 -0500 |
commit | 83f9f2cb3b83f623eed7ad2f023dc347a1a1a641 (patch) | |
tree | 77386c8f4228b75c0e48b9b9fcb959075ef2fc84 | |
parent | cd29326e45420b75ab646a503c1659b94546ede5 (diff) | |
download | talos-hostboot-83f9f2cb3b83f623eed7ad2f023dc347a1a1a641.tar.gz talos-hostboot-83f9f2cb3b83f623eed7ad2f023dc347a1a1a641.zip |
Library not loaded for smp_unfencing_inter_enclosure_abus_links call
Change-Id: Ic6cb7a9d083fab62165b9590d54395dfb15e79bd
RTC:73676
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6060
Tested-by: Jenkins Server
Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
-rw-r--r-- | src/usr/initservice/istepdispatcher/istepdispatcher.C | 42 |
1 files changed, 31 insertions, 11 deletions
diff --git a/src/usr/initservice/istepdispatcher/istepdispatcher.C b/src/usr/initservice/istepdispatcher/istepdispatcher.C index 2b5c86bc9..5c3cd2d82 100644 --- a/src/usr/initservice/istepdispatcher/istepdispatcher.C +++ b/src/usr/initservice/istepdispatcher/istepdispatcher.C @@ -460,7 +460,7 @@ errlHndl_t IStepDispatcher::msgHndlr ( void ) TRACFCOMP( g_trac_initsvc, "msgHndlr : PROCESS_IOVALID_REQUEST" ); - // make sure the library is loaded + // make sure the needed libraries are loaded err = VFS::module_load("libestablish_system_smp.so"); // if the module loaded ok, do the processing @@ -1012,22 +1012,42 @@ void IStepDispatcher::handleProcFabIovalidMsg( ) TRACDCOMP( g_trac_initsvc, ENTER_MRK"IStepDispatcher::handleProcFabIovalidMsg()" ); - // do hostboot processing for istep - // sys_proc_fab_ipvalid - ESTABLISH_SYSTEM_SMP::host_sys_fab_iovalid_processing( iv_Msg ); + // make sure the needed libraries are loaded, we are in step 18 + // but hostboot does not actually load any libs until step 18.12 + // since all previous sub steps are run by the fsp. + errlHndl_t err = VFS::module_load("libedi_ei_initialization.so"); - // Send the message back as a response - msg_respond(iv_msgQ, iv_Msg); + // if the module loaded ok, do the processing + if( err == NULL ) + { + // do hostboot processing for istep + // sys_proc_fab_ipvalid + ESTABLISH_SYSTEM_SMP::host_sys_fab_iovalid_processing( iv_Msg ); + + // Send the message back as a response + msg_respond(iv_msgQ, iv_Msg); - // if there was an error don't winkle ? - if( iv_Msg->data[0] == HWSVR_MSG_SUCCESS ) + // if there was an error don't winkle + if( iv_Msg->data[0] == HWSVR_MSG_SUCCESS ) + { + TRACFCOMP( g_trac_initsvc, + "$TODO RTC:71447 - winkle all cores"); + } + } + else { - TRACFCOMP( g_trac_initsvc, - "$TODO RTC:71447 - winkle all cores"); + // Send the elog id back in the message + iv_Msg->data[0] = err->eid(); + + // commmit the log so it gets to the FSP + errlCommit(err, INITSVC_COMP_ID); + + msg_respond(iv_msgQ, iv_Msg); + } TRACDCOMP( g_trac_initsvc, - EXIT_MRK"IStepDispatcher::handleProcFabIovalidMsg()" ); + EXIT_MRK"IStepDispatcher::handleProcFabIovalidMsg()" ); iv_Msg = NULL; } |