From owner-freebsd-amd64@FreeBSD.ORG Fri May 20 23:05:37 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2463916A4CE; Fri, 20 May 2005 23:05:37 +0000 (GMT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 555EC43DB6; Fri, 20 May 2005 23:05:36 +0000 (GMT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id C69C82A8F6; Fri, 20 May 2005 16:05:34 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id 665E0E2B3; Fri, 20 May 2005 16:05:34 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (8.13.3/8.13.1) with ESMTP id j4KN5XBm029956; Fri, 20 May 2005 16:05:33 -0700 (PDT) (envelope-from peter@wemm.org) Received: from localhost (localhost [[UNIX: localhost]]) by overcee.wemm.org (8.13.3/8.13.1/Submit) id j4KN5X8e029955; Fri, 20 May 2005 16:05:33 -0700 (PDT) (envelope-from peter@wemm.org) X-Authentication-Warning: overcee.wemm.org: peter set sender to peter@wemm.org using -f From: Peter Wemm To: freebsd-amd64@freebsd.org Date: Fri, 20 May 2005 16:05:32 -0700 User-Agent: KMail/1.8 References: <1116566651.1588.17.camel@server.mcneil.com> <20050520135046.T8229@carver.gumbysoft.com> In-Reply-To: <20050520135046.T8229@carver.gumbysoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200505201605.33275.peter@wemm.org> cc: amd64@freebsd.org Subject: Re: help with GPF on 5.4-STABLE X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2005 23:05:37 -0000 On Friday 20 May 2005 01:59 pm, Doug White wrote: > kern.timeout.c line 530 is > > 530 mtx_unlock_spin(&callout_lock); > > I'm not sure what in there would generate a GPF. Allowing an invalid address to reach the AGU (address generation unit) will cause a GPF with no specific details. Its a real pain in the butt because it should cause a SIGBUS with the bad address in siginfo. But since GPF doesn't tell us anything useful, we can't do this. Anyway... the usual cause is that the upper 16 bits are not all 0's or all 1's. ie: its a reference outside the sign extended 48 bit virtual address space. The disassemble that you asked for will show us which register we should be looking at for what the actual address was.. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5