A method, apparatus, and system for detecting server memory slot failures.
By using the BMC to detect the GPIO status of the memory slots, fault information can be identified and displayed. The BIOS can then disable the faulty slots, resolving the issue of inaccurate memory slot fault identification and enabling more efficient fault diagnosis and handling.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INSPUR SUZHOU INTELLIGENT TECH CO LTD
- Filing Date
- 2022-08-26
- Publication Date
- 2026-07-03
AI Technical Summary
During the POST power-on self-test, the error persists even after the user replaces the memory device, making it impossible to accurately determine whether the problem lies with the memory slot or the memory itself.
The BIOS detects the GPIO status of the memory slots using the BMC to determine the type of fault and displays the memory slot status information in the system event log. During self-test, the BIOS disables faulty slots and only detects normal memory.
It improves the accuracy of fault diagnosis, helps users accurately handle memory slot faults, and enhances the user experience.
Smart Images

Figure CN115470055B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of server testing technology, and specifically to a method, apparatus, and system for detecting server memory slot faults. Background Technology
[0002] BIOS stands for Basic Input Output System, and it is the most fundamental and crucial program in a computer. This program is stored in a memory chip that doesn't require a power source; this is what we commonly refer to as the BIOS. It provides the lowest-level, most direct hardware control for the computer, and the computer's basic operations are all performed according to the content embedded in the BIOS. More precisely, the BIOS is a "translator" or interface between hardware and software programs (although it is itself a program), responsible for handling the immediate needs of the hardware and executing the software's instructions for hardware operation. Computer users encounter the BIOS during computer use; it plays a vital role in the computer system.
[0003] After the microcomputer is powered on, the system first performs a Power On Self Test (POST) to check all internal devices. A complete POST typically includes testing the CPU, 640KB of base memory, at least 1MB of extended memory, ROM, motherboard, CMOS memory, serial and parallel ports, graphics card, floppy and hard disk subsystems, and keyboard. If a problem is found during the self-test, the system will provide a message or sound a warning beep. This is the POST power-on self-test process.
[0004] During the POST (Power-On Self-Test) process, if a problem is detected, the BIOS sends an error type to the BMC (Browser Control Center). The BMC parses the received information and then records an error message for the relevant device in the system event log. The user can then replace the device according to the message. For example, if the BMC indicates a memory fault, the user will replace the memory device. However, sometimes after replacing the memory device, the error persists. In this case, the user concludes that the problem lies with the memory slot, not the memory itself. Summary of the Invention
[0005] During the POST (Power-On Self-Test) process, if a problem is detected, the BIOS sends an error type to the BMC (Browser Control Center). The BMC parses the received information and then displays an error message for the relevant device in the system event log. The user can then replace the device according to the message. However, sometimes even after replacing the memory device, the error persists. In this case, the user concludes that the problem lies with the memory slot, not the memory itself. This invention provides a method, apparatus, and system for detecting server memory slot faults.
[0006] In a first aspect, the present invention provides a method for detecting server memory slot failure, comprising the following steps:
[0007] When the server is powered on, the BMC is configured to detect the GPIO status of the memory slots on the motherboard where the memory is installed.
[0008] When the GPIO state is high, a memory slot fault is detected and the memory slot status information is configured to be displayed in the BMC system event log.
[0009] During the boot process, the BIOS is configured to obtain memory slot status information from the BMC and disable faulty memory slots based on the obtained memory slot status information. During the self-test, memory slots with normal status are tested.
[0010] After the self-test is complete, the POST interface will display the amount of memory detected and the location information of the blocked memory slots.
[0011] Preferably, the steps for configuring the BMC to detect the GPIO status of the memory slots on the motherboard when the server is powered on include:
[0012] When the server is powered on, it checks whether there is memory installed in the memory slot.
[0013] If so, configure the BMC to detect the GPIO status of the memory slots on the motherboard where the memory is installed;
[0014] If not, no test will be performed.
[0015] Preferably, after configuring the BMC to detect the GPIO status of the memory slots on the motherboard where memory is installed, the following steps are included:
[0016] Determine the detected GPIO status;
[0017] When the GPIO state is low, the memory slot status is normal. Determine whether all memory slots have been detected.
[0018] If so, when all memory slot GPIO states are low, configure the BMC to send an OK message to the BIOS;
[0019] If not, proceed as follows: Configure the BMC to detect the GPIO status of the memory slots on the motherboard where memory is installed, and then detect the next memory slot.
[0020] Preferably, the steps for configuring the BIOS to obtain memory slot status information from the BMC during the boot process and to disable faulty memory slots based on the obtained memory slot status information, and to test the memory with normal memory slots during self-test, include:
[0021] During the boot process, the BIOS checks whether it has received an OK message from the BMC;
[0022] If so, configure the BIOS to test the memory in all memory slots during the self-test;
[0023] If not, configure the BIOS to obtain memory slot status information from the BMC and disable faulty memory slots based on the obtained memory slot status information, and test memory slots with normal status during self-test.
[0024] Preferably, when the GPIO state is high, the steps of determining a memory slot fault and configuring the display of memory slot status information in the BMC system event log include:
[0025] When the GPIO state is high, a memory slot fault is detected and the memory slot status information is configured to be displayed in the BMC system event log.
[0026] Determine if all memory slots have been detected.
[0027] If so, proceed as follows: Configure the BIOS to obtain memory slot status information from the BMC and disable faulty memory slots based on the obtained memory slot status information; during self-test, test the memory slots that are in good condition.
[0028] If not, proceed as follows: Configure the BMC to detect the GPIO status of the memory slots on the motherboard where memory is installed, and then detect the next memory slot.
[0029] Preferably, after the step of determining the detected GPIO state, the method further includes:
[0030] If no GPIO status signal is detected, determine whether the number of detections has reached a set threshold number; wherein, the number of detections refers to the number of times the memory slot for which no GPIO status signal is detected is detected.
[0031] If so, the steps are as follows: Configure the display of memory slot status information in the BMC system event log;
[0032] If not, configure the system to check the memory slots where no GPIO status signal can be detected again, and perform the following steps: determine the detected GPIO status.
[0033] Secondly, the present invention provides a device for detecting server memory slot faults, including a GPIO status detection module, a status judgment module, a status display module, a status information acquisition module, a shielding setting module, a self-test module, and a result display module.
[0034] The GPIO status detection module is used to detect the GPIO status of the memory slots on the motherboard when the server is powered on.
[0035] The status judgment module is used to judge the detected GPIO status. When the GPIO status is high, it is determined that the memory slot is faulty and triggers the status display module.
[0036] The status display module is configured to display memory slot status information in the BMC system event log;
[0037] The status information acquisition module is used to acquire memory slot status information during power-on.
[0038] The shielding setting module is used to configure the shielding of faulty memory slots based on the acquired memory slot status information;
[0039] The self-test module is used to test memory with normal memory slots and send fault information to the BMC.
[0040] The results display module is used to display the detected memory quantity and the location information of the memory slots blocked by the blocking settings module on the POST interface.
[0041] Preferably, the device further includes an installation determination module for determining whether memory is installed in the memory slot when the server is powered on;
[0042] The GPIO status detection module is used to detect the GPIO status of the memory slots on the motherboard where memory is installed.
[0043] Preferably, the device further includes an information sending module and a receiving judgment module;
[0044] The information sending module is used to send an OK message to the BIOS when the status judgment module determines that the GPIO status of all memory slots is low.
[0045] The receiving and judgment module is used to determine whether the OK information sent by the BMC has been received during the power-on process. If yes, it triggers the self-test module to directly check all memory; if no, it triggers the status information acquisition module.
[0046] Preferably, the device further includes a detection count judgment module, which is used to determine whether the number of detections of the memory slot for which no GPIO status signal is detected has reached a set threshold number when the status judgment module does not detect the GPIO status signal; if yes, trigger the status display module; if no, trigger the GPIO status detection module.
[0047] Thirdly, the technical solution of the present invention also provides a system for detecting server memory slot failures, including a BMC and a BIOS that communicates with the BMC;
[0048] The BMC includes a GPIO status detection module, a status judgment module, a status display module, and a result display module;
[0049] The BIOS includes a status information acquisition module, a masking settings module, and a self-test module;
[0050] The GPIO status detection module is used to configure the BMC to detect the GPIO status of the memory slots on the motherboard when the server is powered on.
[0051] The status judgment module is used to judge the detected GPIO status; when the GPIO status is high, it is judged that the memory slot is faulty and triggers the configuration display module.
[0052] The configuration display module is used to configure the display of memory slot status information in the BMC system event log; it is also used to display the detected memory quantity and the location information of the blocked memory slots on the POST interface.
[0053] The status information acquisition module is used to acquire memory slot status information during power-on self-test;
[0054] The shielding setting module is used to configure the shielding of faulty memory slots based on the acquired memory slot status information;
[0055] The self-test module is used to test memory with normal memory slots and send fault information to the BMC.
[0056] The results display module is used to display the detected memory quantity and the location information of the memory slots blocked by the blocking settings module on the POST interface.
[0057] Preferably, the device further includes an installation judgment module for determining whether memory is installed in the memory slot when the server is powered on;
[0058] The GPIO status detection module is used to detect the GPIO status of the memory slots on the motherboard where memory is installed.
[0059] Preferably, the BMC further includes an information transmission module, and the BIOS further includes a reception judgment module;
[0060] The information sending module is used to send an OK message to the BIOS when the status judgment module determines that all GPIO states are low, so that the BIOS self-test process can directly detect all memory.
[0061] The receiving and judgment module is used to determine whether the OK message sent by the BMC is received during the power-on process, and then trigger the self-test module to directly check all memory.
[0062] Preferably, the BMC further includes a detection count judgment module, which is used to determine whether the number of detections of the memory slot for which no GPIO status signal is detected has reached a set threshold number when the status judgment module does not detect the GPIO status signal. If it does, the status display module is triggered; otherwise, the GPIO status detection module is triggered.
[0063] As can be seen from the above technical solutions, the present invention has the following advantages: by detecting the status of the memory slot through BMC, the BIOS only detects memory with normal memory slots during self-test, which can accurately detect whether it is a memory fault or a memory slot fault, so that users can handle the fault more accurately, making it more convenient for users and improving the user experience.
[0064] Furthermore, the design principle of this invention is reliable, the structure is simple, and it has a very wide range of application prospects.
[0065] Therefore, it is evident that the present invention has outstanding substantive features and significant progress compared with the prior art, and the beneficial effects of its implementation are also obvious. Attached Figure Description
[0066] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0067] Figure 1 This is a schematic flowchart of a method according to an embodiment of the present invention.
[0068] Figure 2 This is a schematic flowchart of a method according to another embodiment of the present invention.
[0069] Figure 3 This is a schematic block diagram of a system according to an embodiment of the present invention. Detailed Implementation
[0070] During the POST (Power-On Self-Test), if a problem is detected, the BIOS sends an error type to the BMC. The BMC parses the received information and then displays an error message for the relevant device in the system event log, prompting the user to replace the device. For example, if the BMC indicates a memory fault, the user will replace the memory device. However, sometimes even after replacing the memory device, the error persists, leading the user to conclude that the problem lies with the memory slot, not the memory itself. When the BIOS detects a memory fault during the POST, it triggers an SMI interrupt to report it to the BMC. The BMC processes the information received from the BIOS and displays the relevant error type in the IDL (In-System Log). If the memory slot itself is faulty, a different handling method is needed. In this application, after the server powers on and the BMC activates, it detects the memory slot status by using GPIO high and low levels to determine if the memory slot is faulty. This effectively improves the accuracy of fault diagnosis and facilitates user operation. To enable those skilled in the art to better understand the technical solutions of this invention, the technical solutions of the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this invention, and not all embodiments. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this invention.
[0071] like Figure 1 As shown, this embodiment of the invention provides a method for detecting server memory slot failures, including the following steps:
[0072] Step 1: Power on the server and configure the BMC to detect the GPIO status of the memory slots on the motherboard where the memory is installed;
[0073] Step 2: When the GPIO status is high, determine the memory slot fault and configure the display of memory slot status information in the BMC system event log;
[0074] Step 3: During the boot process, configure the BIOS to obtain memory slot status information from the BMC and disable faulty memory slots based on the obtained memory slot status information. During the self-test, test the memory slots that are in normal condition.
[0075] Step 4: Self-test complete. The POST interface displays the amount of memory detected and the location information of the blocked memory slots.
[0076] After the server is powered on, the BMC activates and then detects the status of the memory slots. It uses the high and low levels of GPIO to determine whether the memory slots are faulty, which can effectively improve the accuracy of fault diagnosis and make it more convenient for users.
[0077] This invention provides a method for detecting server memory slot failures, comprising the following steps:
[0078] 1. The server powers on, and shortly thereafter, the BMC becomes active;
[0079] 2. Check if there is memory in the memory slot; if not, do not perform a test.
[0080] 3. The BMC detects the GPIO status of the motherboard memory slots;
[0081] 4. When all GPIO states are low, the memory slot is normal and without fault; when the GPIO state is high, the slot is faulty, and the memory slot fault should be displayed in the BMC system event log; if no GPIO state signal is detected, the detection should be performed again. If there is still no signal after more than 3 detections, the detection should be stopped and the memory slot fault should be displayed directly in the BMC system event log.
[0082] 5. After the BMC test is completed, the server buttons will be active, and the server can be powered on. During the power-on process, the BIOS will perform a self-test and obtain memory slot status information from the BMC.
[0083] 6. The BIOS disables faulty memory slots, stops detecting memory in these slots, and displays the number of detected memory slots and the location of the disabled memory slots on the POST screen.
[0084] 7. The user performs relevant processing based on the information displayed on the POST interface.
[0085] like Figure 2 As shown, this embodiment of the invention provides a method for detecting server memory slot failures, including the following steps:
[0086] S1: The server is powered on and the BMC is active. It checks whether there is memory installed in the memory slot.
[0087] If yes, proceed to step S2; otherwise, skip the check and end.
[0088] S2: Configure the BMC to detect the GPIO status of the memory slots on the motherboard where memory is installed; proceed to step S3;
[0089] S3: Determine the detected GPIO status;
[0090] When the GPIO state is high, a memory slot fault is detected, and step S4 is executed; when the GPIO state is low, the memory slot is normal, and step S11 is executed; if no GPIO state signal is detected, step S14 is executed.
[0091] S4: Configure the display of memory slot status information in the BMC system event log; proceed to step S5;
[0092] S5: Determine if all memory slots have been detected;
[0093] If so, proceed to step S6;
[0094] If not, proceed to step S2 to detect the next memory slot.
[0095] S6: During the boot process, the BIOS checks whether it has received the OK message sent by the BMC;
[0096] If yes, proceed to step S7; otherwise, proceed to step S8.
[0097] S7: Configure the BIOS to test all memory during self-test; proceed to step S10;
[0098] S8: Configure the BIOS to obtain memory slot status information from the BMC and disable the faulty memory slot based on the obtained memory slot status information; execute step S9;
[0099] S9: During self-test, the memory slots with normal memory are tested; proceed to step S10.
[0100] S10: Self-test complete. The POST interface displays the amount of memory detected and the location information of the blocked memory slots.
[0101] S11: Determine whether all memory slots have been detected;
[0102] If yes, proceed to step S12; otherwise, proceed to step S2 to detect the next memory slot.
[0103] S12: Determine whether the GPIO state of all memory slots is low;
[0104] If yes, proceed to step S13; otherwise, proceed to step S8.
[0105] S13: Configure the BMC to send an OK message to the BIOS; proceed to step S7.
[0106] S14: Determine whether the number of detections has reached a set threshold number; wherein, the number of detections refers to the number of times the memory slot for which no GPIO status signal can be detected;
[0107] If so, proceed to step S4;
[0108] If not, proceed to step S15;
[0109] S15: Configure the memory slots where no GPIO status signal can be detected again, and execute step S3.
[0110] This invention provides a device for detecting server memory slot faults, including a GPIO status detection module, a status judgment module, a status display module, a status information acquisition module, a shielding setting module, a self-test module, and a result display module;
[0111] The GPIO status detection module is used to detect the GPIO status of the memory slots on the motherboard when the server is powered on.
[0112] The status judgment module is used to judge the detected GPIO status. When the GPIO status is high, it is determined that the memory slot is faulty and triggers the status display module.
[0113] The status display module is configured to display memory slot status information in the BMC system event log;
[0114] The status information acquisition module is used to acquire memory slot status information during power-on.
[0115] The shielding setting module is used to configure the shielding of faulty memory slots based on the acquired memory slot status information;
[0116] The self-test module is used to test memory with normal memory slots and send fault information to the BMC.
[0117] The results display module is used to display the detected memory quantity and the location information of the memory slots blocked by the blocking settings module on the POST interface.
[0118] Preferably, the device further includes an installation determination module for determining whether memory is installed in the memory slot when the server is powered on;
[0119] The GPIO status detection module is used to detect the GPIO status of the memory slots on the motherboard where memory is installed.
[0120] In some embodiments, the device further includes an information sending module and a receiving judgment module;
[0121] The information sending module is used to send an OK message to the BIOS when the status judgment module determines that the GPIO status of all memory slots is low.
[0122] The receiving and judgment module is used to determine whether the OK information sent by the BMC has been received during the power-on process. If yes, it triggers the self-test module to directly check all memory; if no, it triggers the status information acquisition module.
[0123] In some embodiments, the device further includes a detection count determination module, which is used to determine whether the number of detections of the memory slot for which no GPIO status signal is detected has reached a set threshold number when the status determination module does not detect the GPIO status signal; if yes, trigger the status display module; if no, trigger the GPIO status detection module.
[0124] like Figure 3 As shown, this embodiment of the invention also provides a system for detecting server memory slot failures, including a BMC and a BIOS that communicates with the BMC;
[0125] The BMC includes a GPIO status detection module, a status judgment module, a status display module, and a result display module;
[0126] The BIOS includes a status information acquisition module, a masking settings module, and a self-test module;
[0127] The GPIO status detection module is used to configure the BMC to detect the GPIO status of the memory slots on the motherboard when the server is powered on.
[0128] The status judgment module is used to judge the detected GPIO status; when the GPIO status is high, it is judged that the memory slot is faulty and triggers the configuration display module.
[0129] The status display module is configured to display memory slot status information in the BMC system event log;
[0130] The status information acquisition module is used to acquire memory slot status information during power-on self-test;
[0131] The shielding setting module is used to configure the shielding of faulty memory slots based on the acquired memory slot status information;
[0132] The self-test module is used to test memory with normal memory slots and send fault information to the BMC.
[0133] The results display module is used to display the detected memory quantity and the location information of the memory slots blocked by the blocking settings module on the POST interface.
[0134] In some embodiments, the device further includes an installation determination module for determining whether memory is installed in the memory slot when the server is powered on.
[0135] The GPIO status detection module is used to detect the GPIO status of the memory slots on the motherboard where memory is installed.
[0136] In some embodiments, the BMC further includes an information transmission module, and the BIOS further includes a reception judgment module;
[0137] The information sending module is used to send an OK message to the BIOS when the status judgment module determines that all GPIO states are low, so that the BIOS self-test process can directly detect all memory.
[0138] The receiving and judgment module is used to determine whether the OK message sent by the BMC is received during the power-on process, and then trigger the self-test module to directly check all memory.
[0139] In some embodiments, the BMC also includes a detection count judgment module, which is used to determine whether the number of detections of the memory slot for which no GPIO status signal is detected has reached a set threshold number when the status judgment module does not detect the GPIO status signal. If it does, the status display module is triggered; otherwise, the GPIO status detection module is triggered.
[0140] Although the present invention has been described in detail with reference to the accompanying drawings and preferred embodiments, the invention is not limited thereto. Various equivalent modifications or substitutions can be made to the embodiments of the invention by those skilled in the art without departing from the spirit and essence of the invention, and such modifications or substitutions should all be within the scope of the invention. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the invention should also be covered within the protection scope of the invention. Therefore, the protection scope of the invention should be determined by the scope of the claims.
Claims
1. A method for detecting server memory slot failure, characterized in that, Includes the following steps: When the server is powered on, the BMC is configured to detect the GPIO status of the memory slots on the motherboard where the memory is installed. When the GPIO state is high, a memory slot fault is detected and the memory slot status information is configured to be displayed in the BMC system event log. During the boot process, the BIOS is configured to obtain memory slot status information from the BMC and disable faulty memory slots based on the obtained memory slot status information. During the self-test, memory slots with normal status are tested. After the self-test is complete, the POST interface will display the amount of memory detected and the location information of the blocked memory slots. The steps for powering on the server and configuring the BMC to detect the GPIO status of the memory slots on the motherboard include: Upon powering on the server, check if any memory is installed in the memory slots. If so, configure the BMC to detect the GPIO status of the memory slots on the motherboard where the memory is installed; If not, no testing will be performed; After configuring the BMC to detect the GPIO status of the memory slots on the motherboard, the following steps are included: Determine the detected GPIO status; When the GPIO state is low, the memory slot status is normal. Determine whether all memory slots have been detected. If so, when all memory slot GPIO states are low, configure the BMC to send an OK message to the BIOS; If not, proceed as follows: Configure the BMC to detect the GPIO status of the memory slots on the motherboard where memory is installed, and then detect the next memory slot.
2. The method for detecting server memory slot failure according to claim 1, characterized in that, During the boot process, the BIOS is configured to obtain memory slot status information from the BMC and disable faulty memory slots based on this information. The steps for testing memory slots with normal functionality during self-test include: During the boot process, the BIOS checks whether it has received an OK message from the BMC; If so, configure the BIOS to test the memory in all memory slots during the self-test; If not, configure the BIOS to obtain memory slot status information from the BMC and disable faulty memory slots based on the obtained memory slot status information, and test memory slots with normal status during self-test.
3. The method for detecting server memory slot failure according to claim 2, characterized in that, When the GPIO state is high, the steps to determine a memory slot fault and configure the display of memory slot status information in the BMC system event log include: When the GPIO state is high, a memory slot fault is detected and the memory slot status information is configured to be displayed in the BMC system event log. Determine if all memory slots have been detected. If so, proceed as follows: Configure the BIOS to obtain memory slot status information from the BMC and disable faulty memory slots based on the obtained memory slot status information; during self-test, test the memory slots that are in good condition. If not, proceed as follows: Configure the BMC to detect the GPIO status of the memory slots on the motherboard where memory is installed, and then detect the next memory slot.
4. The method for detecting server memory slot failure according to claim 1, characterized in that, After determining the detected GPIO status, the following steps are also included: If no GPIO status signal is detected, determine whether the number of detections has reached a set threshold number; wherein, the number of detections refers to the number of times the memory slot for which no GPIO status signal is detected is detected. If so, the steps are as follows: Configure the display of memory slot status information in the BMC system event log; If not, configure the system to check the memory slots where no GPIO status signal can be detected again, and perform the following steps: determine the detected GPIO status.
5. A device for detecting server memory slot malfunctions, characterized in that, It includes a GPIO status detection module, a status judgment module, a status display module, a status information acquisition module, a mask setting module, a self-test module, and a result display module; The GPIO status detection module is used to detect the GPIO status of the memory slots on the motherboard when the server is powered on. The status judgment module is used to judge the detected GPIO status. When the GPIO status is high, it is determined that the memory slot is faulty and triggers the status display module. The status display module is used to configure the display of memory slot status information in the BMC system event log; the status information acquisition module is used to acquire memory slot status information during power-on. The shielding setting module is used to configure the shielding of faulty memory slots based on the acquired memory slot status information; The self-test module is used to test memory with normal memory slots and send fault information to the BMC. The results display module is used to display the detected memory quantity and the location information of the memory slots blocked by the blocking settings module on the POST interface. The GPIO status detection module includes: Upon powering on the server, check if any memory is installed in the memory slots. If so, configure the BMC to detect the GPIO status of the memory slots on the motherboard where the memory is installed; If not, no testing will be performed; The device also includes an information transmission module and a reception judgment module; The information sending module is used to send an OK message to the BIOS when the status judgment module determines that the GPIO status of all memory slots is low. The receiving and judgment module is used to determine whether the OK message sent by the BMC has been received during the power-on process.
6. A system for detecting server memory slot faults, characterized in that, This includes the BMC and the BIOS that communicates with the BMC; The BMC includes a GPIO status detection module, a status judgment module, a status display module, and a result display module; The BIOS includes a status information acquisition module, a masking settings module, and a self-test module; The GPIO status detection module is used to configure the BMC to detect the GPIO status of the memory slots on the motherboard when the server is powered on. The status judgment module is used to judge the detected GPIO status; when the GPIO status is high, it is judged that the memory slot is faulty and triggers the configuration display module. The configuration display module is used to configure the display of memory slot status information in the BMC system event log; it is also used to display the detected memory quantity and the location information of the blocked memory slots on the POST interface. The status information acquisition module is used to acquire memory slot status information during power-on self-test; The shielding setting module is used to configure the shielding of faulty memory slots based on the acquired memory slot status information; The self-test module is used to test memory with normal memory slots and send fault information to the BMC. The results display module is used to display the detected memory quantity and the location information of the memory slots blocked by the blocking settings module on the POST interface. The GPIO status detection module includes: Upon powering on the server, check if any memory is installed in the memory slots. If so, configure the BMC to detect the GPIO status of the memory slots on the motherboard where the memory is installed; If not, no testing will be performed; The BMC also includes an information transmission module, and the BIOS also includes a reception judgment module; The information sending module is used to send an OK message to the BIOS when the status judgment module determines that all GPIO states are low, so that the BIOS self-test process can directly detect all memory. The receiving and judgment module is used to determine whether the OK message sent by the BMC is received during the power-on process, and then trigger the self-test module to directly check all memory.