linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* MMU problems?
@ 1999-12-22  4:02 Nguyen Xuan Hoang
  2000-06-22  3:56 ` Dan Malek
  0 siblings, 1 reply; 11+ messages in thread
From: Nguyen Xuan Hoang @ 1999-12-22  4:02 UTC (permalink / raw)
  To: linuxppc-embedded@lists.linuxppc.org


Hi All,

I have seen a lot of discussions about MMU on MPC823, that make me worry. I just start and not up to see the real problem, look at the errata I don't see any problem about MMU. So is that really a bug? or just problem of misusing code? disable the cache will slow down the system... not using MMU seems to be difficult with Linux,
so what's the solution?  Hope somebody can give me a point.

Best regards
Hoang


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: MMU problems?
@ 2000-06-22  7:01 Patrick Lerda
  2000-06-22 15:58 ` Dan Malek
  0 siblings, 1 reply; 11+ messages in thread
From: Patrick Lerda @ 2000-06-22  7:01 UTC (permalink / raw)
  To: 'Dan Malek', Nguyen Xuan Hoang; +Cc: linuxppc-embedded


Have you tried to do complex operation on a 8xx board like compiling the
kernel. This operation
works well on a PPC740 board, but on a 8xx after a long time the kernel goes
in an unstable
state. Theses bugs are related to the 8xx MMU code.

Patrick LERDA

> -----Message d'origine-----
> De:	Dan Malek [SMTP:dan@netx4.com]
> Date:	jeudi 22 juin 2000 05:56
> À:	Nguyen Xuan Hoang
> Cc:	linuxppc-embedded@lists.linuxppc.org
> Objet:	Re: MMU problems?
>
>
> Nguyen Xuan Hoang wrote:
>
> > I have seen a lot of discussions about MMU on MPC823,
>
>
> There are no MMU or cache related problems on any of the MPC8xx
> processors and stable versions of Linux.  These are just people
> discussing the challenges of building custom boards and making
> source code changes.
>
> There are dozens of people shipping products with Linux running on
> these processors.  You seldom hear from people that are happy and
> successful.
>
>
> 	-- Dan
>

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: MMU problems?
@ 2000-06-22 13:44 Lucinda Schafer
  2000-06-22 14:19 ` Daris Nevil
  2000-06-22 17:25 ` Wolfgang Denk
  0 siblings, 2 replies; 11+ messages in thread
From: Lucinda Schafer @ 2000-06-22 13:44 UTC (permalink / raw)
  To: Patrick Lerda, 'Dan Malek', Nguyen Xuan Hoang; +Cc: linuxppc-embedded


I agree. I believe we ARE dealing with a kernel bug, and it is particular to
the MPC823.

Let's hear some success stories--embedded units in production, running in
the field for days, shutting down power and rebooting with no kernel panics.
That may help convince me we are dealing with a hardware issue.


Lucinda Schafer
Staff Software Engineer
Adaptive Micro-Ware, Inc.


-----Original Message-----
From: Patrick Lerda [mailto:Lerda@microprocess.com]
Sent: Thursday, June 22, 2000 2:01 AM
To: 'Dan Malek'; Nguyen Xuan Hoang
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: RE: MMU problems?



Have you tried to do complex operation on a 8xx board like compiling the
kernel. This operation
works well on a PPC740 board, but on a 8xx after a long time the kernel goes
in an unstable
state. Theses bugs are related to the 8xx MMU code.

Patrick LERDA

> -----Message d'origine-----
> De:	Dan Malek [SMTP:dan@netx4.com]
> Date:	jeudi 22 juin 2000 05:56
> À:	Nguyen Xuan Hoang
> Cc:	linuxppc-embedded@lists.linuxppc.org
> Objet:	Re: MMU problems?
>
>
> Nguyen Xuan Hoang wrote:
>
> > I have seen a lot of discussions about MMU on MPC823,
>
>
> There are no MMU or cache related problems on any of the MPC8xx
> processors and stable versions of Linux.  These are just people
> discussing the challenges of building custom boards and making
> source code changes.
>
> There are dozens of people shipping products with Linux running on
> these processors.  You seldom hear from people that are happy and
> successful.
>
>
> 	-- Dan
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: MMU problems?
@ 2000-06-23  7:43 Patrick Lerda
  2000-06-23  8:32 ` Wolfgang Denk
  0 siblings, 1 reply; 11+ messages in thread
From: Patrick Lerda @ 2000-06-23  7:43 UTC (permalink / raw)
  To: 'Dan Malek', Patrick Lerda; +Cc: Nguyen Xuan Hoang, linuxppc-embedded


The things work better on our board now. The main problem, with 8xx kernel
patches are spread everywhere, and kernel like mpc8xx contains
a lot of useless changes that make the changes difficult to resync with the
main
serie. Kernel like 2.2.16 works properly and reliably on PPC7xx and PPC6xx
processors,
with a lot of PCI drivers functionnal now. I think the main effort will be
to resync 8xx kernels
with the standard ones. Now I have a patched 2.2.16 kernel that seems to
work on our board. Complex operations like compiling a kernel
take hours to complete on a 8xx board, and the bugs seems to have a low
probability.

(With the classic mpc8xx kernel, the system crash after only 20 minutes
while compiling
a kernel)

I have some success with theses kernel now, but I'm not sure if some bugs
remains, testing this system takes now hours... And this is quite
undebugable...

Patrick LERDA



> -----Message d'origine-----
> De:	Dan Malek [SMTP:dan@netx4.com]
> Date:	jeudi 22 juin 2000 17:58
> À:	Patrick Lerda
> Cc:	Nguyen Xuan Hoang; linuxppc-embedded@lists.linuxppc.org
> Objet:	Re: MMU problems?
>
> Patrick Lerda wrote:
> >
> > Have you tried to do complex operation on a 8xx board like compiling the
> > kernel.
>
> Yes, and it runs just like any other system that doesn't have any
> swap space and a minimal amount of memory.  Some things just don't
> work well, and applications fail because few test for memory allocation
> failure.
>
> Are there bugs?  Perhaps.  Do I want them fixed?  Yes.
>
> Do you want to help this FREE software effort?  If you are so sure
> there is an MMU bug, find it, fix it, and send me the patch.  We would
> all be grateful.  If you want dedicated help to assist your custom
> product development so you can make money, you may have to pay one
> of the very capable embedded Linux companies for this attention.
>
> Thanks.
>
>
> 	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: MMU problems?
@ 2000-06-23  8:06 Patrick Lerda
  0 siblings, 0 replies; 11+ messages in thread
From: Patrick Lerda @ 2000-06-23  8:06 UTC (permalink / raw)
  To: 'Wolfgang Denk', Lucinda Schafer
  Cc: Patrick Lerda, 'Dan Malek', Nguyen Xuan Hoang,
	linuxppc-embedded


I've now  a success with our board. It takes hours to compile with our
kernel configuration file,
on a NFS mounted partition, a PPC823 board with 64MB of memory.

Patrick LERDA


> -----Message d'origine-----
> De:	Wolfgang Denk [SMTP:wd@denx.de]
> Date:	jeudi 22 juin 2000 19:25
> À:	Lucinda Schafer
> Cc:	Patrick Lerda; 'Dan Malek'; Nguyen Xuan Hoang;
> linuxppc-embedded@lists.linuxppc.org
> Objet:	Re: MMU problems?
>
>
> In message
> <A109131318C4D1119AC20060088DECE330F4B1@amwmail.adaptivemicro.com> you
> wrote:
> >
> > I agree. I believe we ARE dealing with a kernel bug, and it is
> particular to
> > the MPC823.
>
> What makes you think so? Have you run the same  hardware  with  other
> CPUs  without  problems?  Have  you  seen  other  "good" hardware (TQ
> Components, Embedded Planet) having with similar problems,  and  only
> when running with 823 CPUs?
>
> > Let's hear some success stories--embedded units in production, running
> in
> > the field for days, shutting down power and rebooting with no kernel
> panics.
> > That may help convince me we are dealing with a hardware issue.
>
> OK, then here is a success story.
>
> I have several systems in test here, a mix of 823, 850, 860, -DE, -T,
> -SR, and  some  development  systems  are  in  permanent  use  by  my
> customers, and I can't say I see any differences between the CPU's.
>
> Booting or shutting down was _never_ a  problem.  We  had  the  usual
> crashes  whith  early  versions of 2.2.13 when running low on memory,
> but that's fixed.
>
> With recent kernels (for instance, the  2.2.13  version  from  MV)  I
> haven't  problems  for  a _very_ long time (except for the 2.4.0 test
> kernels - but I don't use these in production yet).
>
>
> Did you check if environmental parameters make  any  difference?  How
> stable  is  your power supply - are the voltages for your board clean
> and within limits?
>
> Did you measure CPU temperatures, or did you try cooling the CPU's? I
> remember early versions of some TQ modules  (MPC821  +  Adaptec  SCSI
> controller  on  a  credit  card  sized modules) which got too hot and
> stopped working.
>
>
> And yes, I just compiled (once more) a Linux  kernel  on  one  of  my
> boxes  (that's  why  I reply so late - it takes more than 140 minutes
> with a NFS based root filsystem and 16 MB of RAM). You are right,  it
> makes  kind  of  a good regression test - it streeses all of CPU, I/O
> and (with NFS root) networking.
>
> You asked for success stories: It works for me.
>
> Wolfgang Denk
>
> --
> Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
> Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
> "Virtual" means never knowing where your next byte is coming from.
>

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <17B78BDF120BD411B70100500422FC63079FA3@IIS000>]

end of thread, other threads:[~2000-06-25 16:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-12-22  4:02 MMU problems? Nguyen Xuan Hoang
2000-06-22  3:56 ` Dan Malek
  -- strict thread matches above, loose matches on Subject: below --
2000-06-22  7:01 Patrick Lerda
2000-06-22 15:58 ` Dan Malek
2000-06-22 13:44 Lucinda Schafer
2000-06-22 14:19 ` Daris Nevil
2000-06-22 17:25 ` Wolfgang Denk
2000-06-23  7:43 Patrick Lerda
2000-06-23  8:32 ` Wolfgang Denk
2000-06-23  8:06 Patrick Lerda
     [not found] <17B78BDF120BD411B70100500422FC63079FA3@IIS000>
2000-06-25 16:41 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).