Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Apr 2006 16:27:44 +0200
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        Sergey Matveychuk <sem@FreeBSD.org>
Cc:        current@freebsd.org
Subject:   Re: kgdb problem
Message-ID:  <20060416162744.5ddf42b6@localhost>
In-Reply-To: <44424120.8060807@FreeBSD.org>
References:  <44424120.8060807@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_BE/TnLaRU0GdeurPzb8uW/I
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Sergey Matveychuk <sem@FreeBSD.org> wrote:

> I've tried to get a back trace from kernel core. But can't:
>=20
> % 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)
>=20
> How to fix it?

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

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

Fabian
--=20
http://www.fabiankeil.de/

--Sig_BE/TnLaRU0GdeurPzb8uW/I
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFEQlRwjV8GA4rMKUQRAkwgAKCy9pN1f+Ti84bb9nvkFvxGoKOVDgCffq8J
GUncRAWYr2JC1nbnA0UB630=
=sFIg
-----END PGP SIGNATURE-----

--Sig_BE/TnLaRU0GdeurPzb8uW/I--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060416162744.5ddf42b6>