CN100367208C - Method of starting up computer by sequentially selecting memory module - Google Patents

Method of starting up computer by sequentially selecting memory module Download PDF

Info

Publication number
CN100367208C
CN100367208C CNB2004100624340A CN200410062434A CN100367208C CN 100367208 C CN100367208 C CN 100367208C CN B2004100624340 A CNB2004100624340 A CN B2004100624340A CN 200410062434 A CN200410062434 A CN 200410062434A CN 100367208 C CN100367208 C CN 100367208C
Authority
CN
China
Prior art keywords
memory modules
computer
starting
memory
memory module
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.)
Expired - Fee Related
Application number
CNB2004100624340A
Other languages
Chinese (zh)
Other versions
CN1719411A (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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CNB2004100624340A priority Critical patent/CN100367208C/en
Publication of CN1719411A publication Critical patent/CN1719411A/en
Application granted granted Critical
Publication of CN100367208C publication Critical patent/CN100367208C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a method for starting a computer by orderly selecting memory modules used for starting the computer. The parameters of the basic output and input system of the computer are loaded into a first memory module of the memory module to compare whether the parameters stored in the first memory module accord with the initial parameters of the basic output and input system. If compared results are consistent, subsequent starting operation is carried out. Otherwise, the first memory module is marked into a failure memory module, a defective memory module is discarded, and the parameters are loaded into a next first memory module for the comparison of the next first memory module. The comparison is orderly carried out in such a way until a memory module used for starting the computer is found. The computer can not be started only when all the memory modules used for starting the computer are damaged, so that the problem that the computer can not be started when the first memory module is damaged in the traditional starting mode is solved.

Description

The method of selecting capable of starting up memory modules to start shooting in regular turn
Technical field
The present invention relates to a kind of method of start, refer in particular to and a kind ofly can find out the memory modules that to start shooting automatically, with the method for avoiding to start shooting of selecting capable of starting up memory modules to start shooting in regular turn.
Background technology
(Single In-line Memory Module is called for short: SIMM) be the minitype circuit board that contains many group memory chips (Memory Chip) Dual in Line Memory Module (Dual In-line Memory Module is called for short DIMM) with single memory modules in upright arrangement.The configuration format of Dual in Line Memory Module has 72,144 and 168 terminals (pin), the left and right sides edge joint of so-called " two (Dual) " expression golden finger is to different signals, it includes random access memory (Random Access Memory, be called for short RAM) chip, can be described as by two list memory models merging in upright arrangement and form, it also can the single or double manufacturing as single memory modules in upright arrangement.If Dual in Line Memory Module is installed on the motherboard, do not need paired interpolation Dual in Line Memory Module, can mix pairing.For example, you can (Mega Byte, be called for short: Dual in Line Memory Module MB) be installed on the slot on 32MB Dual in Line Memory Module next door with one 64 megabyte.Dual in Line Memory Module is with the difference of single memory modules in upright arrangement, the terminal of the former circuit board both sides, its independent circuits is respectively arranged, and the circuit of the terminal of latter both sides is connected together, anticipate promptly, the terminal of Dual in Line Memory Module both sides respectively has it specifically defined, and make its access path that broad is provided, make its single memory modules in upright arrangement of data rate fast.
With the Dual in Line Memory Module of 168 terminals, be 64 bits (bit) to the access path of its memory chip.If central processing unit (Central Processing Unit, be called for short: bus CPU) (BUS) equally is 64 a access path, just only need do once complete access (Access) action to memory modules, so motherboard (Main Board, or title Mother Board) on, only needs a Dual in Line Memory Module.And also comprise an Erasable Programmable Read Only Memory EPROM (ErasableProgrammable Read-Only Memory in this Dual in Line Memory Module, be called for short: EPROM) for ROM-BIOS (BasicInput Output System, be called for short: BIOS) store various parameters, and, set a chipset (Chip set) and reach optimum condition according to these parameters.On high-order PC or workstation, the Dual in Line Memory Module that uses is then based on 200 pins, 72 ACCESS bus is provided, wherein 64 is data itself, all the other eight as error detection sign indicating number (Error Checking and Correction Code, abbreviation: ECC) use.
And ROM-BIOS is the most basic software in the booting computer startup, when dispatching from the factory for motherboard, with the start various basic parameters or burning program in Flash ROM, meaning is that its basic functions is exactly the basic setting value that is used for remembering computer, and the user also can see through the correlation parameter that ROM-BIOS be set each hardware in power on mode and this computer simultaneously.General computer is when start, and the testing that this ROM-BIOS can be started shooting (Power On Self Test) is to determine the basic configuration of each hardware of computer.For example, during general booting computer, this ROM-BIOS can be carried out three times access test to memory modules and (then only can be done once if be set as after the enabled, the time that can accelerate to start shooting), and then with the various parameters of its storage, be written in the Erasable Programmable Read Only Memory EPROM of this Dual in Line Memory Module, make the software (as: operating system) of follow-up startup, can obtain the configuration setting of each hardware of this computer.
Only, present most computer sees also shown in Figure 1ly, and the various parameters that its ROM-BIOS will store are loaded into the mode of memory modules, are to handle according to following step:
Step 101, memory modules initialization n=0;
Step 102, read the materials for registration of the n position memory modules of this memory modules;
Do you step 103, judge that this n position memory modules exists? if exist, carry out step 101; Otherwise, continue following step 104;
Step 104, the number of n is added 1;
Step 105, judge the n position number whether≤this system supports the maximum memory number of modules? if, carry out step 102; Otherwise, continue following step 106;
Step 106, duplicate ROM-BIOS parameter to the first memory modules;
Step 107, compare stored parameter in this first place memory modules, be consistent with the initial parameter of this ROM-BIOS? if continue following step 108; Otherwise, carry out step 109;
Step 108, utilize the stored parameter of this first place memory modules, carry out follow-up in-cycle work, and then finish;
Step 109, shutdown;
Step 110, the data of this n position memory modules is arranged in the Memory Controller Hub, and then carry out step 104.
Therefore as can be known; if the parameter that this first place memory modules kind is stored and the initial parameter of this ROM-BIOS do not meet; promptly should the first place memory modules can't this ROM-BIOS of normal storage parameter; then this ROM-BIOS will can not be written into its stored various parameters in these memory modules, make this computer finish boot program smoothly, cause computer to shut down; program can't continue to carry out; no picture, and system do not have any prompting character, and very inconvenient.
Because aforementioned known power on mode is when the first memory modules breaks down, the i.e. defective that can't start shooting, the inventor is manufacturing experience and the technology accumulation of being engaged in computer and server according to it, method at the various solutions of the concentrated research of above-mentioned defective, after through constantly research, experiment and improvement, finally development and Design goes out a kind of method of selecting capable of starting up memory modules to start shooting in regular turn of the present invention, to overcome the defective that known technology is derived.
Summary of the invention
The technical problem to be solved in the present invention is: a kind of method of selecting capable of starting up memory modules to start shooting in regular turn is provided, can finding out the memory modules that can start shooting automatically, and exempts the disappearance that can't start shooting.
Technical solution of the present invention is: a kind of method of selecting capable of starting up memory modules to start shooting in regular turn, this method is the various parameters that it is stored of the ROM-BIOS (BIOS) in this computer, before being written into the memory modules of being installed on the memory module slot of motherboard of this computer, earlier these memory modules are detected in regular turn, whether existed to judge described memory modules;
With the various parameters of this ROM-BIOS, be written in these the first memory modules that can use memory modules again;
Then, whether stored parameter in this first place memory modules of comparing again is consistent with the initial parameter of this ROM-BIOS, if comparison result for meeting, then utilizes the stored parameter of this first place memory modules, carries out follow-up in-cycle work;
Otherwise should be denoted as the failure memory module by the first place memory modules, and give up the memory modules of this fault, and these parameters are written in the next bit memory modules, and carry out the comparison of this next bit memory modules, so, constantly compare in regular turn, till finding out the memory modules that to start shooting.
The aforesaid method of selecting capable of starting up memory modules to start shooting in regular turn, wherein when this computer carries out follow-up in-cycle work, this ROM-BIOS can be with the normal information of the memory modules of access, be sent to the set control circuit of motherboard of this computer, make the display of this computer can show an error message picture, make this picture can supply to observe, and as the foundation of keeping in repair this computer.
The aforesaid method of selecting capable of starting up memory modules to start shooting in regular turn, wherein this memory modules can be a pair of memory modules in upright arrangement.
The aforesaid method of selecting capable of starting up memory modules to start shooting in regular turn, wherein this computer can be a PC.
The aforesaid method of selecting capable of starting up memory modules to start shooting in regular turn, wherein this computer can be a server.
The aforesaid method of selecting capable of starting up memory modules to start shooting in regular turn, wherein this memory modules is provided with at least one module, this computer is with " bit0 " expression the 1st memory modules (DIMM#1), with " bit1 " expression the 2nd memory modules (DIMM#2), with " bit (n-1) " expression n position memory modules (DIMM#n), in addition, increase the quality of byte flag record memory modules, being 0 to represent good memory modules with flag value, the memory modules of fault is 1 to represent with flag value then.
The method of selecting capable of starting up memory modules to start shooting in regular turn of the present invention, when the ROM-BIOS of the computer various parameters that it is stored are written into the memory modules of this computer, parameter is written in the first memory modules of these memory modules, comparing, whether stored parameter is consistent with the initial parameter of this ROM-BIOS in this first place memory modules again, if comparison result is for meeting, then carry out follow-up in-cycle work, otherwise should be denoted as the failure memory module by the first place memory modules, and give up the memory modules of this fault, and these parameters are written in the next bit memory modules, carry out the comparison of this next bit memory modules, so, compare in regular turn, till finding out the memory modules that to start shooting.The situation that can't start shooting only when all memory modules that can carry out in-cycle work all damage, just can take place in computer.Therefore, can exempt the situation that traditional power on mode can't be started shooting when the first memory modules breaks down.
Description of drawings
Fig. 1 is the action flow chart of known power on mode.
Fig. 2 is the action flow chart of power on mode of the present invention.
Embodiment
In order to do further understanding and understanding, for the embodiment conjunction with figs., be described in detail as follows now technical scheme of the present invention, shape, constructing apparatus feature and effect thereof:
The present invention is a kind of method of selecting capable of starting up memory modules to start shooting in regular turn, this method is in this computer (as: PC, server ... etc.) ROM-BIOS (BIOS) the various parameters that it is stored, it is preceding to be loaded into the memory modules of being installed on the memory module slot of motherboard of this computer (as: Dual in Line Memory Module), earlier these memory modules are detected in regular turn, to pick out spendable memory modules, again with the various parameters of this ROM-BIOS, be written in these the first memory modules that can use memory modules, and then whether stored parameter is consistent with the initial parameter of this ROM-BIOS in this first place memory modules of comparing, if comparison result is for meeting (representing normally access parameter of this first place memory modules), then utilize the stored parameter of this first place memory modules, carry out follow-up in-cycle work, otherwise should be denoted as the failure memory module by the first place memory modules, and give up the memory modules of this fault, and these parameters are written in the next bit memory modules, and carry out the comparison of this next bit memory modules, so, constantly compare in regular turn, till finding out the memory modules that to start shooting, this computer is only under all can carry out situation that the memory modules of in-cycle work all damages, the situation that can't start shooting just can take place, therefore, can exempt traditional power on mode when the first memory modules breaks down, i.e. situation about can't start shooting.
In the present invention, when this computer carries out follow-up in-cycle work, this ROM-BIOS can be with the normal information of the memory modules of access, be sent to the set control circuit of motherboard of this computer, make the display of this computer can show an error message picture, make this picture be available for users to observe, and as the foundation of keeping in repair this computer.
In the present invention, this memory modules is provided with at least one module (as: being provided with four modules), wherein this computer is with " bit0 " expression the 1st memory modules (DIMM#1), with " bit1 " expression the 2nd memory modules (DIMM#2), with " bit2 " expression the 3rd memory modules (DIMM#3), with " bit3 " expression the 4th memory modules (DIMM#4), with " bit (n-1) " expression n position memory modules (DIMM#n), in addition, the marking mode of this memory modules quality, can utilize the byte flag mode of increasing to represent, is 0 to represent good memory modules with flag value, and the memory modules of fault is 1 to represent with flag value then.(for example: indicate the 1st memory modules when being fault, represent) with bit0 flag value 1,
In one embodiment of this invention, see also shown in Figure 2ly, start shooting when handling when this computer, its ROM-BIOS will be handled according to following step:
Step 201, memory modules initialization n=0;
Step 202, read the materials for registration of the n position memory modules of this memory modules;
Do you step 203, judge that this n position memory modules exists? if exist, carry out step 210; Otherwise, carry out step 204;
Step 204, the number of n is added 1;
Step 205, judge the n position number whether≤this system supports the maximum memory number of modules? if carry out step 202; Otherwise, continue following step 206;
Step 206, duplicate ROM-BIOS parameter to the first memory modules of spendable memory modules;
Step 207, compare stored parameter in this first place memory modules, be consistent with the initial parameter of this ROM-BIOS? if continue following step 208; Otherwise, carry out step 209;
Step 208, the module (flag value is 0) that should the first place memory modules be denoted as, and utilize the stored parameter of this first place memory modules, carry out follow-up in-cycle work, and then finish;
Step 209, should the first place memory modules be denoted as the module (flag value is 1) of fault, the memory modules of this fault is given up in order, and the number that n is set equals 0, and removes the data in the Memory Controller Hub, and then carry out step 202;
Step 210, the data of this n position memory modules is arranged in the Memory Controller Hub, and then carry out step 204.
According to as can be known above-mentioned, method of the present invention can be in a plurality of memory modules of this computer, automatically compare, and find out the memory modules that to start shooting, make the software (as: operating system) of follow-up startup, can obtain the configuration setting of each hardware of this computer, exempt traditional power on mode when the first memory modules breaks down, i.e. situation about can't start shooting.And the present invention and the normal information of the memory modules of access (memory modules that promptly breaks down) can being shown on the display, for the reference that maintenance person is keeped in repair this computer, be convenient incomparably.
Though the present invention discloses with specific embodiment; but it is not in order to limit the present invention; any those skilled in the art under the prerequisite that does not break away from design of the present invention and scope or according to equivalent variations and modification that scope of patent protection of the present invention is done, all should still belong to the category that this patent is contained.

Claims (6)

1. method of selecting capable of starting up memory modules to start shooting in regular turn, this method is in the ROM-BIOS of this computer various parameters that it is stored, before being written into the memory modules of being installed on the memory module slot of motherboard of this computer, earlier these memory modules are detected in regular turn, whether existed to judge described memory modules;
With the various parameters of this ROM-BIOS, be written in the first memory modules of memory modules of these existence;
Compare parameter stored in this first place memory modules and whether be consistent, if comparison result for meeting, then utilizes the stored parameter of this first place memory modules to carry out follow-up in-cycle work with the initial parameter of this ROM-BIOS;
Otherwise, should be denoted as the failure memory module by the first place memory modules, and give up the memory modules of this fault, and these parameters are written in the next bit memory modules, and carry out the comparison of this next bit memory modules, so, constantly compare in regular turn, till finding out the memory modules that to start shooting.
2. the method for selecting capable of starting up memory modules to start shooting in regular turn as claimed in claim 1, it is characterized in that: when this computer carries out follow-up in-cycle work, this ROM-BIOS can be with the normal information of the memory modules of access, be sent to the set control circuit of motherboard of this computer, make the display of this computer can show an error message picture, make this picture can supply to observe, and as the foundation of keeping in repair this computer.
3. the method for selecting capable of starting up memory modules to start shooting in regular turn as claimed in claim 1 is characterized in that: this memory modules can be a pair of memory modules in upright arrangement.
4. the method for selecting capable of starting up memory modules to start shooting in regular turn as claimed in claim 1 is characterized in that: this computer can be a PC.
5. the method for selecting capable of starting up memory modules to start shooting in regular turn as claimed in claim 1 is characterized in that: this computer can be a server.
6. the method for selecting capable of starting up memory modules to start shooting in regular turn as claimed in claim 1, it is characterized in that: this computer is the 1st memory modules, is the 2nd memory modules, is n position memory modules with " bit (n-1) " mark memory modules with " bit1 " mark memory modules with " bit0 " mark memory modules respectively, and increase the quality of a byte flag marker memory modules, being 0 to represent good memory modules with flag value, the failure memory module is 1 to represent with flag value then.
CNB2004100624340A 2004-07-07 2004-07-07 Method of starting up computer by sequentially selecting memory module Expired - Fee Related CN100367208C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100624340A CN100367208C (en) 2004-07-07 2004-07-07 Method of starting up computer by sequentially selecting memory module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100624340A CN100367208C (en) 2004-07-07 2004-07-07 Method of starting up computer by sequentially selecting memory module

Publications (2)

Publication Number Publication Date
CN1719411A CN1719411A (en) 2006-01-11
CN100367208C true CN100367208C (en) 2008-02-06

Family

ID=35931253

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100624340A Expired - Fee Related CN100367208C (en) 2004-07-07 2004-07-07 Method of starting up computer by sequentially selecting memory module

Country Status (1)

Country Link
CN (1) CN100367208C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7162627B2 (en) * 2004-07-28 2007-01-09 Inventec Corporation Method of sequentially selecting bootable memory module for booting
CN101526907B (en) * 2008-03-04 2012-06-20 深圳市爱国者嵌入式系统科技有限公司 Flash memory management method without startup errors of electronic product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001014222A (en) * 1999-06-30 2001-01-19 Toshiba Corp Computer system and method for limiting memory mounting
US6243823B1 (en) * 1998-10-02 2001-06-05 International Business Machines Corporation Method and system for boot-time deconfiguration of a memory in a processing system
US6535992B1 (en) * 1998-12-10 2003-03-18 Mitac International Corp. DRAM auto-swapping device
TW576965B (en) * 2002-10-21 2004-02-21 Inventec Corp Method for automatically switching booting mode

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6243823B1 (en) * 1998-10-02 2001-06-05 International Business Machines Corporation Method and system for boot-time deconfiguration of a memory in a processing system
US6535992B1 (en) * 1998-12-10 2003-03-18 Mitac International Corp. DRAM auto-swapping device
JP2001014222A (en) * 1999-06-30 2001-01-19 Toshiba Corp Computer system and method for limiting memory mounting
TW576965B (en) * 2002-10-21 2004-02-21 Inventec Corp Method for automatically switching booting mode

Also Published As

Publication number Publication date
CN1719411A (en) 2006-01-11

Similar Documents

Publication Publication Date Title
CN112331253B (en) Chip testing method, terminal and storage medium
US20230195569A1 (en) Solid state disk access method and apparatus, device, and medium
CN101634960A (en) Method for revising BIOS parameter and regenerating checksum
CN106547653B (en) Computer system fault state detection method, device and system
TW201503147A (en) On-line memory testing systems and methods
US20070220228A1 (en) Computer memory configuration inspection method and system
US20050081090A1 (en) Method for automatically and safely recovering BIOS memory circuit in memory device including double BIOS memory circuits
US9552287B2 (en) Data management method, memory controller and embedded memory storage apparatus using the same
CN111124775A (en) Power-on time sequence abnormality detection method and device, MCU and storage medium
CN111104246B (en) Method, device, computer equipment and storage medium for improving verification efficiency of error detection and correction of DRAM
CN103593281A (en) Test system and test method
CN102479148A (en) System and method for monitoring input/output port state of peripheral element
CN111653307A (en) Method, system, equipment and storage medium for detecting data integrity of solid state disk
US8006028B2 (en) Enabling memory module slots in a computing system after a repair action
TWI534707B (en) Computer system, shutdown and boot method thereof
CN112542199A (en) Method, circuit, storage medium and terminal for detecting flash storage error
CN102915209B (en) Storage control chip, storage equipment and system data writing method
CN101241769A (en) A repairable semiconductor memory device and method of repairing the same
US20090306954A1 (en) Method for automatically simulating manual testing of a computer, and testing system for performing the method
US20060206764A1 (en) Memory reliability detection system and method
CN104750600A (en) Equipment state recording method and equipment state recording system
CN114138527A (en) Method, device and medium for improving performance of server
CN100367208C (en) Method of starting up computer by sequentially selecting memory module
CN103823725A (en) Debugging device and debugging method
CN102255208A (en) Riser card

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080206

Termination date: 20180707

CF01 Termination of patent right due to non-payment of annual fee