Re: kgdb problem

From: Fabian Keil <freebsd-listen_at_fabiankeil.de>
Date: Sun, 16 Apr 2006 16:27:44 +0200
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/

Received on Sun Apr 16 2006 - 12:28:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:54 UTC