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/


Diskdrive upper filter and boot

Ehsan_TaheriEhsan_Taheri Member Posts: 190

I restarted the VM!
I hadn't done it all this time! And I saw the INACCESSIBLE_BOOT_DEVICE stop code.
It was set to demand start but it was needed in the boot. I set boot start for startType in inf. The driverloads but another stop code that is not relevant to this question.
The question is.
Is it neccessary for a diskdrive upper filter to load at boot?
Or I may set it to not be needed and not be loaded at boot? And how?

Comments

  • Peter_Viscarola_(OSR)Peter_Viscarola_(OSR) Administrator Posts: 8,236

    Is it neccessary for a diskdrive upper filter to load at boot?

    Yes.

    Think about how the device tree gets built. As devices are discovered, the drivers for those devices are loaded. Then then drivers may enumerate other (virtual or physical) devices. If there are filters for those devices, then those filters need to be loaded when the device is enumerated and the driver is loaded. You can’t go back later and stick a filter in between, say, the storage adapter and the disk drive.

    Peter

    Peter Viscarola
    OSR
    @OSRDrivers

  • Ehsan_TaheriEhsan_Taheri Member Posts: 190

    Thanks for answering

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!
Writing WDF Drivers 7 Dec 2020 LIVE ONLINE
Internals & Software Drivers 25 Jan 2021 LIVE ONLINE
Developing Minifilters 8 March 2021 LIVE ONLINE