Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

Go Back   OSR Online Lists > windbg
Welcome, Guest
You must login to post to this list
  Message 1 of 6  
19 Apr 07 18:22
Bill McKenzie
xxxxxx@sbcglobal.net
Join Date:
Posts To This List: 19
.kdfiles and boot start and Vista

Anyone been able to use .kdfiles -m in WinDbg with boot start drivers on Vista? After much wailing and gnashing of teeth I am thinking it can't be done. Anyone? I have seen some posts on this but they all either go no where or the people replying didn't read very well. Here is what I have tried. I tried using bcdedit to turn on the boot debugger. Here is my output from WinDbg: Waiting to reconnect... BD: Boot Debugger Initialized Connected to Windows Boot Debugger 6000 x86 compatible target, ptr64 FALSE Kernel Debugger connection established. Symbol search path is: From the kd prompt I set >sxe ld:mydriver.sys and the debugger promptly broke after all of the boot start drivers had been loaded?? The .kdfiles mapping to my driver never kicked. I am connecting WinDbg via NULL modem cable COM1 115200 baud. I also tried loading a checked build of WinLoad.exe...still no love. I can't seem to get the debugger to hook during boot. HELP? Anyone? I have seen several veteran driver devs ask this same question with no real help. If it isn't possible, it would be nice of someone to just say so. In my case this would sure save me a butt-load of time. Thanks.
  Message 2 of 6  
19 Apr 07 19:22
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 96
.kdfiles and boot start and Vista

.kdfiles for boot start drivers does not work with the new Vista loader. We hope to add it back in the next client release of Windows. d -----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Bill McKenzie Sent: Thursday, April 19, 2007 3:22 PM To: Kernel Debugging Interest List Subject: [windbg] .kdfiles and boot start and Vista Anyone been able to use .kdfiles -m in WinDbg with boot start drivers on Vista? After much wailing and gnashing of teeth I am thinking it can't be done. Anyone? I have seen some posts on this but they all either go no where or the people replying didn't read very well. Here is what I have tried. I tried using bcdedit to turn on the boot debugger. Here is my output from WinDbg: Waiting to reconnect... BD: Boot Debugger Initialized Connected to Windows Boot Debugger 6000 x86 compatible target, ptr64 FALSE Kernel Debugger connection established. Symbol search path is: From the kd prompt I set >sxe ld:mydriver.sys and the debugger promptly broke after all of the boot start drivers had been loaded?? The .kdfiles mapping to my driver never kicked. I am connecting WinDbg via NULL modem cable COM1 115200 baud. I also tried loading a checked build of WinLoad.exe...still no love. I can't seem to get the debugger to hook during boot. HELP? Anyone? I have seen several veteran driver devs ask this same question with no real help. If it isn't possible, it would be nice of someone to just say so. In my case this would sure save me a butt-load of time. Thanks. --- You are currently subscribed to windbg as: xxxxx@microsoft.com To unsubscribe send a blank email to xxxxx@lists.osr.com
  Message 3 of 6  
19 Apr 07 19:24
Bill McKenzie
xxxxxx@sbcglobal.net
Join Date:
Posts To This List: 19
.kdfiles and boot start and Vista

Much thanks Doron! I was still beating my head against this one....saved me a bruise or two. Btw, I am guessing ".sxe ld:blah.sys" doesn't work either at boot start time? Bill M. "Doron Holan" <xxxxx@microsoft.com> wrote in message news:58643@windbg... kdfiles for boot start drivers does not work with the new Vista loader. We hope to add it back in the next client release of Windows. d -----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Bill McKenzie Sent: Thursday, April 19, 2007 3:22 PM To: Kernel Debugging Interest List Subject: [windbg] .kdfiles and boot start and Vista Anyone been able to use .kdfiles -m in WinDbg with boot start drivers on Vista? After much wailing and gnashing of teeth I am thinking it can't be done. Anyone? I have seen some posts on this but they all either go no where or the people replying didn't read very well. Here is what I have tried. I tried using bcdedit to turn on the boot debugger. Here is my output from WinDbg: Waiting to reconnect... BD: Boot Debugger Initialized Connected to Windows Boot Debugger 6000 x86 compatible target, ptr64 FALSE Kernel Debugger connection established. Symbol search path is: From the kd prompt I set >sxe ld:mydriver.sys and the debugger promptly broke after all of the boot start drivers had been loaded?? The .kdfiles mapping to my driver never kicked. I am connecting WinDbg via NULL modem cable COM1 115200 baud. I also tried loading a checked build of WinLoad.exe...still no love. I can't seem to get the debugger to hook during boot. HELP? Anyone? I have seen several veteran driver devs ask this same question with no real help. If it isn't possible, it would be nice of someone to just say so. In my case this would sure save me a butt-load of time. Thanks. --- You are currently subscribed to windbg as: xxxxx@microsoft.com To unsubscribe send a blank email to xxxxx@lists.osr.com
  Message 4 of 6  
19 Apr 07 20:01
windbg member 19758
xxxxxx@evitechnology.com
Join Date:
Posts To This List: 504
.kdfiles and boot start and Vista

I don't know whether it is possible or not. However, based on some of the replies from certain ops, I would say that the safe assumption is that it no one who knows is going to say, for whatever reason. >>> xxxxx@sbcglobal.net 2007-04-19 18:22 >>> Anyone been able to use .kdfiles -m in WinDbg with boot start drivers on Vista? After much wailing and gnashing of teeth I am thinking it can't be done. Anyone? I have seen some posts on this but they all either go no where or the people replying didn't read very well. Here is what I have tried. I tried using bcdedit to turn on the boot debugger. Here is my output from WinDbg: Waiting to reconnect... BD: Boot Debugger Initialized Connected to Windows Boot Debugger 6000 x86 compatible target, ptr64 FALSE Kernel Debugger connection established. Symbol search path is: From the kd prompt I set >sxe ld:mydriver.sys and the debugger promptly broke after all of the boot start drivers had been loaded?? The .kdfiles mapping to my driver never kicked. I am connecting WinDbg via NULL modem cable COM1 115200 baud. I also tried loading a checked build of WinLoad.exe...still no love. I can't seem to get the debugger to hook during boot. HELP? Anyone? I have seen several veteran driver devs ask this same question with no real help. If it isn't possible, it would be nice of someone to just say so. In my case this would sure save me a butt-load of time. Thanks. --- You are currently subscribed to windbg as: xxxxx@evitechnology.com To unsubscribe send a blank email to xxxxx@lists.osr.com
  Message 5 of 6  
21 Apr 07 01:07
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 96
.kdfiles and boot start and Vista

Don't know, but I would trust your empirical evidence. OTOH, while the boot loader loaded the image, it has not yet called into the image's entry point yet, so if you have the symbols, you can set a bp on blah!DriverEntry or use the PDRIVER_OBJECT to find the entrypoint's address d -----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Bill McKenzie Sent: Thursday, April 19, 2007 4:24 PM To: Kernel Debugging Interest List Subject: Re:[windbg] .kdfiles and boot start and Vista Much thanks Doron! I was still beating my head against this one....saved me=20 a bruise or two. Btw, I am guessing ".sxe ld:blah.sys" doesn't work either at boot start=20 time? Bill M. "Doron Holan" <xxxxx@microsoft.com> wrote in message=20 news:58643@windbg... kdfiles for boot start drivers does not work with the new Vista loader. We hope to add it back in the next client release of Windows. d -----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Bill McKenzie Sent: Thursday, April 19, 2007 3:22 PM To: Kernel Debugging Interest List Subject: [windbg] .kdfiles and boot start and Vista Anyone been able to use .kdfiles -m in WinDbg with boot start drivers on Vista? After much wailing and gnashing of teeth I am thinking it can't be done. Anyone? I have seen some posts on this but they all either go no where or the people replying didn't read very well. Here is what I have tried. I tried using bcdedit to turn on the boot debugger. Here is my output from WinDbg: Waiting to reconnect... BD: Boot Debugger Initialized Connected to Windows Boot Debugger 6000 x86 compatible target, ptr64 FALSE Kernel Debugger connection established. Symbol search path is: From the kd prompt I set >sxe ld:mydriver.sys and the debugger promptly broke after all of the boot start drivers had been loaded?? The .kdfiles mapping to my driver never kicked. I am connecting WinDbg via NULL modem cable COM1 115200 baud. I also tried loading a checked build of WinLoad.exe...still no love. I can't seem to get the debugger to hook during boot. HELP? Anyone? I have seen several veteran driver devs ask this same question with no real help. If it isn't possible, it would be nice of someone to just say so. In my case this would sure save me a butt-load of time. Thanks. --- You are currently subscribed to windbg as: xxxxx@microsoft.com To unsubscribe send a blank email to xxxxx@lists.osr.com --- You are currently subscribed to windbg as: xxxxx@microsoft.com To unsubscribe send a blank email to xxxxx@lists.osr.com
  Message 6 of 6  
21 Apr 07 12:17
Bill McKenzie
xxxxxx@sbcglobal.net
Join Date:
Posts To This List: 19
.kdfiles and boot start and Vista

>OTOH, while the >boot loader loaded the image, it has not yet called into the image's >entry point yet Yeah I noticed that. >if you have the symbols, you can set a bp on >blah!DriverEntry or use the PDRIVER_OBJECT to find the entrypoint's >address Actually I tried that and I could not get the debugger to break at DriverEntry even though the breakpoint seemed to be resolved okay by WinDbg. DbgBreakPoint() never fails :( Can you guys fix that too :-) Thanks for the information! Bill M. "Doron Holan" <xxxxx@microsoft.com> wrote in message news:58648@windbg... Don't know, but I would trust your empirical evidence. OTOH, while the boot loader loaded the image, it has not yet called into the image's entry point yet, so if you have the symbols, you can set a bp on blah!DriverEntry or use the PDRIVER_OBJECT to find the entrypoint's address d -----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Bill McKenzie Sent: Thursday, April 19, 2007 4:24 PM To: Kernel Debugging Interest List Subject: Re:[windbg] .kdfiles and boot start and Vista Much thanks Doron! I was still beating my head against this one....saved me a bruise or two. Btw, I am guessing ".sxe ld:blah.sys" doesn't work either at boot start time? Bill M. "Doron Holan" <xxxxx@microsoft.com> wrote in message news:58643@windbg... kdfiles for boot start drivers does not work with the new Vista loader. We hope to add it back in the next client release of Windows. d -----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Bill McKenzie Sent: Thursday, April 19, 2007 3:22 PM To: Kernel Debugging Interest List Subject: [windbg] .kdfiles and boot start and Vista Anyone been able to use .kdfiles -m in WinDbg with boot start drivers on Vista? After much wailing and gnashing of teeth I am thinking it can't be done. Anyone? I have seen some posts on this but they all either go no where or the people replying didn't read very well. Here is what I have tried. I tried using bcdedit to turn on the boot debugger. Here is my output from WinDbg: Waiting to reconnect... BD: Boot Debugger Initialized Connected to Windows Boot Debugger 6000 x86 compatible target, ptr64 FALSE Kernel Debugger connection established. Symbol search path is: From the kd prompt I set >sxe ld:mydriver.sys and the debugger promptly broke after all of the boot start drivers had been loaded?? The .kdfiles mapping to my driver never kicked. I am connecting WinDbg via NULL modem cable COM1 115200 baud. I also tried loading a checked build of WinLoad.exe...still no love. I can't seem to get the debugger to hook during boot. HELP? Anyone? I have seen several veteran driver devs ask this same question with no real help. If it isn't possible, it would be nice of someone to just say so. In my case this would sure save me a butt-load of time. Thanks. --- You are currently subscribed to windbg as: xxxxx@microsoft.com To unsubscribe send a blank email to xxxxx@lists.osr.com --- You are currently subscribed to windbg as: xxxxx@microsoft.com To unsubscribe send a blank email to xxxxx@lists.osr.com
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the windbg list to be able to post.

All times are GMT -5. The time now is 14:54.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license