RE: [uClinux-dev] problem with telnet

From: Abhishek Thakur (Abhishek.Thakur@synchronous.net)
Date: Fri May 18 2001 - 12:23:34 EDT


Hi Menno,

    The linux source - as we received(on Net_Lx distribution CD) did not
have the cache enabled. I had written some code(modified head-arm-netarm.S)
to get it activated. But the code enabled caching of complete 32 MB of
SDRAM, and the DMA buffers were a part of the same.

    Right now the cache enabling code is disabled - I don't have the time to
fix the issue - (which should enabling cache for all but the DMA buffers).

regards
Abhishek

> -----Original Message-----
> From: Menno Schrage [mailto:Menno.Schrage@chess.nl]
> Sent: Friday, May 18, 2001 2:15 AM
> To: uclinux-dev@uclinux.org
> Subject: Re: [uClinux-dev] problem with telnet
> 
> 
> Lets try it again ;o)
> 
> Sorry for spelling your name wrong, it must be:
> 
> Hi Abhisek,
> 
> instead of what's below..
> 
> 
> regards
> Menno
> 
> ----- Begin Included Message -----
> 
> From 
> uclinux.org!owner-uclinux-dev@ams8uucp0.ams.ops.eu.uu.net Fri 
> May 18 10:49:51 2001
> >Received: from uclinux.org ([207.245.32.56]:2812 "EHLO uclinux.org")
> 	by uucp.nl.uu.net with ESMTP id <S453436AbRERIWg>;
> 	Fri, 18 May 2001 08:22:36 +0000
> From: Menno Schrage <Menno.Schrage@chess.nl>
> Date: 	Fri, 18 May 2001 09:21:33 +0200
> To: uclinux-dev@uclinux.org
> Subject: Re: [uClinux-dev] problem with telnet
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7BIT
> 
> On Wednesday 16 May 2001 22:27, you wrote:
> 
> Hi Abbisek,
> 
> do you mean the NETARM cache,
> 
> where in the kernel did you disabled that cache?
> 
> maybe my problem will get fixed too?
> 
> thanks in advantage
> 
> Menno
> 
> > > 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/
> 
> ----------------------------------------
> Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1"
> Content-Transfer-Encoding: 7bit
> Content-Description: 
> ----------------------------------------
> 
> -- 
> Menno Schrage
> CHESS embedded Technology
> This message resent by the uclinux-dev@uclinux.org list 
> server http://www.uClinux.org/
> 
> 
> 
> ----- End Included Message -----
> 
> 
> 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:44 EDT