linux-mips
[Top] [All Lists]

Re: Malta crashes on the latest 2.4 kernel

To: "H. J. Lu" <hjl@lucon.org>, Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: Malta crashes on the latest 2.4 kernel
From: Jun Sun <jsun@mvista.com>
Date: Wed, 10 Jul 2002 18:18:08 -0700
Cc: linux-mips@oss.sgi.com
References: <3D2CBF73.50001@mvista.com> <20020710164900.A28911@lucon.org>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901
H. J. Lu wrote:

On Wed, Jul 10, 2002 at 04:12:51PM -0700, Jun Sun wrote:

See the crash scene. Anybody knows the cause? It is strange to see the reserved exception.



The 2.4 kernel checked out around Jul  4 09:28 PDT works fine on Malta.



Ralf,

Apparently this is a well-known problem. So *please* apply this patch or give some constructive advice if the patch cannot be applied as it is.

Jun

diff -Nru arch/mips/mm/tlb-r4k.c.orig arch/mips/mm/tlb-r4k.c
--- arch/mips/mm/tlb-r4k.c.orig Thu Jun 27 14:12:40 2002
+++ arch/mips/mm/tlb-r4k.c      Wed Jul 10 18:06:34 2002
@@ -125,6 +125,7 @@
                                BARRIER;
                                /* Make sure all entries differ. */
                                set_entryhi(KSEG0+idx*0x2000);
+                               BARRIER;
                                tlb_write_indexed();
                                BARRIER;
                        }
<Prev in Thread] Current Thread [Next in Thread>