kmdf vs text mode setup

I first wrote my Xen PV drivers under KMDF, but then had to rewrite them
as WDM because I could not get KMDF working under textmode setup install
(press F6 to load drivers etc).

That was a few iterations ago of KMDF though, does anyone know if that
is still the case?

Also, I had to have a few registry updates to make KMDF load early
enough for my drivers, but at least that was work-around-able.

WDM has been a good learning experience, but having used both
environments, I’d definitely prefer KMDF!

Thanks

James

> I first wrote my Xen PV drivers under KMDF, but then had to

rewrite them as WDM because I could not get KMDF working
under textmode setup install (press F6 to load drivers etc).

It IS possible to make KMDF 1.7 based boot critical drivers work during text
mode setup on W2K3. Doron has given some important clues on this list in the
past.

Using F6 driver setup on W2K8 is a little easier.

Jan

> > I first wrote my Xen PV drivers under KMDF, but then had to

> rewrite them as WDM because I could not get KMDF working
> under textmode setup install (press F6 to load drivers etc).

It IS possible to make KMDF 1.7 based boot critical drivers work
during
text mode setup on W2K3. Doron has given some important clues on this
list in the past.

Using F6 driver setup on W2K8 is a little easier.

I would need to support XP and W2K3. A pointer to a few clues on a
windows driver mailing list doesn’t give me confidence that it is a
supported scenario though :slight_smile: If I’m going to make the move I would like
to see a Microsoft whitepaper on how to do it, lest it be something that
just happens to work under (say) 1.7, and then (because it’s not
officially supported), stops working under a later release.

That being said, I might still try it - Doron’s clues look pretty
straightforward to follow.

I need the textmode support because my scsiport driver is enumerated by
a bus driver, which is currently WDM. I can’t be the only one to have
ever put this sort of arrangement together… did Microsoft just not
think of it or was it too hard (in terms of effort required vs perceived
need)?

Thanks

James