The application discloses a kind of
server loading PCIE card
Option ROM fault-tolerant mechanism control method, device and medium, method includes: entering PCI
bus to the enumeration detection link of PCIE card to be measured;If the
configuration space information of current enumeration PCIE card is different from the content of PCIE card link table, the
Option Rom program of current PCIE card is loaded into memory, and generates EFI_IMAGE_
HANDLE information, records the
configuration space information of current PCIE card
Option ROM program in memory by EFI_IMAGE_
HANDLE information;According to the
configuration space information of current enumeration PCIE card, new node is constructed and is inserted into PCIE card link table, and PCIE card hardware initialization is executed;Check the execution state of the
Option Rom program of current PCIE card, if the
Option Rom program of PCIE card is normally executed, delete the
relevant information of current PCIE card stored in nonvolatile
storage area, skip the detection of current PCIE card, and continue to enumerate next PCIE card to be measured.The application effectively avoids repeated loading, can quickly skip abnormal PCIE card, and
record relevant log information, improve the overall performance and reliability of
server.