Below is the full OSLoader content for win7 X64:
[/noexecute = optin /debug]
I want to know what local kernel debug engine really needs when
initialization? Can I debug the process?
sender: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] for Skywing
Do you also have /nodebug set in the osloader option string?
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Moore.Zhang
Sent: Tuesday, August 30, 2011 4:55 AM
To: Kernel Debugging Interest List
Subject: re: [windbg] Failed to launch lkd
Preess F10 when booting, there is /debug option.
[The OSR listserver does not reliably support replying via mail to messages
not sent via US-ASCII and tends to bounce them, which complicates sending a
response to you. Sorry!]
KdDebuggerEnabled should not be zero if the system was booted with kd
enabled. What did you to exactly to turn kd on? Bcdedit /set debug on? Or
something else?
If you hit F10 on the boot menu for the OS install that you are booting,
what is the osloader command line that is displayed?
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Moore Zhang
Sent: Monday, August 29, 2011 4:53 PM
To: Kernel Debugging Interest List
Subject: Re: [windbg] Failed to launch lkd
I used windbg/lkd in many computers and not found such problem. Can there be
something wrong with my laptop/BIOS?
Rebooted, of course!
Did you reboot after enabling the kernel debugger via bcdedit?
From: Moore.Zhang
Sent: Monday, August 29, 2011 4:52
To: Kernel Debugging Interest List
Subject: [windbg] Failed to launch lkd
Hi, Guys.
I newly installed a Win7 64 OS in my laptop. I installed the ‘Windbg
6.12.0002.633 AMD64’ which is downloaded from SDK. I also tried another
version ‘windbg amd64 6.11.1.404’. Problem is that for both these versions,
I can’t launch lkd debug environment. I have enabled debug option using
bcdedit and output ‘debug yes’. I also start windbg with Administrator. When
I tried to launch the lkd environment, the error dialog is shown with
message:
"
Local kernel debugging requires Windows XP, Administrative
privileges, and is not supported by WOW64.
Only a single local kernel debugging session can run at a time.
"
I tried many methods, can’t get good result. I also tried another Vista 64
OS in this laptop, behave same as Win7.
I don’t think I missed anything in this, but what’s wrong?
Isolation:
-
Livekd can be used correctly.
-
When executing kdbgctrl -db/-e, displays 0xC0000354 error which
means the kernel debug option is not enabled.
c:\Program Files\Debugging Tools for Windows (x64)>kdbgctrl.exe -db
Unable to set Kernel debugger block-enable, NTSTATUS 0xC0000354
Debugger Inactive: Windows may have been started without kernel
debugging enabled.
- I use livekd to watch kernel variable nt!KdDebuggerEnabled, like below(I
don’t know it is one/two bytes):
0: kd> x nt!kdDebuggerEnabled
fffff80002e8c330 nt!KdDebuggerEnabled = <no type information><br><br>0: kd> db fffff800
02e8c330 L4
fffff800`02e8c330 00 01 00 00
Any comment is appreciated!
—
WINDBG is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
—
WINDBG is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
–
=================================
Best Regards!
Moore.Zhang (Zhang Pei)
— WINDBG is sponsored by OSR For our schedule of WDF, WDM, debugging and
other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the
List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
—
WINDBG is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
—
WINDBG is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
—
WINDBG is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer