This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: not able to bring link up !!
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: "mohanlal jangir" <mohanlaljangir at hotmail dot com>
- Cc: "mailing-list ecos" <ecos-discuss at sources dot redhat dot com>
- Date: 22 Aug 2003 09:10:06 +0100
- Subject: [ECOS] Re: not able to bring link up !!
- References: <Law11-OE5440sP2Bk870000ac29@hotmail.com><3F27A7C0.9060703@eCosCentric.com><Law11-OE36oELCMIAw20000ad7b@hotmail.com><m3n0ewgobc.fsf@miso.calivar.com><Law11-OE34j7sKRrBad0000c0de@hotmail.com><m3fzkn9cee.fsf@miso.calivar.com><Law11-OE15pwkifNyFi0000c997@hotmail.com><m3wudy8ykx.fsf@miso.calivar.com><Law11-OE24Brt5pcWuS0000db6a@hotmail.com><m34r1163lk.fsf@miso.calivar.com><Law11-OE634K9TbMmSR0002b1e8@hotmail.com>
"mohanlal jangir" <mohanlaljangir@hotmail.com> writes:
> [while enabling DEBUG messages in if_82559.c, I receive following messages]
>
> > > i82559_start 0 flg 47 Link = Down, 10 Mbps, Half Duplex
> >
> > If this is correct then it looks like either the MAC or PHY are not
> > bringing the link up. This could be as trivial as using the
> > wrong sort of cable, it may be a problem with the switch or hub at the
> > other end. There's not much that can be done from the driver end to
> > affect this.
> I have confirmed about cables, hub etc. These are doing ok.
>
> >You may have to start looking at some of the MACs status
> > registers to see if there is any clue as to why it is not coming up.
> >
> Could you please explain a little, how can I do this? I don't know exactly
> how to check MACs status register.
You just have to put a bunch of diag_printf() calls into the
initialization code. Comparing the values that these give with the
documentation may give you a clue as to what is happening.
Normally we have no problem with the PHY bringing the link up -- it
all happens automatically. The only time I have ever seen it fail was
when I was connecting to a Cisco switch that took a long time to
negotiate.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss