Error logging data storing system

Abstract: An error logging data storing system containing a first storing unit (18) for storing error logging data corresponding to an error of high importance, a second storing unit (19) for storing error logging data corresponding to an error of either high or low importance, a first indicating unit (13) for indicating whether or not the first storing unit is occupied by error logging data the diagnosing operation of which is not completed, and a second indicating unit (17) for indicating whether or not the second storing unit is occupied by error logging data the diagnosing operation of which is not completed. A storage control unit (4) stores error logging data corresponding to an error of high importance in the second storing unit when the first indicating unit indicates that the first storing unit (18) is occupied by error logging data the diagnosing operation of which is not completed, and the second indicating unit (17) indicates that the second storing unit (19) is not occupied by error logging data the diagnosing operation of which is not completed.

Description: The present invention relates to an error logging data storing system which is provided between a data processing system and a service processor which is provided for diagnosing errors occurring in the data processing system for maintenance support. When an error occurs in the data processing system, the data processing system stops by itself, and informs the error logging data storing system of the error for sending error logging data thereto. The error logging data is stored in the error logging data storing system until the diagnosing operation of the error logging data by the service processor is completed. The provision of the error logging data storing system between the data processing system and the service processor enables the data processing system to restart its operation before the completion of the diagnosing operation of the error logging data by the service processor. In a prior-proposed error logging data storing system, a plurality of memory areas are provided corresponding to degrees of importance of errors. Typically, two memory areas are provided and are exclusively used for storing error logging data corresponding to errors of high importance which bring the data processing system into a down state, and errors of low importance which do not bring the data processing system into a down state. The provision of the plurality of memory areas for respective degrees of importance of the errors, facilitates the diagnosing operation by the service processor. However, in the above type of error logging data storing system, when the memory area for the errors of high importance are used, i.e., the diagnosing operation of the error logging data for the previous error of high importance is not completed yet, it is impossible to store further error logging data for another error of high importance because the plurality of memory areas are fixedly assigned for respective degrees of importance of errors. The above prior proposal was known to the applicant prior to the priority date of this application, but does not form part of the state of the art according to Article 54 EPC. It is therefore desirable to provide an error logging data storing system wherein the capacity for error logging-data corresponding to errors of high importance can be flexibly increased. According to the present invention, there is provided an error logging data storing system, which logs error data from a data processor, where the error logging data are read by diagnostic means connected to the error logging data storing system, and are deleted when the diagnostic operation is completed, said error logging data storing system comprising: a first storing means for storing error logging data corresponding to an error of high importance which brings the data processor into a down state; a second storing means for storing error logging data corresponding to an error of either high or low importance; a first indicating means for outputting a first indicating signal indicating availability of said first storing means based on whether or not said first storing means is occupied by error logging data a diagnosing operation of which is not completed; a second indicating means for outputting a second indicating signal indicating availability of said second storing means based on whether or not said second storing means is occupied by error logging data a diagnosing operation of which is not completed; and a storage control means responsive to said first and second indicating signals to determine which of said first and second storing means is available, and to generate in accordance with said determination a selection signal having one of first and second logic states, said first and second storing means storing said error logging data in response to said first and second logic states respectively; wherein error logging data corresponding to an error of high importance is stored in said second storing means when said first indicating signal indicates that said first storing means is not available, and said second indicating signal indicates that said second storing means is available. The above error logging data storing system according to the present invention, further can comprise a third indicating unit for indicating the degree of importance of the error corresponding to error logging data which is stored in the second storing unit. The above error logging data storing system according to the present invention, further can comprise an access control unit for transferring error logging data from a data processor to either of the first and second storing unit. The above error logging data storing system according to the present invention, further can comprise a transfer completion informing unit for informing completion of a transfer operation of error logging data, to a data processor from which the error logging data has been transferred. The above error logging data storing system according to the present invention, further can comprise an impossibility informing unit for informing impossibility of a transfer operation of error logging data, to a data processor from which a request for storing the error logging data has been sent. The above error logging data storing system according to the present invention, further can comprise a priority control unit for receiving a request for storing error logging data, which is first sent thereto, among requests for storing error logging data, which are sent from a plurality of data processors, a first processor indicating unit for indicating from which of the plurality of data processors the error logging data is stored in the first storing unit, and a second processor indicating unit for indicating from which of the plurality of data processors the error logging data is stored in the second storing unit. Reference will now be made, by way of example, to the accompanying drawings in which: Figure 1 shows the construction of an embodiment of the present invention; and Figure 2 shows the construction of the selection control circuit 4 in the construction of Fig. 1. Figure 1 shows the construction of an embodiment of the present invention. In Fig. 1, reference numerals 0 and 1 respectively denote a central processing unit, 3 denotes a priority control circuit, 4 denotes a selection control circuit, 5, 8, 9, 10, 14 and 15 each denote an AND circuit, 6 denotes an access control circuit, 7 denotes an accessing memory indication register, 11 and 16 each denote first and second CPU indication registers,12 denotes a memory occupying error level indication register, 13 and 17 each denote a first and second freezing status register, 18 and 19 each denote a memory unit, 20 denotes a status register, and 21 denotes a service processor. The CPU's 0 and 1 are processors in a multi-processor data processing system, and the errors which occur in the data processing system are diagnosed by the service processor 21. The components shown in Fig. 1, except the CPU's 0 and 1 and the service processor 21, constitute the error logging data storing system as an embodiment of the present invention. The CPU's 0 and 1 each have a function to detect an occurrence of an error in its own processor, stop its operation, and send a request for transferring error logging data regarding the error, together with information on the degree of importance of the error, to the error logging data storing system. When the CPU receives a signal which indicates that the requested transfer operation is completed, or a signal which indicates that the requested transfer operation is impossible, from the error logging data storing system, the CPU restarts its operation. In the construction of Fig. 1, the memory unit 18 is provided for storing error logging data corresponding to an error of high importance, and the memory unit 19 is provided for storing error logging data corresponding to an error of either high or low importance. In Fig. 1, RQ0 denotes a request for transferring error logging data from the CPU 0, RQ1 denotes a request for transferring error logging data from the CPU 1, LV0 denotes information on the degree of importance of the error occurring in the CPU 0, LV1 denotes information on the degree of importance of the error occurring in the CPU 1, END0 denotes the signal to the CPU 0 indicating that the requested transfer operation is completed, END1 denotes the signal to the CPU 1 indicating that the requested transfer operation is completed, FAULT0 denotes the signal to the CPU 0 indicating that the requested transfer operation is impossible, and FAULT1 denotes the signal to the CPU 1 indicating that the requested transfer operation is impossible. The above-mentioned request and the above-mentioned information on the degree of importance from each CPU, are applied to the priority control circuit 3 in the error logging data storing system. The priority control circuit 3 in the error logging data storing system, receives a first applied one of the above-mentioned requests RQ0 and RQ1 and the above-mentioned information LV0 or LV1 on the degree of importance accompanying the request. The request which is applied to the priority control circuit 3 next to the last received request can be received by the priority control circuit 3 after the transfer operation of the error logging data for the last received request is completed, or after the transfer operation of the error logging data for the last received request is determined to be impossible. The priority control circuit 3 outputs a REQ signal which indicates that a request for transferring error logging data from a CPU is received, a LV signal which indicates the degree of importance of the error corresponding to the received request, and a CPU ID signal which indicates from which CPU the request is received. The LV signal is "0" when the degree of importance is high, or is "1" when the degree of importance is low. The CPU ID signal is "0" when the request is received from the CPU 0, or is "1" when the request is received from the CPU 1. Further, the priority control circuit 3 receives an END signal which indicates that the transfer operation of the error logging data for the received request to the error logging data storing system is completed, and a FAULT signal which indicates that the error logging data for the received request cannot be transferred to the error logging data storing system, in the error logging data storing system. In the priority control circuit 3, when the request RQ0 from the CPU 0 is received, the CPU ID signal is set to "0", and the LV0 signal from the CPU 0 is selected as the LV signal output. Or when the request RQ0 from the CPU 1 is received, the CPU ID signal is set to '1' , and the LV1 signal from the CPU 1 is selected as the LV signal output. In addition, when the request RQ0 from the CPU 0 is received, the END signal is output as the END0 signal, and the FAULT signal is output as the FAULT0 signal. Or when the request RQ1 from the CPU 1 is received, the END signal is output as the END1 signal, and the FAULT signal is output as the FAULT1 signal. The selection control circuit 4 receives the above LV signal, and FRZ0 and FRZ1 signals respectively indicating whether or not the memory units 18 and 19 are occupied by error logging data the diagnosing operations of which are not completed yet. The selection control circuit 4 determines whether or not the error logging data for the received request can be stored in the error logging data storing system, and in which memory unit the error logging data is to be stored, based on the above inputs. When it is determined that the error logging data for the received request can be stored in the error logging data storing system, the selection control circuit 4 outputs an active GO signal, or when it is determined that the error logging data for the received request cannot be stored in the error logging data storing system, the selection control circuit 4 outputs an active FAULT signal. The construction of the selection control circuit 4 is shown in Fig. 2. In Fig. 2, reference numerals 30, 31, and 32 each denote an AND circuit, 33 and 34 each denote an OR circuit, and 35, 36, and 37 each denote an inverter. The LV signal and the inverted FRZ1 signal are applied to the AND circuit 30, the inverted LV signal and the inverted FRZ0 signal are applied to the AND circuit 31, and the inverted LV signal, the inverted FRZ1 signal, and the FRZ0 signal are applied to the AND circuit 32. The outputs of the AND circuits 30, 31, and 32 are applied to the OR circuit 33, and the outputs of the AND circuits 30 and 32 are applied to the OR circuit 34. The positive logic output of the OR circuit 33 is output as the GO signal, and the negative logic output of the OR circuit 33 is output as the FAULT signal. The output of the OR circuit 34 is output as a MEM ID signal which is "0" when it is determined that the error logging data is to be stored in the memory unit 18, or is "1" when it is determined that the error logging data is to be stored in the memory unit 19. According to the construction of Fig. 2, when the LV signal is "1" and the FRZ1 signal is '0' , the outputs of the AND circuits 30, 31, and 32 are respectively '1', "0", and '0', the GO signal becomes active, and the MEM ID signal becomes "1". This means that when a request for transfer of error logging data corresponding to an error of low importance is received, and the memory unit 19 is not occupied by error logging data the diagnosing operation of which is not completed, it is determined that the error logging data of the request is to be transferred to the memory unit 19 which is assigned to store error logging data corresponding to an error of either high or low importance. Or when the LV signal is "1" and the FRZ1 signal is "1", the outputs of the AND circuits 30, 31, and 32 are respectively '0', "0", and "0", the GO signal becomes inactive, and the FAULT signal becomes active. This means that when a request for transfer of error logging data corresponding to an error of low importance is received, and the memory unit 19 is occupied by error logging data the diagnosing operation of which is not completed, it is determined that the error logging data of the request cannot be transferred to the error logging data storing system. When the LV signal is "1" and the FRZ0 signal is "0", the outputs of the AND circuits 30, 31, and 32 are respectively "0", "1", and "0", the GO signal becomes active, and the MEM ID signal becomes "0". This means that when a request for transfer of error logging data corresponding to an error of high importance is received, and the memory unit 18 is occupied by error logging data the diagnosing operation of which is not completed, it is determined that the error logging data of the request is to be transferred to the memory unit 18 which is assigned to store error logging data corresponding to an error of high importance. When the LV signal is "1" and both the FRZ0 and FRZ1 signals are "1", the outputs of the AND circuits 30, 31, and 32 are respectively "0", "0", and "0", the GO signal becomes inactive, and the FAULT signal becomes active. This means that when a request for transfer of error logging data corresponding to an error of high importance is received, and both the memory units 18 and 19 are occupied by error logging data the diagnosing operations of which are not completed, it is determined that the error logging data of the request cannot be transferred to the error logging data storing system. When the LV signal is "1" and the FRZ0 is "1" and FRZ1 signal is "0", the outputs of the AND circuits 30, 31, and 32 are respectively "0", "0", and "1", the GO signal becomes active, and the MEM ID signal becomes "1". This means that when a request for transfer of error logging data corresponding to an error of high importance is received, the memory units 18 is occupied by error logging data the diagnosing operation of which is not completed, and the memory units 19 is not occupied by error logging data the diagnosing operation of which is not completed, it is determined that the error logging data of the request is to be transferred to the memory unit 19 which is assigned to store error logging data corresponding to an error of either high or low importance. The access control circuit 6 generates address signals of registers in turns in the CPU from which the request is received to output error logging data from the registers, when a GO signal is applied from the AND circuit 5. Although not shown, it is assumed that each CPU contains a construction for decoding the above address, and outputting the content of the register which is addressed toward the error logging data storing system. It is further assumed that an error logging data transferring line is provided which is exclusively used for transferring error logging data from each register to the error logging data storing system. During the above output operation of the addresses of the registers in the CPU, the access control circuit 6 outputs a read address to the memory unit to which error logging data is determined to be stored, based on the above-mentioned MEM ID signal. The MEM ID signal from the selection control circuit 4 is input into both the access control circuit 6 and the accessing memory indication register 7. The output of the accessing memory indication register 7 is applied to the memory units 18 and 19 as a chip select signal which makes one of the memory units 18 and 19 active in accordance with the MEM ID signal. The access control circuit 6 further outputs a NOT BUSY signal which is inactive during the above address output operation for the transfer operation of error logging data between a CPU and the error logging data storing system. When a transfer operation of error logging data between a CPU and the error logging data storing system is completed, the END signal which is output from the access control circuit 6, becomes active. The above NOT BUSY signal is applied to the AND circuit 5 together with the REQ signal from the priority control circuit 3 and the GO signal from the selection control circuit 4. When all of the inputs are active, the GO signal is applied to the access control circuit 6. The END signal from the access control circuit 6 is applied to the priority control circuit 3, and the AND circuits 8, 9, 10, 14, and 15. The applications of the END signal to the AND circuits make respective registers corresponding to the AND circuits latch status when a transfer operation of error logging data is completed. The AND circuit 8 further receives a negative output of the accessing memory indication register 7 which is "1" when the MEM ID signal is "0", and the CPU ID signal. The output of the AND circuit 8 is latched in the first CPU indication register 11. The AND circuit 14 further receives a positive output of the accessing memory indication register 7 which is "1" when the MEM ID signal is "1", and the CPU ID signal. The output of the AND circuit 14 is latched in the first CPU indication register 16. Namely, the number indicating the CPU from which error logging data is transferred to the memory unit 18, is latched in the first CPU indication register 11 after the transfer operation of error logging data to the memory unit 18 is completed, or is latched in the second CPU indication register 16 after the transfer operation of error logging data to the memory unit 19 is completed. The AND circuit 9 further receives a positive output of the accessing memory indication register 7, and the LV signal. The output of the AND circuit 9 is latched in the memory occupying error level indication register 12. Namely, the LV signal is latched in the memory occupying error level indication register 12 after the transfer operation of error logging data to the memory unit 19, is completed, i.e., the output of the memory occupying error level indication register 12 indicates the degree of importance of the error corresponding to the error logging data which is stored in the memory unit 19. The AND circuit 10 further receives a negative output of the accessing memory indication register 7 which is "1" when the MEM ID signal is "0", and the CPU ID signal. The output of the AND circuit 10 is latched in the first freezing status register 13. The AND circuit 15 further receives a positive output of the accessing memory indication register 7 which is "1" when the MEM ID signal is "1", and the CPU ID signal. The output of the AND circuit 15 is latched in the second freezing status register 17. Namely, "1" is latched in the first freezing status register 13 after the transfer operation of error logging data to the memory unit 18 is completed, and "1" is latched in the second freezing status register 17 after the transfer operation of error logging data to the memory unit 18 is completed. The outputs of the first and second CPU indication registers 11 and 16, the memory occupying error level indication register 12, and the first and second freezing status registers 13 and 17, are latched in the status register 20. The statuses relating to the memory unit 18, are reset by service processor 21 when each diagnosing operation of the error logging data stored in the memory unit 18 is completed, and the statuses relating to the memory unit 19, are reset by service processor 21 when each diagnosing operation of the error logging data stored in the memory unit 19 is completed. For carrying out the above diagnosing operation, the service processor 21 reads the error logging data stored in each memory units 18 or 19. At the beginning of the diagnosing operation, the service processor 21 sends a memory read command to the access control circuit 6, and a memory selection signal to the accessing memory indication register 7. Receiving the memory selection signal, one of the memory unit 18 or 19, which is instructed by the memory selection signal, is made active by the negative or positive output of the accessing memory indication register 7. At the same time, receiving the memory read command, the access control circuit 6 outputs addresses for reading the error logging data stored in the memory unit 18 or 19 which is instructed by the memory selection signal, to read the error logging data therein to the service processor 21. As explained above, by means of the present invention, error logging data corresponding to an error of high importance can be stored in the memory area which is conventionally provided for storing error logging data corresponding to an error of high importance, and thus the capacity for error logging data corresponding to errors of high importance can be flexibly increased.

Claims: An error logging data storing system, which logs error data from a data processor, where the error logging data are read by diagnostic means connected to the error logging data storing system and are deleted when the diagnostic operation is completed, said error logging data storing system comprising: a first storing means (18) for storing error logging data corresponding to an error of high importance which brings the data processor into a down state; a second storing means (19) for storing error logging data corresponding to an error of either high or low importance; a first indicating means (13) for outputting a first indicating signal (FRZO) indicating availability of said first storing means (18) based on whether or not said first storing means (18) is occupied by error logging data a diagnosing operation of which is not completed; a second indicating means (17) for outputting a second indicating signal (FRZ1) indicating availability of said second storing means (19) based on whether or not said second storing means (19) is occupied by error logging data a diagnosing operation of which is not completed; and a storage control means (4) responsive to said first and second indicating signals (FRZ0, FRZ1) to determine which of said first and second storing means (18, 19) is available, and to generate in accordance with said determination a selection signal (MEM ID) having one of first and second logic states, said first and second storing means storing said error logging data in response to said first and second logic states respectively; wherein error logging data corresponding to an error of high importance is stored in said second storing means (19) when said first indicating signal (FRZ0) indicates that said first storing means (18) is not available, and said second indicating signal (FRZ1) indicates that said second storing means (19) is available. An error logging data storing system according to claim 1, further comprising a third indicating means (12) for indicating a degree of importance of the error corresponding to the error logging data stored in said second storing means (19). An error logging data storing system according to claim 1 or 2, further comprising an access control means (6) for transferring error logging data from a data processor to either of said first and second storing means (19). An error logging data storing system according to claim 1, 2, or 3, further comprising a transfer completion informing means (6) for informing completion of a transfer operation of error logging data, to a data processor from which said error logging data has been transferred. An error logging data storing system according to any preceding claim , further comprising an impossibility informing means (4) for informing impossibility of a transfer operation of error logging data, to a data processor from which a request for storing said error logging data has been sent. An error logging data storing system according to any preceding claim , further comprising, a priority control means (3) for receiving a request for storing error logging data, which is first sent thereto, among requests for storing error logging data, which are sent from a plurality of data processors, a first processor indicating means (11) for indicating from which of said plurality of data processors the error logging data is stored in said first storing means (18), and a second processor indicating means (16) for indicating from which of said plurality of data processors the error logging data is stored in said second storing means (19).

Inventors: YAMAGUCHI SYOJI, YAMAGUCHI, SYOJI
Applicants: FUJITSU LTD, FUJITSU LIMITED
Application year: 1990
Main classification: G06F11
IPC codes: G06F11