Date: Tue, 2 Dec 2014 15:10:32 -0700 From: Will Andrews <will@firepipe.net> To: "David P. Discher" <dpd@dpdtech.com> Cc: freebsd-xen@freebsd.org Subject: Re: Attempting to Get Xen FreeBSD Dom0 working Message-ID: <CADBaqmj0B2XmcSFxBZUdz6aHGAyHeq0yTHdnYbmC9yJOvW_mTQ@mail.gmail.com> In-Reply-To: <DCB954B5-0E45-4DE6-AAC4-C5ACF7FD90A7@dpdtech.com> References: <481F7D02-BFE9-4E35-A475-5A8A05A801CE@dpdtech.com> <547DFCC0.6030003@citrix.com> <DCB954B5-0E45-4DE6-AAC4-C5ACF7FD90A7@dpdtech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 2, 2014 at 2:26 PM, David P. Discher <dpd@dpdtech.com> wrote: > Can you or someone point me to how to get the line numbers ? Since this = is panic-ing before swap on/dumpon =E2=80=A6 I=E2=80=99m not sure out to ge= t the dump and load into kgdb with the symbols. My guess is that I need to= use remote debugging to do this. You can just run 'kgdb' when you boot up and type in 'l *name+off', for instance, from your previous email: > db> bt > Tracing pid 0 tid 100000 td 0xffffffff8180bbf0 > AcpiNsWalkNamespace() at AcpiNsWalkNamespace+0x31/frame 0xffffffff8= 2322940 > AcpiWalkNamespace() at AcpiWalkNamespace+0xa8/frame 0xffffffff82322= 9a0 > acpi_pci_attach() at acpi_pci_attach+0x154/frame 0xffffffff823229f0 On my system this yields: sol# kgdb [...] #0 sched_switch (td=3D0xffffffff81645e70, newtd=3D<value optimized out>, flags=3D<value optimized out>) at /home/will/dev/git/freebsd/sys/kern/sched_ule.c:1945 1945 cpuid =3D PCPU_GET(cpuid); (kgdb) l *AcpiNsWalkNamespace+0x31 0xffffffff80335cc1 is in AcpiNsWalkNamespace (/home/will/dev/git/freebsd/sys/contrib/dev/acpica/components/namespace/nsw= alk.c:91). [...] (kgdb) l *AcpiWalkNamespace+0xa8 0xffffffff80336268 is in AcpiWalkNamespace (/home/will/dev/git/freebsd/sys/contrib/dev/acpica/components/namespace/nsx= feval.c:665). [...] (kgdb) l *acpi_pci_attach+0x154 0xffffffff80366924 is in acpi_pci_attach (/home/will/dev/git/freebsd/sys/dev/acpica/acpi_pci.c:313). [...] It would probably also be useful to report the source revision you built. --Will.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADBaqmj0B2XmcSFxBZUdz6aHGAyHeq0yTHdnYbmC9yJOvW_mTQ>