Why Does Windows Crash? - Windows

By Necoo
at 2008-02-13T15:26
at 2008-02-13T15:26
Table of Contents
剛好在整理 Windows Internals(4th edition)的讀書筆記,
其Chapter 14. Crash Dump Analysis有一段很經典的敘述:
--
Why Does Windows Crash?...
Third-party device driver(70%), Unknown(15%),
Hardware error(10%), MS code (5%).
When a kernel-mode device driver or subsystem causes an illegal exception,
Windows faces a difficult dilemma.
It has detected that a part of the operating system
with the ability to access any hardware device
and any valid memory has done something it wasn't supposed to do.
--
換言之,當我們面對Windows crash (ex. blue screen)的時候,
除了Google其error code之外(微軟網站有很龐大的FAQ資料庫可解決問題)
我們可以做的額外檢查就是:
1) 拆掉新硬體,連驅動程式都解除。因為寫壞的kernel-mode device driver
很可能造成Windows crash。
2) 拆裝記憶體(RAM)。如果記憶體功能出錯,也可能導致上述
...a part of the operating system with the ability to access...
any valid memory has done something it wasn't supposed to do.
3) 拆掉新軟體。因為有些軟體(例如防毒軟體)會安裝kernel-mode driver,
可能導致新舊軟體衝突、硬體衝突等等。
如果已經無法正常開機,就要進安全模式來拆掉它們了。
4) 重灌Windows。這是下下策了,然後一步步觀察重裝所有軟硬體時,
發生衝突的因素為何。有時可能只是最近中了Windows病毒,
而像Rootkit這類病毒也會寫入kernel-mode driver,
因此整個系統重灌也可解決問題。
--
其Chapter 14. Crash Dump Analysis有一段很經典的敘述:
--
Why Does Windows Crash?...
Third-party device driver(70%), Unknown(15%),
Hardware error(10%), MS code (5%).
When a kernel-mode device driver or subsystem causes an illegal exception,
Windows faces a difficult dilemma.
It has detected that a part of the operating system
with the ability to access any hardware device
and any valid memory has done something it wasn't supposed to do.
--
換言之,當我們面對Windows crash (ex. blue screen)的時候,
除了Google其error code之外(微軟網站有很龐大的FAQ資料庫可解決問題)
我們可以做的額外檢查就是:
1) 拆掉新硬體,連驅動程式都解除。因為寫壞的kernel-mode device driver
很可能造成Windows crash。
2) 拆裝記憶體(RAM)。如果記憶體功能出錯,也可能導致上述
...a part of the operating system with the ability to access...
any valid memory has done something it wasn't supposed to do.
3) 拆掉新軟體。因為有些軟體(例如防毒軟體)會安裝kernel-mode driver,
可能導致新舊軟體衝突、硬體衝突等等。
如果已經無法正常開機,就要進安全模式來拆掉它們了。
4) 重灌Windows。這是下下策了,然後一步步觀察重裝所有軟硬體時,
發生衝突的因素為何。有時可能只是最近中了Windows病毒,
而像Rootkit這類病毒也會寫入kernel-mode driver,
因此整個系統重灌也可解決問題。
--
Tags:
Windows
All Comments

By Zora
at 2008-02-18T00:17
at 2008-02-18T00:17

By Oscar
at 2008-02-18T23:03
at 2008-02-18T23:03

By Oliver
at 2008-02-20T23:30
at 2008-02-20T23:30

By Daph Bay
at 2008-02-21T18:35
at 2008-02-21T18:35

By Catherine
at 2008-02-22T10:27
at 2008-02-22T10:27

By Hardy
at 2008-02-27T02:44
at 2008-02-27T02:44

By Belly
at 2008-02-27T19:32
at 2008-02-27T19:32

By Iris
at 2008-03-02T05:04
at 2008-03-02T05:04

By Jacky
at 2008-03-03T11:56
at 2008-03-03T11:56
Related Posts
Vista Home Edt. supported inside VMs

By Irma
at 2008-01-24T10:26
at 2008-01-24T10:26
Vista Home Edt. supported inside VMs

By Rachel
at 2008-01-23T17:13
at 2008-01-23T17:13
Microsoft Office 2007 SP1

By Thomas
at 2007-12-12T17:52
at 2007-12-12T17:52
Windows XP SP3 RC1 微軟官方下載地址

By Quintina
at 2007-12-11T22:33
at 2007-12-11T22:33
gucciman: 討論盜版軟體

By Elizabeth
at 2007-11-20T17:29
at 2007-11-20T17:29