Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2002 03:36:43 GMT
From:      Tor.Egge@cvsup.no.freebsd.org
To:        julian@elischer.org, iedowse@FreeBSD.org, alc@FreeBSD.org, Scott_Long@adaptec.com, des@FreeBSD.org
Cc:        current@FreeBSD.org
Subject:   Re: What is going on?
Message-ID:  <20020627033643U.tegge@cvsup.no.freebsd.org>
In-Reply-To: <Pine.BSF.4.21.0206261739180.64758-100000@InterJet.elischer.org>
References:  <Pine.BSF.4.21.0206261739180.64758-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> sure enough:
> ref4# grep
> /usr/libexec/ld-elf.so.1: grep: Shared object has no run-time symbol table
> ref4# 
> 
> 
> huh?
> 
> freshly cvsup'd sources..


Too many pages were prefaulted in pmap_object_init_pt, thus the wrong
physical page was entered in the pmap for the virtual address where
the .dynamic section data was supposed to be.


Index: sys/i386/i386/pmap.c
===================================================================
RCS file: /home/ncvs/src/sys/i386/i386/pmap.c,v
retrieving revision 1.325
diff -u -r1.325 pmap.c
--- sys/i386/i386/pmap.c	26 Jun 2002 20:32:51 -0000	1.325
+++ sys/i386/i386/pmap.c	27 Jun 2002 03:04:51 -0000
@@ -2493,7 +2504,7 @@
 		    ((objpgs > 0) && (p != NULL));
 		    p = TAILQ_NEXT(p, listq)) {
 
-			if (p->pindex < pindex || p->pindex - pindex > psize) {
+			if (p->pindex < pindex || p->pindex - pindex >= psize) {
 				continue;
 			}
 			tmpidx = p->pindex - pindex;

- Tor Egge

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020627033643U.tegge>