Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2002 16:26:30 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Scott Sipe <cscotts@mindspring.com>
Cc:        current@FreeBSD.org
Subject:   Re: DP2 Fatal Trap
Message-ID:  <XFMail.20021121162630.jhb@FreeBSD.org>
In-Reply-To: <200211211601.46641.cscotts@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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 *<instruction pointer>'
>> where <instruction pointer> 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 <jhb@FreeBSD.org>  <><  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20021121162630.jhb>