From owner-freebsd-alpha Fri Dec 28 23:28:46 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from femail22.sdc1.sfba.home.com (femail22.sdc1.sfba.home.com [24.0.95.147]) by hub.freebsd.org (Postfix) with ESMTP id 0B31937B421 for ; Fri, 28 Dec 2001 23:28:37 -0800 (PST) Received: from laptop.baldwin.cx ([24.2.39.156]) by femail22.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20011229072836.BDHR14077.femail22.sdc1.sfba.home.com@laptop.baldwin.cx>; Fri, 28 Dec 2001 23:28:36 -0800 Message-ID: X-Mailer: XFMail 1.4.0 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: Fri, 28 Dec 2001 23:28:25 -0800 (PST) From: John Baldwin To: (Christian Weisgerber) Subject: RE: -CURRENT boot1 broken? Cc: freebsd-alpha@freebsd.org 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 On 22-Dec-01 Christian Weisgerber wrote: > After moving my -CURRENT (Dec 7) system to a new disk, freshly > disklabeled, I can't boot from said disk. The bootstrap comes up > and proceeds to > > Loading /boot/loader > > halted CPU 0 > > halt code = 2 > kernel stack not valid halt > PC = fffffc00004f9098 > boot failure > > I still can boot from the old disk. This suggests that boot1 is > broken. Ugh, it shouldn't be. :( Can you lookup that address in the loader and see if anything looks like it could be recursing infinitely? Also, do 'e ra' to get the previous return address so you can look that up in boot1/loader using gdb as well. You can also do 'e sp' and then examine the memory from that ragne downwoards (the stack) to find the recursion addresses. -- 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