NDIS 6 miniport - MiniportInitialize is not called



Hi,
I am trying to write an ndis 6 miniport virtual driver (I am not strong
in names so meanwhile I called him netvmini)


On the device manager I get the message:
"This device is not working properly because Windows cannot load the
drivers required for this device. (Code 31)"

When using WinDbg I see that my driverentry is called and return
SUCCESS.
but my MiniportInitializeEx is not called instead the DriverUnload is
called.

on setupapi.dev file I get:

[Device Install (UpdateDriverForPlugAndPlayDevices) - root\netvmini]
Section start 2006/12/03 17:22:06.296
cmd: c:\tools\devcon.exe install netvmini.inf root\netvmini
!!! sto: Inf file does not contain CatalogFile directive for the
specified processor architecture. Inf = c:\ndis6\netvmini.inf
! sto: The Driver Package does not contain a catalog file, but user
wants to install anyway.
! sig: No installed catalogs matching catalog name '' were found
that validated the file.
! sig: Error 1168: Element not found.
! sig: No installed catalogs matching catalog name '' were found
that validated the file.
! sig: Error 1168: Element not found.
! dvi: Device restart was skipped becasuse the DI_DONOTCALLCONFIGMG
flag was set.
!!! dvi: Device not started: Device has problem: 0x1f:
CM_PROB_FAILED_ADD.
! sig: No installed catalogs matching catalog name '' were found
that validated the file.
! sig: Error 1168: Element not found.
! ndv: Queueing up error report since device has a PnP problem...
! dvi: Driver list already built
<<< Section end 2006/12/03 17:23:19.139
<<< [Exit status: SUCCESS]

(I don't understand why the Exit status is SUCCESS)

As I understand since I am not running vista x64 I don't have to sign
the driver on the development phase so I ignore the !sig warnings.

I tried to use my own written INF file and also the INF file of
netvmini from WDK samples (NDIS 5 driver) for loading the driver both
resulted with the same error code - 31

What can be the reason that MiniportInitializeEx is not called even
though DriverEntry succeeded?

Thanks
Miki

.



Relevant Pages

  • Re: NDIS 6 miniport - MiniportInitialize is not called
    ... Did you run check inf against your inf file? ... NetXtreme Vista/LH Server Miniport ... I am trying to write an ndis 6 miniport virtual driver (I am not strong ... No installed catalogs matching catalog name '' were found ...
    (microsoft.public.development.device.drivers)
  • ndis 6.0 miniport bluescreen after miniportinitializeex
    ... I am writing a x86 ndis 6.0 miniport driver. ... I install the driver on ... Miniportinitializeex is called. ...
    (microsoft.public.development.device.drivers)
  • ndis 6.0 miniport bluescreen after miniportinitializeex
    ... I am writing a ndis 6.0 miniport driver. ... I install the driver from ... Miniportinitializeex is called. ...
    (microsoft.public.development.device.drivers)
  • Re: Cast 9-14 July 2006
    ... Sig sep fixed now, I hope. ... mind. ... I don't know who was going to play me, but I'd like it to be ... I've changed back from Nissan Driver to Vauxhall Driver. ...
    (uk.media.radio.archers)

Loading