Link exception processing method and device, equipment and medium
By receiving PCIE link abnormality alarms, it can determine and repair abnormalities in the central processor, power supply, high-speed cables, adapter cards and backplanes, solving the problems of difficulty in locating PCIE link abnormalities and low processing efficiency in the existing technology, and achieving Quickly restore server services.
Patent Information
- Application Number
- CN202410971912.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-10-15
AI Technical Summary
In the existing technology, PCIE link anomalies are difficult to locate and the processing efficiency is low, resulting in service interruption and inability to quickly recover.
By receiving the PCIE link abnormality alarm prompt information, it is judged whether the terminal equipment operation log is abnormal. If there is no abnormality, it is judged whether the central processor and power supply are abnormal. If abnormal, it is repaired. If there is no abnormality, it is judged whether the high-speed cable, adapter card and backend are abnormal. Check whether the board is abnormal. If abnormal, repair it to achieve rapid location and processing.
It effectively solves the problems of difficulty in locating PCIE link abnormalities and low processing efficiency, making it easy to replace problematic components and quickly resume server business operations.
Smart Images

Figure CN118779141A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of testing technology, and in particular to a link exception processing method, device, equipment and medium. Background Art
[0002] With the development of technology, the bandwidth of high-speed serial computer expansion bus (PCIE, peripheral component interconnect express) standard equipment is getting higher and higher. During the data transmission process, the PCIE link may be temporarily interrupted, the speed may drop or the bandwidth may drop due to abnormal central processing unit (CPU), high-speed cables, connectors or PCIE devices themselves, which may eventually lead to PCIE device errors and affect the normal operation of the business.
[0003] For devices that report physical connection errors, the industry's commonly used analysis and positioning methods are: re-plugging and re-inserting PCIE components, and cross-using devices on the PCIE link for re-verification. Since the physical link is changed after the cross, on the one hand, it is impossible to effectively verify whether the problem is with the physical link; on the other hand, when a problem with a low probability of recurrence occurs, a large number of cyclic stress tests are required, which takes up more time and server resources for problem positioning analysis. Summary of the invention
[0004] In order to overcome the above technical defects, the purpose of this application is to provide a link abnormality processing method, device, equipment and medium, the method comprising: receiving PCIE link abnormality alarm prompt information; judging whether there is an abnormal record in the operation log of the PCIE terminal device; in response to the absence of an abnormal record in the operation log of the PCIE terminal device, judging whether there is an abnormal record in the central processor and the power supply; locating and processing the cause of the PICE link abnormality according to the judgment result. This application solves the problem of difficulty in locating PCIE link abnormalities and low processing efficiency in the prior art.
[0005] The specific technical solutions provided by the embodiments of this application are as follows:
[0006] In a first aspect, the present application provides a link abnormality processing method, wherein the system includes a central processing unit, a power supply, a PCIE terminal device, a backplane, and an adapter card, wherein the output ends of the central processing unit and the power supply are respectively connected to the input ends of the PCIE terminal device, the backplane, and the adapter card, and the method includes:
[0007] Receive PCIE link abnormality alarm prompt information;
[0008] Determine whether there is any abnormal record in the operation log of the PCIE terminal device;
[0009] In response to the fact that no abnormal record appears in the operation log of the PCIE terminal device, determining whether there is an abnormal record of the central processing unit and the power supply;
[0010] In response to abnormal records of the central processor and the power supply, the cause of the PICE link abnormality is located as abnormality of the central processor and / or the power supply, and the PICE link abnormality is processed by repairing the central processor and / or the power supply;
[0011] In response to the fact that there is no abnormal record of the central processing unit and the power supply, the cause of the PICE link abnormality is located as abnormality of the high-speed cable and / or the adapter card and / or the backplane, and the PICE link abnormality is handled by repairing the high-speed cable and / or the adapter card and / or the backplane.
[0012] In one embodiment, the processing of the PICE link abnormality by repairing the central processor and / or the power supply includes:
[0013] The PICE link abnormality is processed by repairing the central processor, including:
[0014] Checking and updating the microcode of the central processing unit;
[0015] confirming whether the power management policy of the central processing unit is correctly configured;
[0016] View system logs and error reports of said CPU;
[0017] Confirm whether the cooling system of the CPU works normally;
[0018] When the repair of the central processor fails, the system is downgraded to the minimum configuration and the PICE link abnormality is processed;
[0019] The PICE link abnormality is processed by repairing the power supply, including:
[0020] Using a multi-channel power supply tester to test whether all output voltages of the power supply are stable and meet the specifications;
[0021] Performing a power supply load test to simulate a high-load operation of the system and detect the state of the power supply under full load or near full load conditions;
[0022] Detecting the firmness of the connection of the power supply cable from the power supply to the PCIE terminal device;
[0023] The power management setting is obtained to determine whether the energy saving mode is turned on, and if so, the energy saving mode of the power supply is turned off.
[0024] In one embodiment, the processing of the PICE link abnormality by repairing the high-speed cable and / or the adapter card and / or the backplane includes:
[0025] The PICE link abnormality is processed by repairing the high-speed cable, including:
[0026] Check whether the high-speed cable has any physical damage and whether the connectors at both ends of the cable are firmly connected to the corresponding interfaces;
[0027] Confirm whether the high-speed cable complies with the PICE link standard;
[0028] Testing the signal quality of the high-speed cable by a signal testing instrument, wherein the signal quality of the high-speed cable includes a signal integrity factor, a signal jitter factor, and a signal crosstalk factor;
[0029] Check the routing and termination of the high-speed cable to confirm whether it is close to a strong electromagnetic interference source;
[0030] Adjusting signal parameters of the high-speed cable, wherein the signal parameters include receiving equalization parameters and transmitting de-emphasis parameters;
[0031] The PICE link abnormality is processed by repairing the adapter card, including:
[0032] Confirming the compatibility between the adapter card and the PCIE terminal device;
[0033] Confirm whether the adapter card has any physical damage and test the firmness of the adapter card in the PICE slot;
[0034] Install the adapter card according to the latest firmware update program;
[0035] When the adapter card is connected to a high-power device, detecting the power supply of the adapter card;
[0036] Adjust the equalizer setting parameters of the adapter card according to the device manual;
[0037] The PICE link abnormality is processed by repairing the backplane, including:
[0038] Disconnect the power supply and determine the physical damage of the PICE slot area of the backplane;
[0039] Clean the dust and dirt inside the PICE slot of the backplane;
[0040] Testing the tightness of the fit between the adapter card and the slot on the backplane;
[0041] Check whether the backplane PICE slot pins are bent or damaged;
[0042] The PICE terminal device is connected to other slots of the same specification on the backplane, and the PICE link abnormality is re-detected and determined.
[0043] In one embodiment, the method comprises:
[0044] In response to an abnormal record appearing in the operation log of the PCIE terminal device, determining whether there is an abnormal record of the central processing unit and the power supply;
[0045] In response to an abnormal record appearing in the operation log of the PCIE terminal device, judging whether there is an abnormal record of the central processing unit and the power supply includes:
[0046] When there is no abnormal record for the central processing unit and the power supply, the cause of the PICE link abnormality is located as the abnormality of the PCIE terminal device, and the PICE link abnormality is processed by repairing the PCIE terminal device.
[0047] In one of the embodiments, in response to an abnormal record appearing in the operation log of the PCIE terminal device, determining whether there is an abnormal record of the central processor and the power supply further includes:
[0048] When there are abnormal records of the central processing unit and the power supply, the cause of the PICE link abnormality is located as the abnormality of the PCIE terminal device, the central processing unit and the power supply, and the PICE link abnormality is processed by repairing the PCIE terminal device, the central processing unit and the power supply.
[0049] In one of the embodiments, the processing of the PICE link abnormality by repairing the PCIE terminal device includes:
[0050] Collect link error information through system logs and hardware monitoring tools;
[0051] Check the status and configuration space of the PCIE terminal device through the device manager;
[0052] Confirm whether the slot and physical connection of the PCIE terminal device are secure;
[0053] According to the state of the link training state machine, the signal equalization setting is adjusted or the firmware or driver of the PCIE terminal device is updated accordingly;
[0054] Updating the driver of the PCIE terminal device to the latest version;
[0055] Check the quality of the cable connecting the PCIE terminal device by using the signal enhancement chip or adjusting the signal line layout;
[0056] Configuring a corresponding error handling callback function for the PCIE terminal device;
[0057] When the repair of the PCIE terminal device fails, the PCIE slot of the PCIE terminal device is replaced.
[0058] In one embodiment, the system further comprises a complex programmable logic device, the output terminal of the power supply is connected to the input terminal of the complex programmable logic device, and the method further comprises:
[0059] When an abnormal record appears in the operation log of the PCIE terminal device, the power output of the system is turned off by the complex programmable logic device, the PCIE terminal device is replaced, and the replaced PCIE terminal device is reconnected by the central processor;
[0060] When the central processing unit and / or power supply has abnormal records, the corresponding central processing unit and / or power supply is replaced;
[0061] When there are abnormal records of the high-speed cable and / or adapter card and / or backplane, the complex programmable logic device shuts down the power output of the system, replaces the corresponding high-speed cable and / or adapter card and / or backplane, and reconnects the replaced high-speed cable and / or adapter card and / or backplane through the central processor.
[0062] In a second aspect, the present application further provides a link exception processing device, which is applied to a link exception processing system, wherein the system includes a central processing unit, a power supply, a PCIE terminal device, a backplane, and an adapter card, wherein the output ends of the central processing unit and the power supply are respectively connected to the input ends of the PCIE terminal device, the backplane, and the adapter card, and the device includes:
[0063] A receiving module is used to receive PCIE link abnormality alarm prompt information;
[0064] A judgment module, used for judging whether an abnormal record appears in the operation log of the PCIE terminal device; in response to the fact that no abnormal record appears in the operation log of the PCIE terminal device, judging whether an abnormal record appears in the central processing unit and the power supply;
[0065] A processing module, configured to locate the cause of the PICE link abnormality as the abnormality of the central processor and / or the power supply in response to the existence of abnormal records of the central processor and the power supply, and process the PICE link abnormality by repairing the central processor and / or the power supply;
[0066] In response to the fact that there is no abnormal record of the central processing unit and the power supply, the cause of the PICE link abnormality is located as abnormality of the high-speed cable and / or the adapter card and / or the backplane, and the PICE link abnormality is handled by repairing the high-speed cable and / or the adapter card and / or the backplane.
[0067] In a third aspect, a link abnormality processing device is also provided, including:
[0068] one or more processors;
[0069] A storage device for storing one or more programs;
[0070] When the one or more programs are executed by the one or more processors, the one or more processors implement the link exception handling method as described in any one of the first aspects.
[0071] In a fourth aspect, the present application further provides a computer device, the device comprising:
[0072] A memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the link abnormality handling method as described in any one of the first aspects.
[0073] In a fifth aspect, the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of any link exception handling method described in the first aspect.
[0074] In a sixth aspect, the present application further provides a computer storage medium, the medium comprising:
[0075] A computer program is stored thereon, and when the computer program is executed by a processor, the steps of any link abnormality handling method described in the first aspect are implemented.
[0076] Compared with the prior art, the method described in the technical solution provided in the embodiment of the present application includes: receiving PCIE link abnormality alarm prompt information; judging whether there is an abnormal record in the operation log of the PCIE terminal device; in response to the absence of an abnormal record in the operation log of the PCIE terminal device, judging whether there is an abnormal record in the central processor and the power supply; in response to the presence of an abnormal record in the central processor and the power supply, locating the cause of the PICE link abnormality as the abnormality of the central processor and / or the power supply, and processing the PICE link abnormality by repairing the central processor and / or the power supply; in response to the absence of an abnormal record in the central processor and the power supply, locating the cause of the PICE link abnormality as the abnormality of the high-speed cable and / or the adapter card and / or the backplane, and processing the PICE link abnormality by repairing the high-speed cable and / or the adapter card and / or the backplane. The present application solves the problems of difficult positioning and low processing efficiency of PCIE link abnormalities in the prior art; at the same time, it is convenient to replace the problem components and quickly restore the business work of the server. BRIEF DESCRIPTION OF THE DRAWINGS
[0077] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0078] Figure 1 A structural diagram of a link exception handling system provided in Example 1 of the present application;
[0079] Figure 2 A first flow chart of a link abnormality handling method provided in Embodiment 1 of the present application;
[0080] Figure 3 A second flow chart of the link abnormality processing method provided in Embodiment 2 of the present application;
[0081] Figure 4 A specific flow chart of the link abnormality processing method provided in Embodiment 2 of the present application;
[0082] Figure 5 A structural diagram of a link abnormality processing device provided in Embodiment 3 of the present application;
[0083] Figure 6 The exemplary system provided for Embodiment 7 of the present application can be used to implement the various embodiments described in the present application. DETAILED DESCRIPTION
[0084] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0085] It should be noted that, unless the context clearly requires otherwise, words such as “include”, “including” and similar words throughout the specification and claims should be interpreted as including rather than exclusive or exhaustive; that is, the meaning is “including but not limited to”.
[0086] Furthermore, in the description of the present application, unless otherwise specified, “plurality” means two or more.
[0087] In the prior art, there are two main methods for locating and analyzing PCIE link anomalies:
[0088] Solution 1:
[0089] It is necessary to manually re-plug the PCIE components and re-verify the devices on the cross-PCIE link. Since the physical link is changed after the cross-link, on the one hand, it is impossible to effectively verify whether the problem is the physical link; on the other hand, if it is a problem with a small probability of recurrence, a large number of cyclic stress tests need to be run, which takes up more time for locating the problem and analyzing it and server resources.
[0090] Option 2:
[0091] Analyze and determine faults through the baseboard management controller (BMC) alarm log: When an abnormality occurs in the PCIE device, the error information will be reported to the basic input and output system (BIOS) according to the detection mechanism. The basic input and output system will send the error information to the baseboard management controller, which will print it out in the operation monitoring log to remind the operation and maintenance personnel to pay attention and repair it.
[0092] However, this method relies on the detection mechanism of the basic input and output system. When the PCIE device reports an abnormality, it can only report that an error has occurred on the PCIE device link. It cannot specifically locate whether it is a CPU abnormality, a high-speed cable, a PCIE device, or other servers, etc., in order to provide information to help operation and maintenance personnel locate and repair.
[0093] Embodiment 1
[0094] The present application embodiment provides a link abnormality processing method, such as Figure 1 , 2 As shown, the system includes a central processing unit, a power supply, a PCIE terminal device, a backplane, and an adapter card, the output ends of the central processing unit and the power supply are respectively connected to the input ends of the PCIE terminal device, the backplane, and the adapter card, and the method includes:
[0095] Receive PCIE link abnormality alarm prompt information;
[0096] Determine whether there is any abnormal record in the operation log of the PCIE terminal device;
[0097] In response to the fact that no abnormal record appears in the operation log of the PCIE terminal device, determining whether there is an abnormal record of the central processing unit and the power supply;
[0098] In response to abnormal records of the central processor and the power supply, the cause of the PICE link abnormality is located as abnormality of the central processor and / or the power supply, and the PICE link abnormality is processed by repairing the central processor and / or the power supply;
[0099] In response to the fact that there is no abnormal record of the central processing unit and the power supply, the cause of the PICE link abnormality is located as abnormality of the high-speed cable and / or the adapter card and / or the backplane, and the PICE link abnormality is handled by repairing the high-speed cable and / or the adapter card and / or the backplane.
[0100] Specifically, the present application provides a PCIE link anomaly positioning method for solving the current problems that PCIE link anomalies cannot be effectively verified, the detection time is long, and a lot of resources are occupied.
[0101] The beneficial effects of the technical solution provided by the embodiment of the present application are:
[0102] The present application solves the problems of difficulty in locating PCIE link abnormalities and low processing efficiency in the prior art; at the same time, it is convenient to replace problematic components and quickly restore the business operations of the server.
[0103] Embodiment 2
[0104] The present application embodiment provides a link abnormality processing method, such as Figure 3 As shown, the method is applied to a link abnormality processing system, the system includes a PCIE terminal device, a central processing unit and a power supply, the output ends of the central processing unit and the power supply are respectively connected to the input end of the PCIE terminal device, and the method includes:
[0105] Step S01, receiving PCIE link abnormality alarm prompt information;
[0106] Determine whether an abnormal record appears in the operation log of the PCIE terminal device.
[0107] Specifically, when the baseboard management controller issues an alarm that a PCIE link is abnormal, the PCIE terminal device on the link is located;
[0108] First, a self-check is performed on the PCIE terminal device to detect whether there is an abnormal record of the PCIE device at the time when the abnormality occurs.
[0109] Step S02: In response to the fact that there is no abnormal record in the operation log of the PCIE terminal device, it is determined whether there is any abnormal record for the central processing unit and the power supply.
[0110] Step S02 also includes:
[0111] Step S021, in response to an abnormal record appearing in the operation log of the PCIE terminal device, determining whether there is an abnormal record of the central processing unit and the power supply;
[0112] In response to an abnormal record appearing in the operation log of the PCIE terminal device, judging whether there is an abnormal record of the central processing unit and the power supply includes:
[0113] Determine whether there are abnormal records of the central processing unit and the power supply;
[0114] When there is no abnormal record for the central processing unit and the power supply, the cause of the PICE link abnormality is located as the abnormality of the PCIE terminal device, and the PICE link abnormality is processed by repairing the PCIE terminal device.
[0115] Specifically, if the PCIE device has abnormal error information, check whether the CPU and power supply have abnormal records at that time point; if there is no abnormal record of the CPU, power supply, etc. at that time point, the problem with the PCIE device can be located, and the cause of the problem with the PCIE device can be further analyzed.
[0116] When there are abnormal records of the central processing unit and the power supply, the cause of the PICE link abnormality is located as the abnormality of the PCIE terminal device, the central processing unit and the power supply, and the PICE link abnormality is processed by repairing the PCIE terminal device, the central processing unit and the power supply.
[0117] Step S022, collecting link error information through system logs and hardware monitoring tools;
[0118] Check the status and configuration space of the PCIE terminal device through the device manager;
[0119] Confirm whether the slot and physical connection of the PCIE terminal device are secure;
[0120] According to the state of the link training state machine, the signal equalization setting is adjusted or the firmware or driver of the PCIE terminal device is updated accordingly;
[0121] Updating the driver of the PCIE terminal device to the latest version;
[0122] Check the quality of the cable connecting the PCIE terminal device by using the signal enhancement chip or adjusting the signal line layout;
[0123] Configuring a corresponding error handling callback function for the PCIE terminal device;
[0124] When the repair of the PCIE terminal device fails, the PCIE slot of the PCIE terminal device is replaced.
[0125] Specifically, identify the source of the error: First, use system logs (such as Windows Event Viewer) and hardware monitoring tools (such as IPMI) to collect error information; check whether there are PCIE-related error reports, such as link speed reduction, training failure, and increase in the number of corrected or uncorrected errors;
[0126] Use the lspci command or device manager to check the status and configuration space of the PCIE device, focusing on information such as link width, speed, and status register;
[0127] Physical inspection: confirm that the physical connections of all PCIE slots and devices are secure, including cleaning dust, checking whether the gold fingers are worn or contaminated, and ensuring that the devices are correctly installed;
[0128] Link training status check: Observe the LTSSM (Link Training and Status State Machine) status to ensure that the link can be stable at L0. If it is unstable, you need to adjust the signal equalization settings or update the firmware / driver;
[0129] Update firmware and drivers: Ensure that the firmware of all involved devices (including PCIE switches and terminal devices) is up to date. Firmware updates can usually resolve known compatibility or stability issues.
[0130] Update the driver of PCIE terminal device to the latest version;
[0131] Signal integrity check: If the link is continuously unstable, it may be a signal interference or attenuation problem. Consider using a signal enhancement chip or adjusting the signal line layout. Check the cable quality.
[0132] Link reset and configuration: Use the tools provided by the operating system or specific hardware control commands to try to reset the PCIE link;
[0133] Check the BIOS settings to ensure that the PCIE function is not disabled or inappropriate power management options are set;
[0134] Error recovery mechanism: According to the PCI error recovery process, ensure that the driver supports the error recovery API and configures the corresponding error handling callback function;
[0135] Hardware replacement test: If the above steps cannot solve the problem, consider replacing the suspected faulty PCIE terminal device with another PCIE slot in the system, or replace it with a known good device to isolate whether the problem is caused by specific hardware.
[0136] Step S03: locate and handle the cause of the PICE link abnormality according to the judgment result.
[0137] Step S03 also includes:
[0138] Step S031, in response to the existence of abnormal records of the central processor and the power supply, the cause of the PICE link abnormality is located as the abnormality of the central processor and / or the power supply, and the PICE link abnormality is processed by repairing the central processor and / or the power supply;
[0139] In response to the fact that there is no abnormal record of the central processing unit and the power supply, the cause of the PICE link abnormality is located as abnormality of the high-speed cable and / or the adapter card and / or the backplane, and the PICE link abnormality is handled by repairing the high-speed cable and / or the adapter card and / or the backplane.
[0140] Specifically, if the PCIE device has no abnormal error information, check whether the CPU and power supply have abnormal records at that time point; if the CPU and power supply have abnormal records at that time point, it can be determined that there is no problem with the PCIE device, and the problem lies in the CPU and power supply, and the causes of the CPU and power supply problems can be further analyzed.
[0141] If the PCIE device has no abnormal error information, check whether there are abnormal records of the CPU and power supply at that time point; if there are no abnormal records of the CPU and power supply at that time point, the causes of the problems with the high-speed cable, adapter card, and backplane can be further analyzed.
[0142] Step S032, processing the PICE link abnormality by repairing the central processor, including:
[0143] Checking and updating the microcode of the central processing unit;
[0144] confirming whether the power management policy of the central processing unit is correctly configured;
[0145] View system logs and error reports of said CPU;
[0146] Confirm whether the cooling system of the CPU works normally;
[0147] When the repair of the central processor fails, the system is downgraded to the minimum configuration and the PICE link abnormality is processed;
[0148] The PICE link abnormality is processed by repairing the power supply, including:
[0149] Using a multi-channel power supply tester to test whether all output voltages of the power supply are stable and meet the specifications;
[0150] Performing a power supply load test to simulate a high-load operation of the system and detect the state of the power supply under full load or near full load conditions;
[0151] Detecting the firmness of the connection of the power supply cable from the power supply to the PCIE terminal device;
[0152] The power management setting is obtained to determine whether the energy saving mode is turned on, and if so, the energy saving mode of the power supply is turned off.
[0153] Specifically, the PICE link abnormality is processed by repairing the central processor, including:
[0154] Firmware / microcode update: First check and update the CPU's microcode. Microcode updates usually contain fixes for known hardware issues.
[0155] Check the CPU configuration: Confirm whether the relevant settings of the CPU (such as power management policy) are configured correctly. Inappropriate power management settings may cause problems with the PCIE link in a low-power state. Usually these settings can be adjusted in the BIOS.
[0156] Identify CPU-related errors: Check system logs and CPU error reports. Modern CPUs usually have built-in logging functions. You can use system management software to check whether there are CPU-related warnings or error records.
[0157] Temperature and cooling: High temperature is a common cause of hardware abnormalities. Make sure the cooling system of the CPU and motherboard works properly. Overheating may cause instability in various systems including PCIE devices.
[0158] Hardware isolation testing: Downgrade the system to the minimum configuration, retaining only the necessary hardware, especially the CPU-related accessory boards, to determine whether the problem is caused by other hardware or is directly related to the CPU.
[0159] The PICE link abnormality is processed by repairing the power supply, including:
[0160] Check the power supply output: Use a multi-channel power supply tester to check whether all output voltages of the power supply are stable and meet the specifications;
[0161] Power supply load test: Perform a power supply load test to simulate high-load operation of the system and observe the performance of the power supply under full load or near full load conditions; some power supplies may experience voltage drops under high load, affecting the normal operation of PCIE devices.
[0162] Replace the power supply with a high quality one: If the power supply is found to have unstable output, low efficiency or signs of aging, replace it with a new one with high quality, high efficiency and rated power sufficient to meet the system requirements;
[0163] Check the power cables: Make sure that all power cables from the power supply to the PCIE device are securely connected and not damaged. Poor quality or damaged cables may cause voltage drop or current instability.
[0164] Optimize power management settings: Adjust power management settings in the operating system to ensure that the power supply to the PCIE device is not inadvertently restricted. For example, in Windows power options, confirm that excessive power saving modes are not enabled to avoid affecting the performance of the PCIE link.
[0165] Through the above steps, the PCIE link abnormality indirectly caused by power supply problems can be effectively diagnosed and solved. If the problem persists after replacing the power supply, the focus should be shifted to checking other hardware components or system configurations.
[0166] Step S033, processing the PICE link abnormality by repairing the high-speed cable, including:
[0167] Check whether the high-speed cable has any physical damage and whether the connectors at both ends of the cable are firmly connected to the corresponding interfaces;
[0168] Confirm whether the high-speed cable complies with the PICE link standard;
[0169] Testing the signal quality of the high-speed cable by a signal testing instrument, wherein the signal quality of the high-speed cable includes signal integrity, signal jitter, and signal crosstalk factors;
[0170] Check the routing and termination of the high-speed cable to confirm whether it is close to a strong electromagnetic interference source;
[0171] Adjusting signal parameters of the high-speed cable, wherein the signal parameters include receive equalization and transmit de-emphasis;
[0172] The PICE link abnormality is processed by repairing the adapter card, including:
[0173] Confirming the compatibility between the adapter card and the PCIE terminal device;
[0174] Confirm whether the adapter card has any physical damage and test the firmness of the adapter card in the PICE slot;
[0175] Install the adapter card according to the latest firmware update program;
[0176] When the adapter card is connected to a high-power device, detecting the power supply of the adapter card;
[0177] Adjust the equalizer setting parameters of the adapter card according to the device manual;
[0178] The PICE link abnormality is processed by repairing the backplane, including:
[0179] Disconnect the power supply and determine the physical damage of the PICE slot area of the backplane;
[0180] Clean the dust and dirt inside the PICE slot of the backplane;
[0181] Testing the tightness of the fit between the adapter card and the slot on the backplane;
[0182] Check whether the backplane PICE slot pins are bent or damaged;
[0183] The PICE terminal device is connected to other slots of the same specification on the backplane, and the PICE link abnormality is re-detected and determined.
[0184] Specifically, the PICE link abnormality is processed by repairing the high-speed cable, including:
[0185] Check the physical condition of the cable: First, check whether the cable has obvious physical damage, such as excessive bends, cuts, cracks, or damaged plugs. Any physical damage may cause signal integrity impairment;
[0186] Make sure the connectors on both ends of the cable are cleanly and firmly inserted into the corresponding interfaces, without any looseness or partial contact;
[0187] Cable compliance verification: Confirm that the cables used comply with PCIE standards, especially the corresponding speed levels. Incompatible cables or cables below the required specifications may not be able to support the expected data rate.
[0188] Signal quality test: Use professional signal testing instruments (such as oscilloscopes) to check the signal quality of the cable, including signal integrity, jitter, crosstalk and other factors;
[0189] Replace cable test: Try to replace a known good high-speed cable of the same specification to verify whether the problem is caused by the original cable. This method can directly determine whether the high-speed cable is the source of the fault;
[0190] Termination and wiring optimization: Check the routing and termination of cables to avoid proximity to strong electromagnetic interference sources and ensure that cables are laid out according to best practices, such as maintaining a minimum bending radius and staying away from high-frequency signal lines.
[0191] Adjust signal adjustment settings: For some devices, signal adjustment functions such as receive equalization and transmit de-emphasis may be supported. Proper adjustment of these parameters may help improve link quality.
[0192] Through the above steps, most PCIE link anomalies caused by high-speed cables can be effectively identified and repaired.
[0193] The PICE link abnormality is processed by repairing the adapter card, including:
[0194] Confirm compatibility: First, confirm the compatibility between the adapter card and the motherboard, graphics card, or other PCIE devices. Make sure that the adapter card supports the required PCIE generation (such as PCIE 3.0 or 4.0) and matches the PCIE slot type of the motherboard (such as x1, x4, x16).
[0195] Check the quality of the adapter card: Confirm that the adapter card has no physical damage, including bent pins, cracks on the circuit board, etc. At the same time, check whether the components on the adapter card are well soldered and have no cold solder joints or falling off;
[0196] Firmware and driver updates: If the adapter card has updateable firmware, visit the manufacturer's website to find the latest firmware update and install it. At the same time, make sure the drivers related to the adapter card in the system are also up to date;
[0197] Correct installation and fixation: Make sure the adapter card is correctly and firmly installed in the PCIE slot of the motherboard to avoid signal problems caused by poor contact;
[0198] Adjust BIOS settings: Enter the motherboard BIOS settings and check whether there are any configuration options related to PCIE, such as PCIE speed settings, link width configuration, etc., to ensure that they match the requirements of the riser card and the connected device;
[0199] Power and heat dissipation check: Make sure the system power supply can provide enough power for all devices, especially when the adapter card is connected to a high-power device. Also, check the heat dissipation of the adapter card and its connected devices. Overheating may also cause link instability.
[0200] Test and isolate the problem: Try connecting the riser card to a different PCIE slot to see if that improves the situation, and test the device connected to the riser card in another system to determine if the problem is caused by the riser card itself;
[0201] Signal adjustment: For some adapter cards, signal adjustment functions may be provided, such as equalizer settings. Adjusting these settings according to the device manual may help improve signal quality;
[0202] Through the preceding steps, you can diagnose and resolve the PCIE link abnormality caused by the riser card.
[0203] The PICE link abnormality is processed by repairing the backplane, including:
[0204] Physical inspection: Turn off and disconnect the power supply, open the chassis and carefully check the backplane, especially the PCIE slot area, to see if there is any physical damage, such as deformation, scratches, corrosion or foreign objects blocking it, which may affect the correct transmission of the signal;
[0205] Clean the backplane: Use a dry soft brush or compressed air to gently clean the dust and dirt on the backplane, especially inside the PCIE slot. Dust accumulation may cause short circuits or signal attenuation.
[0206] Check the tightness of the slot: confirm whether the PCIE expansion card is tightly fitted when inserted into the slot on the backplane, without any looseness. Looseness may cause poor contact and affect signal integrity;
[0207] Signal pin check: Further check whether the PCIE slot pins on the backplane are bent, missing or damaged. Any pin problems can be solved by replacing the backplane;
[0208] Testing and Isolation: Try moving the affected PCIE device to another slot of the same specification on the backplane to see if the problem persists. This will help determine whether the problem is in a specific slot or the entire backplane.
[0209] Consider replacement: If the above steps cannot solve the problem, and it is confirmed that the backplane is indeed defective, the mainboard needs to be replaced. The backplane is part of the mainboard and is generally not replaced separately, but the mainboard is replaced as a whole.
[0210] Directly repairing the backplane is usually beyond the scope of the average user, and due to the integrated nature of the backplane with the motherboard, the usual solution is to troubleshoot the problem and consider replacing the entire motherboard. Before taking any action, make sure you are fully prepared and understand the associated risks.
[0211] Step S04, when an abnormal record appears in the operation log of the PCIE terminal device, the power output of the system is turned off by the complex programmable logic device, the PCIE terminal device is replaced, and the replaced PCIE terminal device is reconnected by the central processor;
[0212] When the central processing unit and / or power supply has abnormal records, the corresponding central processing unit and / or power supply is replaced;
[0213] When there are abnormal records of the high-speed cable and / or adapter card and / or backplane, the complex programmable logic device shuts down the power output of the system, replaces the corresponding high-speed cable and / or adapter card and / or backplane, and reconnects the replaced high-speed cable and / or adapter card and / or backplane through the central processor.
[0214] Specifically, after locating which component in the server has a problem, if it is a CPU power supply problem, the staff is prompted to cut off the power and replace the CPU or power supply; if it is other components, a command is sent to the complex programmable logic device to shut down the power output of the power regulation module of the device and manually replace the device; after the replacement, the control is reset, and the central processor is notified that a PCIE device has been added. The CPU reconnects to the PCIE device, completes the fault repair, and resumes business operation.
[0215] like Figure 4 As shown, the technical solution of the present application proposes a method for link exception handling. In an import test embodiment of a certain PCIE device (PCIE), a two-way dual-CPU server is equipped with 16 hard disks. During a long-term PCIE stress test, one PCIE device reports an error. It is necessary to quickly analyze and locate the cause of the exception to determine whether it is a problem with the PCIE itself or an abnormality in the server itself.
[0216] At this time, the specific implementation steps of the PCIE link exception handling method are as follows:
[0217] When the baseboard management controller BMC issues an alarm indicating that a PCIE link is abnormal, locate the PCIE terminal device on the link;
[0218] First, the PCIE device is self-checked to detect whether the PCIE device has its own abnormal record at the time when the abnormality occurs;
[0219] If the PCIE device has no abnormal error information, check whether the CPU and power supply have abnormal records at that time point; if the CPU and power supply have abnormal records at that time point, it can be judged that there is no problem with the PCIE device, and the problem lies in the CPU and power supply. The cause of the CPU and power supply problem can be further analyzed;
[0220] If the PCIE device has no abnormal error information, check whether the CPU and power supply have abnormal records at that time point; if the CPU and power supply have no abnormal records at that time point, further analyze the causes of the high-speed cable, adapter card, and backplane problems;
[0221] If the PCIE device has abnormal error information, check whether the CPU and power supply have abnormal records at that time point; if the CPU and power supply have no abnormal records at that time point, it can be determined that the PCIE device has a problem, and the cause of the PCIE device problem can be further analyzed;
[0222] If it is a CPU power problem, the staff will be prompted to cut off the power and replace the CPU or power supply. If it is other components, a command will be sent to the complex programmable logic device to shut down the power output of the power regulation module of the device and replace the device manually. After the replacement, the control is reset and the central processor is notified that a PCIE device has been added. The CPU reconnects to the PCIE device, completes the fault repair, and resumes business operation.
[0223] In addition, the link exception handling method further includes:
[0224] Obtain the status of the PCI Express state machine through the Linux command line tool, and if the link is not in the L0 performance state, the link is abnormal;
[0225] Check the system log and the error register in the PCIe configuration space, record the error log, and confirm the cause of the link abnormality according to the error log, wherein the cause of the link abnormality includes a physical layer problem and a protocol layer problem;
[0226] When link signal quality problems occur, hardware-level tests are performed to determine whether hardware parameters need to be adjusted based on the hardware-level test results. Hardware parameters include signal balance and voltage swing.
[0227] Verifying the compatibility of the configuration system of the PCIe device, wherein the configuration of the PCIe device includes a clock source and a data rate setting; resetting the PCIe controllers at both ends of the faulty link;
[0228] Update all firmware with the latest drivers;
[0229] Step by step, check each PCIe switch and endpoint to detect and handle link anomalies;
[0230] When all software and configuration tests are OK, replace the PCIe card or cable;
[0231] Through the above steps, PCIe link abnormality problems can be systematically located and solved. If the problem is complex or difficult to solve, seeking technical support from the manufacturer is also an important option.
[0232] The method for link exception handling provided in the embodiment of the present application may be further improved and optimized without departing from the technical solution of the present application, and these improvements and optimizations should also be regarded as within the scope of protection of the present application.
[0233] The beneficial effects of the technical solution provided by the embodiment of the present application are:
[0234] The present application solves the problems of difficulty in locating PCIE link abnormalities and low processing efficiency in the prior art; at the same time, it is convenient to replace problematic components and quickly restore the business operations of the server.
[0235] Embodiment 3
[0236] The present application provides a link abnormality processing device, such as Figure 5 As shown, the device includes a receiving module, a judging module, a processing module, and a replacing module.
[0237] In this embodiment, the receiving module is used to receive PCIE link abnormality alarm prompt information;
[0238] A judgment module, used for judging whether an abnormal record appears in the operation log of the PCIE terminal device; in response to the fact that no abnormal record appears in the operation log of the PCIE terminal device, judging whether an abnormal record appears in the central processing unit and the power supply;
[0239] A processing module, configured to locate the cause of the PICE link abnormality as the abnormality of the central processor and / or the power supply in response to the existence of abnormal records of the central processor and the power supply, and process the PICE link abnormality by repairing the central processor and / or the power supply;
[0240] In response to the fact that there is no abnormal record of the central processing unit and the power supply, the cause of the PICE link abnormality is located as abnormality of the high-speed cable and / or the adapter card and / or the backplane, and the PICE link abnormality is handled by repairing the high-speed cable and / or the adapter card and / or the backplane.
[0241] In one of the embodiments, the processing module is used to judge whether there are abnormal records of the central processing unit and the power supply in response to the abnormal record appearing in the operation log of the PCIE terminal device;
[0242] In response to an abnormal record appearing in the operation log of the PCIE terminal device, judging whether there is an abnormal record of the central processing unit and the power supply includes:
[0243] Determine whether there are abnormal records of the central processing unit and the power supply;
[0244] When there is no abnormal record for the central processing unit and the power supply, the cause of the PICE link abnormality is located as the abnormality of the PCIE terminal device, and the PICE link abnormality is processed by repairing the PCIE terminal device;
[0245] When there are abnormal records of the central processing unit and the power supply, the cause of the PICE link abnormality is located as the abnormality of the PCIE terminal device, the central processing unit and the power supply, and the PICE link abnormality is processed by repairing the PCIE terminal device, the central processing unit and the power supply.
[0246] In one of the embodiments, the processing module is used to collect link error information through system logs and hardware monitoring tools;
[0247] Check the status and configuration space of the PCIE terminal device through the device manager;
[0248] Confirm whether the slot and physical connection of the PCIE terminal device are secure;
[0249] According to the state of the link training state machine, the signal equalization setting is adjusted or the firmware or driver of the PCIE terminal device is updated accordingly;
[0250] Updating the driver of the PCIE terminal device to the latest version;
[0251] Check the quality of the cable connecting the PCIE terminal device by using the signal enhancement chip or adjusting the signal line layout;
[0252] Configuring a corresponding error handling callback function for the PCIE terminal device;
[0253] When the repair of the PCIE terminal device fails, the PCIE slot of the PCIE terminal device is replaced.
[0254] In one embodiment, the processing module is used to process the PICE link abnormality by repairing the central processor, including:
[0255] Checking and updating the microcode of the central processing unit;
[0256] confirming whether the power management policy of the central processing unit is correctly configured;
[0257] View system logs and error reports of said CPU;
[0258] Confirm whether the cooling system of the CPU works normally;
[0259] When the repair of the central processor fails, the system is downgraded to the minimum configuration and the PICE link abnormality is processed;
[0260] The PICE link abnormality is processed by repairing the power supply, including:
[0261] Using a multi-channel power supply tester to test whether all output voltages of the power supply are stable and meet the specifications;
[0262] Performing a power supply load test to simulate a high-load operation of the system and detect the state of the power supply under full load or near full load conditions;
[0263] Detecting the firmness of the connection of the power supply cable from the power supply to the PCIE terminal device;
[0264] The power management setting is obtained to determine whether the energy saving mode is turned on, and if so, the energy saving mode of the power supply is turned off.
[0265] In one embodiment, the processing module is used to process the PICE link abnormality by repairing the high-speed cable, including:
[0266] Check whether the high-speed cable has any physical damage and whether the connectors at both ends of the cable are firmly connected to the corresponding interfaces;
[0267] Confirm whether the high-speed cable complies with the PICE link standard;
[0268] Testing the signal quality of the high-speed cable by a signal testing instrument, wherein the signal quality of the high-speed cable includes signal integrity, signal jitter, and signal crosstalk factors;
[0269] Check the routing and termination of the high-speed cable to confirm whether it is close to a strong electromagnetic interference source;
[0270] Adjusting signal parameters of the high-speed cable, wherein the signal parameters include receive equalization and transmit de-emphasis;
[0271] The PICE link abnormality is processed by repairing the adapter card, including:
[0272] Confirming the compatibility between the adapter card and the PCIE terminal device;
[0273] Confirm whether the adapter card has any physical damage and test the firmness of the adapter card in the PICE slot;
[0274] Install the adapter card according to the latest firmware update program;
[0275] When the adapter card is connected to a high-power device, detecting the power supply of the adapter card;
[0276] Adjust the equalizer setting parameters of the adapter card according to the device manual;
[0277] The PICE link abnormality is processed by repairing the backplane, including:
[0278] Disconnect the power supply and determine the physical damage of the PICE slot area of the backplane;
[0279] Clean the dust and dirt inside the PICE slot of the backplane;
[0280] Testing the tightness of the fit between the adapter card and the slot on the backplane;
[0281] Check whether the backplane PICE slot pins are bent or damaged;
[0282] The PICE terminal device is connected to other slots of the same specification on the backplane, and the PICE link abnormality is re-detected and determined.
[0283] In one of the embodiments, the replacement module is used to shut down the power output of the system through the complex programmable logic device when an abnormal record appears in the operation log of the PCIE terminal device, replace the PCIE terminal device, and reconnect the replaced PCIE terminal device through the central processor;
[0284] When the central processing unit and / or power supply has abnormal records, the corresponding central processing unit and / or power supply is replaced;
[0285] When there are abnormal records of the high-speed cable and / or adapter card and / or backplane, the complex programmable logic device shuts down the power output of the system, replaces the corresponding high-speed cable and / or adapter card and / or backplane, and reconnects the replaced high-speed cable and / or adapter card and / or backplane through the central processor.
[0286] Specifically, an embodiment of the present application further provides a PCIE link abnormality processing device, which is used to implement the aforementioned PCIE link abnormality locating method, and the device includes:
[0287] A link information query module, used for querying PCIE device information on the PCIE link when an abnormal alarm occurs on the PCIE link;
[0288] A CPU checking module, used to check whether there is an abnormal record in the CPU when an abnormal alarm occurs in the PCIE link, which affects the entire PCIE link;
[0289] A PCIE device self-check module is used to check whether there is an abnormal record in the PCIE device when an abnormal alarm occurs in the PCIE link, resulting in a PCEI abnormal alarm;
[0290] A BMC abnormal log acquisition module is used to check whether there are abnormal records of CPU, memory, PCIE device, etc. when an abnormal alarm occurs on the PCIE link, resulting in the PCIE abnormal alarm;
[0291] An OS abnormal log acquisition module is used to check whether there are abnormal records of CPU, memory, PCIE device, etc. when an abnormal alarm occurs on the PCIE link, resulting in the PCIE abnormal alarm;
[0292] The link abnormality analysis module is used to determine and generate troubleshooting information based on the information obtained by the CPU inspection module, the PCIE device self-check module, the BMC abnormality log acquisition module, and the OS abnormality log acquisition module;
[0293] The equipment repair and replacement module is used to prompt the staff to cut off the power and replace the CPU or power supply if there is a CPU power supply problem; if it is other components, send instructions to the CPLD to shut down the power output of the power regulation module of the device and manually replace the device; after the replacement, the control is reset to notify the CPU that a PCIE device has been added, and the CPU reconnects to the PCIE device to complete the fault repair and resume business operation.
[0294] The beneficial effects of the technical solution provided by the embodiment of the present application are:
[0295] The present application solves the problems of difficulty in locating PCIE link abnormalities and low processing efficiency in the prior art; at the same time, it is convenient to replace problematic components and quickly restore the business operations of the server.
[0296] Embodiment 4
[0297] The present invention also provides a link abnormality processing device, comprising:
[0298] one or more processors;
[0299] A storage device for storing one or more programs;
[0300] When the one or more programs are executed by the one or more processors, the one or more processors execute the following link abnormality processing method:
[0301] Receive PCIE link abnormality alarm prompt information;
[0302] Determine whether there is any abnormal record in the operation log of the PCIE terminal device;
[0303] In response to the fact that no abnormal record appears in the operation log of the PCIE terminal device, determining whether there is an abnormal record of the central processing unit and the power supply;
[0304] In response to abnormal records of the central processor and the power supply, the cause of the PICE link abnormality is located as abnormality of the central processor and / or the power supply, and the PICE link abnormality is processed by repairing the central processor and / or the power supply;
[0305] In response to the fact that there is no abnormal record of the central processing unit and the power supply, the cause of the PICE link abnormality is located as abnormality of the high-speed cable and / or the adapter card and / or the backplane, and the PICE link abnormality is handled by repairing the high-speed cable and / or the adapter card and / or the backplane.
[0306] The beneficial effects of the technical solution provided by the embodiment of the present application are:
[0307] The present application solves the problems of difficulty in locating PCIE link abnormalities and low processing efficiency in the prior art; at the same time, it is convenient to replace problematic components and quickly restore the business operations of the server.
[0308] Embodiment 5
[0309] The present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following link exception processing method can be executed:
[0310] Receive PCIE link abnormality alarm prompt information;
[0311] Determine whether there is any abnormal record in the operation log of the PCIE terminal device;
[0312] In response to the fact that no abnormal record appears in the operation log of the PCIE terminal device, determining whether there is an abnormal record of the central processing unit and the power supply;
[0313] In response to abnormal records of the central processor and the power supply, the cause of the PICE link abnormality is located as abnormality of the central processor and / or the power supply, and the PICE link abnormality is processed by repairing the central processor and / or the power supply;
[0314] In response to the fact that there is no abnormal record of the central processing unit and the power supply, the cause of the PICE link abnormality is located as abnormality of the high-speed cable and / or the adapter card and / or the backplane, and the PICE link abnormality is handled by repairing the high-speed cable and / or the adapter card and / or the backplane.
[0315] The beneficial effects of the technical solution provided by the embodiment of the present application are:
[0316] The present application solves the problems of difficulty in locating PCIE link abnormalities and low processing efficiency in the prior art; at the same time, it is convenient to replace problematic components and quickly restore the business operations of the server.
[0317] Embodiment 6
[0318] The present application also provides a computer program product, including a computer program, which can implement the following link exception handling method when executed by a processor:
[0319] Receive PCIE link abnormality alarm prompt information;
[0320] Determine whether there is any abnormal record in the operation log of the PCIE terminal device;
[0321] In response to the fact that no abnormal record appears in the operation log of the PCIE terminal device, determining whether there is an abnormal record of the central processing unit and the power supply;
[0322] In response to abnormal records of the central processor and the power supply, the cause of the PICE link abnormality is located as abnormality of the central processor and / or the power supply, and the PICE link abnormality is processed by repairing the central processor and / or the power supply;
[0323] In response to the fact that there is no abnormal record of the central processing unit and the power supply, the cause of the PICE link abnormality is located as abnormality of the high-speed cable and / or the adapter card and / or the backplane, and the PICE link abnormality is handled by repairing the high-speed cable and / or the adapter card and / or the backplane.
[0324] The beneficial effects of the technical solution provided by the embodiment of the present application are:
[0325] The present application solves the problems of difficulty in locating PCIE link abnormalities and low processing efficiency in the prior art; at the same time, it is convenient to replace problematic components and quickly restore the business operations of the server.
[0326] Embodiment 7
[0327] The present application provides a computer storage medium, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:
[0328] Receive PCIE link abnormality alarm prompt information;
[0329] Determine whether there is any abnormal record in the operation log of the PCIE terminal device;
[0330] In response to the fact that no abnormal record appears in the operation log of the PCIE terminal device, determining whether there is an abnormal record of the central processing unit and the power supply;
[0331] In response to abnormal records of the central processor and the power supply, the cause of the PICE link abnormality is located as abnormality of the central processor and / or the power supply, and the PICE link abnormality is processed by repairing the central processor and / or the power supply;
[0332] In response to the fact that there is no abnormal record of the central processing unit and the power supply, the cause of the PICE link abnormality is located as abnormality of the high-speed cable and / or the adapter card and / or the backplane, and the PICE link abnormality is handled by repairing the high-speed cable and / or the adapter card and / or the backplane.
[0333] In one embodiment, the processing of the PICE link abnormality by repairing the central processor and / or the power supply includes:
[0334] The PICE link abnormality is processed by repairing the central processor, including:
[0335] Checking and updating the microcode of the central processing unit;
[0336] confirming whether the power management policy of the central processing unit is correctly configured;
[0337] View system logs and error reports of said CPU;
[0338] Confirm whether the cooling system of the CPU works normally;
[0339] When the repair of the central processor fails, the system is downgraded to the minimum configuration and the PICE link abnormality is processed;
[0340] The PICE link abnormality is processed by repairing the power supply, including:
[0341] Using a multi-channel power supply tester to test whether all output voltages of the power supply are stable and meet the specifications;
[0342] Performing a power supply load test to simulate a high-load operation of the system and detect the state of the power supply under full load or near full load conditions;
[0343] Detecting the firmness of the connection of the power supply cable from the power supply to the PCIE terminal device;
[0344] The power management setting is obtained to determine whether the energy saving mode is turned on, and if so, the energy saving mode of the power supply is turned off.
[0345] In one embodiment, the processing of the PICE link abnormality by repairing the high-speed cable and / or the adapter card and / or the backplane includes:
[0346] The PICE link abnormality is processed by repairing the high-speed cable, including:
[0347] Check whether the high-speed cable has any physical damage and whether the connectors at both ends of the cable are firmly connected to the corresponding interfaces;
[0348] Confirm whether the high-speed cable complies with the PICE link standard;
[0349] Testing the signal quality of the high-speed cable by a signal testing instrument, wherein the signal quality of the high-speed cable includes a signal integrity factor, a signal jitter factor, and a signal crosstalk factor;
[0350] Check the routing and termination of the high-speed cable to confirm whether it is close to a strong electromagnetic interference source;
[0351] Adjusting signal parameters of the high-speed cable, wherein the signal parameters include receiving equalization parameters and transmitting de-emphasis parameters;
[0352] The PICE link abnormality is processed by repairing the adapter card, including:
[0353] Confirming the compatibility between the adapter card and the PCIE terminal device;
[0354] Confirm whether the adapter card has any physical damage and test the firmness of the adapter card in the PICE slot;
[0355] Install the adapter card according to the latest firmware update program;
[0356] When the adapter card is connected to a high-power device, detecting the power supply of the adapter card;
[0357] Adjust the equalizer setting parameters of the adapter card according to the device manual;
[0358] The PICE link abnormality is processed by repairing the backplane, including:
[0359] Disconnect the power supply and determine the physical damage of the PICE slot area of the backplane;
[0360] Clean the dust and dirt inside the PICE slot of the backplane;
[0361] Testing the tightness of the fit between the adapter card and the slot on the backplane;
[0362] Check whether the backplane PICE slot pins are bent or damaged;
[0363] The PICE terminal device is connected to other slots of the same specification on the backplane, and the PICE link abnormality is re-detected and determined.
[0364] In one embodiment, the method comprises:
[0365] In response to an abnormal record appearing in the operation log of the PCIE terminal device, determining whether there is an abnormal record of the central processing unit and the power supply;
[0366] In response to an abnormal record appearing in the operation log of the PCIE terminal device, judging whether there is an abnormal record of the central processing unit and the power supply includes:
[0367] When there is no abnormal record for the central processing unit and the power supply, the cause of the PICE link abnormality is located as the abnormality of the PCIE terminal device, and the PICE link abnormality is processed by repairing the PCIE terminal device.
[0368] In one of the embodiments, in response to an abnormal record appearing in the operation log of the PCIE terminal device, determining whether there is an abnormal record of the central processor and the power supply further includes:
[0369] When there are abnormal records of the central processing unit and the power supply, the cause of the PICE link abnormality is located as the abnormality of the PCIE terminal device, the central processing unit and the power supply, and the PICE link abnormality is processed by repairing the PCIE terminal device, the central processing unit and the power supply.
[0370] In one of the embodiments, the processing of the PICE link abnormality by repairing the PCIE terminal device includes:
[0371] Collect link error information through system logs and hardware monitoring tools;
[0372] Check the status and configuration space of the PCIE terminal device through the device manager;
[0373] Confirm whether the slot and physical connection of the PCIE terminal device are secure;
[0374] According to the state of the link training state machine, the signal equalization setting is adjusted or the firmware or driver of the PCIE terminal device is updated accordingly;
[0375] Updating the driver of the PCIE terminal device to the latest version;
[0376] Check the quality of the cable connecting the PCIE terminal device by using the signal enhancement chip or adjusting the signal line layout;
[0377] Configuring a corresponding error handling callback function for the PCIE terminal device;
[0378] When the repair of the PCIE terminal device fails, the PCIE slot of the PCIE terminal device is replaced.
[0379] In one embodiment, the system further comprises a complex programmable logic device, the output terminal of the power supply is connected to the input terminal of the complex programmable logic device, and the method further comprises:
[0380] When an abnormal record appears in the operation log of the PCIE terminal device, the power output of the system is turned off by the complex programmable logic device, the PCIE terminal device is replaced, and the replaced PCIE terminal device is reconnected by the central processor;
[0381] When the central processing unit and / or power supply has abnormal records, the corresponding central processing unit and / or power supply is replaced;
[0382] When there are abnormal records of the high-speed cable and / or adapter card and / or backplane, the complex programmable logic device shuts down the power output of the system, replaces the corresponding high-speed cable and / or adapter card and / or backplane, and reconnects the replaced high-speed cable and / or adapter card and / or backplane through the central processor.
[0383] The present application solves the problems of difficulty in locating PCIE link abnormalities and low processing efficiency in the prior art; at the same time, it is convenient to replace problematic components and quickly restore the business operations of the server.
[0384] Figure 6 An exemplary system provided for Embodiment 7 of the present application that can be used to implement various embodiments described in the present application;
[0385] like Figure 6As shown, in some embodiments, the system can be used as any of the above-mentioned devices for link abnormality processing in each of the embodiments. In some embodiments, the system may include one or more computer-readable media (e.g., system memory or NVM / storage device) having results and one or more processors (e.g., (one or more) processors) coupled to the one or more computer-readable media and configured to execute the results to implement the module to perform the actions described in the present application.
[0386] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0387] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0388] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A link exception processing method, the method is applied to a link exception processing system, the system includes a central processing unit, a power supply, a PCIE terminal device, a backplane and an adapter card, the output ends of the central processing unit and the power supply are respectively connected to the input ends of the PCIE terminal device, the backplane and the adapter card, It is characterized in that The method comprises: Receive PCIE link abnormality alarm prompt information; Determine whether there is any abnormal record in the operation log of the PCIE terminal device; In response to the fact that no abnormal record appears in the operation log of the PCIE terminal device, determining whether there is an abnormal record of the central processing unit and the power supply; In response to abnormal records of the central processor and the power supply, the cause of the PICE link abnormality is located as abnormality of the central processor and / or the power supply, and the PICE link abnormality is processed by repairing the central processor and / or the power supply; In response to the fact that there is no abnormal record of the central processing unit and the power supply, the cause of the PICE link abnormality is located as abnormality of the high-speed cable and / or the adapter card and / or the backplane, and the PICE link abnormality is handled by repairing the high-speed cable and / or the adapter card and / or the backplane.
2. The link abnormality processing method according to claim 1, It is characterized in that The processing of the PICE link abnormality by repairing the central processor and / or the power supply includes: The PICE link abnormality is processed by repairing the central processor, including: Checking and updating the microcode of the central processing unit; confirming whether the power management policy of the central processing unit is correctly configured; View system logs and error reports of said CPU; Confirm whether the cooling system of the CPU works normally; When the repair of the central processor fails, the system is downgraded to the minimum configuration and the PICE link abnormality is processed; The PICE link abnormality is processed by repairing the power supply, including: Using a multi-channel power supply tester to test whether all output voltages of the power supply are stable and meet the specifications; Performing a power supply load test to simulate a high-load operation of the system and detect the state of the power supply under full load or near full load conditions; Detecting the firmness of the connection of the power supply cable from the power supply to the PCIE terminal device; The power management setting is obtained to determine whether the energy saving mode is turned on, and if so, the energy saving mode of the power supply is turned off.
3. The link abnormality processing method according to claim 1, It is characterized in that The processing of the PICE link abnormality by repairing the high-speed cable and / or the adapter card and / or the backplane includes: The PICE link abnormality is processed by repairing the high-speed cable, including: Check whether the high-speed cable has any physical damage and whether the connectors at both ends of the cable are firmly connected to the corresponding interfaces; Confirm whether the high-speed cable complies with the PICE link standard; Testing the signal quality of the high-speed cable by a signal testing instrument, wherein the signal quality of the high-speed cable includes a signal integrity factor, a signal jitter factor, and a signal crosstalk factor; Check the routing and termination of the high-speed cable to confirm whether it is close to a strong electromagnetic interference source; Adjusting signal parameters of the high-speed cable, wherein the signal parameters include receiving equalization parameters and transmitting de-emphasis parameters; The PICE link abnormality is processed by repairing the adapter card, including: Confirming the compatibility between the adapter card and the PCIE terminal device; Confirm whether the adapter card has any physical damage and test the firmness of the adapter card in the PICE slot; Install the adapter card according to the latest firmware update program; When the adapter card is connected to a high-power device, detecting the power supply of the adapter card; Adjust the equalizer setting parameters of the adapter card according to the device manual; The PICE link abnormality is processed by repairing the backplane, including: Disconnect the power supply and determine the physical damage of the PICE slot area of the backplane; Clean the dust and dirt inside the PICE slot of the backplane; Testing the tightness of the fit between the adapter card and the slot on the backplane; Check whether the backplane PICE slot pins are bent or damaged; The PICE terminal device is connected to other slots of the same specification on the backplane, and the PICE link abnormality is re-detected and determined.
4. The link abnormality processing method according to claim 1, It is characterized in that The method comprises: In response to an abnormal record appearing in the operation log of the PCIE terminal device, determining whether there is an abnormal record of the central processing unit and the power supply; In response to an abnormal record appearing in the operation log of the PCIE terminal device, judging whether there is an abnormal record of the central processing unit and the power supply includes: When there is no abnormal record for the central processing unit and the power supply, the cause of the PICE link abnormality is located as the abnormality of the PCIE terminal device, and the PICE link abnormality is processed by repairing the PCIE terminal device.
5. The link abnormality processing method according to claim 4, It is characterized in that In response to an abnormal record appearing in the operation log of the PCIE terminal device, it is judged whether there is an abnormal record of the central processing unit and the power supply, and it also includes: when the central processing unit and the power supply have abnormal records, the cause of the PICE link abnormality is located as the abnormality of the PCIE terminal device, the central processing unit and the power supply, and the PICE link abnormality is processed by repairing the PCIE terminal device, the central processing unit and the power supply.
6. The link abnormality processing method according to claim 4, It is characterized in that The processing of the PICE link abnormality by repairing the PCIE terminal device includes: Collect link error information through system logs and hardware monitoring tools; Check the status and configuration space of the PCIE terminal device through the device manager; Confirm whether the slot and physical connection of the PCIE terminal device are secure; According to the state of the link training state machine, the signal equalization setting is adjusted or the firmware or driver of the PCIE terminal device is updated accordingly; Updating the driver of the PCIE terminal device to the latest version; Check the quality of the cable connecting the PCIE terminal device by using the signal enhancement chip or adjusting the signal line layout; Configuring a corresponding error handling callback function for the PCIE terminal device; When the repair of the PCIE terminal device fails, the PCIE slot of the PCIE terminal device is replaced.
7. The link abnormality processing method according to claim 1, It is characterized in that The system further includes a complex programmable logic device, the output end of the power supply is connected to the input end of the complex programmable logic device, and the method further includes: When an abnormal record appears in the operation log of the PCIE terminal device, the power output of the system is turned off by the complex programmable logic device, the PCIE terminal device is replaced, and the replaced PCIE terminal device is reconnected by the central processor; When the central processing unit and / or power supply has abnormal records, the corresponding central processing unit and / or power supply is replaced; when the high-speed cable and / or adapter card and / or backplane has abnormal records, the power output of the system is shut down through the complex programmable logic device, the corresponding high-speed cable and / or adapter card and / or backplane is replaced, and the replaced high-speed cable and / or adapter card and / or backplane is reconnected through the central processing unit.
8. A link exception processing device, the device is applied to a link exception processing system, the system includes a central processing unit, a power supply, a PCIE terminal device, a backplane and an adapter card, the output ends of the central processing unit and the power supply are respectively connected to the input ends of the PCIE terminal device, the backplane and the adapter card, It is characterized in that The device comprises: A receiving module is used to receive PCIE link abnormality alarm prompt information; A judgment module, used to judge whether an abnormal record appears in the operation log of the PCIE terminal device; in response to no abnormal record appearing in the operation log of the PCIE terminal device, a judgment is made as to whether an abnormal record appears in the central processing unit and the power supply; a processing module, used to locate the cause of the PICE link abnormality as the abnormality of the central processing unit and / or the power supply in response to the abnormality record of the central processing unit and the power supply, and handle the PICE link abnormality by repairing the central processing unit and / or the power supply; In response to the fact that there is no abnormal record of the central processing unit and the power supply, the cause of the PICE link abnormality is located as abnormality of the high-speed cable and / or the adapter card and / or the backplane, and the PICE link abnormality is handled by repairing the high-speed cable and / or the adapter card and / or the backplane.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the link abnormality processing method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the link abnormality processing method according to any one of claims 1 to 7 are implemented.
