From owner-freebsd-alpha@FreeBSD.ORG Thu Apr 15 22:39:33 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9791716A4CE; Thu, 15 Apr 2004 22:39:33 -0700 (PDT) Received: from mtaw4.prodigy.net (mtaw4.prodigy.net [64.164.98.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B11143D45; Thu, 15 Apr 2004 22:39:33 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (b607537a71b8a43c5c1a47a516de9428@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128]) by mtaw4.prodigy.net (8.12.10/8.12.10) with ESMTP id i3G5dV5k020115; Thu, 15 Apr 2004 22:39:31 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0589152345; Thu, 15 Apr 2004 22:39:30 -0700 (PDT) Date: Thu, 15 Apr 2004 22:39:30 -0700 From: Kris Kennaway To: "Alan L. Cox" Message-ID: <20040416053930.GA78940@xor.obsecurity.org> References: <20040411093343.GA89809@xor.obsecurity.org> <200404132236.20792.jhb@FreeBSD.org> <16509.42895.49213.222503@grasshopper.cs.duke.edu> <20040416045453.GA78366@xor.obsecurity.org> <407F68BA.6000405@imimic.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: <407F68BA.6000405@imimic.com> User-Agent: Mutt/1.4.2.1i cc: alc@FreeBSD.org cc: alpha@FreeBSD.org cc: Andrew Gallatin cc: Kris Kennaway Subject: Re: Another alpha panic X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 05:39:33 -0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 16, 2004 at 12:01:46AM -0500, Alan L. Cox wrote: > Kris Kennaway wrote: > >On Wed, Apr 14, 2004 at 05:05:19PM -0400, Andrew Gallatin wrote: > > > >>John Baldwin writes: > >>> On Sunday 11 April 2004 05:33 am, Kris Kennaway wrote: > >>> > Not that I've had any luck getting someone to take a look at the la= st > >>> > half-dozen alpha panics I've reported, but: > >>> > > >>> > panic: pmap_emulate_reference(0xfffffc0019436a00, 0xfffffe0014495e6= 8,=20 > >>0, > >>> > 1): pa 0xb0a0000 not managed at line 2585 in file > >>> > /a/asami/portbuild/alpha/src-client/sys/alpha/alpha/pmap.c Stack=20 > >>backtrace: > >>> > db_print_backtrace() at db_print_backtrace+0x18 > >>> > backtrace() at backtrace+0x2c > >>> > __panic() at __panic+0x150 > >>> > pmap_emulate_reference() at pmap_emulate_reference+0x15c > >>> > trap() at trap+0x39c > >>> > XentMM() at XentMM+0x2c > >>> > --- memory management fault (from ipl 7) --- > >>> > pmap_activate() at pmap_activate+0xb4 > >>> > Lcs1() at Lcs1+0x1c > >>> > --- root of call graph --- > >>>=20 > >>> This is a VM-related panic. Perhaps alc@ might have an idea. There= =20 > >>might be > a reference fault on a K0SEG address or some other silly bug. > >> > >>I just googled and saw that at least 2 of these have come with the > >>same stack (context-switch(), pmap_activate()). What does > >>pmap_activate+0xb4 map to in your kernel? > > > > > >0xfffffc00005cf164 is in pmap_activate=20 > >(/a/asami/portbuild/alpha/src-client/sys/alpha/alpha/pmap.c:2740). > > > >This is a kernel from Mar 6. > > >=20 > Can you confirm that this corresponds to >=20 > if (td =3D=3D curthread) { > alpha_pal_swpctx((u_long)td->td_md.md_pcbpaddr); > } >=20 > ? Line 2740 seems to be: td->td_pcb->pcb_hw.apcb_ptbr =3D ALPHA_K0SEG_TO_PHYS((vm_offset_t) pmap->pm_lev1) >> PAGE_SH= IFT; Kris --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAf3GSWry0BWjoQKURAhhvAJ40AyZh78ik4yFlzRM77PSDidY51wCaAh1R x0p/KEvy8VKroYjlxU39O/4= =M5hR -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ--