PAE fix (was PAE removal patch for testing )

Mike Tancsa mike at sentex.net
Mon Aug 25 11:18:05 PDT 2003


Hi, I have been running the following patch from Luoqi Chen

Index: pmap.c
===================================================================
RCS file: /home/ncvs/src/sys/i386/i386/pmap.c,v
retrieving revision 1.250.2.19
diff -u -r1.250.2.19 pmap.c
--- pmap.c      9 Aug 2003 16:21:18 -0000       1.250.2.19
+++ pmap.c      23 Aug 2003 20:18:41 -0000
@@ -1635,8 +1635,8 @@
                 if (nva > eva)
                         nva = eva;

-               pte = pmap_pte(pmap, sva);
-               for (; sva < nva; sva += PAGE_SIZE, pte++) {
+               for (; sva < nva; sva += PAGE_SIZE) {
+                       pte = pmap_pte(pmap, sva);
                         if ((*pte & PG_V) == 0)
                                 continue;


... On one of my machines that previously was crashing a couple of times a day.

ns4% uptime
  2:13PM  up 1 day, 20:42, 2 users, load averages: 0.21, 0.10, 0.09
ns4%

i.e it has not crashed since applying the patch!

         ---Mike


At 09:59 AM 25/08/2003 -0700, Mike Harding wrote:

>Did the update to UPDATING get committed?
>
>- Mike H.
>
>    X-Original-To: mvh at localhost
>    X-pair-Authenticated: 209.68.2.70
>    Date: Sat, 23 Aug 2003 12:05:07 -0500 (CDT)
>    From: Mike Silbersack <silby at silby.com>
>    Cc: stable at freebsd.org
>    Cc: re at freebsd.org
>    Sender: owner-freebsd-stable at freebsd.org
>    X-Spam-Status: No, hits=-5.0 required=5.0
>            tests=AWL,BAYES_10,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,
>                 REFERENCES,REPLY_WITH_QUOTES
>            autolearn=ham version=2.55
>    X-Spam-Level:
>    X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
>
>
>    On Sat, 23 Aug 2003, Erik Trulsson wrote:
>
>    > I have had problems with weird panics on post-PAE RELENG_4 kernels, on
>    > machines that previously had been rock stable (so hardware problems are
>    > unlikely.)
>    >
>    > Your patch does appear to restore stability for me. (I would have to
>    > run the systems for another week or two to be certain they are stable
>    > now, but so far it looks very good.)
>    >
>    > --
>    > <Insert your favourite quote here.>
>    > Erik Trulsson
>
>    That's good to hear.  From Mike's post a little while after yours, I get
>    the impression that Luoqi's hot on the trail of whatever bug crept in, so
>    hopefully all will be well in a short while.
>
>    In the meantime, I think it would probably best for people to avoid
>    cvsuping to -stable until the all clear has been given.  (Or cvsupping and
>    applying the pae-backout patch.)
>
>    I just updated UPDATING with a note to this effect, hopefully we'll be
>    able to remove it very soon.
>
>    Mike "Silby" Silbersack
>    _______________________________________________
>    freebsd-stable at freebsd.org mailing list
>    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>    To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>
>_______________________________________________
>freebsd-stable at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"



More information about the freebsd-stable mailing list