NDIS miniport driver - ICMP Ping reply
From: ira (ira_bansal_at_yahoo.com)
Date: 11/17/04
- Next message: Hussain: "WINCE 5.0 Installation Problem"
- Previous message: Luca Calligaris: "RE: Unclear Portion in Pcienum shared code in platform builder"
- Messages sorted by: [ date ] [ thread ]
Date: 17 Nov 2004 03:53:42 -0800
I have been working on Product Ethernet(miniport ndis driver) on beta
version of WINDOWS CE 5.0 . I am using smsc ethernet controller
smsc91c111. The driver is working fine, but when I ping the host from
the target, the target is able to recoginse the ARP reply from host ie
able to store the MAC address of host, but after that, when it puts in
ICMP Echo request, though the host replies it back(as can be seen from
sniffer) and event he ethernet driver is able to receive the packet
,but still it says
PING: transmit failed, error code 11010
So what I feel is that the driver is not able to communicate the ICMP
packet to protocol stack but is able to communicate the ARP packet.
When I ping my target from host, again the sniffer shows that at my
host I am receiving ARP reply but the ICMP echo request is not replied
back. So I feel some problem is there in in the binding with protocol
stack..
The registry I am using is:
[HKEY_LOCAL_MACHINE\Comm\LAN9000]
"DisplayName"="SMC LAN91C111 Ethernet"
"Group"="NDIS"
"ImagePath"="LAN91C111.DLL"
[HKEY_LOCAL_MACHINE\Comm\LAN9000\Linkage]
"Route"=multi_sz:"LAN90001"
[HKEY_LOCAL_MACHINE\Comm\LAN90001]
"DisplayName"="SMC LAN91C111 Ethernet"
"Group"="NDIS"
"ImagePath"="LAN91C111.DLL"
[HKEY_LOCAL_MACHINE\Comm\LAN90001\Parms]
"BusNumber"=dword:0
"BusType"=dword:1
"InterruptNumber"=dword:0 ;<======== Enter the interrupt number here
in hex
"IoBaseAddress"=dword:33C00300 ;<======== Enter the IOBase address
here in hex
"SysIntr"=dword:27
"NetworkAddress"="A9-B9-C7-D6-E5-F4"
[HKEY_LOCAL_MACHINE\Comm\LAN90001\Parms\TcpIp]
"EnableDHCP"=dword:0 ;<======== set to 1 if DHCP enabled.
"DefaultGateway"="192.168.0.254" ;(contd) If set to 0 then enter the
values next entries
"UseZeroBroadcast"=dword:0
"IpAddress"="192.168.0.101"
"Subnetmask"="255.255.0.0"
"TcpInitialRTT"=dword:ffff
"TcpDelAckTicks"=dword:6
"TcpWindowSize"=dword:FFFFFF
"MTU"=dword:5d0
[HKEY_LOCAL_MACHINE\Comm\TcpIp\Linkage]
"Bind"=multi_sz:"LAN90001"
Also the ipconfig /all shows:
804389 PID:b71833e TID:b718362 Ethernet adapter Local Area Connection:
804402 PID:b71833e TID:b718362 IP Address ........ : 192.168.0.101
804413 PID:b71833e TID:b718362 Subnet Mask ....... : 255.255.0.0
804423 PID:b71833e TID:b718362 Default Gateway ... : 192.168.0.254
804433 PID:b71833e TID:b718362 Adapter Name ...... : LAN90001
804443 PID:b71833e TID:b718362 Description ....... : LAN90001
804453 PID:b71833e TID:b718362 Adapter Index ..... : 2
804462 PID:b71833e TID:b718362 Address............ : a9 b9 c7 d6 e5 f4
804472 PID:b71833e TID:b718362 DHCP Enabled....... : NO
804480 PID:b71833e TID:b718362
804588 PID:b71833e TID:b718362 Host name.......... : WindowsCE
804598 PID:b71833e TID:b718362 Domain Name........ :
804607 PID:b71833e TID:b718362 NODETYPE........... : 8
804615 PID:b71833e TID:b718362 Routing Enabled.... : YES
804624 PID:b71833e TID:b718362 Proxy Enabled...... : NO
And the ping from target shows:
732454 PID:eb718362 TID:eb71833e 0x8b718cf0: iphlpapi: Unable to open
IP device driver
741536 PID:eb718362 TID:eb71833e PING: transmit failed, error code
11010
I feel the problem may be due to this unable to open IP device driver
but I have the tcpstk in place. Also the IP and TCP protocols are
registered:
4294786726 PID:2b9a5cca TID:2b9a557a 0x8b9d1c20: TCPIP.About to
register
4294786754 PID:2b9a5cca TID:cb98b332 0x8b9cd400: [NOTIFY]
NFY_IOControl 0x0106001c
4294786797 PID:2b9a5cca TID:2b9a557a 0x8b9d1c20: !AFD: Unable to load
library 'tcpip6.dll'
4294786852 PID:2b9a5cca TID:2b9a557a 0x8b9d1c20: !AFD: Unable to load
library 'irdastk.dll'
4294786876 PID:2b9a5cca TID:cb98b332 0x8b9cd400: [NOTIFY]
CeEventHasOccurred ++
4294786885 PID:2b9a5cca TID:cb98b332 0x8b9cd400: [NOTIFY]
HandleSystemEvent 7 /ADD IPD0:
4294786895 PID:2b9a5cca TID:cb98b332 0x8b9cd400: [NOTIFY]
CeEventHasOccurred -- 0
4294786904 PID:2b9a5cca TID:cb98b332 0x8b9cd400: [NOTIFY]
NFY_IOControl 0x0106001c
4294786913 PID:2b9a5cca TID:cb98b332 0x8b9cd400: [NOTIFY]
CeEventHasOccurred ++
4294786923 PID:2b9a5cca TID:cb98b332 0x8b9cd400: [NOTIFY]
HandleSystemEvent 7 /ADD TCP0:
Has anyone faced a simlar problem. Any help is appreciated
- Next message: Hussain: "WINCE 5.0 Installation Problem"
- Previous message: Luca Calligaris: "RE: Unclear Portion in Pcienum shared code in platform builder"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|