This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Ethernet problem on mpc823
- From: "Daniel Lidsten" <Daniel dot Lidsten at combitechsystems dot com>
- To: "Ecos-Discuss" <ecos-discuss at sources dot redhat dot com>
- Date: Sat, 8 Feb 2003 19:20:03 +0100
- Subject: [ECOS] Ethernet problem on mpc823
Hi,
Now that i have downloaded the absolute latest source from CVS i suppose
that i cant be far away from having this board communicating over
ethernet.
I run ping_test.c and the below shows what's coming on the serial
channel.
However, since i cannot reach the board with pings then i looked at my
sniffer to see if something actually is coming out from the board onto
the network. And, suprisingly there are some data that have been
transmitted! But it seems like some data has been corrupted because it
is sending out an ARP like this: "who has 0.0.0.0? Tell 146.75.80.21".
Also, the MAC from the board looks good. So, how comes it is asking the
this IP address?. I use the ping_test from cvs, totaly unmodified.
Furtermore, i have set the caches to use writethrough mode so i dont get
any inconsistencies between the external memory and the caches. Probably
isn't necissary....
I can see a printout that says: "eth0 XXX: driver didn't set
ifq_maxlen". Is the driver responsible for setting this (if_quicc.c) ?
Can this be causing my problems?
Ideas?
/Regards, Daniel
[cyg_net_init] Init: mbinit(0x00000000)
[cyg_net_init] Init: cyg_net_init_devs(0x00000000)
Init device 'quicc_eth'
QUICC_ETH - Warning! ESA unknown
eth0 XXX: driver didn't set ifq_maxlen
[cyg_net_init] Init: loopattach(0x00000000)
[cyg_net_init] Init: ifinit(0x00000000)
IFP: 0x000498d4, next: 0x0009bd68
IFP: 0x0009bd68, next: 0x00000000
[cyg_net_init] Init: domaininit(0x00000000)
[cyg_net_init] Init: cyg_net_add_domain(0x0004a554)
New domain internet at 0x00000000
[cyg_net_init] Init: cyg_net_add_domain(0x00049f74)
New domain route at 0x00000000
[cyg_net_init] Init: cyg_route_init(0x00000000)
[cyg_net_init] Done
Start PING test
BOOTP[eth0] op: REPLY
htype: Ethernet
hlen: 6
hops: 0
xid: 0x0
secs: 0
flags: 0x0
hw_addr: 08:00:3e:28:79:b8
client IP: 146.75.80.21
my IP: 146.75.80.21
server IP: 146.75.80.163
gateway IP: 146.75.80.254
options:
subnet mask: 255.255.255.0
IP broadcast: 146.75.80.255
gateway: 146.75.80.254
[eth_drv_ioctl] Warning: Driver can't set multi-cast mode
[eth_drv_ioctl] Warning: Driver can't set multi-cast mode
[eth_drv_ioctl] Warning: Driver can't set multi-cast mode
PING server 146.75.80.163
Sent 16 packets, received 0 OK, 0 bad
PING server 146.75.80.195
Sent 16 packets, received 0 OK, 0 bad
PASS:<Ping test OK>
EXIT:<done>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss