Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV
Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


windows 7 64 bit device driver developement

praveen1995praveen1995 Member Posts: 1

hii all have buit windows 7 64 bit driver in kmdf it is installed succussfully but it is not working when i connected to local kernal debugging error is occured
the error is shown bellow please help me to solve this problem
1) first error

  • using the _NT_SYMBOL_PATH environment variable. *
  • using the -y argument when starting the debugger. *
  • using .sympath and .sympath+ *

*** ERROR: Symbol file could not be found. Defaulted to export symbols for ntkrnlmp.exe -
Windows 7 Kernel Version 7601 (Service Pack 1) MP (4 procs) Free x64
Product: WinNt, suite: TerminalServer SingleUserTS
Built by: 7601.24384.amd64fre.win7sp1_ldr_escrow.190220-1800
Machine Name:
Kernel base = 0xfffff80002c4b000 PsLoadedModuleList = 0xfffff80002e84c90
Debug session time: Tue Jul 28 16:39:09.518 2020 (UTC + 5:30)
System Uptime: 0 days 0:05:55.455
The call to LoadLibrary(ext) failed, Win32 error 0n2
"The system cannot find the file specified."
Please check your debugger configuration and/or network access.
The call to LoadLibrary(exts) failed, Win32 error 0n2
"The system cannot find the file specified."
Please check your debugger configuration and/or network access.
The call to LoadLibrary(kext) failed, Win32 error 0n2
"The system cannot find the file specified."
Please check your debugger configuration and/or network access.
The call to LoadLibrary(kdexts) failed, Win32 error 0n2
"The system cannot find the file specified."
Please check your debugger configuration and/or network access.

2) second error (when i opened .sys i got this this error)

"commandLine: C:\Users\test - 1\Desktop\28-07-20\debug1\PCINO.sys
cannot execute 'c:\Users\test - 1\Desktop\28-07-20\debug1\PCINO.sys',win32 error on12
"The %1 application cannot be run in win32 mode."

Comments

  • Tim_RobertsTim_Roberts Member - All Emails Posts: 13,498

    The most likely problem is that you built your driver as 32-bit. Unlike user mode, a kernel driver must match the operating system's bit width.

    Tim Roberts, [email protected]
    Providenza & Boekelheide, Inc.

  • Mark_RoddyMark_Roddy Member - All Emails Posts: 4,350

    The first error is simply that you haven't configured symbols in the debugger.
    The second error is wtf? You cannot run a .sys file from user mode.

    You need to acquire some more clues about whatever it is you are actually trying to do.

  • Peter_Viscarola_(OSR)Peter_Viscarola_(OSR) Administrator Posts: 7,913

    And you need to acquire a sufficient clue about how to post in the right discussion area.

    Moved...

    Peter

    Peter Viscarola
    OSR
    @OSRDrivers

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Developing Minifilters 15 Jun 2020 LIVE ONLINE
Writing WDF Drivers 22 June 2020 LIVE ONLINE
Internals & Software Drivers 28 Sept 2020 Dulles, VA