Discussion:
First log from netvmini.sys on Windows 7 x64 (Ultimate)
(too old to reply)
Skybuck Flying
2009-08-09 05:13:14 UTC
Permalink
Ok,

I simply enabled all capture features except logboot... so I have no idea
what I am doing or what happened...

But here is the first log from netvmini.sys on Windows 7 x64 (Ultimate)
(running in VMware).

(I am not sure if this is triggered by the test application or by windows
itself... I think windows itself but I am not sure...)

NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
--> NICCopyPacket
NetVMini.SYS:
<-- NICCopyPacket
NetVMini.SYS:
--> NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000103
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
--->NICIndicateReceiveTimerDpc = FFFFFA80028F8010
NetVMini.SYS:
---> MPReturnPacket
NetVMini.SYS:
--> NICFreeRecvPacket
NetVMini.SYS:
Adapter= FFFFFA80028F13A0 FreePkt= FFFFFA8001C10B30 Ref=1
NetVMini.SYS:
--> NICFreeSendTCB FFFFFA8002958C50
NetVMini.SYS:
<-- NICFreeSendTCB
NetVMini.SYS:
<-- NICFreeRecvPacket
NetVMini.SYS:
<--- MPReturnPacket
NetVMini.SYS:
<---NICIndicateReceiveTimerDpc
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
--> NICCopyPacket
NetVMini.SYS:
<-- NICCopyPacket
NetVMini.SYS:
--> NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000103
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
--->NICIndicateReceiveTimerDpc = FFFFFA80028F13A0
NetVMini.SYS:
---> MPReturnPacket
NetVMini.SYS:
--> NICFreeRecvPacket
NetVMini.SYS:
Adapter= FFFFFA80028F8010 FreePkt= FFFFFA8001C10B30 Ref=1
NetVMini.SYS:
--> NICFreeSendTCB FFFFFA80028FD000
NetVMini.SYS:
<-- NICFreeSendTCB
NetVMini.SYS:
<-- NICFreeRecvPacket
NetVMini.SYS:
<--- MPReturnPacket
NetVMini.SYS:
<---NICIndicateReceiveTimerDpc
KTM: TmRollbackTransaction for tx 3093580
KTM: TmRollbackTransaction for tx 3093580
KTM: TmCommitTransaction for tx 3093580
KTM: Notifying RM of 1 for tx 3093580
KTM: TmPrepareTransaction for en e975c0
KTM: Notifying RM of 16 for tx 1327d20
KTM: Notifying RM of 2 for tx 3093580
KTM: TmPrepareTransaction for en e975c0
KTM: Notifying RM of 2 for tx 1327d20
KTM: Notifying RM of 32 for tx 1327d20
KTM: Notifying RM of 2 for tx 3093580
KTM: Notifying RM of 4 for tx 3093580
KTM: TmCommitTransaction for tx 1327d20
KTM: Notifying RM of 4 for tx 1327d20
KTM: Notifying RM of 64 for tx 1327d20
KTM: TmRollbackEnlistment for tx 1327d20
KTM: TmRollbackEnlistment for tx 3093580
KTM: TmRollbackTransaction for tx 1327d20
KTM: TmRollbackEnlistment for tx 1327d20
KTM: Notifying RM of 4 for tx 3093580
KTM: TmRollbackEnlistment for tx 3093580
KTM: TmRollbackTransaction for tx 3093580
KTM: TmCommitTransaction for tx 21ecd20
KTM: Notifying RM of 1 for tx 21ecd20
KTM: TmPrepareTransaction for en e02060
KTM: Notifying RM of 16 for tx 16f7060
KTM: Notifying RM of 2 for tx 21ecd20
KTM: TmPrepareTransaction for en e02060
KTM: Notifying RM of 2 for tx 16f7060
KTM: Notifying RM of 32 for tx 16f7060
KTM: Notifying RM of 2 for tx 21ecd20
KTM: Notifying RM of 4 for tx 21ecd20
KTM: TmCommitTransaction for tx 16f7060
KTM: Notifying RM of 4 for tx 16f7060
KTM: Notifying RM of 64 for tx 16f7060
KTM: TmRollbackEnlistment for tx 16f7060
KTM: TmRollbackEnlistment for tx 21ecd20
KTM: TmRollbackTransaction for tx 16f7060
KTM: TmRollbackEnlistment for tx 16f7060
KTM: Notifying RM of 4 for tx 21ecd20
KTM: TmRollbackEnlistment for tx 21ecd20
KTM: TmRollbackTransaction for tx 21ecd20
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
--> NICCopyPacket
NetVMini.SYS:
<-- NICCopyPacket
NetVMini.SYS:
--> NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000103
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
--->NICIndicateReceiveTimerDpc = FFFFFA80028F8010
NetVMini.SYS:
---> MPReturnPacket
NetVMini.SYS:
--> NICFreeRecvPacket
NetVMini.SYS:
Adapter= FFFFFA80028F13A0 FreePkt= FFFFFA8001C10B30 Ref=1
NetVMini.SYS:
--> NICFreeSendTCB FFFFFA8002958C50
NetVMini.SYS:
<-- NICFreeSendTCB
NetVMini.SYS:
<-- NICFreeRecvPacket
NetVMini.SYS:
<--- MPReturnPacket
NetVMini.SYS:
<---NICIndicateReceiveTimerDpc
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000000
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000000
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000000
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000000
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000000
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000000
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
--> NICCopyPacket
NetVMini.SYS:
<-- NICCopyPacket
NetVMini.SYS:
--> NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000103
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
--->NICIndicateReceiveTimerDpc = FFFFFA80028F8010
NetVMini.SYS:
---> MPReturnPacket
NetVMini.SYS:
--> NICFreeRecvPacket
NetVMini.SYS:
Adapter= FFFFFA80028F13A0 FreePkt= FFFFFA8001C10B30 Ref=1
NetVMini.SYS:
--> NICFreeSendTCB FFFFFA8002958C50
NetVMini.SYS:
<-- NICFreeSendTCB
NetVMini.SYS:
<-- NICFreeRecvPacket
NetVMini.SYS:
<--- MPReturnPacket
NetVMini.SYS:
<---NICIndicateReceiveTimerDpc
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000000
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000000
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
--> NICCopyPacket
NetVMini.SYS:
<-- NICCopyPacket
NetVMini.SYS:
--> NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000103
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
--->NICIndicateReceiveTimerDpc = FFFFFA80028F8010
NetVMini.SYS:
---> MPReturnPacket
NetVMini.SYS:
--> NICFreeRecvPacket
NetVMini.SYS:
Adapter= FFFFFA80028F13A0 FreePkt= FFFFFA8001C10B30 Ref=1
NetVMini.SYS:
--> NICFreeSendTCB FFFFFA8002958C50
NetVMini.SYS:
<-- NICFreeSendTCB
NetVMini.SYS:
<-- NICFreeRecvPacket
NetVMini.SYS:
<--- MPReturnPacket
NetVMini.SYS:
<---NICIndicateReceiveTimerDpc
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000000
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000000
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
--> NICCopyPacket
NetVMini.SYS:
<-- NICCopyPacket
NetVMini.SYS:
--> NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000103
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
--->NICIndicateReceiveTimerDpc = FFFFFA80028F13A0
NetVMini.SYS:
---> MPReturnPacket
NetVMini.SYS:
--> NICFreeRecvPacket
NetVMini.SYS:
Adapter= FFFFFA80028F8010 FreePkt= FFFFFA8001C10B30 Ref=1
NetVMini.SYS:
--> NICFreeSendTCB FFFFFA80028FD000
NetVMini.SYS:
<-- NICFreeSendTCB
NetVMini.SYS:
<-- NICFreeRecvPacket
NetVMini.SYS:
<--- MPReturnPacket
NetVMini.SYS:
<---NICIndicateReceiveTimerDpc
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
--> NICCopyPacket
NetVMini.SYS:
<-- NICCopyPacket
NetVMini.SYS:
--> NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000103
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
--->NICIndicateReceiveTimerDpc = FFFFFA80028F8010
NetVMini.SYS:
---> MPReturnPacket
NetVMini.SYS:
--> NICFreeRecvPacket
NetVMini.SYS:
Adapter= FFFFFA80028F13A0 FreePkt= FFFFFA8001C10B30 Ref=1
NetVMini.SYS:
--> NICFreeSendTCB FFFFFA8002958C50
NetVMini.SYS:
<-- NICFreeSendTCB
NetVMini.SYS:
<-- NICFreeRecvPacket
NetVMini.SYS:
<--- MPReturnPacket
NetVMini.SYS:
<---NICIndicateReceiveTimerDpc
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000000
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
--> NICCopyPacket
NetVMini.SYS:
<-- NICCopyPacket
NetVMini.SYS:
--> NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000103
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
--->NICIndicateReceiveTimerDpc = FFFFFA80028F8010
NetVMini.SYS:
---> MPReturnPacket
NetVMini.SYS:
--> NICFreeRecvPacket
NetVMini.SYS:
Adapter= FFFFFA80028F13A0 FreePkt= FFFFFA8001C10B30 Ref=1
NetVMini.SYS:
--> NICFreeSendTCB FFFFFA8002958C50
NetVMini.SYS:
<-- NICFreeSendTCB
NetVMini.SYS:
<-- NICFreeRecvPacket
NetVMini.SYS:
<--- MPReturnPacket
NetVMini.SYS:
<---NICIndicateReceiveTimerDpc
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000000
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
--> NICCopyPacket
NetVMini.SYS:
<-- NICCopyPacket
NetVMini.SYS:
--> NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000103
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
--->NICIndicateReceiveTimerDpc = FFFFFA80028F8010
NetVMini.SYS:
---> MPReturnPacket
NetVMini.SYS:
--> NICFreeRecvPacket
NetVMini.SYS:
Adapter= FFFFFA80028F13A0 FreePkt= FFFFFA8001C10B30 Ref=1
NetVMini.SYS:
--> NICFreeSendTCB FFFFFA8002958C50
NetVMini.SYS:
<-- NICFreeSendTCB
NetVMini.SYS:
<-- NICFreeRecvPacket
NetVMini.SYS:
<--- MPReturnPacket
NetVMini.SYS:
<---NICIndicateReceiveTimerDpc
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000000
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000000
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
--> NICCopyPacket
NetVMini.SYS:
<-- NICCopyPacket
NetVMini.SYS:
--> NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000103
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
--->NICIndicateReceiveTimerDpc = FFFFFA80028F8010
NetVMini.SYS:
---> MPReturnPacket
NetVMini.SYS:
--> NICFreeRecvPacket
NetVMini.SYS:
Adapter= FFFFFA80028F13A0 FreePkt= FFFFFA8001C10B30 Ref=1
NetVMini.SYS:
--> NICFreeSendTCB FFFFFA8002958C50
NetVMini.SYS:
<-- NICFreeSendTCB
NetVMini.SYS:
<-- NICFreeRecvPacket
NetVMini.SYS:
<--- MPReturnPacket
NetVMini.SYS:
<---NICIndicateReceiveTimerDpc
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
--> NICCopyPacket
NetVMini.SYS:
<-- NICCopyPacket
NetVMini.SYS:
--> NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000103
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
--->NICIndicateReceiveTimerDpc = FFFFFA80028F8010
NetVMini.SYS:
---> MPReturnPacket
NetVMini.SYS:
--> NICFreeRecvPacket
NetVMini.SYS:
Adapter= FFFFFA80028F13A0 FreePkt= FFFFFA8001C10B30 Ref=1
NetVMini.SYS:
--> NICFreeSendTCB FFFFFA8002958C50
NetVMini.SYS:
<-- NICFreeSendTCB
NetVMini.SYS:
<-- NICFreeRecvPacket
NetVMini.SYS:
<--- MPReturnPacket
NetVMini.SYS:
<---NICIndicateReceiveTimerDpc
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
--> NICCopyPacket
NetVMini.SYS:
<-- NICCopyPacket
NetVMini.SYS:
--> NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000103
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
--->NICIndicateReceiveTimerDpc = FFFFFA80028F8010
NetVMini.SYS:
---> MPReturnPacket
NetVMini.SYS:
--> NICFreeRecvPacket
NetVMini.SYS:
Adapter= FFFFFA80028F13A0 FreePkt= FFFFFA8001C10B30 Ref=1
NetVMini.SYS:
--> NICFreeSendTCB FFFFFA8002958C50
NetVMini.SYS:
<-- NICFreeSendTCB
NetVMini.SYS:
<-- NICFreeRecvPacket
NetVMini.SYS:
<--- MPReturnPacket
NetVMini.SYS:
<---NICIndicateReceiveTimerDpc
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
--> NICCopyPacket
NetVMini.SYS:
<-- NICCopyPacket
NetVMini.SYS:
--> NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000103
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
--->NICIndicateReceiveTimerDpc = FFFFFA80028F8010
NetVMini.SYS:
---> MPReturnPacket
NetVMini.SYS:
--> NICFreeRecvPacket
NetVMini.SYS:
Adapter= FFFFFA80028F13A0 FreePkt= FFFFFA8001C10B30 Ref=1
NetVMini.SYS:
--> NICFreeSendTCB FFFFFA8002958C50
NetVMini.SYS:
<-- NICFreeSendTCB
NetVMini.SYS:
<-- NICFreeRecvPacket
NetVMini.SYS:
<--- MPReturnPacket
NetVMini.SYS:
<---NICIndicateReceiveTimerDpc
NetVMini.SYS:
---> MPSendPackets
NetVMini.SYS:
--> NICSendPacket, Packet= FFFFFA8001C10B30
NetVMini.SYS:
--> NICCopyPacket
NetVMini.SYS:
<-- NICCopyPacket
NetVMini.SYS:
--> NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICQueuePacketForRecvIndication
NetVMini.SYS:
<-- NICSendPacket Status = 0x00000103
NetVMini.SYS:
<--- MPSendPackets
NetVMini.SYS:
--->NICIndicateReceiveTimerDpc = FFFFFA80028F13A0
NetVMini.SYS:
---> MPReturnPacket
NetVMini.SYS:
--> NICFreeRecvPacket
NetVMini.SYS:
Adapter= FFFFFA80028F8010 FreePkt= FFFFFA8001C10B30 Ref=1
NetVMini.SYS:
--> NICFreeSendTCB FFFFFA80028FD000
NetVMini.SYS:
<-- NICFreeSendTCB
NetVMini.SYS:
<-- NICFreeRecvPacket
NetVMini.SYS:
<--- MPReturnPacket
NetVMini.SYS:
<---NICIndicateReceiveTimerDpc

Bye,
Skybuck.
Skybuck Flying
2009-08-09 05:25:39 UTC
Permalink
I think these messages are triggered by windows, not by the test program.

So the problem could actually be with the test program/ioctl... or the ioctl
section of the driver.

Windows 7 might detect that the driver is not doing things properly with
ioctl and therefore it fails ?

That's my wacky theory ;)

Or maybe the driver was changed and doesn't work for null anymore...

One mystery remains why do the test program not find the driver ?

That's actually the main problem I think...

Maybe has something to do with: '\\\\.\\netvmini' or something like that.

Maybe that don't work no more...

Or maybe the access right for CreateFill are not correct...

Windows 7 is probably more restrictive and proper access/create/open rights
needed ?

Hmm...

Bye,
Skybuck.
Skybuck Flying
2009-08-09 05:31:25 UTC
Permalink
Ah yes the mystery is solved...

I decided to do one last test (actually now I am gonna do some more)...

DebugView worked via "run as administrator".

So I decided to try "run as administrator" on the test application as well
and low and behold it works !

The read/write is successfull.

Now I can go analyze it some more.

Bye,
Skybuck.
Skybuck Flying
2009-08-09 05:43:36 UTC
Permalink
Hello,

This time I ran my Delphi test application which does read/write/read/write
in a loop and so forth...

At first nothing showed up in DebugView... I don't know why... so I fiddled
around with the settings...

I ran the c programs... I did some browsing through windows 7 network
settings...

And suddenly the dbgprint messages were coming into DebugView and I could
clearly see they are related to my Delphi program...

So now I am starting to get an idea what's going on inside the driver:

Here is the second log:

Lot's of this stuff: ;) :)

NetVMini.SYS:<== NIC Dispatch
NetVMini.SYS:==>NICDispatch 14
NetVMini.SYS:Received Read IOCTL
NetVMini.SYS:<== NIC Dispatch
NetVMini.SYS:==>NICDispatch 14
NetVMini.SYS:Received Write IOCTL
NetVMini.SYS:<== NIC Dispatch
NetVMini.SYS:==>NICDispatch 14
NetVMini.SYS:Received Read IOCTL
NetVMini.SYS:<== NIC Dispatch
NetVMini.SYS:==>NICDispatch 14
NetVMini.SYS:Received Write IOCTL
NetVMini.SYS:<== NIC Dispatch
NetVMini.SYS:==>NICDispatch 14
NetVMini.SYS:Received Read IOCTL
NetVMini.SYS:<== NIC Dispatch
NetVMini.SYS:==>NICDispatch 14
NetVMini.SYS:Received Write IOCTL
NetVMini.SYS:<== NIC Dispatch
NetVMini.SYS:==>NICDispatch 14
NetVMini.SYS:Received Read IOCTL
NetVMini.SYS:<== NIC Dispatch
NetVMini.SYS:==>NICDispatch 14
NetVMini.SYS:Received Write IOCTL
NetVMini.SYS:<== NIC Dispatch
NetVMini.SYS:==>NICDispatch 14
NetVMini.SYS:Received Read IOCTL
NetVMini.SYS:<== NIC Dispatch
NetVMini.SYS:==>NICDispatch 14
NetVMini.SYS:Received Write IOCTL
NetVMini.SYS:<== NIC Dispatch
NetVMini.SYS:==>NICDispatch 14
NetVMini.SYS:Received Read IOCTL
NetVMini.SYS:<== NIC Dispatch
NetVMini.SYS:==>NICDispatch 14
NetVMini.SYS:Received Write IOCTL
NetVMini.SYS:<== NIC Dispatch
NetVMini.SYS:==>NICDispatch 14
NetVMini.SYS:Received Read IOCTL
NetVMini.SYS:<== NIC Dispatch
NetVMini.SYS:==>NICDispatch 14
NetVMini.SYS:Received Write IOCTL
NetVMini.SYS:<== NIC Dispatch
NetVMini.SYS:==>NICDispatch 14
NetVMini.SYS:Received Read IOCTL
NetVMini.SYS:<== NIC Dispatch
NetVMini.SYS:==>NICDispatch 14
NetVMini.SYS:Received Write IOCTL
NetVMini.SYS:<== NIC Dispatch
NetVMini.SYS:==>NICDispatch 14
NetVMini.SYS:Received Read IOCTL
NetVMini.SYS:<== NIC Dispatch
NetVMini.SYS:==>NICDispatch 14

And sometimes some of this in between don't know exactly by what it's
trigged maybe windows or maybe the c program or maybe all:

NetVMini.SYS:Received Read IOCTL
NetVMini.SYS:<== NIC Dispatch
NetVMini.SYS:---> MPSendPackets
NetVMini.SYS:--> NICSendPacket, Packet= FFFFFA8001DADCB0
NetVMini.SYS:--> NICCopyPacket
NetVMini.SYS:<-- NICCopyPacket
NetVMini.SYS:--> NICQueuePacketForRecvIndication
NetVMini.SYS:<-- NICQueuePacketForRecvIndication
NetVMini.SYS:<-- NICSendPacket Status = 0x00000103
NetVMini.SYS:<--- MPSendPackets
NetVMini.SYS:--->NICIndicateReceiveTimerDpc = FFFFFA8002792010
NetVMini.SYS:---> MPReturnPacket
NetVMini.SYS:--> NICFreeRecvPacket
NetVMini.SYS:Adapter= FFFFFA80028DA010 FreePkt= FFFFFA8001DADCB0 Ref=1
NetVMini.SYS:--> NICFreeSendTCB FFFFFA8002911628
NetVMini.SYS:<-- NICFreeSendTCB
NetVMini.SYS:<-- NICFreeRecvPacket
NetVMini.SYS:<--- MPReturnPacket
NetVMini.SYS:<---NICIndicateReceiveTimerDpc
NetVMini.SYS:---> MPSendPackets
NetVMini.SYS:--> NICSendPacket, Packet= FFFFFA8001DADCB0
NetVMini.SYS:--> NICCopyPacket
NetVMini.SYS:<-- NICCopyPacket
NetVMini.SYS:--> NICQueuePacketForRecvIndication
NetVMini.SYS:<-- NICQueuePacketForRecvIndication
NetVMini.SYS:<-- NICSendPacket Status = 0x00000103
NetVMini.SYS:<--- MPSendPackets
NetVMini.SYS:--->NICIndicateReceiveTimerDpc = FFFFFA8002792010
NetVMini.SYS:---> MPReturnPacket
NetVMini.SYS:--> NICFreeRecvPacket
NetVMini.SYS:Adapter= FFFFFA80028DA010 FreePkt= FFFFFA8001DADCB0 Ref=1
NetVMini.SYS:--> NICFreeSendTCB FFFFFA8002911628
NetVMini.SYS:<-- NICFreeSendTCB
NetVMini.SYS:<-- NICFreeRecvPacket
NetVMini.SYS:<--- MPReturnPacket
NetVMini.SYS:<---NICIndicateReceiveTimerDpc
NetVMini.SYS:==>NICDispatch 14
NetVMini.SYS:Received Write IOCTL
NetVMini.SYS:<== NIC Dispatch
NetVMini.SYS:---> MPSendPackets
NetVMini.SYS:--> NICSendPacket, Packet= FFFFFA8001DADCB0
NetVMini.SYS:--> NICCopyPacket
NetVMini.SYS:<-- NICCopyPacket
NetVMini.SYS:--> NICQueuePacketForRecvIndication
NetVMini.SYS:<-- NICQueuePacketForRecvIndication
NetVMini.SYS:<-- NICSendPacket Status = 0x00000103
NetVMini.SYS:<--- MPSendPackets
NetVMini.SYS:--->NICIndicateReceiveTimerDpc = FFFFFA80028DA010
NetVMini.SYS:---> MPReturnPacket
NetVMini.SYS:--> NICFreeRecvPacket
NetVMini.SYS:Adapter= FFFFFA8002792010 FreePkt= FFFFFA8001DADCB0 Ref=1
NetVMini.SYS:--> NICFreeSendTCB FFFFFA8002909000
NetVMini.SYS:<-- NICFreeSendTCB
NetVMini.SYS:<-- NICFreeRecvPacket
NetVMini.SYS:<--- MPReturnPacket
NetVMini.SYS:<---NICIndicateReceiveTimerDpc
NetVMini.SYS:---> MPSendPackets
NetVMini.SYS:--> NICSendPacket, Packet= FFFFFA8001DADCB0
NetVMini.SYS:--> NICCopyPacket
NetVMini.SYS:<-- NICCopyPacket
NetVMini.SYS:--> NICQueuePacketForRecvIndication
NetVMini.SYS:<-- NICQueuePacketForRecvIndication
NetVMini.SYS:<-- NICSendPacket Status = 0x00000103
NetVMini.SYS:<--- MPSendPackets
NetVMini.SYS:NetVMini.SYS:==>NICDispatch 14
NetVMini.SYS:Received Read IOCTL
--->NICIndicateReceiveTimerDpc = FFFFFA80028DA010
NetVMini.SYS:<== NIC Dispatch
NetVMini.SYS:---> MPReturnPacket
NetVMini.SYS:--> NICFreeRecvPacket
NetVMini.SYS:Adapter= FFFFFA8002792010 FreePkt= FFFFFA8001DADCB0 Ref=1
NetVMini.SYS:--> NICFreeSendTCB FFFFFA8002909000
NetVMini.SYS:<-- NICFreeSendTCB
NetVMini.SYS:<-- NICFreeRecvPacket
NetVMini.SYS:<--- MPReturnPacket
NetVMini.SYS:<---NICIndicateReceiveTimerDpc
NetVMini.SYS:==>NICDispatch 14
NetVMini.SYS:Received Write IOCTL

So at least when it comes to the read/write/read/write I should now be able
to figure out what sections of the drivers are executed and what sections
maybe not...

Bye,
Skybuck.
Skybuck Flying
2009-08-09 05:52:03 UTC
Permalink
To funny... I am looking at the source that corresponds to this trace:

Apperently the source code is missing ?!? See ***

ioctl.c:

case IRP_MJ_DEVICE_CONTROL:
{

//buffer = Irp->AssociatedIrp.SystemBuffer;

//inlen = irpStack->Parameters.DeviceIoControl.InputBufferLength;

switch (irpStack->Parameters.DeviceIoControl.IoControlCode)
{

//
// Add code here to handle ioctl commands. ***
//
case IOCTL_NETVMINI_READ_DATA:
DEBUGP(MP_TRACE, ("Received Read IOCTL\n"));
break;
case IOCTL_NETVMINI_WRITE_DATA:
DEBUGP(MP_TRACE, ("Received Write IOCTL\n"));
break;
default:
status = STATUS_UNSUCCESSFUL;
break;
}
break;


I was under the impression that sendrcv.c was responsible for ioctl...

Apperently not ?!

So maybe now all I have to do (or maybe somebody else more skilled then
me...)

Is add some code to *** to handle IOCTLS...

Cool !

Bye,
Skybuck.
Bennett Marco
2009-08-09 07:17:48 UTC
Permalink
[snip]

Next time you solve a mystery, do it in the thread where you started
posting about the mystery so folks will know what you're talking
about.
PA Bear [MS MVP]
2009-08-09 18:03:23 UTC
Permalink
Yo, d00d! None of the newsgroups to which you continuously, excessively and
needlessly crosspost have anything to do with Win7!

Windows 7 Beta Support Forum (technical)
http://social.technet.microsoft.com/Forums/en/category/w7itpro/

Getting Ready for Win7 Forum (less technical)
http://social.answers.microsoft.com/Forums/en-US/GettingReadyforWindows7/threads
Post by Skybuck Flying
Hello,
This time I ran my Delphi test application which does
read/write/read/write
in a loop and so forth...
<SNIP>

Loading...