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/


HLK Flush Test for Virtual Storport miniport

blangeblange Member Posts: 30

With the release of Windows 11, the HLK suddenly requests the Flush test for my Virtual Storport miniport (based on the instructive OSR blog). After connecting the required PDU the test starts with trying to write data to a cache and the flush it according to the test log. This operation fails, resulting in a test clean with formating the virtual disk, which then render the virtual disk useless.
I am logging the SRBs send to my driver (especially the ones which I do not support), however, I do not see the corresponding write request or synchronize cache request. I am also quite positive that I set the necessary bits in the Caching VDP that my device does not support caching.

I wonder if anybody here faces a similar problem with HLK or could shed some light on this Windows Flush test and its requirements. Other required HLK tests pass.

Comments

  • Scott_Noone_(OSR)Scott_Noone_(OSR) Administrator Posts: 3,683

    Have you managed to extract the right executables/command line so that you can run the test outside of the HLK? Would be much easier to track down because we can start setting breakpoints in the debugger.

    -scott
    OSR

  • blangeblange Member Posts: 30

    Hi Scott. Thank you for your reply. I will try to extract the corresponding command.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

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 9-13 Sept 2024 Live, Online
Developing Minifilters 15-19 July 2024 Live, Online
Internals & Software Drivers 11-15 Mar 2024 Live, Online
Writing WDF Drivers 20-24 May 2024 Live, Online