Date: Wed, 15 May 2002 20:09:12 -0400 (EDT) From: Andrew Gallatin <gallatin@cs.duke.edu> To: Kris Kennaway <kris@obsecurity.org> Cc: alpha@FreeBSD.ORG Subject: Re: memory management fault during netbooting on 4.6-PRERELEASE Message-ID: <15586.63656.192672.240973@grasshopper.cs.duke.edu> In-Reply-To: <20020515165719.A94539@xor.obsecurity.org> References: <20020514235608.A69014@xor.obsecurity.org> <15586.25465.541559.66681@grasshopper.cs.duke.edu> <20020515165719.A94539@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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:
% cd /sys/compile/WHEREEVER/
% gdb kernel.debug
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
<...>
This GDB was configured as "alpha-unknown-freebsd"...
(gdb) l *0xfffffc000056bcc0
0xfffffc000056bcc0 is in es_pci_detach
(../../dev/sound/pci/es137x.c:940).
935 es = pcm_getdevinfo(dev);
936 bus_release_resource(dev, es->regtype, es->regid, es->reg);
937 bus_teardown_intr(dev, es->irq, es->ih);
938 bus_release_resource(dev, SYS_RES_IRQ, es->irqid, es->irq);
939 bus_dma_tag_destroy(es->parent_dmat);
940 free(es, M_DEVBUF);
941
942 return 0;
943 }
944
0xfffffc000056bcc0 will probably be a different location in your kernel.
Drew
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?15586.63656.192672.240973>
