Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2003 23:15:16 +0100
From:      Philip Paeps <philip@paeps.cx>
To:        alpha@FreeBSD.ORG
Subject:   Re: Panic on boot?
Message-ID:  <20030226221516.GB1930@juno.home.paeps.cx>
In-Reply-To: <15965.14869.445380.268641@grasshopper.cs.duke.edu>
References:  <20030226211435.GB627@juno.home.paeps.cx> <15965.12175.390447.175953@grasshopper.cs.duke.edu> <20030226220020.GA1930@juno.home.paeps.cx> <15965.14869.445380.268641@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-02-26 17:05:09 (-0500), Andrew Gallatin <gallatin@cs.duke.edu> wrote:
> Philip Paeps writes:
> > I was doing that as I wrote my message.  Unfortunately, the compiler takes
> > quite a bit longer to compile an Alpha kernel than I need to type a short
> > message :-)
> 
> And it was totally useless advice, because the PC is zero.  sorry!

Not to worry :-)

> Something followed a null function pointer.

Eek!  So that's what that message means.  Is there a 'quick primer on
debugging kernels' somewhere to be found?  I would find that _very_
interesting literature!

>  >     pc             = 0x0
>  >     ra             = 0xfffffc000038a7cc
> 
> Can you please find the ra?  

fffffc000038a390 T ata_dmastop
fffffc000038a5f0 t ata_dmastatus
fffffc000038a690 T atapi_attach
fffffc000038a860 T atapi_detach
fffffc000038a9b0 T atapi_queue_cmd
fffffc000038ac10 T atapi_start
fffffc000038ac60 T atapi_transfer

> If you have a kernel.debug, do
> 
> % gdb kernel.debug
> <...>
> (gdb) l *0xfffffc000038a7cc

Building one of those would take slightly longer than just adding DDB and
DDB_TRACE, I think :)

> If you don't have a kernel.debug, do an "nm -n /boot/kernel/kernel | less"
> and look for the address range that 0xfffffc000038a7cc is in.

The exact address wasn't there, but I pasted everything that was
'mathematically' around it above.  Hope that helps!

 - Philip

-- 
Philip Paeps                                          Please don't CC me, I am
philip@paeps.cx                                       subscribed to the list.

  The only game that can't be fixed is peek-a-boo.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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