Date: Wed, 15 May 2002 10:26:50 -0400 (EDT) From: John Baldwin <john@baldwin.cx> To: alpha@freebsd.org Cc: Dag-Erling Smorgrav <des@ofug.org> Subject: RE: loader failure Message-ID: <XFMail.20020515102650.john@baldwin.cx> In-Reply-To: <XFMail.20020515083731.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[ -current removed from cc ] On 15-May-2002 John Baldwin wrote: > On 15-May-2002 Dag-Erling Smorgrav wrote: >> <guess type="wild">The loader problem is possibly a compiler issue >> (since DP1 was built with gcc 2.95 while my world was built with 3.1). >> The init problem is probably a UFS2 f*up; the code has obviously not >> been tested on a 64-bit architecture (the UFS2 stuff broke the kernel >> build).</guess> > > The kernel overflowed it's stack. In SRM, you can try to debug this > by using 'e sp' to get the stack pointer then get a stack dump and save > a copy of it in a log or something, reboot the machine, then use gdb's > list command on the kernel.debug to figure out the source:line for all > the kernel-text addresses in the stack dump to figure out the backtrace. > From that you can figure out where the recursion is happening and fix it. Hmm, I just updated my world and built a new one and now my kernel also blows its stack: Booting [/boot/kernel/kernel]... Entering /boot/kernel/kernel at 0xfffffc000032e8e0... halted CPU 0 halt code = 5 HALT instruction executed PC = fffffc00004e68c4 P00>>> I'm going to dedicate this box to 4.6 work for the time being but I'll try to figure this out when I have some time. -- John Baldwin <john@baldwin.cx> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020515102650.john>