NDIS Miniport driver

Is it possible to debug a NDIS miniport driver with VMWare ?
I have 2 network cards on my PC and the one i’m trying to debug is my
RTL8139
but i can’t see that card from VMWare. Is it possible to configure VMWare
with RTL8139 ?

Thanks.

> Is it possible to debug a NDIS miniport driver with VMWare ?

I have 2 network cards on my PC and the one i’m trying to debug is my
RTL8139
but i can’t see that card from VMWare. Is it possible to configure VMWare
with RTL8139 ?

No you cannot. VMWare only emulates some particular old-style Ethernet card,
regardless of the actual hardware Ethernet in your host.

More so, in “host-only” and “NAT” networking, the “other end” of this emulated
Ethernet is the special virtual Ethernet driver inside the host OS, which is
another physical network from the Ethernet hardware.

Only in “bridged” mode the emulated Ethernet is the logical continuation of the
hardware Ethernet.

Same is true for MS Virtual PC, and also for WinCE emulator from eVC++ or
Platform Builder (which uses the same core as MS Virtual PC).

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

I installed the network on another PC but when i call
NdisMQueryAdapterResources i get UNSUCCESSFUL.

Do i need to setup something else ?

I put the deviceID in the INF file :

%NetMini.DeviceDesc% = NetMini.ndi, PCI\VEN_10EC&DEV_8139

And i set the attributes like this :

NdisMSetAttributesEx(

MiniportAdapterHandle,

(NDIS_HANDLE) Adapter,

0,

NDIS_ATTRIBUTE_DESERIALIZE, // NDIS does not maintain a send-packet
queue

NdisInterfacePci

);

Thanks for your help !

“Maxim S. Shatskih” wrote in message
news:xxxxx@ntdev…
>> Is it possible to debug a NDIS miniport driver with VMWare ?
>> I have 2 network cards on my PC and the one i’m trying to debug is my
>> RTL8139
>> but i can’t see that card from VMWare. Is it possible to configure VMWare
>> with RTL8139 ?
>
> No you cannot. VMWare only emulates some particular old-style Ethernet
> card,
> regardless of the actual hardware Ethernet in your host.
>
> More so, in “host-only” and “NAT” networking, the “other end” of this
> emulated
> Ethernet is the special virtual Ethernet driver inside the host OS, which
> is
> another physical network from the Ethernet hardware.
>
> Only in “bridged” mode the emulated Ethernet is the logical continuation
> of the
> hardware Ethernet.
>
> Same is true for MS Virtual PC, and also for WinCE emulator from eVC++ or
> Platform Builder (which uses the same core as MS Virtual PC).
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
>
>