I hate to continue this…but
> There is one, rather outstanding, difference between KMDF and Windows’
> other APIs or DDIs today. Namely, I can choose not to use it.
Sorry, the above is not always true. There are a number of classes of
drivers Microsoft is requiring the use of KMDF to get the driver signed.
Sad but true. Eventually, I have always assumed this would be the case, you
will have to use KMDF in all applicable situations and probably in a couple
of applications where it isn’t applicable 
Where were your complaints on the various class drivers over the years?
The storage group has shipped drivers that cannot pass driver verifier.
There was a USB class driver that caused the WHQL tests to fail (oops not
fail you had to just read though tons of documents to find that you could
ignore those failures, unless you wanted the device to support those
features and then you were out of luck). Right now the current WDK has a
number of driver sources that fail to pass PreFast or SDV and if you look
at the bugs they are real and will cause crashes. So where was your
outrage there?
I have ALWAYS complained about bad drivers and ESPECIALLY bad minidrivers
and class drivers. I screamed bloody murder at NDIS for years which is one
reason I was VERY interested in affecting the direction of this framework if
I could. The last thing on earth we ever needed was another miniport
model!!! Have you read any of my 1394 material? Again, we can’t choose in
those cases. We should choose rightly where we can.
Now we are comming to your real complaint. I was there with you at the
first WinHEC we gave feedback and ageed that source was important. Yes
source access should be had, but to ignore or advocate against KMDF
strictly on the lack of source is stupid.
Oh c’mon lets be honest shall we? You, and I remember distinctly, were one
of the very few who were quite outspoken and adimant about source NOT being
provided.
It was my understanding that the source release was hung up by legal.
Dealing with Microsoft legal is frightening, they are so afraid of being
sued that anything new is going to take forever. Condemming the KMDF
team because they could not get there is unfair to people who worked long
and hard to give us a good framework.
Whatever…I don’t buy the argument. Is it a software company or a law
firm? I am hearing excuses. Someone at some level of management has
authority to fix this with a word.
Bill if source is the key to quality, where was your fight to get source
of the WHQL tests? I would argue having those sources would be a much
higher priority. With those one could create additional tests, or tests
for drivers that WHQL does not cover. Source code for KMDF will be a
useful tool, but KMDF is a good tool even if it does not provide source.
Thats your argument…go ahead and argue it. The OP asked about something
that led to KMDF. I have been 100% consistent on this from the very start.
I have said numerous times and I quote “If source is provided I will be the
framework’s biggest proponent, however if it is not provided I will be its
biggest opponent.”
You didn’t even touch my most important point about existing drivers and the
learning from KMDF. The vast majority of drivers that I run across and have
to work on today are existing drivers written before KMDF. These companies
can’t just go rewrite these drivers, that would be suicide. They have to
maintain them. Most of the drivers for Windows today have already been
written. That is the main reason, and I believe I have stated that reason
numerous times, for wanting source released for KMDF. I mean it is
completely written using published APIs right?? What’s the mystery?
If Microsoft were actually concerned about helping improve the quality of
3rd party drivers as they have often claimed, I believe they would try to
get as much of this information out there as possible as quickly as
possible. Instead they are hiding it?? Okay, so now I don’t believe
them…sorry I just calls em how I sees em. No axe to grind, no
beef…Microsoft has always been really good to me…I just don’t believe
the statements on this whole source/3rd party driver issue…it doesn’t pass
muster with me.
Bill M.
“Don Burn” wrote in message news:xxxxx@ntdev…
> Comments inline:
>
> “Bill McKenzie” wrote in message
> news:xxxxx@ntdev…
>> I am sick of hearing people recommend KMDF versus getting a handle on the
>> complexities of WDM, which they will need anyway. I guess we will both
>> just have to remain sick.
>
> There is getting a handle and there is understanding all the sublety of
> it. I doubt you or any of us understand the latter, since among others
> Microsoft did not as they found out in developing KMDF.
>
>> There is one, rather outstanding, difference between KMDF and Windows’
>> other APIs or DDIs today. Namely, I can choose not to use it.
>
> Sorry, the above is not always true. There are a number of classes of
> drivers Microsoft is requiring the use of KMDF to get the driver signed.
>
>> I don’t as much worry about the stability of KMDF as I do the available
>> resources for it. There is well over ten years of collective experience
>> with WDM and the other driver models to build from. KMDF? Well we have
>> Doron, Peter W., et al…for now. And on the topic of stability who
>> knows? It seems pretty good so far, but I wouldn’t bet my enterprise on
>> it yet…especially without being able to look at it. Even the best
>> developers make mistakes. These guys are some of the best…but they
>> made mistakes that is a mathematical certainty.
>
> Where were your complaints on the various class drivers over the years?
> The storage group has shipped drivers that cannot pass driver verifier.
> There was a USB class driver that caused the WHQL tests to fail (oops not
> fail you had to just read though tons of documents to find that you could
> ignore those failures, unless you wanted the device to support those
> features and then you were out of luck). Right now the current WDK has a
> number of driver sources that fail to pass PreFast or SDV and if you look
> at the bugs they are real and will cause crashes. So where was your
> outrage there?
>
>> And, the biggest issue I have with KMDF is that it is now a complete
>> departure away from its stated goal. The whole idea of KMDF, at least as
>> it was presented to me, was to help make 3rd party drivers more robust. I
>> don’t believe now, that that was ever really the intention. If it were,
>> why would you not release source to the framework? If for no other
>> reason, think about the literally thousands of existing WDM drivers that
>> cannot afford a complete rewrite in a new framework, but COULD quite
>> reasonably benefit from the learnings that could be had from the source
>> of KMDF. The KMDF group has uncovered what many of us have been begging
>> for for years and that is all of the undocumented interdependencies of
>> PnP, Power and I/O. Why not let the rest of us, the third party driver
>> developers, in on the secrets?
>
> Now we are comming to your real complaint. I was there with you at the
> first WinHEC we gave feedback and ageed that source was important. Yes
> source access should be had, but to ignore or advocate against KMDF
> strictly on the lack of source is stupid.
>
> The lack of source does not make KMDF a failure on the purpose of
> improving drivers. Sorry, I don’t know how many of us will really study
> the 300+ state state machine that represents that “undocumented
> interdependencies of PnP, Power and I/O”. Right now I am writing a driver
> that has to be WDM (it has to run in text mode setup and KMDF cannot) and
> I am cursing all the pain I am in trying to get PNP/power right and this
> is a simple filter.
>
> If you wanted to complain about the things KMDF lacks, then ok. My list
> is over a page of single liners and talking to a number of senior
> Microsoft people at WinHEC I found my list is only a small percentage of
> total items they have.
>
>> The KMDF group did a phenominal job on this framework right up and to the
>> point of not pushing hard enough for source release. So now, the whole
>> thing is a wash IMHO. Until you have to use it for Logo purposes, I
>> think you would be crazy to use it. That is my personal take, and my
>> recommendation to anyone who asks.
>
> It was my understanding that the source release was hung up by legal.
> Dealing with Microsoft legal is frightening, they are so afraid of being
> sued that anything new is going to take forever. Condemming the KMDF
> team because they could not get there is unfair to people who worked long
> and hard to give us a good framework.
>
> Bill if source is the key to quality, where was your fight to get source
> of the WHQL tests? I would argue having those sources would be a much
> higher priority. With those one could create additional tests, or tests
> for drivers that WHQL does not cover. Source code for KMDF will be a
> useful tool, but KMDF is a good tool even if it does not provide source.
>
>
>
> –
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Website: http://www.windrvr.com
> Blog: http://msmvps.com/blogs/WinDrvr
> Remove StopSpam to reply
>
>