From owner-freebsd-alpha Thu Oct 12 14:23:21 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from anchor-post-34.mail.demon.net (anchor-post-34.mail.demon.net [194.217.242.92]) by hub.freebsd.org (Postfix) with ESMTP id A0DF837B66C for ; Thu, 12 Oct 2000 14:23:18 -0700 (PDT) Received: from nlsys.demon.co.uk ([158.152.125.33] helo=herring.nlsystems.com) by anchor-post-34.mail.demon.net with esmtp (Exim 2.12 #1) id 13jpon-0008oA-0Y; Thu, 12 Oct 2000 22:23:16 +0100 Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id WAA02433; Thu, 12 Oct 2000 22:25:00 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Thu, 12 Oct 2000 22:22:46 +0100 (BST) From: Doug Rabson To: Andrew Gallatin Cc: freebsd-alpha@freebsd.org Subject: Re: size problems with INVARIANTS/DIAGNOSTIC -current kernels In-Reply-To: <14821.48907.65092.873577@grasshopper.cs.duke.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 12 Oct 2000, Andrew Gallatin wrote: > > Doug Rabson writes: > > > > Hey, I just thought of something. Perhaps the globals segment has grown > > too large. The alpha can only support 64k of globals with $gp pointing at > > base+32k so that the code can use 16bit signed offsets from $gp to access > > it. > > > > The code at XentMM indirects through $gp to find the address of trap() so > > either $gp is bad or the globals table itself is bad. > > Errm. Dumb question. How do we find the size of the globals table to > confirm this? Is this the same thing as the .got section in objdump's > --headers output? Thats right. > > Next dumb question -- is there any way around this, other than > reducing the sheer number of globals? I'm not sure. Lets see if its the problem first. Just to make sure, try moving the call_pal halt to the beginning of trap(). You can use the inline alpha_pal_halt() for this. -- Doug Rabson Mail: dfr@nlsystems.com Phone: +44 20 8348 6160 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message