CN101105764B - Computer element fault-detecting method before prosecution of computer operation system and module - Google Patents
Computer element fault-detecting method before prosecution of computer operation system and module Download PDFInfo
- Publication number
- CN101105764B CN101105764B CN2006100985795A CN200610098579A CN101105764B CN 101105764 B CN101105764 B CN 101105764B CN 2006100985795 A CN2006100985795 A CN 2006100985795A CN 200610098579 A CN200610098579 A CN 200610098579A CN 101105764 B CN101105764 B CN 101105764B
- Authority
- CN
- China
- Prior art keywords
- computer
- test
- module
- functional test
- debug
- 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
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention relates to an error detecting method of computer components, suitable for pre-running computer operation system. The error detecting method of computer components includes the following steps: call for BIOS program; run the basic detecting program of one component and run a component function testing after a certain step. The component function testing includes a central processing unit MSR/MTRR test, a hard disk S.M.A.R.T. test, a startup path test and a PCI device scanning. The invention can assist user or franchiser in examining the condition of computer system and find possible problems without operation system, and meanwhile lower the maintenance ratio of main-board, quasi-system and notebook computer.
Description
Technical field
The invention relates to a kind of computer components debug module and method, and the computer components debugging method before particularly not carrying out as yet relevant for a kind of computer operating system.
Background technology
Have now when the computing machine assembling is finished, if under the situation of no operation system of software, at all can't possible situation and the problem of detection system.(Basic Input-outputsystem BIOS) then only has the basic trace routine whether detecting element exists to existing Basic Input or Output System (BIOS).After the basic trace routine of BIOS was complete, operation system of software could begin to load and carry out.
Yet, sometimes after the basic trace routine of BIOS is finished testing, operation system of software (for example Windows) but can't load, the mode of engineering staff's debug this moment (detecting which element fault), except the instrument by low order comes the debug, be to reach, and this mode also needs unnecessary computer parts, could come debug to detect by trial and error with wrong hit-and-miss method.If there is not unnecessary computer parts, aforesaid way also can't be implemented, moreover the also normal therefore misidentification computing machine of user damages directly looks for system manufacturer, so not only causes the puzzlement of system manufacturer, also causes the prestige of system manufacturer impaired.
Because the generation of above-mentioned condition needs a kind of computer components debugging method before computer operating system is not carried out as yet, to overcome similar problem.
Summary of the invention
Technical matters to be solved by this invention is to provide computer components debugging method and the module before a kind of computer operating system does not load as yet, in order under the situation of no operating system, the situation of detection computations machine system and the problem that may occur reduce the maintenance ratio that motherboard, Barebone and notebook return factory simultaneously.
To achieve these goals, the invention provides a kind of method of computer components debug, its characteristics are, be applicable to that a computer operating system loads as yet before, the method for this computer components debug comprises following steps at least: call out a bios program; Carry out the basic trace routine of an element; And after carrying out the initialized step of a display, carry out an element functional test again to detect hard error possible in the computer system, wherein this element functional test comprises that central processing unit special module register/type of memory range registers test, a hard disk are from monitoring, analysis and reporting techniques test, the startup test of network start element and the step of one scan PCI device.
The method of aforementioned calculation machine element debug, its characteristics be, before carrying out this element functional test, also comprises and confirm that a random access memory has the step in execution space of this element functional test of 512K at least.
The present invention also provides a kind of element debug module of computer booting, and its characteristics are, are applicable to that operation system of computer loads preceding executive component debugging method as yet, and this element debug module comprises at least: a random access memory; One BIOS module; One central processing unit is called out this BIOS module and is carried out in this random access memory; An and element functional test module, in order to carry out an element functional test to detect hard error possible in the computer system, wherein this element functional test comprises that central processing unit special module register/type of memory range registers test, a hard disk are from monitoring, analysis and reporting techniques test, the startup test of network start element and the step of one scan PCI device.
Effect of the present invention is to assist user or dealer under the situation of no operating system, and the situation of detection computations machine system and possibility problem reduce the maintenance ratio that motherboard, Barebone and notebook return factory simultaneously.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
Fig. 1 is the process flow diagram of computer components debugging method of the present invention;
Fig. 2 to 4 is respectively the three kind different embodiments of element functional test module of the present invention on motherboard;
Fig. 5 is a kind of element functional test module of a preferred embodiment of the present invention; And
Fig. 6 is the process flow diagram of a kind of element functional test of a preferred embodiment of the present invention.
100: motherboard 112: detection module
102: central processing unit 114: hard disk debug module
104: DRAM (Dynamic Random Access Memory) 116: path module
The basic detection module 118 of 106:BIOS element: scan module
107:PCI adapter 120: central processing unit debug module
108: option memory (option rom) 201 to 205: testing procedure
108a:BIOS option memory 206,208,210,212: testing procedure
The 108b:PCI option memory
110: element functional test module
Embodiment
As mentioned above, the invention provides a kind of computer components debugging method, before computer operating system loads as yet, carry out, can detect the function that the basic trace routine that has BIOS now can't be reached.Below will cooperate preferred embodiment to describe this computer components debugging method in detail.
Please refer to the 1st figure, it is the process flow diagram of computer components debugging method of the present invention.Step 201 is for calling out bios program, and then step 203 is the basic trace routine of executive component, and wherein, step 203 element detects substantially, for example: detect the hard disk configuration.Furtherly, the detection mode of detection hard disk configuration (is called elementary instruction in this instruction) for writing instruction (command) to hard disk controller.Hard disk controller just can return this hard disk relevant information, the pattern of this hard disk for example, and whether this hard disk supports S.M.A.R.T. (Self-Monitoring, Analysis, and Reporting Technology) function or the like.At last, the element functional test of step 205, in order to before computer operating system does not load as yet, this element functional test is for example carried out after a particular step again, wherein, particular step can be any one running or the step before step 203 element detects back and element functional test execution substantially.In this preferred embodiment with the display initialization as particular step so that after the element functional test, the result who makes things convenient for the output element functional test is on display.In addition, detect hard error possible in the computer system in advance, for example: in step 203, detected the hard disk that this hard disk has the S.M.A.R.T function, then step 205 is sent instruction (command) (being called function command in this instruction), hard disk controller just can be tested this hard disk, for example test such as rotating speed.
Please refer to Fig. 2-4, it is respectively the three kind different embodiments of element functional test module of the present invention on motherboard.The element functional test module of carrying out above-mentioned steps 205 " element functional test " is that the kenel with optionrom is implemented on the motherboard 100 of computer system.The element functional test module 110 of Fig. 2 is stored on the motherboard 100 independently option memory 108, and is arranged in 106 minutes with the basic detection module of BIOS element.Fig. 3 is stored in PCI option rom 108b (being positioned on the PCI adapter 107) for element functional test module 110, and is arranged in 106 minutes with the basic detection module of BIOS element.Fig. 4 illustrates element functional test module 110 and is stored in BIOS option rom 108a, and combines with the basic detection module 106 of BIOS element.No matter element functional test module 110 is modes of above-mentioned that a kind of enforcement, does not all influence element functional test program implementation mode.
Please refer to Fig. 5, it is a kind of element functional test module of a preferred embodiment of the present invention.Please refer to Fig. 6, it is the process flow diagram of a kind of element functional test of a preferred embodiment of the present invention.
In step 202, when central processing unit 102 (with reference to Fig. 2-4) call element functional test program, element functional test program is copied in the DRAM (Dynamic Random Access Memory) 104 (with reference to Fig. 2-4) earlier and decompresses.For reserved elements functional test program implementation space, should confirm earlier that DRAM (Dynamic Random Access Memory) 104 has enough spaces (for example, confirming the space of 512KB at least).
In step 204, can first detection computations machine system configuration, think that each step that connects down element functional test program prepares.For example, detect the specification of each hardware, could prepare the functional test program that is suitable for.This step is carried out by the detection module 112 of Fig. 5.
In step 206, carry out the function of the intrasystem PCI device of scanning computer by the scan module 118 of Fig. 5.
In step 208, carry out central processing unit MSR (Module Specific Register, special module register)/MTRR (Memory Type RangeRegister, type of memory range registers) test by the central processing unit debug module 120 of Fig. 5.
In step 210, carry out S.M.A.R.T. (Self-Monitoring, Analysis, the and Reporting Technology of hard disk by the hard disk debug module 114 of Fig. 5; From monitoring, analysis and reporting techniques) test.
In step 212, carry out the startup path testing by the path module 116 of Fig. 5, for example the startup test of network start element.
Above-mentioned step 206-212 execution there is no particular order, also can increase and decrease step according to demand.The element functional test can be by pressing special keys (for example, the button of connected system or switch) to start when using; Or after utilizing special keys to enter the BIOS system, select the menu of starting element functional test; Or whether by the basic trace routine of BIOS element, judging needs the starting element functional test.After the element functional test was finished, the result of test can be shown on the display, be output in log file and error code or with loudspeaker output audio.The user can be learnt the situation and the possibility problem of computer system by the result of test, with the main reference data as the reparation computer system.
By the invention described above preferred embodiment as can be known, use computer components debugging method of the present invention, can assist user or dealer under the situation of no operating system, the situation of detection computations machine system and possibility problem reduce the maintenance ratio that motherboard, Barebone and notebook return factory simultaneously.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of claim of the present invention.
Claims (3)
1. the method for a computer components debug is characterized in that, be applicable to that a computer operating system loads as yet before, the method for this computer components debug comprises following steps at least:
Call out a bios program;
Carry out the basic trace routine of an element; And
After carrying out the initialized step of a display, carry out an element functional test again to detect hard error possible in the computer system, wherein this element functional test comprises that central processing unit special module register/type of memory range registers test, a hard disk are from monitoring, analysis and reporting techniques test, the startup test of network start element and the step of one scan PCI device.
2. the method for computer components debug according to claim 1 is characterized in that, before carrying out this element functional test, also comprises and confirms that a random access memory has the step in execution space of this element functional test of 512K at least.
3. the element debug module of a computer booting is characterized in that, is applicable to that operation system of computer loads preceding executive component debugging method as yet, and this element debug module comprises at least:
One random access memory;
One BIOS module;
One central processing unit is called out this BIOS module and is carried out in this random access memory; And
One element functional test module, in order to carry out an element functional test to detect hard error possible in the computer system, wherein this element functional test comprises that central processing unit special module register/type of memory range registers test, a hard disk are from monitoring, analysis and reporting techniques test, the startup test of network start element and the step of one scan PCI device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006100985795A CN101105764B (en) | 2006-07-12 | 2006-07-12 | Computer element fault-detecting method before prosecution of computer operation system and module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006100985795A CN101105764B (en) | 2006-07-12 | 2006-07-12 | Computer element fault-detecting method before prosecution of computer operation system and module |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101105764A CN101105764A (en) | 2008-01-16 |
CN101105764B true CN101105764B (en) | 2010-12-08 |
Family
ID=38999669
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2006100985795A Active CN101105764B (en) | 2006-07-12 | 2006-07-12 | Computer element fault-detecting method before prosecution of computer operation system and module |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101105764B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101770416B (en) * | 2009-01-05 | 2012-09-05 | 英业达集团(天津)电子技术有限公司 | Bus testing method for new generation of peripheral connecting interface |
CN111858212A (en) * | 2020-07-14 | 2020-10-30 | 深圳市同泰怡信息技术有限公司 | Mainboard test method, device, storage medium and equipment based on UEFI SHELL interface |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1311475A (en) * | 2000-03-03 | 2001-09-05 | 英业达股份有限公司 | Method and its device for display BIOS error code |
US6564318B1 (en) * | 1997-12-10 | 2003-05-13 | Phoenix Technologies Ltd. | Method and apparatus for execution of an application during computer pre-boot operation and post-boot under normal OS control |
-
2006
- 2006-07-12 CN CN2006100985795A patent/CN101105764B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6564318B1 (en) * | 1997-12-10 | 2003-05-13 | Phoenix Technologies Ltd. | Method and apparatus for execution of an application during computer pre-boot operation and post-boot under normal OS control |
CN1311475A (en) * | 2000-03-03 | 2001-09-05 | 英业达股份有限公司 | Method and its device for display BIOS error code |
Non-Patent Citations (2)
Title |
---|
郭媛香.浅谈计算机启动的自检过程.晋中师范高等专科学校学报18 2.2001,18(2),32-33. |
郭媛香.浅谈计算机启动的自检过程.晋中师范高等专科学校学报18 2.2001,18(2),32-33. * |
Also Published As
Publication number | Publication date |
---|---|
CN101105764A (en) | 2008-01-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Eler et al. | Automated accessibility testing of mobile apps | |
US8156475B2 (en) | Device and method for testing embedded software using emulator | |
US7836345B2 (en) | Personal computer diagnostic test before executing operating system | |
US5245615A (en) | Diagnostic system and interface for a personal computer | |
US7266727B2 (en) | Computer boot operation utilizing targeted boot diagnostics | |
US9594670B2 (en) | Managing software dependencies during software testing and debugging | |
US8255874B2 (en) | Apparatus and method for automatically extracting interface of embedded software | |
US20060015710A1 (en) | Method for sharing host processor for non-operating system uses | |
US20140129821A1 (en) | Test system and method for computer | |
US6725396B2 (en) | Identifying field replaceable units responsible for faults detected with processor timeouts utilizing IPL boot progress indicator status | |
CN102169390B (en) | Information terminal and touch control method thereof | |
US20030120977A1 (en) | Debugging method through serial port under system shutdown and standby conditions | |
GB2497736A (en) | Hardware monitor with context selector for selecting from multiple contexts | |
CN101105764B (en) | Computer element fault-detecting method before prosecution of computer operation system and module | |
US6931575B2 (en) | Method and system for testing hardware and software configurations in a computer system | |
CN113377586A (en) | Automatic server detection method and device and storage medium | |
CN115422091B (en) | Firmware debugging method and device, electronic equipment and storage medium | |
US20040194067A1 (en) | Method for program debugging | |
JP2005149501A (en) | System and method for testing memory with expansion card using dma | |
CN113160875B (en) | Chip test system and test method | |
TWI234705B (en) | Detecting method for PCI system | |
CN110321171B (en) | Startup detection device, system and method | |
CN101826046A (en) | Power-on debugging method of computer | |
US7383429B2 (en) | Configuring settings of a computer system to be compatible with an operating system | |
JPH0540657A (en) | Dynamic tracer |
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 |