From owner-freebsd-alpha Wed Oct 4 15:23:23 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 0F7BC37B502 for ; Wed, 4 Oct 2000 15:23:21 -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 13gwwX-000GHU-0Y; Wed, 4 Oct 2000 23:23:18 +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 XAA13974; Wed, 4 Oct 2000 23:29:34 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Wed, 4 Oct 2000 23:23:05 +0100 (BST) From: Doug Rabson To: Andrew Gallatin Cc: Kenjiro Cho , freebsd-alpha@FreeBSD.ORG, core@kame.net Subject: Re: size problems with INVARIANTS/DIAGNOSTIC -current kernels In-Reply-To: <14811.11704.600307.685105@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 Wed, 4 Oct 2000, Andrew Gallatin wrote: > > possibly something is wrong in the loader? > > > > > If so, the breakage has not happened recently. I'm seeing this with a > 'loader' from late august, a netboot from late august & a netboot > that's over 1 year old. > > Bear in mind that we seem to run just fine until the first time we > attempt to call a function from a stack created for us by the > palcode. However, that same function is callable when not running > in an interrupt/trap/etc palcode-created context. > > I've "proved" this to myself by making sure that trap() is actually > callable from the mainline kernel code (eg, not running out XentMM). > I put a call to trap() in kern_malloc() & I put a call to printtrap() > at the top of trap. I see trap being called from kern_malloc, but > when its called by XentMM, random stuff happens. Bizarre. We are running on our own stack before mi_startup is called() which should be before anything substantial is printed. I wonder if somehow the ksp value in the context has been corrupted. -- 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