From owner-freebsd-current Thu Nov 21 13:26:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF31E37B401 for ; Thu, 21 Nov 2002 13:26:28 -0800 (PST) Received: from mail.speakeasy.net (mail15.speakeasy.net [216.254.0.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6358943E3B for ; Thu, 21 Nov 2002 13:26:28 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 11556 invoked from network); 21 Nov 2002 21:26:34 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail15.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 21 Nov 2002 21:26:34 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id gALLQP2D039819; Thu, 21 Nov 2002 16:26:26 -0500 (EST) (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: <200211211601.46641.cscotts@mindspring.com> Date: Thu, 21 Nov 2002 16:26:30 -0500 (EST) From: John Baldwin To: Scott Sipe Subject: Re: DP2 Fatal Trap Cc: current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 21-Nov-2002 Scott Sipe wrote: > On Thursday 21 November 2002 01:58 pm, John Baldwin wrote: >> On 21-Nov-2002 Scott Sipe wrote: >> > On Thursday 21 November 2002 01:36 pm, John Baldwin wrote: >> >> Hmm, is this from a GENERIC kernel? >> > >> > This is from straight from DP2 iso image cd install, X-Developer install, >> > first boot after the install finished, generic kernel etc. >> >> Ok, generic kernel is the only really important part. :) Can you >> do me a favor and see if you have a /boot/kernel.GENERIC/kernel.debug >> or a /boot/kernel/kernel.debug? If so, can you please do >> 'gdb -k kernel.debug' and then at the prompt do 'l *' >> where is the second part of the instruction pointer >> from the panic message? (I.e., w/o the leading '0x8:' part.) > > I am able to login as root (sh) in single user mode, but login as root on a > normal boot dies (starting tcsh from single user mode traps too). > > There is a file /boot/kernel/kernel.debug but when I do the gdb command (the > l) it gives an error about no symbols, use the file command. I did: > cd /boot/kernek > gdb -k kernel.debug > (in gdb) > l *0xc031f044 > > sorry if this is a stupid mistake on my part. > > Secondly, I'm able to boot ok from the debug kernel. I did "boot DEBUG" and I > can then login as my user (tcsh) ok and can run X successfully. I imagine I > can recompile the kernel, would this be useful? (disabling PSE or the PGE > options?) Erm, well, PSE and PGE are already disabled in GENERIC on DP2. Hmm. Can you try doing gdb -k kernel.debug in multiuser under DEBUG and see if gdb behaves any better? Another idea might be to use addr2line instead like so: addr2line -e kernel.debug -f 0xc031f044 -- 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-current" in the body of the message