From owner-freebsd-current Wed Mar 14 17:54:16 2001 Delivered-To: freebsd-current@freebsd.org Received: from mrout1.yahoo.com (mrout1.yahoo.com [208.48.125.95]) by hub.freebsd.org (Postfix) with ESMTP id C037937B71A for ; Wed, 14 Mar 2001 17:54:08 -0800 (PST) (envelope-from peter@yahoo-inc.com) Received: from daintree.yahoo.com (daintree.yahoo.com [205.216.162.172]) by mrout1.yahoo.com (8.11.1/8.11.1/y.out) with ESMTP id f2F1rxO02825; Wed, 14 Mar 2001 17:53:59 -0800 (PST) Received: from yahoo-inc.com (localhost [127.0.0.1] (may be forged)) by daintree.yahoo.com (8.11.0/8.11.0) with ESMTP id f2F1rxi19074; Wed, 14 Mar 2001 17:53:59 -0800 (PST) (envelope-from peter@yahoo-inc.com) Message-Id: <200103150153.f2F1rxi19074@daintree.yahoo.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Richard Todd Cc: current@freebsd.org Subject: Re: Tracking down problem with booting large kernels (bug in locore.s) In-Reply-To: Date: Wed, 14 Mar 2001 17:53:59 -0800 From: Peter Wemm Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Richard Todd wrote: > In message <200103140442.f2E4gni01710@daintree.yahoo.com>, Peter Wemm writes: > >Richard Todd wrote: > > > >> <---- No crashes as of here > >> pushl $begin /* jump to high virtualized add > > ress */ > >> ret > >> > >> /* now running relocated at KERNBASE where the system is linked to run */ > >> begin: > >> <==== crashes before it gets here!!! > >> /* set up bootstrap stack */ > >> movl proc0paddr,%eax /* location of in-kernel pages > > */ > > > >I have some suspicions.. Can you do a nm on your kernel? > > > >peter@daintree[8:41pm]~-102> nm /boot/kernel/kernel |grep begin > >c0123689 t begin > > > > Sure. A working kernel (the one I'm booted off of now) shows: > 55 ichotolot ~[11:49PM] Z% nm /boot/kernel.good5/kernel | grep begin > c0128c79 t begin > c0368b3f t mp_begin > > and one that crashes shows: > > 56 ichotolot ~[11:50PM] Z% nm /boot/kernel.old/kernel | grep begin > c01290a9 t begin > c038d49f t mp_begin Now I am confused. I can't see any logical reason why the jump to "begin" should fail like that... It is only ~168K into the text section... Cheers, -Peter -- Peter Wemm - peter@yahoo-inc.com; peter@FreeBSD.org; peter@wemm.org "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message