Date: Wed, 14 Mar 2001 17:53:59 -0800 From: Peter Wemm <peter@yahoo-inc.com> To: Richard Todd <rmtodd@ichotolot.servalan.com> Cc: current@freebsd.org Subject: Re: Tracking down problem with booting large kernels (bug in locore.s) Message-ID: <200103150153.f2F1rxi19074@daintree.yahoo.com> In-Reply-To: <m14d4CL-004Ml3C@servalan.servalan.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103150153.f2F1rxi19074>