TWI733213B - Server device - Google Patents
Server device Download PDFInfo
- Publication number
- TWI733213B TWI733213B TW108136472A TW108136472A TWI733213B TW I733213 B TWI733213 B TW I733213B TW 108136472 A TW108136472 A TW 108136472A TW 108136472 A TW108136472 A TW 108136472A TW I733213 B TWI733213 B TW I733213B
- Authority
- TW
- Taiwan
- Prior art keywords
- version number
- processing unit
- volatile memory
- server device
- self
- Prior art date
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
本案是關於一種伺服器裝置,且特別是可判斷主機板與BIOS程式碼之版本號碼之伺服器裝置。This case is about a server device, especially a server device that can determine the version number of the motherboard and BIOS code.
在伺服器裝置的生產測試階段及維修階段,通常係以人工之方式燒錄基本輸入輸出系統(Basic Input/Output System;BIOS)程式碼,經常發生以供應給A廠商之主機板錯誤地搭載供應給B廠商之BIOS程式碼,或是消費者在購買得伺服器裝置之後自行燒錄不符合其主機板之BIOS程式碼。在以上的情形中,BIOS程式碼與主機板之規格不符,雖然可以開機進入作業系統,但是初始化配置不符合主機板配置,如此會造成伺服器裝置運行不穩定,或經過一段時間後才導致伺服器裝置運行不穩定,嚴重將導致完全無法運作,且伺服器裝置的測試者或維修商在後續維修時將花費很多時間重新更新BIOS程式碼及除錯,以進一步確認是否解決伺服器裝置運行不穩定之問題,造成測試及維修之困難。In the production test phase and maintenance phase of the server device, the basic input/output system (BIOS) code is usually programmed manually, and it often happens that the motherboard supplied to manufacturer A is incorrectly loaded and supplied. The BIOS code for manufacturer B, or the consumer burns the BIOS code that does not conform to the motherboard after purchasing the server device. In the above situation, the BIOS code does not match the specifications of the motherboard. Although you can boot into the operating system, the initial configuration does not meet the motherboard configuration. This will cause the server device to run unstable or cause the servo after a period of time. The operation of the server device is unstable, which will result in complete failure. The tester or repairer of the server device will spend a lot of time re-updating the BIOS code and debugging during subsequent repairs to further confirm whether the server device is not running. Stability issues cause difficulties in testing and maintenance.
在一實施例中,一種伺服器裝置包含主機板及設置於主機板之第一非揮發記憶體單元、第二非揮發記憶體單元及處理單元。主機板具有第一版本號碼。第一非揮發記憶體單元用以儲存一BIOS程式碼,BIOS程式碼具有第二版本號碼。處理單元耦接第一非揮發記憶體單元及第二非揮發記憶體單元,用以執行BIOS程式碼以執行一開機自我測試程序,並在開機自我測試程序中判斷第一版本號碼與第二版本號碼是否匹配,當第一版本號碼不匹配第二版本號碼時,處理單元將表示第一版本號碼與第二版本號碼不匹配之一第一判斷結果紀錄於第二非揮發記憶體單元,且處理單元停止執行開機自我測試程序。In one embodiment, a server device includes a motherboard and a first non-volatile memory unit, a second non-volatile memory unit, and a processing unit disposed on the motherboard. The motherboard has a first version number. The first non-volatile memory unit is used for storing a BIOS code, and the BIOS code has a second version number. The processing unit is coupled to the first non-volatile memory unit and the second non-volatile memory unit, and is used to execute the BIOS code to perform a boot-up self-test procedure, and to determine the first version number and the second version in the boot-up self-test procedure Whether the numbers match, when the first version number does not match the second version number, the processing unit records a first judgment result indicating that the first version number does not match the second version number in the second non-volatile memory unit, and processes The unit stops executing the boot-up self-test procedure.
圖1為根據本案之伺服器裝置之一實施例之方塊示意圖。請參照圖1,伺服器裝置包含主機板11、第一非揮發記憶體單元12、第二非揮發記憶體單元13及處理單元14。其中,主機板11具有一版本號碼(以下稱為第一版本號碼),第一非揮發記憶體單元12、第二非揮發記憶體單元13及處理單元14係設置在主機板11上,處理單元14耦接第一非揮發記憶體單元12及第二非揮發記憶體單元13。FIG. 1 is a block diagram of an embodiment of the server device according to the present application. Please refer to FIG. 1, the server device includes a
第一非揮發記憶體單元12係儲存基本輸入輸出系統(Basic Input/Output System;BIOS)程式碼,BIOS程式碼具有另一版本號碼(以下稱為第二版本號碼)。The first
在伺服器裝置開機之後,處理單元14讀取第一非揮發記憶體單元12而執行BIOS程式碼,處理單元14執行伺服器裝置之開機自我測試(power on self test;POST)程序。在開機自我測試程序中,請合併參照圖1及圖2,處理單元14根據第一版本號碼及第二版本號碼判斷第一版本號碼與第二版本號碼是否匹配(步驟S01),當第一版本號碼與第二版本號碼不匹配時(判斷結果為「否」),處理單元14將表示第一版本號碼與第二版本號碼不匹配之判斷結果(以下稱為第一判斷結果)儲存於第二非揮發記憶體單元13(步驟S02),且處理單元14停止執行伺服器裝置之開機自我測試程序(步驟S03),使開機自我測試程序暫停。After the server device is turned on, the
舉例來說,以處理單元14在步驟S01係判斷第一版本號碼與第二版本號碼是否相同以判斷第一版本號碼與第二版本號碼是否匹配為例,以二進制碼表示之兩位元為例,當第一版本號碼及第二版本號碼分別為「01」及「11」時,處理單元14判斷出第一版本號碼及第二版本號碼並不相同,處理單元14產生第一版本號碼與第二版本號碼為不匹配之判斷結果。For example, in step S01, the
於此,若在工廠端製造伺服器裝置時使用版本號碼不匹配之BIOS程式碼與主機板11,在測試伺服器裝置時,測試者於伺服器裝置之開機自我檢測階段即可根據暫停之開機自我檢測程序而得知BIOS程式碼與主機板11之版本號碼不匹配;另一方面,若在工廠端使用版本號碼匹配之BIOS程式碼與主機板11,在伺服器裝置售出(以下稱為消費者端)之後,若使用者自行更新錯誤之BIOS程式碼而造成BIOS程式碼與主機板11之版本號碼不匹配,使用者於伺服器裝置之開機自我檢測階段即可根據暫停之開機自我檢測程序而得知BIOS程式碼與主機板11之版本號碼不匹配。於是,不論是在工廠端或消費者端,測試者與使用者均能立即地得知BIOS程式碼與主機板11之版本號碼係為不匹配,如此可提早得知且避免伺服器裝置根據版本號碼不匹配之BIOS程式碼與主機板11運作而造成伺服器裝置不穩定之問題。Here, if the BIOS code of the version number does not match with the
在一實施例中,第一版本號碼及第二版本號碼係可表示廠商資訊或韌體版本資訊。第二非揮發記憶體單元13可為欄位可更換單元(field-replaceable unit;FRU)。In one embodiment, the first version number and the second version number may indicate manufacturer information or firmware version information. The second
在一實施例中,在步驟S01中,若處理單元14判斷出第一版本號碼與第二版本號碼相同(判斷結果為「是」),處理單元14可將表示第一版本號碼與第二版本號碼為匹配之另一判斷結果(以下稱為第二判斷結果)儲存在第二非揮發記憶體單元13(步驟S04),且第二判斷結果與第一判斷結果之間並不相互覆蓋。舉例來說,若在工廠端製造伺服器裝置時使用正確匹配的第一版本號碼與第二版本號碼,則處理單元14在測試階段之開機自我測試程序中係根據匹配之第一版本號碼及第二版本號碼(判斷結果為「是」)執行步驟S04而將第二判斷結果儲存在第二非揮發記憶體單元13;至於消費者端,若使用者自行更新錯誤之BIOS程式碼,則處理單元14在開機自我檢測程序中係根據不匹配之第一版本號碼及第二版本號碼(判斷結果為「否」)執行步驟S02而將第一判斷結果儲存在第二非揮發記憶體單元13,此時,第二非揮發記憶體單元13儲存有第一判斷結果及第二判斷結果,若使用者欲維修伺服器裝置,伺服器裝置之維修商即可根據同時存在之第一判斷結果與第二判斷結果進一步進行除錯與維修。In one embodiment, in step S01, if the
在一實施例中,以低邏輯位準之「0」與高邏輯位準之「1」分別表示第一版本號碼與第二版本號碼為匹配或不匹配為例,在步驟S04中,處理單元14可將低邏輯位準之「0」儲存於第二非揮發記憶體單元13,在步驟S02中,處理單元14可將高邏輯位準之「1」儲存於第二非揮發記憶體單元13,以區別第一版本號碼匹配或不匹配第二版本號碼之判斷結果。In one embodiment, the low logic level "0" and the high logic level "1" respectively indicate that the first version number and the second version number match or do not match as an example. In step S04, the
承上,若在工廠端製造伺服器裝置時使用正確匹配的第一版本號碼與第二版本號碼且使用者未自行更新BIOS程式碼,在處理單元14判斷出第一版本號碼匹配第二版本號碼(判斷結果為「是」)之後,處理單元14繼續執行開機自我測試程序(步驟S05),待完成開機自我測試程序之後,處理單元14執行作業系統(OS)。在作業系統中,第二非揮發記憶體單元13係處於讀取及寫入鎖定狀態,也就是伺服器裝置之使用者並無法在作業系統中藉由讀取第二非揮發記憶體單元13而得到前述儲存於第二非揮發記憶體單元13之第二判斷結果,也就是使用者並無法更改已儲存於第二非揮發記憶體單元13中之第二判斷結果,換言之,第二判斷結果係為隱藏資訊,如此能避免使用者修改處理單元14於測試階段中已判斷出BIOS程式碼與主機板11之版本號碼為匹配之判斷結果。In addition, if the correct matching first version number and second version number are used when the server device is manufactured at the factory and the user does not update the BIOS code by himself, the
在一實施例中,如圖1所示,伺服器裝置更包含一顯示單元16耦接處理單元14,請合併參照圖3,當處理單元14執行步驟S01後判斷出第一版本號碼與第二版本號碼不匹配(判斷結果為「否」)時,處理單元14可驅使顯示單元16顯示一警示訊息(步驟S07),以提示伺服器裝置之製造商或使用者當前使用之BIOS程式碼與主機板11不匹配。其中,警示訊息可以為文字、圖案或文字與圖案之組合。In one embodiment, as shown in FIG. 1, the server device further includes a
在一實施例中,在步驟S04中,處理單元14可進一步將主機板11之版本號碼與BIOS程式碼之版本號碼為匹配之時間資訊儲存於第二非揮發記憶體單元13,時間資訊可包含日期及時間;並且,在步驟S04中,處理單元14亦可進一步將匹配之BIOS程式碼與主機板11之版本號碼儲存於第二非揮發記憶體單元13。爾後,若處理單元14判斷出BIOS程式碼與主機板11之版本號碼不匹配,則在步驟S07中,處理單元14可進一步根據第二非揮發記憶體單元13中已儲存之資訊驅使顯示單元16顯示先前係為匹配之BIOS程式碼與主機板11之版本號碼以及先前之時間資訊,並驅使顯示單元16顯示當下不匹配之BIOS程式碼與主機板11之版本號碼,使伺服器裝置之檢測者可根據顯示單元16顯示之時間資訊確認BIOS程式碼與主機板11之版本號碼不匹配之時間係為晚於前述之時間資訊,並根據先前為匹配之版本號碼與當前不匹配之版本號碼進行維修及除錯。In one embodiment, in step S04, the
舉例來說,若製造商係使用正確匹配的主機板11之版本號碼與BIOS程式碼之版本號碼(以下稱為第四版本號碼),以二進制碼表示之兩位元為例,第四版本號碼可為「01」,在測試程序中,以前述之主機板11的第一版本號碼為「01」為例,若處理單元14在107年1月1日執行開機自我測試程序,處理單元14在執行步驟S01之後係根據均為「01」而正確匹配的第一版本號碼與第四版本號碼執行步驟S04,且處理單元14在步驟S04中係將均為「01」之第一版本號碼及第四版本號碼以及107年1月1日之時間資訊儲存於第二非揮發記憶體單元13;爾後,待伺服器裝置販售至消費者端,若伺服器裝置之使用者自行更新錯誤之BIOS程式碼,使主機板11之第一版本號碼與BIOS程式碼之版本號碼(以下稱為第二版本號碼)為不匹配,例如前述之第二版本號碼為「11」,則處理單元14在執行步驟S01、S02之後係根據錯誤匹配的第一版本號碼與第二版本號碼執行步驟S07,且處理單元14在步驟S07中係驅使顯示單元16顯示警示訊息、「01」之第四版本號碼、107年1月1日之時間資訊以及當前分別為「01」、「11」之第一版本號碼及第二版本號碼。如此一來,伺服器裝置之檢測者即可根據前述之顯示資訊進行維修及除錯。For example, if the manufacturer uses the correct matching version number of the
在一實施例中,如圖3所示,在步驟S01中當處理單元14判斷出主機板11之版本號碼與BIOS程式碼之版本號碼不匹配時(判斷結果為「否」),顯示單元16在步驟S07中更顯示一密碼輸入畫面。待使用者於伺服器裝置鍵入密碼時,處理單元14接收使用者鍵入之輸入密碼,處理單元14進一步比對輸入密碼與預設密碼,以藉由使用者鍵入之輸入密碼判斷使用者是否具有刷新BIOS程式碼之權限。於是,處理單元14判斷輸入密碼與預設密碼是否相同(步驟S06),當輸入密碼與預設密碼相同時(判斷結果為「是」),表示使用者具有刷新BIOS程式碼之權限,處理單元14即繼續執行伺服器裝置之開機自我測試程序(步驟S05),在開機自我測試程序完成之後,使用者可重新刷新BIOS程式碼,以更新BIOS程式碼之版本號碼;當輸入密碼與預設密碼不相同時(判斷結果為「否」),表示使用者不具有刷新BIOS程式碼之權限,處理單元14即不繼續執行伺服器裝置之開機自我測試程序,使伺服器裝置之開機自我測試程序維持在暫停之狀態(步驟S03),使用者則無法重新刷新BIOS程式碼。In one embodiment, as shown in FIG. 3, in step S01, when the
在一實施例中,前述之預設密碼係由伺服器裝置之維修商所持有,僅有維修商具有重新刷新BIOS程式碼之權限;或者,伺服器裝置之使用者亦可由維修商取得預設密碼,以自行刷新BIOS程式碼。In one embodiment, the aforementioned default password is held by the repairer of the server device, and only the repairer has the authority to re-flash the BIOS code; or, the user of the server device can also obtain the pre-set password from the repairer. Set a password to refresh the BIOS code by yourself.
在一實施例中,主機板11之版本號碼可以二進制碼表示,且如圖1所示,處理單元14係包含處理器141及平台路徑控制器(PCH)142,處理器141耦接平台路徑控制器142。平台路徑控制器142包含由上拉電阻與接地電阻組成之號碼產生電路。在伺服器裝置上電之後,上拉電阻與接地電阻可產生以二進制碼表示之主機板11之版本號碼(例如前述之第一版本號碼)。基此,在步驟S01中,處理單元14在執行開機自我檢測程序時係執行BIOS程式碼而主動地發送要求主機板11之版本號碼之請求訊號至平台路徑控制器142,當處理器141發送前述之請求訊號時,平台路徑控制器142之號碼產生電路即輸出以二進制碼表示之主機板11之版本號碼。處理單元14自平台路徑控制器142取得主機板11之版本號碼之後,處理單元14根據BIOS程式碼包含之版本號碼執行步驟S01以判斷主機板11之版本號碼與BIOS程式碼之版本號碼是否匹配。In one embodiment, the version number of the
在一實施例中,當主機板11之版本號碼與BIOS程式碼之版本號碼不匹配時,處理單元14觸發伺服器裝置的系統事件日誌(System Event Log;SEL),系統事件日誌至少包含主機板11之版本號碼與BIOS程式碼之版本號碼不匹配之異常資訊。詳細而言,如圖1所示,伺服器裝置更包含一基板管理控制單元(BMC)15耦接處理單元14,以前述之第一版本號碼與第二版本號碼為例,當處理單元14判斷出第一版本號碼與第二版本號碼不匹配時,處理單元14觸發基板管理控制單元15(步驟S07),使基板管理控制單元15將前述之第二判斷結果及相應之第四版本號碼、警示訊息、時間資訊、及當前不匹配之第一版本號碼及第二版本號碼紀錄於系統事件日誌,以供伺服器裝置之管理者藉由基板管理控制單元15以遠端連線之方式查詢系統事件日誌。In one embodiment, when the version number of the
綜上所述,根據本案之伺服器裝置之一實施例,處理單元可判斷主機板之版本號碼與BIOS程式碼之版本號碼是否匹配,不論是在工廠端或消費者端,處理單元均可在開機自我檢測程序中檢查出不匹配之版本號碼,以避免伺服器裝置運作不穩定之問題,且可藉由顯示警示訊息來提示使用者BIOS程式碼之版本號碼並未匹配於主機板之版本號碼。再者,處理單元可將主機板與BIOS程式碼之版本號碼為匹配或不匹配之判斷結果紀錄在非揮發性記憶體,且兩判斷結果係為不相互覆蓋之隱藏資訊,檢測者即可據以進行伺服器裝置之維修及除錯。In summary, according to an embodiment of the server device in this case, the processing unit can determine whether the version number of the motherboard matches the version number of the BIOS code. Whether it is on the factory side or the consumer side, the processing unit can be The mismatched version number is checked in the boot self-test process to avoid the problem of unstable operation of the server device, and a warning message can be displayed to remind the user that the version number of the BIOS code does not match the version number of the motherboard . Furthermore, the processing unit can record the judgment result that the version numbers of the motherboard and the BIOS code are matched or unmatched in the non-volatile memory, and the two judgment results are hidden information that does not cover each other. To repair and debug the server device.
雖然本案已以實施例揭露如上然其並非用以限定本案,任何所屬技術領域中具有通常知識者,在不脫離本案之精神和範圍內,當可作些許之更動與潤飾,故本案之保護範圍當視後附之專利申請範圍所界定者為準。Although this case has been disclosed by the examples above, it is not intended to limit the case. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the case. Therefore, the scope of protection of this case The scope of the patent application attached hereafter shall prevail.
11 主機板
12 第一非揮發記憶體單元
13 第二非揮發記憶體單元
14 處理單元
141 處理器
142 平台路徑控制器
15 基板管理控制單元
16 顯示單元
S01-S07 步驟
11
[圖1] 為根據本案之伺服器裝置之一實施例之方塊示意圖。 [圖2] 為根據本案之伺服器裝置於判斷主機板與BIOS程式碼之版本號碼之一實施例之流程圖。 [圖3] 為根據本案之伺服器裝置於判斷主機板與BIOS程式碼之版本號碼之另一實施例之流程圖。 [Figure 1] is a block diagram of an embodiment of the server device according to the present application. [Figure 2] is a flowchart of an embodiment of determining the version numbers of the motherboard and BIOS code for the server device according to this case. [Figure 3] is a flowchart of another embodiment of determining the version numbers of the motherboard and BIOS code for the server device according to the present case.
11 主機板
12 第一非揮發記憶體單元
13 第二非揮發記憶體單元
14 處理單元
141 處理器
142 平台路徑控制器
15 基板管理控制單元
16 顯示單元
11
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108136472A TWI733213B (en) | 2019-10-08 | 2019-10-08 | Server device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108136472A TWI733213B (en) | 2019-10-08 | 2019-10-08 | Server device |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202115563A TW202115563A (en) | 2021-04-16 |
TWI733213B true TWI733213B (en) | 2021-07-11 |
Family
ID=76604355
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108136472A TWI733213B (en) | 2019-10-08 | 2019-10-08 | Server device |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI733213B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201430702A (en) * | 2013-01-16 | 2014-08-01 | Acer Inc | Method and system for updating firmware |
TW201500911A (en) * | 2013-06-26 | 2015-01-01 | Inventec Corp | Debug device and debug method |
TW201818253A (en) * | 2016-11-11 | 2018-05-16 | 英業達股份有限公司 | Detection system and detection method |
TW201821990A (en) * | 2016-12-14 | 2018-06-16 | 英業達股份有限公司 | Computer system and detection method |
-
2019
- 2019-10-08 TW TW108136472A patent/TWI733213B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201430702A (en) * | 2013-01-16 | 2014-08-01 | Acer Inc | Method and system for updating firmware |
TW201500911A (en) * | 2013-06-26 | 2015-01-01 | Inventec Corp | Debug device and debug method |
TW201818253A (en) * | 2016-11-11 | 2018-05-16 | 英業達股份有限公司 | Detection system and detection method |
TW201821990A (en) * | 2016-12-14 | 2018-06-16 | 英業達股份有限公司 | Computer system and detection method |
Also Published As
Publication number | Publication date |
---|---|
TW202115563A (en) | 2021-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI584196B (en) | Bios recovery management system, computer program product and method for bios restoration | |
US10365961B2 (en) | Information handling system pre-boot fault management | |
TWI522838B (en) | Configuring a system | |
WO2022198972A1 (en) | Method, system and apparatus for fault positioning in starting process of server | |
US9703635B2 (en) | Method, computer program, and computer for restoring set of variables | |
TWI470420B (en) | Dubugging method and computer system using the smae | |
TW202136996A (en) | Method and system for optimal boot path for a network device | |
TW201520895A (en) | System and method for automatically recovering BIOS of a computer | |
TW201512831A (en) | Computer booting system and method of a computer | |
TW202030602A (en) | The method and system of bios recovery and update | |
TW201944239A (en) | Server and method for restoring a baseboard management controller automatically | |
TW200809489A (en) | BIOS damage detection and repair method and the motherboard | |
TWI733213B (en) | Server device | |
TWI685791B (en) | Method of generating bios-change record | |
TW202018312A (en) | Testing system | |
TW201734779A (en) | Boot status notification method and server system using the same | |
TWI715201B (en) | Hang-up information recording method | |
CN112256535B (en) | Hard disk alarm method, device, computer equipment and storage medium | |
TWI537721B (en) | Baseboard management control system and method | |
US20200119985A1 (en) | Changing security state of device | |
TWI777259B (en) | Boot method | |
TWI467484B (en) | Bios for self-verifying option rom and the verifying method thereof | |
CN113626303A (en) | Server device | |
TW201300801A (en) | Method and system for checking information of test equipment | |
TWI807521B (en) | Warning method |