It scares me just a little bit
that you are turning on driver verifier this late in the development cycle, but to each his own
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Ajitabh Saxena
Sent: Wednesday, November 29, 2006 6:08 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Handling IRP_MN_BOGUS.
Hi Doron,
This driver is already done and is going in maintenance phase. Our team is trying to get it WHQLed certified and we banged in to this issue. The next driver that I write will be in KMDF.
Thanks for you help,
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Wednesday, November 29, 2006 5:47 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Handling IRP_MN_BOGUS.
Yes, as a pnp driver you must handle pnp/power/wmi even if you don’t do anything with them. Have you considered using KMDF to write your driver instead of using WDM ?Since it appears you are starting from scratch, there is no conversion issue and KMDF will make all of these problems go away and let you focus on the problem you are trying to solve vs the requirements of the OS to have your driver load and run properly.
d
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Ajitabh Saxena
Sent: Wednesday, November 29, 2006 5:15 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Handling IRP_MN_BOGUS.
Hi All,
??? The Driver verifier is giving a bug check for my WDM function driver. Teh details are attached at the end of the mail and I really do not know how to handle this IRP.
Any help is appriciated. My driver does not handle the IRP_MJ_SYSTEM_CONTROL and does not register this dispatch routine at all. Is it a requirement to handle this major function.
My driver is not a?WMI data provider and hence this dispatch routine is not provided.
?
Any help is highly appriciated.
?
Thanks in advance,
- Aj
?
Here are the details of the crash:
?
***********************************************************************
* THIS VALIDATION BUG IS FATAL AND WILL CAUSE THE VERIFIER TO HALT??? *
* WINDOWS (BUGCHECK) WHEN THE MACHINE IS NOT UNDER A KERNEL DEBUGGER! *
***********************************************************************
WDM DRIVER ERROR: [bcmWDmpc.sys @ 0xBA496C05] This driver has not filled out
??? a dispatch routine for a required IRP major function (Irp
??? = 87996F00 ).
IRP_MJ_SYSTEM_CONTROL.IRP_MN_BOGUS
[DevObj=867C72A8, FileObject=00000000, Parameters=86995710 00000000 00000000 00000000]
http://www.microsoft.com/hwdq/bc/default.asp?os=5.1.2600&major=0xc9&minor=0x21f&lang=0x9
?
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
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
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