On Tue, Dec 2, 2014 at 2:26 PM, David P. Discher <d...@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 … I’m not sure out to get 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 
> 0xffffffff82322940
>       AcpiWalkNamespace() at AcpiWalkNamespace+0xa8/frame 0xffffffff823229a0
>       acpi_pci_attach() at acpi_pci_attach+0x154/frame 0xffffffff823229f0

On my system this yields:

sol# kgdb
#0  sched_switch (td=0xffffffff81645e70, newtd=<value optimized out>,
flags=<value optimized out>) at
1945                    cpuid = PCPU_GET(cpuid);
(kgdb) l *AcpiNsWalkNamespace+0x31
0xffffffff80335cc1 is in AcpiNsWalkNamespace
(kgdb) l *AcpiWalkNamespace+0xa8
0xffffffff80336268 is in AcpiWalkNamespace
(kgdb) l *acpi_pci_attach+0x154
0xffffffff80366924 is in acpi_pci_attach

It would probably also be useful to report the source revision you built.

freebsd-xen@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"

Reply via email to