Jump to content

Compiling ACPI v2.0 driver for Windows XP SP3 and Windows 2003 SP2 (x32/x64)


Recommended Posts

Posted

@Mov AX, 0xDEAD

here the option from the boot.ini that I'm using:

C:\WINDOWS="KDNET FREE"     /noexecute=optin /fastdetect /DEBUG /DEBUGPORT=NET /HOST_IP=192.168.1.1 /HOST_PORT=50000 /ENCRYPTION_KEY=1.2.3.4 /CPUFREQ=3300 /TARGET_IP=192.168.1.3 /BREAK /ONECPU

For compiled acpi.pdb do you mean the version you sent me (that's what I did by copying it in the folder c:\nt\base\busdrv\acpi\driver\nt\obj\i386\)?

Or I need to re-compile it? The associated acpi.sys (451.968 byte) where needs to be copied?

 

 

 

 


Posted (edited)
21 minutes ago, Andalu said:

@Mov AX, 0xDEAD

here the option from the boot.ini that I'm using:

C:\WINDOWS="KDNET FREE"     /noexecute=optin /fastdetect /DEBUG /DEBUGPORT=NET /HOST_IP=192.168.1.1 /HOST_PORT=50000 /ENCRYPTION_KEY=1.2.3.4 /CPUFREQ=3300 /TARGET_IP=192.168.1.3 /BREAK /ONECPU

This boot.ini is right, but in your last H470.txt you get BSOD without windbg prompt

classic original sp3 kernel:

Quote

Windows XP Kernel Version 2600 MP (1 procs) Free x86 compatible
Built by: 2600.xpsp.080413-2111

your kernel:

Quote

Windows XP Kernel Version 2600 (Service Pack 3) MP (1 procs) Free x86 compatible
Product: WinNt, suite: TerminalServer SingleUserTS
Built by: 2600.xpsp_sp3_qfe.180912-0606

 

Edited by Mov AX, 0xDEAD
Posted (edited)

@Andalu

Then type on running Windbg at commandline

.symfix+ W:\Symbols1

.reload /f

!sym noisy

Dietmar

PS: The "+" adds an extra path for new Symbols. If you use it without the "+",

your whole path to Symbols is set new.

Edited by Dietmar
Posted (edited)
8 minutes ago, Andalu said:

@Mov AX, 0xDEAD  @Dietmar  @Damnation

first of all, thank you so much for supporting me ;)

Here an image from my last attempt when I included all files in one folder only:

https://anonfiles.com/l9r4i0Zcx5/Debug_png

Now i see windbg prompt at instant breakpoint, you changed something right :)

Windbg 6.3.9600 uses symbol path different way, it may requre HASH in path:

Quote

Symbol search path is: srv*C:\SYMBOLS*http://msdl.microsoft.com/download/symbols
Executable search path is:
Windows XP Kernel Version 2600 UP Free x86 compatible
Built by: 2600.xpsp.080413-2111
Machine Name:
Kernel base = 0x804d7000 PsLoadedModuleList = 0x8055b1c0
System Uptime: not available
Break instruction exception - code 80000003 (first chance)
nt!DbgBreakPoint:
804e3586 cc              int     3
kd> lm
start    end        module name
804d7000 806ed680   nt         (pdb symbols)          c:\symbols\ntoskrnl.pdb\47A5AC97343A4A7ABF14EFD9E99337722\ntoskrnl.pdb
806ee000 80701d00   hal        (pdb symbols)          c:\symbols\halacpi.pdb\52475CC399844839AD8ADF647D0AF71A1\halacpi.pdb


 

Edited by Mov AX, 0xDEAD
Posted

@Dietmar

to bypass that problem, I chosen to use a ramdisk (W:\ drive) with the option 'save on shutdown' disabled. I copied on it only the Windbg and the symbols folders which are re-created on each reboot.

Posted
1 hour ago, Andalu said:

@Mov AX, 0xDEAD

For compiled acpi.pdb do you mean the version you sent me (that's what I did by copying it in the folder c:\nt\base\busdrv\acpi\driver\nt\obj\i386\)?

my version must be in c:\acpi\acpi_sp1\base\busdrv\acpi\driver\nt\obj\i386\

path to .pdb stored in self-compiled .sys !

original MS *.sys/*.exe/*.* files containts .pdb link without any path

Posted (edited)

@Dietmar

the WinDBg folder already contains the modded files as for the Blackwingcat msvcrt.dll which is already in the system32 folder.

Edited by Andalu
Posted

Windbg can download MS symbols from internet

1) create global system environment variable _NT_SYMBOL_PATH=srv*C:\SYMBOLS*http://msdl.microsoft.com/download/symbols

2) create empty c:\symbols folder

3) enter .reload /f

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   1 member

×
×
  • Create New...