From owner-freebsd-alpha Wed May 15 7:27:17 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id 1DA1D37B405 for ; Wed, 15 May 2002 07:27:08 -0700 (PDT) Received: (qmail 10423 invoked from network); 15 May 2002 14:27:06 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 15 May 2002 14:27:06 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g4FER4F65625; Wed, 15 May 2002 10:27:04 -0400 (EDT) (envelope-from john@baldwin.cx) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 15 May 2002 10:26:50 -0400 (EDT) From: John Baldwin To: alpha@freebsd.org Subject: RE: loader failure Cc: Dag-Erling Smorgrav Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [ -current removed from cc ] On 15-May-2002 John Baldwin wrote: > On 15-May-2002 Dag-Erling Smorgrav wrote: >> 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). > > 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 <>< 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