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: not able to bring link up !!


"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


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