天天看點

标準的Windows藍屏故障的分析、處理流程和VMware服務錯誤記錄

本文詳細的介紹了标準的Windows藍屏故障的分析、處理流程。介紹了如何使用WinDbg工具來分析核心轉儲檔案(Crashdump)以确定問題。在文末附帶的記錄了VMware服務錯誤的處理記錄。

作業系統:Windows 7 Enterprise X64 SP1 [Version 6.1.7601]。

系統用途:這個機器安裝的軟體較多,一般用于軟體測試使用。安裝了很多Web服務,如SQL Server,IIS等和軟體開發工具,如VS2010,DW和各種Studio、Kit等。

可能的觸發原因:由無線接入Internet方式切換到有線接入Internet方式(兩者都是手動填寫IP位址等,“等”是指子網路遮罩、預設網關、DNS伺服器IP位址),配置IP後,檢查了一下日志後,确定目前的狀态在日志(事件)中沒有問題,重新開機系統。在重新開機的過程中遇到藍屏故障,系統自動重新啟動,進入安全模式,登入前系統再次自動重新啟動到正常模式。

解決方案:首先使用Windows Driver Kit 7.1中的Windows Debugging Tool (WinDBG)分析記憶體轉儲檔案

<a href="http://dgd2010.blog.51cto.com/attachment/201209/18/1539422_1347978138uQaD.png"></a>

如果提示:

<a href="http://dgd2010.blog.51cto.com/attachment/201209/18/1539422_13479781441a9m.png"></a>

則用Administrator身份運作WinDbg。

在檢視了相關資訊後(如下圖的圖c),可以點選或者在Console中輸入 "!analyze-v”檢視詳細的分析結果,下圖圖d。

查閱wdf的相關資訊,先檢視一下wdf01000.sys是不是系統檔案。

<a href="http://dgd2010.blog.51cto.com/attachment/201209/18/1539422_1347978156G1Mf.png"></a>

找到檔案位置,檢視它的屬性,發現是Windows的系統檔案,而且還是核心模式驅動架構運作時程式(原文是Kernel Mode Driver Framework Runtime ),這個以前從沒接觸過,懷疑是系統bug,正如前面WinDbg說的,“

This is a very common bugcheck.  Usually the exception address pinpoints 

the driver/function that caused the problem.  Always note this address 

as well as the link date of the driver/image that contains this address. 

Some common problems are exception code 0x80000003.  This means a hard 

coded breakpoint or assertion was hit, but this system was booted 

/NODEBUG.  This is not supposed to happen as developers should never have 

hardcoded breakpoints in retail code, but ... 

If this happens, make sure a debugger gets connected, and the 

system is booted /DEBUG.  This will let us see why this breakpoint is 

happening.

”這個問題目前隻能送出給微軟的工程師來解決了。

<a href="http://dgd2010.blog.51cto.com/attachment/201209/18/1539422_1347978160HwgQ.png"></a>

再分析日志,特别是Error和Critical級别的日志。

發現問題:

<a href="http://dgd2010.blog.51cto.com/attachment/201209/18/1539422_1347978167tsjf.png"></a>

打開服務管理控制台,嘗試手動啟動VMwareHostd(服務名,顯示名稱為VMware Workstation Server)服務,結果遇到錯誤提示,如下圖所示。

圖a是擷取服務名,對以後的使用會有幫助。

圖b是錯誤提示。

但是VMware裡的虛拟機還是可以使用的。

解決方案:通過Windows事件檢視器的線上幫助查找是否有解決方案。

此頁面提示通路Vendor(制造商、開發商)官方網站尋求辦法。

根據下圖的提示搜尋。

<a href="http://dgd2010.blog.51cto.com/attachment/201209/18/1539422_1347978176nE4k.png"></a>

找到幾個有用的:

&lt;The VMware Workstation Server service terminated with service-specific error %%-1.&gt;

<a href="http://communities.vmware.com/thread/334353?tstart=0">http://communities.vmware.com/thread/334353?tstart=0</a>

本文轉自 urey_pp 51CTO部落格,原文連結:http://blog.51cto.com/dgd2010/998012,如需轉載請自行聯系原作者