From owner-p4-projects Sat Jun 29 0:20:29 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6076937B400; Sat, 29 Jun 2002 00:20:16 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8B3A37B401; Sat, 29 Jun 2002 00:20:15 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40E0D43E09; Sat, 29 Jun 2002 00:20:15 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc02.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020629072014.JOGV6023.sccrmhc02.attbi.com@InterJet.elischer.org>; Sat, 29 Jun 2002 07:20:14 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id AAA78125; Sat, 29 Jun 2002 00:10:15 -0700 (PDT) Date: Sat, 29 Jun 2002 00:10:14 -0700 (PDT) From: Julian Elischer To: Jake Burkholder Cc: Perforce Change Reviews Subject: Re: PERFORCE change 13575 for review In-Reply-To: <200206290655.g5T6tSHY017057@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jake, could thi s be the reason that david couldn;t get the sparc64 KSE kernel to boot? Mounting root from ufs:/dev/ad0a WARNING: / was not properly dismounted panic: trap: memory address not aligned cpuid = 0; Debugger("panic") Stopped at Debugger+0x1c: ta %xcc, 1 db> tr panic() at panic+0xf4 trap() at trap+0x4e8 -- memory address not aligned sfar=0xa1 sfsr=0x40029 %o7=0xc01efce4 -- vm_page_sleep_busy() at vm_page_sleep_busy+0x20 pmap_release() at pmap_release+0x90 vmspace_exitfree() at vmspace_exitfree+0x94 vm_waitproc() at vm_waitproc+0x44 wait1() at wait1+0x4e0 wait4() at wait4+0xc syscall() at syscall+0x368 -- syscall (7, FreeBSD ELF, wait4) %o7=0x13a0c0 -- userland() at 0x13be88 user trace: trap %o7=0x13a0c0 pc 0x13be88, sp 0x7fdffffec71 pc 0x10d064, sp 0x7fdffffed31 pc 0x10cd8c, sp 0x7fdffffedf1 pc 0x10cbf0, sp 0x7fdffffeec1 pc 0x10512c, sp 0x7fdffffef81 pc 0x103c58, sp 0x7fdfffff141 pc 0x10dc6c, sp 0x7fdfffff201 pc 0x10db24, sp 0x7fdfffff2e1 pc 0x1001e4, sp 0x7fdfffff401 pc 0, sp 0x7fdfffff4c1 done On Fri, 28 Jun 2002, Jake Burkholder wrote: > http://people.freebsd.org/~peter/p4db/chv.cgi?CH=13575 > > Change 13575 by jake@jake_k7 on 2002/06/28 23:55:01 > > Integ. > > Affected files ... > > .. //depot/projects/kse/sys/sparc64/sparc64/pmap.c#32 integrate > > Differences ... > > ==== //depot/projects/kse/sys/sparc64/sparc64/pmap.c#32 (text+ko) ==== > > @@ -39,7 +39,7 @@ > * SUCH DAMAGE. > * > * from: @(#)pmap.c 7.7 (Berkeley) 5/12/91 > - * $FreeBSD: src/sys/sparc64/sparc64/pmap.c,v 1.62 2002/06/25 15:13:07 jake Exp $ > + * $FreeBSD: src/sys/sparc64/sparc64/pmap.c,v 1.63 2002/06/29 06:37:24 jake Exp $ > */ > > /* > @@ -1200,7 +1200,8 @@ > KASSERT(pmap_resident_count(pm) == 0, > ("pmap_release: resident pages %ld != 0", > pmap_resident_count(pm))); > - TAILQ_FOREACH(m, &obj->memq, listq) { > + while (!TAILQ_EMPTY(&obj->memq)) { > + m = TAILQ_FIRST(&obj->memq); > if (vm_page_sleep_busy(m, FALSE, "pmaprl")) > continue; > vm_page_busy(m); > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message