Discussion:
The problem of Scsi miniport
(too old to reply)
Xiaojun Lu
2008-08-11 12:48:00 UTC
Permalink
Currently, we are developing a SCSI controller card, the functions of EDMA,
PIO is OK. However, when we add the WMI part to the code, it seems the code
doesn't work. I referred the example of aha154X which is in DDK document, the
class name is "SR701OP". After the driver installed to the system, I use the
wbemtest, connect to \\root\wmi, type "Select * from SR701OP", it shows error
"80041010", the class is not found. if I run the command "mofcomp -N:root\wmi
sr701.mof", the command execute successfully, however if I run the WQL again,
it shows error "8004100c", not supported. I doubt the data provider is not
correctly registered, but I check the code, I really follows the instruction
of DDK, the WmiDataProvider is set to TRUE and the WmiLib data structure is
initialized. If any one can help me on this problem, huge thanks in advance.
--
Scsi miniport
Xiaojun Lu
2008-08-12 11:46:00 UTC
Permalink
And, I use Windbg to trace the code running, it seems the WMI code wasn't
called after initializtion. such as HwScsiWmiQueryReginfo and
HwScsiWmiQueryDataBlock, wasn't called.
--
Scsi miniport
Post by Xiaojun Lu
Currently, we are developing a SCSI controller card, the functions of EDMA,
PIO is OK. However, when we add the WMI part to the code, it seems the code
doesn't work. I referred the example of aha154X which is in DDK document, the
class name is "SR701OP". After the driver installed to the system, I use the
wbemtest, connect to \\root\wmi, type "Select * from SR701OP", it shows error
"80041010", the class is not found. if I run the command "mofcomp -N:root\wmi
sr701.mof", the command execute successfully, however if I run the WQL again,
it shows error "8004100c", not supported. I doubt the data provider is not
correctly registered, but I check the code, I really follows the instruction
of DDK, the WmiDataProvider is set to TRUE and the WmiLib data structure is
initialized. If any one can help me on this problem, huge thanks in advance.
--
Scsi miniport
Loading...