kgdb problem

Fabian Keil freebsd-listen at fabiankeil.de
Sun Apr 16 14:28:09 UTC 2006


Sergey Matveychuk <sem at FreeBSD.org> wrote:

> I've tried to get a back trace from kernel core. But can't:
> 
> % kgdb /boot/kernel/kernel /var/crash/vmcore.0
> kgdb: kvm_read: invalid address (0x50012)
> kgdb: kvm_read: invalid address (0x8256b3c)
> kgdb: kvm_read: invalid address (0x4b)
> kgdb: kvm_read: invalid address (0x4b)
> kgdb: kvm_read: invalid address (0x4b)
> kgdb: kvm_read: invalid address (0x4b)
> ...
> (an infinity loop here)
> 
> How to fix it?

Usually /boot/kernel/kernel has the symbols already stripped.

Try /usr/obj/usr/src/sys/KERNCONF/kernel.debug instead.

Fabian
-- 
http://www.fabiankeil.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060416/934b8508/signature.pgp


More information about the freebsd-current mailing list