Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2002 23:40:48 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        alpha@FreeBSD.ORG, Andrew Gallatin <gallatin@cs.duke.edu>
Subject:   Re: memory management fault during netbooting on 4.6-PRERELEASE
Message-ID:  <XFMail.20020515234048.jhb@FreeBSD.org>
In-Reply-To: <20020515194814.A98844@xor.obsecurity.org>

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

On 16-May-2002 Kris Kennaway wrote:
> On Wed, May 15, 2002 at 08:09:12PM -0400, Andrew Gallatin wrote:
>> 
>> Kris Kennaway writes:
>>  > On Wed, May 15, 2002 at 09:32:41AM -0400, Andrew Gallatin wrote:
>>  > > 
>>  > > Kris Kennaway writes:
>>  > >  > I'm seeing the following on the alpha package cluster when trying to
>>  > >  > netboot a 4.6-PRERELEASE kernel:
>>  > > 
>>  > > <...>
>>  > > 
>>  > >  >     pc         = 0x0
>>  > >  >     ra         = 0xfffffc000056bcc0
>>  > > 
>>  > > Something followed a null function pointer.
>>  > > 
>>  > > Can you run gdb on the corresponding kernel.debug & see what
>>  > > 'list *0xfffffc000056bcc0' shows for the caller?
>>  > 
>>  > Unfortunately I'm not getting a crashdump because it's happening
>>  > during the boot process.
>> 
>> We're just using gdb to translate that address to a line number, so
>> you don't need a crashdump; just do what I asked.  Here's an example:
> 
> The reason I thought I needed a crashdump is because when I do that
> command I get this:
> 
> axp0# gdb kernel.debug
> GNU gdb 4.18
> Copyright 1998 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "alpha-unknown-freebsd"...
> (gdb) l *0xfffffc000056bcc0
> No source file for address 0xfffffc000056bcc0.

Ok, can you do a nm kernel.debug | sort | less and find the two
symbols that that address falls between?

> Kris

-- 

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-alpha" in the body of the message




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