SCSIPORT bug?

Can anybody tell me: why SCSIPORT.SYS completes itself IRP_MN_QUERY_POWER
for System Power State?

It causes BSOD with Verifier when doing system shutdown. From the docs:

" IRP_MN_QUERY_POWER for a System Power State. The power manager sends this
IRP to ensure that it can

change the system power state without disrupting work, such as dropping
network connections. When a driver

receives a system power query IRP, it should fail the IRP if it cannot
support any of the device states that are

valid for the queried system state. … Otherwise, the driver should pass
the IRP to the next lower driver. The bus

driver completes the IRP…".

SCSIPORT does not pass anything to the bus driver and simply completes this
IRP itself. With BSOD C9 and code

201…

Any clue why it happens? Just take Vista build 5728 and enable “Enhanced I/O
Verification” and voila…

Thanks!

Anton Kolomyeytsev

Anton, do you turn on the SCSI verifier? I guess this problem can only
be observed on vista.


Best Regards,
hanzhu

Anton Kolomyeytsev дµÀ:

Can anybody tell me: why SCSIPORT.SYS completes itself IRP_MN_QUERY_POWER
for System Power State?

It causes BSOD with Verifier when doing system shutdown. From the docs:

" IRP_MN_QUERY_POWER for a System Power State. The power manager sends this
IRP to ensure that it can

change the system power state without disrupting work, such as dropping
network connections. When a driver

receives a system power query IRP, it should fail the IRP if it cannot
support any of the device states that are

valid for the queried system state. … Otherwise, the driver should pass
the IRP to the next lower driver. The bus

driver completes the IRP…".

SCSIPORT does not pass anything to the bus driver and simply completes this
IRP itself. With BSOD C9 and code

201…

Any clue why it happens? Just take Vista build 5728 and enable “Enhanced I/O
Verification” and voila…

Thanks!

Anton Kolomyeytsev


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer