From owner-freebsd-alpha Wed May 15 14:17:37 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id 452FE37B405 for ; Wed, 15 May 2002 14:17:32 -0700 (PDT) Received: (qmail 28009 invoked from network); 15 May 2002 21:17:30 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 15 May 2002 21:17:30 -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 g4FLHTF67716; Wed, 15 May 2002 17:17:29 -0400 (EDT) (envelope-from jhb@FreeBSD.org) 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 17:17:14 -0400 (EDT) From: John Baldwin To: Dag-Erling Smorgrav Subject: Re: loader failure Cc: alpha@freebsd.org, current@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 15-May-2002 Dag-Erling Smorgrav wrote: > John Baldwin writes: >> 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. > > How do I get a stack trace? I can't get the 'examine' command to > actually print anything... It depends on which machine actually. :-/ First do 'e sp' to get the stack pointer. Then you want to do something like this: e -n 100 if that doesn't work then try: e -n 100 vmem: This should basically do a raw memory dump. However, see if phk's daddr_t reversal fixes it first. -- 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