From owner-freebsd-alpha@FreeBSD.ORG Thu Apr 15 23:04:16 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 2B6EB16A4CE for ; Thu, 15 Apr 2004 23:04:16 -0700 (PDT) Received: from host117.ipowerweb.com (host117.ipowerweb.com [12.129.237.159]) by mx1.FreeBSD.org (Postfix) with SMTP id BDCE743D2F for ; Thu, 15 Apr 2004 23:04:15 -0700 (PDT) (envelope-from alc@imimic.com) Received: (qmail 69971 invoked from network); 16 Apr 2004 06:10:01 -0000 Received: from unknown (HELO imimic.com) (216.63.78.18) by host117.ipowerweb.com with SMTP; 16 Apr 2004 06:10:01 -0000 Message-ID: <407F775D.7020908@imimic.com> Date: Fri, 16 Apr 2004 01:04:13 -0500 From: "Alan L. Cox" Organization: iMimic Networking, Inc. User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6a) Gecko/20031207 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway 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> <20040416053930.GA78940@xor.obsecurity.org> <20040416054340.GZ238@cs.rice.edu> <20040416054804.GA79165@xor.obsecurity.org> In-Reply-To: <20040416054804.GA79165@xor.obsecurity.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: alc@FreeBSD.org cc: alpha@FreeBSD.org cc: Alan Cox cc: Andrew Gallatin 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 06:04:16 -0000 Kris Kennaway wrote: > > Dump of assembler code for function pmap_activate: > 0xfffffc00005cf0b0 : ldah gp,14(t12) ... > 0xfffffc00005cf160 : srl t1,0xd,t1 > 0xfffffc00005cf164 : stq t1,16(t2) ... I believe that the shift right is the "... >> PAGE_SHIFT" in td->td_pcb->pcb_hw.apcb_ptbr = ALPHA_K0SEG_TO_PHYS((vm_offset_t) pmap->pm_lev1) >> PAGE_SHIFT; and the store quad is dereferencing "td->td_pcb". In other words, td->td_pcb points to never-never land. Alan