This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Ethernet problem
- From: Doug Fraser <dfraser at photuris dot com>
- To: "'Daniel dot Andersson at combitechsystems dot com'" <Daniel dot Andersson at combitechsystems dot com>, ecos-discuss at sources dot redhat dot com
- Date: Mon, 25 Feb 2002 07:25:45 -0500
- Subject: RE: [ECOS] Ethernet problem
I would be wary of that 'all ones' hw_addr.
> -----Original Message-----
> From: Daniel.Andersson@combitechsystems.com
> [mailto:Daniel.Andersson@combitechsystems.com]
> Sent: Monday, February 25, 2002 4:37 AM
> To: ecos-discuss@sources.redhat.com
> Subject: [ECOS] Ethernet problem
>
>
> Hi all,
>
> I have some trouble with my ethernet connection on my mpc850. I have
> measured on the output pins on the board with an
> oschilloscope and i can see
> that i have both rx and tx clock in from the ethernet chip. I
> can also see
> that i have a lot of incoming traffic on the rx channel.
> However, i can't
> reach the board with a ping and i don't get a successful ping
> from the board
> to a host eighter. The below text is some of the debug printouts from
> test_ping.c and i wonder why the hw_addr isn't correct. As
> fas as i know,
> this is set by the last function in the ethernet_init routine:
>
> // Initialize upper level driver
> (sc->funs->eth_drv->init)(sc, (unsigned char *)&enaddr);
>
> Should it be set anywhere else?
>
> If this hw_addr isn't the problem to why the board can't be
> reach then what
> else do i need to check?
>
> Regards, Daniel
>
>
> ----debug printout from test_ping.c -----
>
> BOOTP[eth0] op: REPLY
> htype: Ethernet
> hlen: 6
> hops: 0
> xid: 0x0
> secs: 0
> flags: 0x0
> hw_addr: ff:ff:ff:ff:ff:ff
> client IP: 146.75.80.124
> my IP: 146.75.80.124
> server IP: 146.75.80.112
> gateway IP: 146.75.80.254
> options:
> subnet mask: 255.255.255.0
> IP broadcast: 146.75.80.255
> gateway: 146.75.80.254
>
> ----debug printout from test_ping.c -----
>
> --
> 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