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

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

Dynamic disk permanently altering shutdown behaviour

AhhmyfaceAhhmyface Member Posts: 8

It's kind of a weird problem.

I have a driver that works reliably on basic disk systems. But enabling dynamic disks causes a 9F (basically a hang) on shutdown.

After some investigation, I've determined that dynamic disk changes the behaviour of the disk shutdown, serializing them or running them synchronously whereas the old behaviour was to simultaneously send IRP_MJ_POWER to all disks. Since my driver deliberately postpones shutdown until the boot disk gets the IRP, and they refuse to send me the boot disk IRP until one or more other disks are successfully shut down, I have a problem.

Now, maybe I shouldn't be messing with the ordering, but so are they! Oh well. Maybe I'll just explicitly not support Dynamic Disks or software RAID.

I can't do that, unfortunately, because even after deleting the mirrors, returning all disks to basic disk, the same shutdown sequence persists. I've reproduced this across multiple instances.

Does anyone know how I can disable this behaviour? Or work around it?

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
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Developing Minifilters 20 Apr 2020 OSR Seminar Space & ONLINE
Writing WDF Drivers 11 May 2020 OSR Seminar Space & ONLINE
Internals & Software Drivers 28 Sept 2020 Dulles, VA