RE: [uClinux-dev] problem with telnet

From: Abhishek Thakur (Abhishek.Thakur@synchronous.net)
Date: Wed May 16 2001 - 16:27:46 EDT


Solved - it wasn't the telnet/Ethernet, but the cache/DMA.

We had overlooked to mask out memory used by DMA while enabling our cache -
and things went wild after that.

Platform is pretty stable after the cache has been disabled.

thanks to all who responded.

Abhishek

> -----Original Message-----
> From: Menno Schrage [mailto:Menno.Schrage@chess.nl]
> Sent: Friday, May 11, 2001 12:59 AM
> To: uclinux-dev@uclinux.org
> Subject: Re: [uClinux-dev] problem with telnet
> 
> 
> Hi ,
> 
> Can you tell me some info about the ram size on your board?
> 
> i ask this question because i am running the NETLx on a 
> development board 
> with 16 Meg SDRAM (CONFIG_NETARM_REV2). 
> Without networking there is no prblem, but when i setup the 
> eth0 device the 
> system dies after a while. no panic no response with GDB etc. 
> NETLx just 
> hangs.
> 
> I though this was a RAM issue, because the original 
> development board has 32 
> Meg EDO RAM and the eth0 use DMA.
> 
> Let me know how you fixed the problem ?
> 
> Thank for reading and your Time.
> 
> Menno
> 
> 
> On Friday 11 May 2001 03:42, you wrote:
> 
> > > Hi All,
> >     While this may not be the forum to raise this problem, 
> any pointer on
> > "how to debug" this problem for uClinux (on Netsilicon 
> based product) would
> > be appreciated.
> >
> >     PROBLEM: The telnet comes up fine on our target, but 
> whenever the input
> > on the command line is all spaces (or just enter - without 
> any charecters),
> > the kernel hangs on the target. No errors/panics - nothing.
> >
> >     E.g. - a cut and paste from the session -
> > ---------------------------------
> > [abhishek@Abhishek_Linux crash_study]$ telnet 10.1.2.232
> > Trying 10.1.2.232...
> > Connected to 10.1.2.232 (10.1.2.232).
> > Escape character is '^]'.
> > uClinux command shell (version 2.0)
> >
> > >  a a a a a
> >
> > a: Bad command or file name
> >
> > >                                    z
> >
> > z: Bad command or file name
> >
> > > qqqqqqqqqqqqq
> >
> > qqqqqqqqqqqqq: Bad command or file name
> >
> > >                                       Connection closed 
> by foreign host.
> >
> > ---------------------------------------^--------
> >
> >                             Has pressed "Enter" here - but nothing
> > happended for telnet client - while the target froze. The message
> > "Connection closed by foreign host." came after I had done 
> a hardware reset
> > on target.
> >    While this works on the NETSilicon provided developer 
> baords, it is
> > freezing the system on our bard - and it is Consistent.
> >
> >    Any feedback would be appreciated. Thanks for your time.
> >
> > regards
> > Abhishek
> 
> ----------------------------------------
> Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1"
> Content-Transfer-Encoding: quoted-printable
> Content-Description: 
> ----------------------------------------
> 
> -- 
> Menno Schrage
> CHESS embedded Technology
> This message resent by the uclinux-dev@uclinux.org list 
> server http://www.uClinux.org/
> 

This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:43 EDT