2012年1月8日 星期日

kernel debug command and options

bcdedit /dbgsettings serial debugport:1

bcdedit /copy {current} /d DebugEntry After this command executed, the ${ID} will appear on console and please replace all ${ID} with it.

bcdedit /displayorder {current} ${ID}

bcdedit /debug ${ID} ON

bcdedit /default ${ID}

** The commands above need to be executed on administrator privilege console window(right click command prompt and choose “run as administrator” option).

** To execute driver without signed:

        . Press F8 when windows starting

        . Choose “停用驅動程式簽章增強” option(I forget the wording in English)

** To show debug log message on WinDBG console, please modify the registry value below:

        [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Debug Print Filter]

                "DEFAULT"=dword:0000ffff

沒有留言: