Re: trouble installing debug bootloader for debugging boot drivers



You do realize that the debugger is not windbg? It is a part of the kernel
on the target system. Its name is hal.dll and ntoskrnl.exe, so how can you
replace it before it runs? I might have missed some details, but this is
not the correct group for windbg as there are two of those groups. One is
hosted by Microsoft and the other by OSR. The MS windbg team reads both
newsgroups and frequently responds. There might be a separate file that
really contains the debugger, but it is strongly bound to the two main
files.

"Andy Grover" <andy.grover@xxxxxxxxxx> wrote in message
news:OhBLBZxXIHA.5784@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

This with WinDBG 6.8.0004.0 and WDK 6001.17051, target is Server 2003 sp2.

I'm attempting to follow the instructions in the WinDBG help in "Mapping
Driver Files" for replacing boot drivers with the image replacement
feature (kdfiles). The directions are a little thin, but I'm trying to do
the gist of what they're saying by copying WinDDK's
debug\i386\ntkrpamp.exe over \windows\system32\ntkrnlmp.exe. I've also
tried also copying \debug\i386\halmacpi.dll over
\windows\system32\HAL.DLL.

This results in a message: Windows could not start because of an error in
the software. load needed DLLs for kernel.

What am I doing wrong? Can I use the 6001 debug bootloader on Server 2003?

(Additional wrinkles: Target is running in SMP PAE mode under Xen --
debugging non-boot drivers works fine.)

Thanks -- Regards -- Andy


.



Relevant Pages

  • Re: How to connect to children process
    ... The WinDbg approach is clear for me. ... I have another small question to you related to my debug ... debugger at any place that can require debug. ... This mode is not ideal since VS2003 and WinDbg always try to lock DLL ...
    (microsoft.public.vsnet.debugging)
  • Re: Debugging Tools for Windows - WinDbg
    ... Is it free and better than the debugger built in VS .Net 2005? ... VS and WinDbg are designed with different goals in mind. ... VS debugger is targeted towards better usability and productivity when performing ... E.g. VS2005 introduces some of the most useful commands of WinDbg ...
    (microsoft.public.vc.mfc)
  • Re: How to connect to children process
    ... The WinDbg approach is clear for me. ... I have another small question to you related to my debug ... debugger at any place that can require debug. ... This mode is not ideal since VS2003 and WinDbg always try to lock DLL ...
    (microsoft.public.vsnet.debugging)
  • Problem attaching WinDbg to target after WDK7600 upgrade
    ... I installed the new WDK and get the following output when I run WinDbg ... Microsoft Windows Debugger Version 6.11.0001.404 X86 ... Copyright Microsoft Corporation. ...
    (microsoft.public.development.device.drivers)
  • Re: Troubleshooting Sleep Issues
    ... I fiddled around with WinDBG on a test machine. ... I'm not sure from the instructions whether I'm supposed to be doing a kernel ... It also sounds like they are doing a remote debug, ... I was however able to attach the debugger to the shell, ...
    (microsoft.public.development.device.drivers)

Loading