TWI305305B - - Google Patents

Download PDF

Info

Publication number
TWI305305B
TWI305305B TW93140884A TW93140884A TWI305305B TW I305305 B TWI305305 B TW I305305B TW 93140884 A TW93140884 A TW 93140884A TW 93140884 A TW93140884 A TW 93140884A TW I305305 B TWI305305 B TW I305305B
Authority
TW
Taiwan
Prior art keywords
smi
storage area
data
data storage
monitoring
Prior art date
Application number
TW93140884A
Other languages
Chinese (zh)
Other versions
TW200622597A (en
Inventor
Ying Chih Lu
Meng Hua Cheng
Ling Hung Yu
Chia Hsing Lee
Chun Yi Lee
Chun Lung Wu
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 TW093140884A priority Critical patent/TW200622597A/en
Publication of TW200622597A publication Critical patent/TW200622597A/en
Application granted granted Critical
Publication of TWI305305B publication Critical patent/TWI305305B/zh

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

1305305 九、發明說明: 【發明所屬之技術領域】 本發明係關於一種運用系統管理中斷之監控系統及 方法。更詳而言之,係應用於例如電腦之電子設備中,其 係一種用以提供系統管理中斷(System Management Interrupt,SMI)訊號而得以監控該電子設備之軟、硬體運 作狀況以及於電子設備故障產生時可即判斷出故障原因為 何。 【先前技術】 目前在電子設備的開發中,如電腦、伺服器等,測試 人員需於不同作業系統(Operation System)下進行測試,測 試過程中,測試人員發現該電子設備於一段長時間運作 後,則發生運作突然掛掉(Hang),其可能是系統產生了死 結(Dead Lock)或活結(Live Lock)、系統效能變差以及系統 工作速度變慢之異常情況,此時,測試人員需判斷電子設 備異常的原因是否為硬體故障、基本輸入輸出系統(Basic Input/Output System,BIOS)以及軟體運作異常等,由於考 慮異常原因之範圍包括硬體、軟體,以及韌體等因素,將 使測試人員無法立即判斷出異常的原因而加以排除,因而 延長產品開發時間。倘若,此種異常原因若發生於網路伺 服器時,更嚴重影響網路系統的運作效能。 就目前之電子設備設計而言,通常當某元件或元件間 通訊發生異常時,例如 Memory Single Bit Error、Memory Multi-Bit Error、PCI/PCI-X/PCI-E/System Operation Cycle 5 18236 1305305 之 Parity Error/System error、風扇異樣 SMI、系統過熱 SMI、 CPU Internal error SMI、CPU Machine Check SMI、 NMI(Non Mask Interrupt)引導至 SMI、10 Check error SMI 等,其通常會啟動SMI訊號以便要求CPU立刻跳到SMI . 處理程式去執行其相對應之事件。 由上可知,透過上述SMI訊號之產生可使測試人員得 知電子設備運作發生異常,然而,由於電子設備對於所產 生的SMI訊號之相關資料並未對其進行後續的處理與分 析’故於測試過程並無法有效監控所有SMI訊號。因此,鲁 如何運用系.統管理中斷以達到運作異常之分析及偵測,實 為目前亟欲解決之課題。 【發明内容】 鑒於上述習知技術之缺點’本發明之主要目的在於提 供一種運用系統管理中斷之控糸統及方法’猎此使測试 人員於設備運作故障或異樣發生時即可偵測其發生原因且 快速排除之,以減少電子設備研發的時間。 籲 本發明之另一目的在於提供一種運用系統管理中斷 之監控系統及方法,藉此玎有效監控及記錄所有的SMI訊 號,以作為對該電子設備運作狀況分析之用。 為達上揭及其它目的,本發明係提供一種運用系統管 理中斷之監控系統及方法。本發明之運用系統管理中斷之 監控系統,係應用於電子設備中’用以監控並記錄該電子 設備之運作狀況,該系統至少包括:用以根據該電子設備 運作狀態產生相對應之系統管理中斷(System management 6 18236 1305305 二二P=_Mi訊號相㈣料之系統管理中斷訊號產生 ’、:二料儲存區及第二資料儲存區之儲存單元, =嶋區用以儲存系統管理中斷處 =統官理中斷訊號產生器及儲存單元電性連接之中: 理^處理程式以接收該系統管理中斷訊號產生哭=吕 =相«料,《所接㈣的SMI訊號 ㈣ 該第二資料儲存區。 貝储存於 子4ΓΓ用系統管理中斷之監控方法,係應用於電 以監控並記錄該電子設備之運 用系統官理中斷之監控方法包括:令該電子μ 1 狀態產生相對應之线管理中斷(System Manage咖 弟貝科儲存區中的特定處理程式, 接收到的SMI訊號相„料儲存於該儲存單元二=斤 储存區’藉此作為對該電子設備運作狀況分析之用了貝抖 综上所述,本發明之運用系統管理中斷之 方法,係藉由處理記憶體中例如SMI之特 上…先及 得知相對應s m 1訊號相關資料’且系統軟體二S :以 麵即可監控該電子設備運作;況1305305 IX. Description of the Invention: [Technical Field of the Invention] The present invention relates to a monitoring system and method for operating a system management interrupt. More specifically, it is applied to an electronic device such as a computer, which is used to provide a System Management Interrupt (SMI) signal to monitor the soft and hardware operation status of the electronic device and the electronic device. When the fault occurs, the cause of the fault can be determined. [Prior Art] Currently in the development of electronic equipment, such as computers, servers, etc., testers need to test under different operating systems. During the test, the testers find that the electronic equipment has been in operation for a long time. Then, the operation suddenly hangs (Hang), which may be due to the system's deadlock or Live Lock, the system performance is deteriorating, and the system works slowly. In this case, the tester needs to judge. Whether the cause of the abnormality of the electronic device is a hardware failure, a basic input/output system (BIOS), and an abnormal operation of the software, etc., due to factors such as hardware, software, and firmware, etc., Testers can't immediately determine the cause of the anomaly and eliminate it, thus extending product development time. If the cause of such an abnormality occurs in a network server, it will seriously affect the performance of the network system. In the current electronic device design, when an element or component communicates abnormally, such as Memory Single Bit Error, Memory Multi-Bit Error, PCI/PCI-X/PCI-E/System Operation Cycle 5 18236 1305305 Parity Error/System error, fan abnormal SMI, system overheat SMI, CPU Internal error SMI, CPU Machine Check SMI, NMI (Non Mask Interrupt) boot to SMI, 10 Check error SMI, etc., usually start SMI signal to request the CPU immediately Jump to SMI. The handler goes to execute its corresponding event. It can be seen from the above that the tester can know that the operation of the electronic device is abnormal through the generation of the SMI signal. However, since the electronic device does not perform subsequent processing and analysis on the related information of the generated SMI signal, it is tested. The process does not effectively monitor all SMI signals. Therefore, how to use the system management interrupt to achieve the analysis and detection of operational anomalies is a problem that is currently being solved. SUMMARY OF THE INVENTION In view of the above disadvantages of the prior art, the main object of the present invention is to provide a control system and method for using system management interrupts, so that testers can detect when a device malfunctions or occurs abnormally. Reasons occur and are quickly eliminated to reduce the time required for electronic device development. It is another object of the present invention to provide a monitoring system and method for utilizing system management interrupts to effectively monitor and record all SMI signals for use in analyzing the operational status of the electronic device. To achieve the above and other objects, the present invention provides a monitoring system and method for managing system outages. The monitoring system for operating system management interruption of the present invention is applied to an electronic device for monitoring and recording the operation status of the electronic device, and the system at least includes: generating a corresponding system management interruption according to the operating state of the electronic device (System management 6 18236 1305305 22 P = _Mi signal phase (four) material system management interrupt signal generation ',: two storage area and the second data storage area storage unit, = 嶋 area for storage system management interruption = system The official interrupt signal generator and the storage unit are electrically connected: the processing program is configured to receive the system management interrupt signal to generate a crying = Lv = phase «material, the received (four) SMI signal (4) the second data storage area. The monitoring method of the system management interruption is used to monitor and record the operating system of the electronic device. The monitoring method includes: causing the electronic μ 1 state to generate a corresponding line management interrupt (System) The specific processing program in the Manage Café's Becco storage area, the received SMI signal is stored in the storage unit 2 = kg storage area In order to analyze the operation status of the electronic device, the method for managing the interruption of the operating system of the present invention is to deal with the corresponding situation in the memory, for example, SMI. Sm 1 signal related information 'and system software 2 S: face to monitor the operation of the electronic device;

以下係藉由特定的具體實例說明本發明之IA 式,熟悉此技藝之人士可由本說明書所揭示之二,方 瞭解本發明之其他優點與功效。 =易地 J错由其他不同 7 18236 1305305 =具體實例加以施行或應用,本說明書中的各項細節亦可 土於不同觀點與應用’在不悖離本發明之精神下進行各 修飾與變更m圖所示係用以說明本發明運用系統 理中斷之監控系統之基本架構方塊示意圖。該i統係應用 :電子設備’如電腦、伺服器,用以監控及記錄該電;設 ^錢況’例如硬體、則s以及軟體運作狀況,該運 /、、^ g理中斷之監控系統2係'至少包括:儲存單元21、 ^ Λ B J1 t if (System management interrupt > =22以及中央處理單元η口沾, 系统;出說明的是,該運用系統管理中斷之監控 /、有/、它各式功能單元,為簡化圖式及說明,此 2架構僅顯示與本發明有關之構件,其它無關之構件, I鍵盤之輸入單元、螢幕之輸出單元、磁碟機之儲存單 % '南=及北㈣之硬體架構,並未顯示於本圖式中。 亥電子設備自電源啟動並進人開機模式後,即以BIOS Ϊ入作^開機測試(P°Wer 〇Π TeStmg,P〇ST),且接著 作進行谓^4(叫亚以該監控系統2針對硬體與軟體運 铨系為2之儲存單元21係例如用以儲存Bios之 ^ 本實施例中其係用以儲存該電子設備運作之資 存區玄2^存早元21分為第一資料儲存區210及第二資料儲The IA formula of the present invention is described below by way of specific specific examples, and those skilled in the art can understand the other advantages and effects of the present invention from the second disclosure of the present specification. =易地J错 is implemented or applied by other different 7 18236 1305305 = specific examples, and the details in this specification can also be applied to different viewpoints and applications. The figure is a block diagram showing the basic architecture of the monitoring system using the system interrupt in the present invention. The application of the system: electronic devices such as computers and servers for monitoring and recording the electricity; setting the "money conditions" such as hardware, s, and software operation status, monitoring of the operation/disconnection System 2' includes at least: storage unit 21, ^ Λ B J1 t if (System management interrupt > = 22 and central processing unit n port, system; the description shows that the monitoring of the operating system management interrupt /, there is /, its various functional units, in order to simplify the drawing and description, this 2 architecture only shows the components related to the present invention, other unrelated components, the input unit of the I keyboard, the output unit of the screen, the storage unit of the disk drive% The hardware architecture of 'South= and North (4) is not shown in this figure. After the power is turned on from the power supply and enters the boot mode, the BIOS is used for the boot test (P°Wer 〇Π TeStmg, P 〇ST), and the work carried out is called ^4 (called the monitoring system 2 for the hardware and software transport system 2 storage unit 21 for example to store Bios ^ in this embodiment is used for storage The electronic equipment operation of the deposit area Xuan 2 ^ save early yuan 21 is divided into the first Data storage region 210 and the second data storage

= 中°玄第一資料儲存區210係儲存例如SMI Β ^理程式(Handler)’該第二資料儲輕川係為儲存 之記憶體的延伸則s資料區域(Extended BI〇s Data 18236 8 1305305= The first data storage area 210 of the medium is stored, for example, the SMI Handler. The second data storage is the extension of the memory of the storage s data area (Extended BI〇s Data 18236 8 1305305)

Area,EBDA),如4 K Byte之EBDA容量,用以儲存經特 定處理程式運作後之資料,例如該系統運作時的SMI訊號 路徑、SMI訊號之累計次數,以及SMI訊號之啟始與結束 時間等與SMI訊息相關資料。 該SMI訊號產生單元22係用以提供SMI訊號,其例 如南橋晶片或Super I/O控制器(輸入/輸出控制器),該 SMI訊號產生單元22係與電子設備所可能產生SMI之線 路單元及晶片組電性連接,例如Memory Single Bit Error、 Memory Multi-Bit Error ' PCI/PCI-X/PCI-E/System Operation Cycle Error 之 Parity Error/System error、週期性 SMI、風扇異樣 SMI、系統過熱 SMI、CPU Internal error SMI、CPU Machine Check SMI、NMI(Non Mask Interrupt) 引導至 SMI、10 Check error SMI、Software SMI 等’用以 偵測該些硬體單元的運作狀況。該SMI訊號產生單元22 其所可能產生SMI訊號可分為由硬體所觸發之SMI訊號 (硬體SMI)及由軟體所觸發之SMI訊號(軟體SMI)及週期 性所產生之SMI訊號(週期性SMI係例如每5秒產生一次 SMI訊號)。對電子設備而言’ SMI是一個專有名詞,其 特性為當CPU收到SMI訊號時’在CPU完成目前指令後, 其會立刻跳到SMI處理程式(Handler)去執行,須知SMI 處理程式(Handler)係指BIOS於POST時所安裝好’傳統 上其位於記憶體區段(Memory Segment) AOOOOh到 BFFFFh的位址。 該中央處理單元23於電子設備進入作業系統後’除 9 18236 1305305 執行一般的應用軟體,或對與其 入單元(亦即周邊裝置)所傳輸 之輸出單元及輸 處理的程式外,且根、^仃控制、接收及 SMI ^ ^ „ °亥第一貧料儲存區210内的 — 訊號相II諸儲存於該儲存單元^之= =於該歸剛 料不致佔用該第二資料儲存區= 容於下歹:;=關於該咖特定處理程式之運作流程請 二:=。前指令後,其會—處理 ,者,該_特定處理程式係預設有儲存時間 ^刀在里’以供該中央處理單元23以每隔該儲存時間將儲 存於,儲存單元21之第二#料儲存區211内之smi訊東 相關貝料载入另—儲存單元’例如内建於該電子設備之記 隱卡或硬碟等(在此均未予以圖示),且該儲存時間係可 由測試人員自行設定。此乃一實施例,並非僅限於smi户 來完成此片段之工作,其亦可由作業系統下之軟 再者,儲存於該第一資料儲存區210内的SMI特定户 理程式係預設有監控時間(例如5秒),用以產生週期^ SMI efl號(例如每5秒產生—次SMi訊號),以供該電子設 備以每隔該監控時間即讓CPU23執行SMI處理程式,2 10 18236 1305305 H將對某些重要之硬體單元或軟體進行偵測其是否異常 以便採取必要之措施與控制。 验另外,當硬體觀或軟體SMI訊號發生時,CPU23 :立刻跳至SMI處理程式去執行以便接收該⑽訊號產生 所傳來之SMI訊號相㈣料,以令該電子設備根 執行狀態所對應之咖訊號相關資料儲存於該儲存 IS二之弟二資料儲存區2U内,其中,於該SMI訊號 、,貝;'儲存&,即建立儲存旗標以供該中央處理單元23 :別該筆SMI訊號相關資料並未載入其他的儲存單元,如1 * 2圖所不即用以說明SMI訊號相關資料21 lb並未載入 其他儲存單元時,1儲存 禾载入 備於每隔該儲存時間二使該電子設 號相關資料咖載入叫 # 载入其他儲存早兀,且將該旗標211a值 ^ 亦即執行清除動作)。在此須提出說明的是,本 只把例之旗標2lla值亦可根據需求作不同調整。 本發明之運用系統管理中斷之監控系 h__se^dManagementcontrJ==在1 ^予以圖不)’其係與該中央處理單元23電性連 以將儲存於該儲存單元21之第二資料儲存區a。 /入另-儲存單元之SMI訊息相關資料透過網路系统 (例如㈣網路或區域網路)傳送至遠端飼服器,以供位 系統管理人員即可於遠端進行分析及瞭解該 电子§又備目前運作的狀況。 如第3圖所示係為本發明運用系統管理中斷之監控方 18236 11 1305305 法之處理流程示意圖。 試人員可根據例丄ί 進入作業系統後,測 管理中求㈣啟動或結束本發明之運用系統 脚I心皿控方法,以令該中 〇 _Area, EBDA), such as 4 K Byte EBDA capacity, for storing data processed by a specific processing program, such as the SMI signal path, the cumulative number of SMI signals, and the start and end time of the SMI signal. Wait for information related to SMI messages. The SMI signal generating unit 22 is configured to provide an SMI signal, such as a south bridge chip or a Super I/O controller (input/output controller), and the SMI signal generating unit 22 is connected to a line unit of an electronic device that may generate an SMI. Chip group electrical connection, such as Memory Single Bit Error, Memory Multi-Bit Error 'Parity Error/System error for PCI/PCI-X/PCI-E/System Operation Cycle Error, periodic SMI, fan-like SMI, system overheat SMI CPU Internal error SMI, CPU Machine Check SMI, NMI (Non Mask Interrupt) boot to SMI, 10 Check error SMI, Software SMI, etc. 'to detect the operation status of these hardware units. The SMI signal generating unit 22 may generate an SMI signal that can be divided into a hardware-triggered SMI signal (hardware SMI), a software-triggered SMI signal (software SMI), and a periodic SMI signal (cycle). The sexual SMI is, for example, an SMI signal generated every 5 seconds). For electronic devices, 'SMI is a proper noun. Its characteristic is that when the CPU receives the SMI signal, 'after the CPU completes the current instruction, it will immediately jump to the SMI handler (Handler) to execute, and the SMI handler ( Handler) refers to the location of the BIOS that was traditionally installed in the memory segment AOOOOh to BFFFFh. After the electronic device enters the operating system, the central processing unit 23 performs general application software except 9 18236 1305305, or an output unit and a processing program transmitted by the input unit (ie, the peripheral device), and the root, ^仃Control, reception and SMI ^ ^ „ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄歹:;=About the operation process of the coffee-specific processing program please: 2. After the pre-command, it will be processed, and the _specific processing program is pre-set with the storage time ^ knife in the 'for the central The processing unit 23 loads the smi Xundong related material stored in the second material storage area 211 of the storage unit 21 into another storage unit, such as a hidden card built in the electronic device, every other storage time. Or a hard disk, etc. (not shown here), and the storage time can be set by the tester. This is an embodiment, not limited to the work of the smi household to complete the segment, it can also be operated by the operating system. Soft again, stored in The SMI specific household program in the first data storage area 210 is pre-set with a monitoring time (for example, 5 seconds) for generating a period ^ SMI efl number (for example, generating a SMi signal every 5 seconds) for the electronic device. The CPU 23 executes the SMI processing program every other monitoring time, and 2 10 18236 1305305 H will detect whether some important hardware units or software are abnormal in order to take necessary measures and controls. When the view or software SMI signal occurs, the CPU 23: immediately jumps to the SMI processing program to execute to receive the (10) signal to generate the transmitted SMI signal phase (four) material, so that the electronic device root execution state corresponds to the coffee signal related data storage. In the storage IS 2nd 2 data storage area 2U, wherein the SMI signal, and the storage; the storage flag is set up for the central processing unit 23: the SMI signal related information is No other storage unit is loaded. If the 1 * 2 figure is not used to indicate that the SMI signal related information is not loaded into other storage units, 1 storage is loaded and stored every other storage time. Set number Related information coffee loading is called #Loading other storage early, and the flag 211a value ^ is also performing the clearing action. Here, it should be noted that the flag of the example 2lla can also be according to the demand. The monitoring system h__se^dManagementcontrJ== is not shown in the figure 1) is electrically connected to the central processing unit 23 to store the second data stored in the storage unit 21 Storage area a. /Additional-storage unit SMI message related data is transmitted to the remote feeding device through a network system (for example, (4) network or regional network), so that the system administrator can perform analysis at the remote end. And understand the status of the electronic § and the current operation. As shown in Fig. 3, it is a schematic diagram of the processing flow of the monitoring method 18236 11 1305305 of the operating system management interruption of the present invention. The test personnel can enter the operating system according to the example 丄, and the test management seeks (4) to start or end the application system of the present invention, the foot I core control method, so that the middle 〇 _

該第-資料儲存區21。内的SMI、早兀23根據儲存於 訊號產生單元22所檀* 寺疋處理程式接收該SMI 子設備將目二 “之SMI訊號相關資料,以令該電 該儲訊號相關資料儲存於 執行步驟S卜該電子执備之/ \ 如圖所示’首先 產生相對声的裳° f之皿控糸統2係進行計時程序以 相對應的計時時間(由於 :::時之必要程序,亦為習於電二:= 二時程序所需之硬體或軟體架構‘The first-data storage area 21. The SMI and the early 23 are received by the SMI sub-device according to the Tanji Temple processing program stored in the signal generating unit 22, and the SMI signal related information is stored in the SMI sub-device to store the stored signal-related data in the execution step S.卜 The electronic controller / \ As shown in the figure, 'the first sound generation of the ° 之 之 之 之 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行 进行于电二:= The hardware or software architecture required for the second-time program'

特定處理程式所預設時,間是否等於該SMI 時程序並返回該步驟S1,亦即,令二'1重-行計 時時par 士 7 子设備每隔第一計 ::間&控時間” p進至步⑽,由此可知,十 P„期性SMI訊號之判斷;反之,若該ς一 臣寻於(即小於)㉟SMI特定處理程式所預設之 步驟su,亦即判斷是否接收硬體二 期性咖訊號之ί斷則返回該步驟si,以持續地進行周 於該步驟S2 (此步驟在SMI處理程式中執行),令$ 備將目前執行狀態所對應之⑽訊號相關資料料 18236 12 1305305 於該儲存單元21 次When the specific processing program is preset, whether it is equal to the SMI program and return to the step S1, that is, the second '1 heavy-line timing when the par 7 sub-device counts every other:: & The time "p" proceeds to step (10), from which it can be known that the judgment of the ten-time SMI signal; conversely, if the first-order search for (ie, less than) the step su preset by the 35SMI specific processing program, it is judged whether Receiving the hardware second-stage coffee signal, the process returns to the step si to continuously perform the step S2 (this step is executed in the SMI processing program), so that the device is related to the (10) signal corresponding to the current execution state. Information material 18236 12 1305305 in this storage unit 21 times

訊號相㈣料儲存日士 了貝料儲存區211 β,且於該sMI ,,, $ ’即建立對應之儲存旗;— 中央處理單元23可識別出” 此供該 入其他的儲存單元,— 關負料並未載 拱者進至步驟S3。 於該步驟S3’該電子設傷之監控 … 序以產生相對應的第_ 工,、、、、另進行計時程 是否等於該SMI特定:Γ時間’並判斷該第二計時時間 進至步驟料,並tir式所預設之健存時間,若是則 糸統2重新進行計時程序並返㈣牛驟幻t 監控 子設備每隔第二計時 = 亦即,令該電 之,若該第二計時時門不^存日"間)即進至步驟…反 1間不專於(即小於) 程式所預設之儲存時間時,則持續進行㈣S3。處理 於該步驟S4 (it卜牛跡-r & , 理程式中執行),令j業系統下之軟體或SMI處 第二資料儲存£211: 備將儲存於該儲存單元21之The signal phase (4) stores the Japanese material storage area 211 β, and the corresponding storage flag is established in the sMI , ,, $ '; the central processing unit 23 can recognize that the storage unit is for the other storage unit, If the negative material is not loaded, the process proceeds to step S3. In step S3', the monitoring of the electronic damage is performed to generate the corresponding first work, and the other time period is equal to the SMI specific: Time 'and judge the second timing time to enter the step material, and tir the preset storage time, if it is, then the system 2 re-times the program and returns (four) cattle magic t monitoring the sub-device every second time = In other words, if the second time, the door does not have a date, the process proceeds to the step... the first time is not specific to (ie, less than) the preset storage time of the program, and then continues. (4) S3. The processing is performed in the step S4 (it is performed in the program), and the second data storage at the software or SMI under the j system is stored in the storage unit 21

寸W仔h 211内之SMI邙祙士口 s月吹!丨+L 單元,且、 __料®人另—錯存 二資料儲存:J二改该載入之SMI訊號相關資料於第 一貝科储存£ 211内所對應之旗標。 乐{ 因此,本發明之運用系統 法,藉由中麥虛搜留_ 士 τ呵·^皿&糸統及方 中央處理早几處理SMI處理程式,以 之SMI訊息相關資料,並 士應 存單元21之第二二Γ資㈣存於储 員根據該第二資料储存ε2 = 使糸統軟體或該測試人 貝㈣存& 211内的SMI訊息相關 付知該电子设備的運作狀態。再者’並可根 該鬚訊息相«料載人另—_存單元,且透過 18236 13 1305305 °又備之BMC使該SMI訊息相關資料傳送至遠端的伺服 盗’以達到遠端監控及分析之目的。 以上所述之實施例’僅係用以說明本發明之特點及功 效丄而非用以限定本發明之實質技術内容的範圍,本發明 之實質技術内容係廣義地定義於下述之申請專利範圍中, 任何他人所完成之技術實體或方法,若與下述之所申請專 利乾圍定義者為完全相同、或是一種等效之變更, 視為涵盖於此專利範圍中。 、 【圖式簡單說明】Inch W a h 211 inside the SMI gentleman mouth s month blowing!丨+L unit, and __ material® person another-missing two data storage: J two changes the loaded SMI signal related information in the first Beko store the corresponding flag in £211. Le {Therefore, the application system method of the present invention, through the management of the Chinese wheat virtual _ 士 τ 呵 ^ ^ 皿 糸 及 及 及 及 及 及 及 及 及 及 及 及 及 及 及 及 及 及 及 及 及 及 及 及 及 处理 处理 处理 处理 处理 处理 处理 处理 处理 处理 处理The second component (4) of the storage unit 21 is stored in the storage unit according to the second data storage ε2 = the SMI message in the system software or the test person (4) deposit & 211 to know the operating state of the electronic device. In addition, the user can also use the BMC to transmit the SMI message related data to the remote server to achieve remote monitoring and transmission through the 18236 13 1305305 ° BMC. The purpose of the analysis. The above described embodiments are merely intended to illustrate the features and functions of the present invention and are not intended to limit the scope of the technical scope of the present invention. The technical scope of the present invention is broadly defined in the following claims. Any technical entity or method completed by any other person that is identical or equivalent to the definition of the patent application described below is considered to be covered by this patent. , [Simple description of the map]

理中斷之監控系統之 第1圖係為本發明之運用系統管 基本架構方塊示意圖; 儲 第2圖係為本發明之監控系統 存區所儲存内容;以及 之儲存單元的第二資料 第3^係為本發明運用系統管理中斷之 理流程示意圖。 J右 【主要元件符號說明】 2 21 21〇 211 2l la 21 lb 22 23 監控系統 儲存單元 第一資料儲存區 第二資料儲存區 旗標 SMI訊號相關資料 SMI訊號產生單元 中央處理單元The first diagram of the monitoring system of the interrupted system is a block diagram of the basic structure of the operating system tube of the present invention; the second drawing is the content stored in the storage area of the monitoring system of the present invention; and the second data of the storage unit is 3^ It is a schematic diagram of the process flow of the system management interruption of the present invention. J Right [Main component symbol description] 2 21 21〇 211 2l la 21 lb 22 23 Monitoring system Storage unit First data storage area Second data storage area Flag SMI signal related information SMI signal generation unit Central processing unit

Sl’S10,Sll,S2,S3,S30,S4 步驟 18236 14Sl’S10, S11, S2, S3, S30, S4 Step 18236 14

Claims (1)

1305305 ST 弟93140884號專利申請案 申請專利範圍修正本 (95年1〇月27曰) -種運用系統管理中斷之監控系統,係應用於電子設 備’用以監控並記錄該電子設備之運作狀況,該監控系 統至少包括: 系統管理中斷訊號產生器,其係根據該電子設備運 作狀態產生相對應之系統管理中斷(System management imerrupt,SMI)訊號相關資料; 儲存單元,係為心儲存基本輪人輸出系統(β_ InPUt/〇utputSystem,BI〇s)之記憶體,里且有第一次 ^存區及第二資料儲存區,該第-資料儲存區儲存i :處式(Η-160,其中’該第二資料儲存區係為 該讀體之延伸刪資料區域(Extended娜心 Area ’ EBDA);以及 中央處理單元’其係與該系統管 3存單元電性連接,係用以執爾於 又處理程式以接收該系統管理中斷訊號產生 關!料’並將所接收到的smi訊號相關 貝科儲存於該弟二資料儲存區’其中,該 =亥中央處理單元每隔監控時間將所接收到的SMI^ 二=料:存於該儲存單元之第二資料儲存區内:且 …SMI讯破相關貧料儲存時建立對應 該特定處理程式令該中央處理單元每隔::二而 18236(修正本) 1 1305305 =該儲存單元之第二資料儲存區内之SMI訊號相關 次1載亡另—儲存單兀’且修改該载入之smi訊號相關 一貝r於第二資料儲存區内所對應之旗標。 2· t申請專利範圍第1項之運用系統管理中斷之監控系 、、4 中該特疋處理程式所提供的處理步驟復包括: 中央處理單元將所接收到的SMI訊號相關資料儲 子於^儲存早疋之第二資料儲存區前係對該撕訊號 相關資料進行編碼處理。 3. 如申請專利範圍第1項之運用系統管理中斷之監控系 其中,該系統管理中斷產生器係指南橋晶片及 Super I/O控制器之其中一者。 4. 如申請專利範圍第i項之運用系統管理中斷之監控系 統’其中,該SMi訊號相關資料係為如訊號之路徑、 S ΜI訊號之累計次數’以A s M1訊號之啟始與結束時間 所組群組之一者。 5. -種運用系統管理中斷之監控方法,係應用於電子設備 中:用以|£控並記錄該電子設備之運作狀況,該監控方 法係包括以下步驟: 令該電子設備根據運作狀態產生相對應之系統管 ilt if (System Management Interrupt ^ 資料;以及 令該電子設備執行儲存於儲存單元之第一資料儲 存區中的㈣處理程式,以將其所接收到的撕訊號相 關貧料儲存於該儲存單元的第二資料儲存區,1中,該 18236(修正本) 2 1305305 儲存單元係為用則H存基本輸人輸出系統(bk InPUt/〇UtpUtSystem,BI〇S)之記憶體,且該第二資料 健存區係為該記憶體之延伸職資料區域(Extended BIOS Data Area,刪),而該特定處理程式令該中央 處理单元每隔監控時間將所接收到的撕訊號相關資 枓餘存於該儲存單元之第二資料儲存區内,且於該如 «相關資料儲存時建立對應之儲存旗標;且該特定處 式^亥中央處理單几每隔儲存時間將儲存於該儲 :兀之::貝料儲存區内之SMI訊號相關資料載入 -次^存早% ’轉改該载人之SMI訊號相關資料於第 一貝料儲存區内所對應之旗標。 6. =申,專利範圍第5項之運用系統管理中斷之監控方 於^該4^處理程式所提供的處理步驟復包括: 存=該儲=單元將所接收到的SMI訊號相關資料儲 相關:二子早兀之第二資料儲存區前係對該SMI訊號 相關貧料進行編碼處理。 7. 範圍第5項之運用系統管理中斷之監控方 雷羊γΓ於該電子設備於每隔—監控時間之中,令該 其復判斷是否接收硬體smi及軟冑smi訊號之 ^ smi ^ 關資料儲存時建立内,且於該撕訊號相 8 Λ Τ愿立對應之儲存旗標。 =利範圍第5項之運用系統管理中斷之監控方 八中,該SMI訊號相關資料係由南橋晶片及Super 3 18236(修正本) I3〇53〇5 I/〇控制器之其中-者所產生。 9.如申請專利範圍第5項之 、t . , %用系統管理中斷之監控方 法,其中,該SMI訊號相關資料係為謝訊號之路捏 SMI訊號之累計次數及SMI訊號之啟始與結束時門所乡 群組之一者。 18236(修正本) 41305305 ST Patent 93940884 Patent Application Amendment (95 years, 1 month, 27 pm) - A monitoring system that uses system management interruptions, which is applied to electronic devices to monitor and record the operation of the electronic device. The monitoring system at least includes: a system management interrupt signal generator, which generates a corresponding system management imsrupt (SMI) signal related data according to the operating state of the electronic device; the storage unit is configured to store the basic round human output The memory of the system (β_InPUt/〇utputSystem, BI〇s) has the first memory area and the second data storage area, and the first data storage area stores i: the type (Η-160, where ' The second data storage area is an extended deletion data area (Extended Nai Center 'EBDA) of the reading body; and the central processing unit is electrically connected to the system tube 3 storage unit, and is used to The processing program receives the system management interrupt signal to generate a message and stores the received smi signal related to the file storage area in the second data storage area. = Hai central processing unit will receive the received SMI ^ 2 = material in the second data storage area of the storage unit every time monitoring time: and ... SMI breaks the relevant poor material storage to establish the corresponding processing program The central processing unit is: every two: 18236 (amendment) 1 1305305 = the SMI signal in the second data storage area of the storage unit is related to the next one, and the smi signal is modified. Corresponding to the flag corresponding to the second data storage area. 2· t The application system management interruption of the first application of the patent scope, the processing steps provided by the special processing program The central processing unit encodes the received SMI signal related data in the second data storage area stored in the early data storage area. 3. The application system of claim 1 is applied. Monitoring of management interruptions, wherein the system management interrupt generator is one of the guide bridge chip and the Super I/O controller. 4. Monitoring of the application system management interruption according to the scope of application patent item i The system of the SMi signal is one of the groups of the start and end times of the A s M1 signal, such as the path of the signal and the cumulative number of S Μ I signals. The monitoring method is applied to an electronic device: for controlling and recording the operation status of the electronic device, the monitoring method includes the following steps: causing the electronic device to generate a corresponding system tube according to the operating state ilt if (System Management Interrupt ^ data; and causing the electronic device to execute (4) a processing program stored in the first data storage area of the storage unit to store the received tearing number related poor material in the second data storage area of the storage unit , 1 , the 18236 (amendment) 2 1305305 storage unit is used to store the memory of the basic input output system (bk InPUt / 〇 UtpUtSystem, BI 〇 S), and the second data storage area is The extended BIOS Data Area (deleted), and the specific processing program causes the central processing unit to tear the received data every monitoring time. The relevant information remains in the second data storage area of the storage unit, and a corresponding storage flag is established when the relevant data is stored; and the specific processing method is Stored in the store: 兀之:: SMI signal related information in the beech storage area is loaded - time ^ save early % 'Transfer the flag of the SMI signal related to the manned in the first beech storage area Standard. 6. = Shen, the scope of the application of the system scope management of the fifth party of the patent scope of the processing procedures provided by the processing program of the 4^ processing program includes: save = the storage = unit to store the relevant SMI signal related data storage The second data storage area of the second son is coded for the SMI signal related poor material. 7. The monitoring system of the system management interruption of the fifth item of scope 5 is in the electronic equipment during the monitoring time, so that it can judge whether to receive the hardware smi and the soft smi signal ^ smi ^ The data is stored during the storage, and the corresponding flag is stored in the tearing number. The monitoring data of the system management interrupt in the fifth item of the profit range is based on the South Bridge chip and the Super 3 18236 (Revised) I3〇53〇5 I/〇 controller. . 9. If the patent application scope 5, t., % uses the system management interruption monitoring method, the SMI signal related data is the cumulative number of SMI signals and the start and end of the SMI signal. One of the group of time gates. 18236 (amendment) 4
TW093140884A 2004-12-28 2004-12-28 Monitoring system and method using system management interrupt TW200622597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW093140884A TW200622597A (en) 2004-12-28 2004-12-28 Monitoring system and method using system management interrupt

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW093140884A TW200622597A (en) 2004-12-28 2004-12-28 Monitoring system and method using system management interrupt

Publications (2)

Publication Number Publication Date
TW200622597A TW200622597A (en) 2006-07-01
TWI305305B true TWI305305B (en) 2009-01-11

Family

ID=45071118

Family Applications (1)

Application Number Title Priority Date Filing Date
TW093140884A TW200622597A (en) 2004-12-28 2004-12-28 Monitoring system and method using system management interrupt

Country Status (1)

Country Link
TW (1) TW200622597A (en)

Also Published As

Publication number Publication date
TW200622597A (en) 2006-07-01

Similar Documents

Publication Publication Date Title
TWI229796B (en) Method and system to implement a system event log for system manageability
US8843785B2 (en) Collecting debug data in a secure chip implementation
US9495233B2 (en) Error framework for a microprocesor and system
US20120173922A1 (en) Apparatus and method for handling failed processor of multiprocessor information handling system
US9384085B2 (en) Method, device, and system for monitoring quickpath interconnect link
US7886195B2 (en) Apparatus, system, and method of efficiently utilizing hardware resources for a software test
US9912474B2 (en) Performing telemetry, data gathering, and failure isolation using non-volatile memory
US11803455B2 (en) Processor with debug pipeline
US9436539B2 (en) Synchronized debug information generation
US20170286254A1 (en) Method and apparatus for using target or unit under test (uut) as debugger
KR20040093405A (en) Mechanism for field replaceable unit fault isolation in distributed nodal environment
US20060184840A1 (en) Using timebase register for system checkstop in clock running environment in a distributed nodal environment
CN115617550A (en) Processing device, control unit, electronic device, method, and computer program
US8880957B2 (en) Facilitating processing in a communications environment using stop signaling
TWI305305B (en)
CN114003416B (en) Memory error dynamic processing method, system, terminal and storage medium
US20050114735A1 (en) Systems and methods for verifying core determinacy
JP6217086B2 (en) Information processing apparatus, error detection function diagnosis method, and computer program
CN108073481B (en) Server system capable of providing hardware operation information and processing method thereof
JP5561790B2 (en) Hardware failure suspect identification device, hardware failure suspect identification method, and program
US9606850B2 (en) Apparatus and method for tracing exceptions
JP2013025440A (en) Information processor and fault processing method
CN116560936A (en) Abnormality monitoring method, coprocessor and computing device
US20120331334A1 (en) Multi-cluster system and information processing system
JP3055249B2 (en) Processor debugging method

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees