linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Segmentation fault and 8260 vs 8264
@ 2002-09-13  8:58 Apostolos Meliones
  0 siblings, 0 replies; 2+ messages in thread
From: Apostolos Meliones @ 2002-09-13  8:58 UTC (permalink / raw)
  To: linuxppc-embedded


Dear all,

We are working on two identical custom boards. The first one is powered by
MPC8260 (revision A.1, mask 1K22A), while in the second system MPC8260 is
replaced with MPC8264 (revision A.0, mask 2K25A). Both systems are running
Linux 2.4.7. MPC8264 is a new version of the MPC8260 PowerQuicc II
microprocessor. Actually, it is the same cpu with some ATM additions and
manufacturing technology at 0.25 microns. Quite unexpectedly, most of the
user space applications stored in our JFFS flashdisk or NFS filesystem
crash (yield a segmentation fault) when running on the 8264 board, while
working perfectly on the 8260 one.

The problem reveals from within arch/ppc/mm/fault.c. User mode accesses
cause a SIGSEGV signal from within the do_page_fault() function.

I would be grateful if someone of you guys could provide any help.

We feel that this problem might be relevant to a message posted to the list
by Ralph Blach, dated Apr 02, 2001. At that time, he asked the list about
what kind of errors are responsible for segmentation faults. Some days
later he reported himself that marking all user pages as user/read/write
in the kernel caused the segmentation faults at application layer.

What is your opinion?

Sincerely Yours

Apostol

----------------------------------------
Dr. Apostol Meliones
Ellemedia Technologies
223 Syngrou Ave., 17121, Athens, Greece
Tel: +30-10-9373095, Fax: +30-10-9370386


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: Segmentation fault and 8260 vs 8264
@ 2002-09-13 13:55 Jean-Denis Boyer
  0 siblings, 0 replies; 2+ messages in thread
From: Jean-Denis Boyer @ 2002-09-13 13:55 UTC (permalink / raw)
  To: 'Apostolos Meliones'; +Cc: linuxppc-embedded


This bug has been fixed in 2.4.11. in arch/ppc/kernel/cputable.c, line 172.

A bit was missing in the mask for the 82xx,
and the kernel could not recognized it was a 603e core.

I've got the same problem with my 8250.


Regards,
--------------------------------------------
 Jean-Denis Boyer, B.Eng., Technical Leader
 Mediatrix Telecom Inc.
 4229 Garlock Street
 Sherbrooke (Québec)
 J1L 2C8  CANADA
 (819)829-8749 x241
--------------------------------------------

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-13 13:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-13  8:58 Segmentation fault and 8260 vs 8264 Apostolos Meliones
  -- strict thread matches above, loose matches on Subject: below --
2002-09-13 13:55 Jean-Denis Boyer

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).