This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Adding a 82544 driver Package to redboot


Hello Andrew,

I have made some progress in integrating and testing the 82544 based driver on a IXP platform.

I have the following issue on the driver.

When I ping the host from IXP platform using the Giga bit ethernet interface, the tcpdump software
displays following information on the screen.



G:\Temp\WinDump.exe: listening on \Device\NPF_{BDE6BD48-A7D4-4F2C-9011-F3E E9F} 18:16:36.863101 0:0:0:0:0:0 > 0:0:0:0:0:0 null I (s=0,r=0,C) len=42


This means that it (host) is not getting the valid mac address from the target board.


I have verified the statistics counter for the reception and transmission of the packet in and out of the
interface.


I am seeing the non zero values on both counters. It means to me that it is there is no issue with basic
transmission or reception of packets. Please correct me if I am wrong.



Also I tried to ping the target board from the host and executed the command arp -a at the
dos prompt, it displayed the following information.



DOS-PROMPT>arp -a


Interface: 192.168.200.165 on Interface 0x1000003
Internet Address      Physical Address      Type
192.168.200.198       00-00-00-00-00-00     invalid

It shows that host has received a invalid mac address for the ip address 192.168.200.198.

I have verified the mac address read from EEPROM by including the printfs. it looks fine.

Valid EEPROM checksum
eth_set_mac_address
setting: lo FF48DEAC hi 80000006
Set MAC Address = AC DE 48 FF 06 00 (ok 1)
i82544_init: MAC Address = AC DE 48 FF 06 00


So please let me know how do I proceed further in terms of debugging this issue?


Thanks in advance.
G.Muruganandam



At 08:17 PM 1/5/2004 -0800, G.Muruganandam wrote:
Hello Andrew,

Thanks for the input. I'll keep you posted.

regards
G.Muruganandam


At 01:53 PM 1/5/2004 +0100, Andrew Lunn wrote:
> Master-RedBoot_2800> ping -h 192.168.200.165
> Ethernet send:
> 0x00043974: FFFF FFFF FFFF ACDE  48FF 0600 0806        |........H.....  |
> 0x00145FDC: 0001 0800 0604 0001  ACDE 48FF 0600 C0A8   |..........H.....|
> 0x00145FEC: C8C6 0000 0000 0000  C0A8 C8A5             |............    |
> PING: Can't find address of server '192.168.200.165'
> Master-RedBoot_2800>
>
> Could some one help me to fix this ethernet issue and do let me know
> if you need more information.

This looks like an ARP message to me, which is what i would expect.

Use a network sniffer like tcpdump to see if the packet is actually
making it onto the network. If there is no packet on the network its
probably an issue with PHY configuration or cabling.

Then check to see if the host your are trying to ping responds with an
ARP reply. If there is no arp reply sent there may be something wrong
with the ARP request, like its been truncated, CRC is wrong etc.

Then see if they ARP response is being received and then dropped for
some reason.

Basically, keep debugging....

Andrew

--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]