CN114253750B - Method, device, equipment and readable medium for avoiding disorder of hard disk backboard - Google Patents

Method, device, equipment and readable medium for avoiding disorder of hard disk backboard Download PDF

Info

Publication number
CN114253750B
CN114253750B CN202111391769.7A CN202111391769A CN114253750B CN 114253750 B CN114253750 B CN 114253750B CN 202111391769 A CN202111391769 A CN 202111391769A CN 114253750 B CN114253750 B CN 114253750B
Authority
CN
China
Prior art keywords
hard disk
firmware
disk backboard
backboard
initializing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111391769.7A
Other languages
Chinese (zh)
Other versions
CN114253750A (en
Inventor
尤信富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111391769.7A priority Critical patent/CN114253750B/en
Publication of CN114253750A publication Critical patent/CN114253750A/en
Application granted granted Critical
Publication of CN114253750B publication Critical patent/CN114253750B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/004Error avoidance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method, a device, equipment and a readable medium for avoiding disorder of a hard disk backboard, wherein the method comprises the following steps: inquiring the position of a hard disk backboard connected to the RAID card, and setting the identification sequence of the hard disk backboard according to the position of the hard disk backboard; adding a firmware code of a hard disk backboard extension chip into an extension chip source code and setting a condition for initializing firmware; in response to the completion of power-on of the hard disk backboard, initializing firmware of the hard disk backboard where the first sequence is located in the identification sequence; and responding to the completion of the firmware initialization of the hard disk backboard, initializing the firmware of the next hard disk backboard in the identification sequence, and repeating the current steps until the firmware initialization of all the hard disk backboard is completed. By using the scheme of the invention, the problem of disorder in the identification of the hard disk backboard can be solved, and the time cost and the labor cost can be saved.

Description

Method, device, equipment and readable medium for avoiding disorder of hard disk backboard
Technical Field
The present invention relates to the field of computers, and more particularly, to a method, apparatus, device, and readable medium for avoiding disorder of a hard disk back plate.
Background
If the hard disk backboard of the front window of the server case is a hard disk backboard designed by 2 hard disk backboard with Expander (expansion) chips and is matched with a single RAID card of 8i, the phenomenon that the hard disk ordering of backboard 1 and backboard 2 is opposite occurs probabilistically, once the hard disk is fixed after ordering is completed under the system, the hard disk cannot return any more, and the correct hard disk ordering can be guided back by switching 2 backboard by manual mode and then electrifying again, for example: the single 8i RAID card has 2 output ports (ports) which are respectively port 0 and port1, and mainly provides uplink bandwidth links for the hard disk backboard with an expander chip, if the expander chip hard disk backboard is a 12-port hard disk and a 24-port hard disk configuration is needed in the front window of a server, then the combination of 2 hard disk backboard with the expander chip is needed to be integrated into a 24-port hard disk, because the single 8i RAID card is only used, the port 0 and the port1 are respectively connected to the same 2 hard disk backboard with the expander chip, the front window of the server is divided into an upper layer and a lower layer, the port 0 of the 8i RAID card in the system is the 12-port hard disk backboard with the expander chip connected to the upper layer, the port1 is the 12-port hard disk backboard with the expander chip connected to the lower layer, the hard disk sequence recognized under the normal system is the HDD 0-HDD 11, and the lower layer is the HDD 12-23. However, the priority order of port 0 and port1 is not set in the design of the single 8i RAID card, but the arrangement order of the access IDs is obtained according to the RAID card and the 2 hard disk backplanes of the Expander, because the port 0 and the port1 of the 8i RAID card are connected with the backplanes of the same design of 2 blocks, if the port1 of the RAID card preferentially recognizes the 2 nd hard disk backplane and then recognizes the 1 st hard disk backplane, the RIAD card and the 2 nd hard disk backplanes complete the establishment of the access list and record the access list in the FRU ROM of the RAID, and the access of the hard disk under the OS is fixed and can not be changed after the system is started every time.
Disclosure of Invention
In view of the above, an object of the embodiments of the present invention is to provide a method, apparatus, device and readable medium for avoiding disorder of a hard disk back plate, which can solve the problem of recognizing disorder of a hard disk back plate by using the technical scheme of the present invention, and can save time cost and labor cost.
Based on the above objects, an aspect of the embodiments of the present invention provides a method for avoiding disorder of a hard disk back plate, including the following steps:
inquiring the position of a hard disk backboard connected to the RAID card, and setting the identification sequence of the hard disk backboard according to the position of the hard disk backboard;
adding a firmware code of a hard disk backboard extension chip into an extension chip source code and setting a condition for initializing firmware;
in response to the completion of power-on of the hard disk backboard, initializing firmware of the hard disk backboard where the first sequence is located in the identification sequence;
and responding to the completion of the firmware initialization of the hard disk backboard, initializing the firmware of the next hard disk backboard in the identification sequence, and repeating the current steps until the firmware initialization of all the hard disk backboard is completed.
According to one embodiment of the present invention, querying a location of a hard disk backplane connected to a RAID card and setting an identification order of the hard disk backplane according to the location of the hard disk backplane comprises:
the BMC inquires the positions of two hard disk backboard connected to the RAID card through the I2C bus;
the upper hard disk back plate is set to a first recognition order, and the lower hard disk back plate is set to a second recognition order.
According to one embodiment of the present invention, adding firmware code of a hard disk back plate extension chip to extension chip source code and setting conditions for initializing firmware includes:
adding a firmware code of the hard disk backboard extension chip into an extension chip source code;
and setting the condition for initializing the firmware to the condition that the hard disk backboard is powered on to finish the initialization of the non-execution firmware.
According to one embodiment of the present invention, in response to the power-up of the hard disk back plate being completed, initializing firmware of the hard disk back plate where the first sequence in the identification sequence is located includes:
detecting whether the hard disk backboard is in a state of waiting to be executed by initializing firmware or not in response to the completion of powering up of the hard disk backboard;
and initializing the firmware on the hard disk backboard in the first identification sequence in response to the hard disk backboard being in the firmware initialization waiting execution state.
In another aspect of the embodiment of the present invention, there is also provided an apparatus for avoiding disorder of a hard disk back plate, where the apparatus includes:
the inquiry module is configured to inquire the position of the hard disk backboard connected to the RAID card and set the identification sequence of the hard disk backboard according to the position of the hard disk backboard;
the setting module is configured to add the firmware code of the hard disk backboard extension chip into the source code of the extension chip and set the condition for initializing the firmware;
the first initialization module is configured to initialize firmware of the hard disk backboard where the first sequence is located in the identification sequence in response to the completion of power-on of the hard disk backboard;
and the second initialization module responds to the completion of the firmware initialization of the hard disk backboard, initializes the firmware of the next hard disk backboard in the identification sequence, and repeats the current steps until the firmware initialization of all the hard disk backboard is completed.
According to one embodiment of the invention, the query module is further configured to:
the BMC inquires the positions of two hard disk backboard connected to the RAID card through the I2C bus;
the upper hard disk back plate is set to a first recognition order, and the lower hard disk back plate is set to a second recognition order.
According to one embodiment of the invention, the setup module is further configured to:
adding a firmware code of the hard disk backboard extension chip into an extension chip source code;
and setting the condition for initializing the firmware to the condition that the hard disk backboard is powered on to finish the initialization of the non-execution firmware.
According to one embodiment of the invention, the first initialization module is further configured to:
detecting whether the hard disk backboard is in a state of waiting to be executed by initializing firmware or not in response to the completion of powering up of the hard disk backboard;
and initializing the firmware on the hard disk backboard in the first identification sequence in response to the hard disk backboard being in the firmware initialization waiting execution state.
In another aspect of the embodiments of the present invention, there is also provided a computer apparatus including:
at least one processor; and
and a memory storing computer instructions executable on the processor, the instructions when executed by the processor performing the steps of any of the methods described above.
In another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of any of the methods described above.
The invention has the following beneficial technical effects: according to the method for avoiding disorder of the hard disk backboard, the position of the hard disk backboard connected to the RAID card is inquired, and the identification sequence of the hard disk backboard is set according to the position of the hard disk backboard; adding a firmware code of a hard disk backboard extension chip into an extension chip source code and setting a condition for initializing firmware; in response to the completion of power-on of the hard disk backboard, initializing firmware of the hard disk backboard where the first sequence is located in the identification sequence; and responding to the completion of the firmware initialization of the hard disk backboard, initializing the firmware of the next hard disk backboard in the identification sequence, and repeating the current steps until the firmware initialization of all the hard disk backboard is completed.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are necessary for the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention and that other embodiments may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a method for avoiding out-of-order hard disk backplates according to one embodiment of the present invention;
FIG. 2 is a schematic diagram of an apparatus for avoiding disorder of a hard disk back plate according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a computer device according to one embodiment of the invention;
fig. 4 is a schematic diagram of a computer-readable storage medium according to one embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention will be described in further detail with reference to the accompanying drawings.
Based on the above object, a first aspect of the embodiments of the present invention proposes an embodiment of a method for avoiding disorder of a hard disk back plate. Fig. 1 shows a schematic flow chart of the method.
As shown in fig. 1, the method may include the steps of:
s1, inquiring the position of a hard disk backboard connected to the RAID card, and setting the identification sequence of the hard disk backboard according to the position of the hard disk backboard.
S2, adding the firmware code of the hard disk backboard extension chip into the source code of the extension chip and setting the condition for initializing the firmware.
And S3, responding to the completion of the power-on of the hard disk backboard, and initializing the firmware of the hard disk backboard where the first sequence is located in the identification sequence.
S4, responding to the completion of the firmware initialization of the hard disk backboard, initializing the firmware of the next hard disk backboard in the identification sequence, and repeating the current steps until the firmware initialization of all the hard disk backboard is completed.
When an 8i PCIe RAID card is inserted into a PCIe card slot on a server main board, 2 output ports 0 and 1 are shared, 2 SAS x4 signal bandwidths can be provided for uplink interface connection of two 12-port expander hard disk backplates, 12 SAS/SATA hard disks are expanded by expander chips on the hard disk backplates, the arranged disk sequence of the two hard disk backplates is 0-11 in the upper layer, and the lower layer is 12-23. The BMC chip is communicated with the PCIe RAID card through the I2C bus to read the information about the Expander chip on the RIAD card and the downstream Expander hard disk backboard, and the information can be used for inquiring the unclosed ID under the Expander chip and distinguishing the disk sequence of the 1 st or 2 nd Expander hard disk backboard.
The invention is mainly used for the condition that a single 8I RAID card is connected with two Expander hard disk backplanes, and also can be used for the condition that a plurality of RAID cards are connected with a plurality of Expander hard disk backplanes, and the invention is mainly described in the first condition, firstly, the I2C bus of the BMC is connected with the I2C buses on the Expander chips of the two backplanes, so that the BMC can inquire the two backplanes through the I2C buses and know which block is connected to the upper layer and which block is connected to the lower layer, the FW code (stored in the flash) can be modified through the Expander SDK software, the FW code communicated between the BMC and the Expander chips is added into the source code (Expander source code) of the Expander chips, and the operation of initializing the firmware is stopped when the power-up is completed, and the firmware code can be initialized after the BMC is required to inform the Expander through the I2C bus issuing instruction. After the two hard disk backplates are powered up under the system, the firmware codes in the NOR flash are loaded first and the modified firmware codes are executed, after the instruction issued by the BMC is received, the initialization firmware is continuously executed to complete the subsequent mechanism of the Expander chip, the BMC can inquire whether the identification program of the unclosed list of the RAID card and the first hard disk backplate is completed or not, if so, the BMC can issue the instruction again to the 2 nd hard disk backplate to inform the Expander chip of initializing the firmware, and the operation can avoid the problem that the 2 nd hard disk backplate with the same design cannot control the acquisition sequence from the RAID card and the Expander chip and can control which priority is identified for the RAID card port 0 and the port 1.
By the technical scheme, the problem of disorder in the identification of the hard disk backboard can be solved, and time cost and labor cost can be saved.
In a preferred embodiment of the present invention, querying the location of the hard disk backplane connected to the RAID card and setting the identification order of the hard disk backplane according to the location of the hard disk backplane comprises:
the BMC inquires the positions of two hard disk backboard connected to the RAID card through the I2C bus;
the upper hard disk back plate is set to a first recognition order, and the lower hard disk back plate is set to a second recognition order.
In a preferred embodiment of the present invention, adding the firmware code of the hard disk back plate extension chip to the extension chip source code and setting the condition for initializing the firmware includes:
adding a firmware code of the hard disk backboard extension chip into an extension chip source code;
and setting the condition for initializing the firmware to the condition that the hard disk backboard is powered on to finish the initialization of the non-execution firmware.
The Expander FW settings on the two backplates are stored in the NOR flash attached and mounted under the Expander chip, firmware can be modified through Expander SDK software to add the FW code communicated between the BMC and the Expander chip into Expander source code, the operation of initializing the firmware is stopped when the power-on is set, and the operation of initializing the firmware can be continued after waiting for the BMC to send a command to notify the Expander through the I2C bus. After the modified Expander FW codes are respectively updated to the NOR flash of the two Expander hard disk backplanes, the Expander hard disk backplanes can be unloaded into firmware attached to the NOR flash after the system is powered on each time, and after the two Expander hard disk backplanes are powered on, the BMC issuing instruction can be waited to be received.
In a preferred embodiment of the present invention, in response to the hard disk backplate powering up being completed, initializing firmware of the hard disk backplate in which the first sequence of the identification sequences is located comprises:
detecting whether the hard disk backboard is in a state of waiting to be executed by initializing firmware or not in response to the completion of powering up of the hard disk backboard;
and initializing the firmware on the hard disk backboard in the first identification sequence in response to the hard disk backboard being in the firmware initialization waiting execution state.
The invention solves the problem that when a single PCIe 8i RAID card is used for tie-through configuration and output port 0 and port1 are respectively connected to two hard disk backplates with expanders, the backplates under the connection port1 are preferentially identified to the hard disk, the problem that the probability is generated can be solved without correcting through manual maintenance action, and meanwhile, the operation that after the system is configured, a part of system enters under an OS to check whether the sequence of the hard disk is inconsistent with that of the BIOS is also omitted, so that the problem that the sequence of the hard disk is opposite is solved, and meanwhile, a lot of manpower and maintenance time are saved in production test.
It should be noted that, it will be understood by those skilled in the art that all or part of the procedures in implementing the methods of the above embodiments may be implemented by a computer program to instruct related hardware, and the above program may be stored in a computer readable storage medium, and the program may include the procedures of the embodiments of the above methods when executed. Wherein the storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like. The computer program embodiments described above may achieve the same or similar effects as any of the method embodiments described above.
Furthermore, the method disclosed according to the embodiment of the present invention may also be implemented as a computer program executed by a CPU, which may be stored in a computer-readable storage medium. When executed by a CPU, performs the functions defined above in the methods disclosed in the embodiments of the present invention.
In view of the above object, a second aspect of the embodiments of the present invention provides an apparatus for avoiding disorder of a hard disk backplate, as shown in fig. 2, an apparatus 200 includes:
the inquiry module is configured to inquire the position of the hard disk backboard connected to the RAID card and set the identification sequence of the hard disk backboard according to the position of the hard disk backboard;
the setting module is configured to add the firmware code of the hard disk backboard extension chip into the source code of the extension chip and set the condition for initializing the firmware;
the first initialization module is configured to initialize firmware of the hard disk backboard where the first sequence is located in the identification sequence in response to the completion of power-on of the hard disk backboard;
and the second initialization module responds to the completion of the firmware initialization of the hard disk backboard, initializes the firmware of the next hard disk backboard in the identification sequence, and repeats the current steps until the firmware initialization of all the hard disk backboard is completed.
In a preferred embodiment of the invention, the query module is further configured to:
the BMC inquires the positions of two hard disk backboard connected to the RAID card through the I2C bus;
the upper hard disk back plate is set to a first recognition order, and the lower hard disk back plate is set to a second recognition order.
In a preferred embodiment of the invention, the setup module is further configured to:
adding a firmware code of the hard disk backboard extension chip into an extension chip source code;
and setting the condition for initializing the firmware to the condition that the hard disk backboard is powered on to finish the initialization of the non-execution firmware.
In a preferred embodiment of the invention, the first initialization module is further configured to:
detecting whether the hard disk backboard is in a state of waiting to be executed by initializing firmware or not in response to the completion of powering up of the hard disk backboard;
and initializing the firmware on the hard disk backboard in the first identification sequence in response to the hard disk backboard being in the firmware initialization waiting execution state.
Based on the above object, a third aspect of the embodiments of the present invention proposes a computer device. Fig. 3 is a schematic diagram of an embodiment of a computer device provided by the present invention. As shown in fig. 3, an embodiment of the present invention includes the following means: at least one processor 21; and a memory 22, the memory 22 storing computer instructions 23 executable on the processor, the instructions when executed by the processor performing the method of:
inquiring the position of a hard disk backboard connected to the RAID card, and setting the identification sequence of the hard disk backboard according to the position of the hard disk backboard;
adding a firmware code of a hard disk backboard extension chip into an extension chip source code and setting a condition for initializing firmware;
in response to the completion of power-on of the hard disk backboard, initializing firmware of the hard disk backboard where the first sequence is located in the identification sequence;
and responding to the completion of the firmware initialization of the hard disk backboard, initializing the firmware of the next hard disk backboard in the identification sequence, and repeating the current steps until the firmware initialization of all the hard disk backboard is completed.
In a preferred embodiment of the present invention, querying the location of the hard disk backplane connected to the RAID card and setting the identification order of the hard disk backplane according to the location of the hard disk backplane comprises:
the BMC inquires the positions of two hard disk backboard connected to the RAID card through the I2C bus;
the upper hard disk back plate is set to a first recognition order, and the lower hard disk back plate is set to a second recognition order.
In a preferred embodiment of the present invention, adding the firmware code of the hard disk back plate extension chip to the extension chip source code and setting the condition for initializing the firmware includes:
adding a firmware code of the hard disk backboard extension chip into an extension chip source code;
and setting the condition for initializing the firmware to the condition that the hard disk backboard is powered on to finish the initialization of the non-execution firmware.
In a preferred embodiment of the present invention, in response to the hard disk backplate powering up being completed, initializing firmware of the hard disk backplate in which the first sequence of the identification sequences is located comprises:
detecting whether the hard disk backboard is in a state of waiting to be executed by initializing firmware or not in response to the completion of powering up of the hard disk backboard;
and initializing the firmware on the hard disk backboard in the first identification sequence in response to the hard disk backboard being in the firmware initialization waiting execution state.
Based on the above object, a fourth aspect of the embodiments of the present invention proposes a computer-readable storage medium. Fig. 4 is a schematic diagram of an embodiment of a computer-readable storage medium provided by the present invention. As shown in fig. 4, the computer-readable storage medium 31 stores a computer program 32 that, when executed by a processor, performs the following method:
inquiring the position of a hard disk backboard connected to the RAID card, and setting the identification sequence of the hard disk backboard according to the position of the hard disk backboard;
adding a firmware code of a hard disk backboard extension chip into an extension chip source code and setting a condition for initializing firmware;
in response to the completion of power-on of the hard disk backboard, initializing firmware of the hard disk backboard where the first sequence is located in the identification sequence;
and responding to the completion of the firmware initialization of the hard disk backboard, initializing the firmware of the next hard disk backboard in the identification sequence, and repeating the current steps until the firmware initialization of all the hard disk backboard is completed.
In a preferred embodiment of the present invention, querying the location of the hard disk backplane connected to the RAID card and setting the identification order of the hard disk backplane according to the location of the hard disk backplane comprises:
the BMC inquires the positions of two hard disk backboard connected to the RAID card through the I2C bus;
the upper hard disk back plate is set to a first recognition order, and the lower hard disk back plate is set to a second recognition order.
In a preferred embodiment of the present invention, adding the firmware code of the hard disk back plate extension chip to the extension chip source code and setting the condition for initializing the firmware includes:
adding a firmware code of the hard disk backboard extension chip into an extension chip source code;
and setting the condition for initializing the firmware to the condition that the hard disk backboard is powered on to finish the initialization of the non-execution firmware.
In a preferred embodiment of the present invention, in response to the hard disk backplate powering up being completed, initializing firmware of the hard disk backplate in which the first sequence of the identification sequences is located comprises:
detecting whether the hard disk backboard is in a state of waiting to be executed by initializing firmware or not in response to the completion of powering up of the hard disk backboard;
and initializing the firmware on the hard disk backboard in the first identification sequence in response to the hard disk backboard being in the firmware initialization waiting execution state.
Furthermore, the method disclosed according to the embodiment of the present invention may also be implemented as a computer program executed by a processor, which may be stored in a computer-readable storage medium. The above-described functions defined in the methods disclosed in the embodiments of the present invention are performed when the computer program is executed by a processor.
Furthermore, the above-described method steps and system units may also be implemented using a controller and a computer-readable storage medium storing a computer program for causing the controller to implement the above-described steps or unit functions.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general purpose or special purpose computer or general purpose or special purpose processor. Further, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that as used herein, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The foregoing embodiment of the present invention has been disclosed with reference to the number of embodiments for the purpose of description only, and does not represent the advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, and the program may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will appreciate that: the above discussion of any embodiment is merely exemplary and is not intended to imply that the scope of the disclosure of embodiments of the invention, including the claims, is limited to such examples; combinations of features of the above embodiments or in different embodiments are also possible within the idea of an embodiment of the invention, and many other variations of the different aspects of the embodiments of the invention as described above exist, which are not provided in detail for the sake of brevity. Therefore, any omission, modification, equivalent replacement, improvement, etc. of the embodiments should be included in the protection scope of the embodiments of the present invention.

Claims (4)

1. The method for avoiding disorder of the hard disk backboard is characterized by comprising the following steps:
inquiring the position of a hard disk backboard connected to the RAID card, and setting the identification sequence of the hard disk backboard according to the position of the hard disk backboard;
adding a firmware code of a hard disk backboard extension chip into an extension chip source code and setting a condition for initializing firmware;
initializing firmware of the hard disk backboard where the first sequence is located in the identification sequence in response to the completion of powering up of the hard disk backboard;
in response to completion of firmware initialization of the hard disk back plate, initializing firmware of the next hard disk back plate in the identification sequence, repeating the current steps until completion of firmware initialization of all the hard disk back plates,
querying the position of the hard disk backboard connected to the RAID card, and setting the identification sequence of the hard disk backboard according to the position of the hard disk backboard comprises the following steps:
the BMC inquires the positions of two hard disk backboard connected to the RAID card through the I2C bus;
setting the upper hard disk back plate as a first recognition order, and setting the lower hard disk back plate as a second recognition order,
adding the firmware code of the hard disk backboard extension chip into the extension chip source code and setting the condition for initializing the firmware comprises the following steps:
adding a firmware code of the hard disk backboard extension chip into an extension chip source code;
the condition for initializing the firmware is set to the condition that the hard disk backboard is powered up to finish the initialization of the non-execution firmware,
in response to the completion of powering up the hard disk back plate, initializing firmware of the hard disk back plate where the first sequence in the identification sequence is located includes:
detecting whether the hard disk backboard is in a state of waiting to be executed by initializing firmware or not in response to the completion of powering up of the hard disk backboard;
and initializing the firmware on the hard disk backboard of the first identification sequence in response to the hard disk backboard being in an initialization firmware waiting execution state.
2. An apparatus for avoiding disorder of a hard disk back plate, the apparatus comprising:
the inquiry module is configured to inquire the position of the hard disk backboard connected to the RAID card and set the identification sequence of the hard disk backboard according to the position of the hard disk backboard;
the setting module is configured to add the firmware code of the hard disk backboard extension chip into the source code of the extension chip and set the condition for initializing the firmware;
the first initialization module is configured to initialize firmware of the hard disk backboard where the first sequence is located in the identification sequence in response to the completion of power-on of the hard disk backboard;
a second initialization module, which responds to the completion of the firmware initialization of the hard disk backboard, initializes the firmware of the next hard disk backboard in the identification sequence, repeats the current steps until the firmware initialization of all the hard disk backboard is completed,
the query module is further configured to:
the BMC inquires the positions of two hard disk backboard connected to the RAID card through the I2C bus;
setting the upper hard disk back plate as a first recognition order, and setting the lower hard disk back plate as a second recognition order,
the setup module is further configured to:
adding a firmware code of the hard disk backboard extension chip into an extension chip source code;
the condition for initializing the firmware is set to the condition that the hard disk backboard is powered up to finish the initialization of the non-execution firmware,
the first initialization module is further configured to:
detecting whether the hard disk backboard is in a state of waiting to be executed by initializing firmware or not in response to the completion of powering up of the hard disk backboard;
and initializing the firmware on the hard disk backboard of the first identification sequence in response to the hard disk backboard being in an initialization firmware waiting execution state.
3. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, which when executed by the processor, perform the steps of the method of claim 1.
4. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method of claim 1.
CN202111391769.7A 2021-11-19 2021-11-19 Method, device, equipment and readable medium for avoiding disorder of hard disk backboard Active CN114253750B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111391769.7A CN114253750B (en) 2021-11-19 2021-11-19 Method, device, equipment and readable medium for avoiding disorder of hard disk backboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111391769.7A CN114253750B (en) 2021-11-19 2021-11-19 Method, device, equipment and readable medium for avoiding disorder of hard disk backboard

Publications (2)

Publication Number Publication Date
CN114253750A CN114253750A (en) 2022-03-29
CN114253750B true CN114253750B (en) 2024-01-09

Family

ID=80791044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111391769.7A Active CN114253750B (en) 2021-11-19 2021-11-19 Method, device, equipment and readable medium for avoiding disorder of hard disk backboard

Country Status (1)

Country Link
CN (1) CN114253750B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192195A (en) * 2006-11-22 2008-06-04 北京华旗资讯数码科技有限公司 Packet management method for electronic hard disk memory space
CN106815154A (en) * 2017-01-16 2017-06-09 联想(北京)有限公司 A kind of method and device of the mark for recognizing hard disk
CN109446000A (en) * 2018-10-08 2019-03-08 郑州云海信息技术有限公司 The recognition methods of hard disk sequence, device, terminal and storage medium under more hard disk backboards
CN113360437A (en) * 2021-04-21 2021-09-07 山东英信计算机技术有限公司 Disk sequence adjusting device, method, equipment and storage medium of hard disk

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192195A (en) * 2006-11-22 2008-06-04 北京华旗资讯数码科技有限公司 Packet management method for electronic hard disk memory space
CN106815154A (en) * 2017-01-16 2017-06-09 联想(北京)有限公司 A kind of method and device of the mark for recognizing hard disk
CN109446000A (en) * 2018-10-08 2019-03-08 郑州云海信息技术有限公司 The recognition methods of hard disk sequence, device, terminal and storage medium under more hard disk backboards
CN113360437A (en) * 2021-04-21 2021-09-07 山东英信计算机技术有限公司 Disk sequence adjusting device, method, equipment and storage medium of hard disk

Also Published As

Publication number Publication date
CN114253750A (en) 2022-03-29

Similar Documents

Publication Publication Date Title
US9734093B2 (en) Management of secured storage devices in an information handling system
US11126583B2 (en) Multi-mode NMVe over fabrics devices
CN110502462B (en) OCP adapter card and server
US20080034122A1 (en) Apparatus and Method to Detect Miscabling in a Storage Area Network
WO2017190578A1 (en) Hard disk data wiping method, server and system
CN111666111B (en) Multi-node storage system and firmware updating method thereof
EP3062216A1 (en) Network bios management
CN105955911B (en) Hot plug control circuit and control method thereof
US8015434B2 (en) Management apparatus, storage system, and storage apparatus management method
CN114143194B (en) Method, device, equipment and medium for initializing intelligent network card by server
CN114253750B (en) Method, device, equipment and readable medium for avoiding disorder of hard disk backboard
CN111309553B (en) Method, system, equipment and medium for monitoring storage Jbod
TWI468931B (en) Disc allocation method and electronic apparatus
CN111447121A (en) Test method, device, equipment and storage medium of PCIE controller
CN114020681B (en) Method, device and system for distributing logical drive letter, electronic equipment and storage medium
CN113609037B (en) UVM-based GPIO module verification method, device, equipment and readable medium
CN115543750A (en) Method, device, equipment and medium for asset information function processing of PCIE (peripheral component interface express) equipment
CN110781042B (en) Method, device and medium for detecting UBM (Universal boot Module) backboard based on BMC (baseboard management controller)
CN102082715A (en) Testing method of network interface card reset
CN113867812A (en) Method, system, equipment and medium for BMC to acquire link information
CN106681857A (en) Product data backup/ recovery method
CN112527345A (en) Method, device and equipment for online upgrading of CPLD (complex programmable logic device) of expansion cabinet and readable medium
CN107450846B (en) Storage device, storage system and method for reordering start reports
US9785446B2 (en) Efficient boot from a connected device
US20240012743A1 (en) Automation test accelerator

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant