From owner-freebsd-arch@FreeBSD.ORG Fri Nov 17 00:50:39 2006 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 607A816A49E for ; Fri, 17 Nov 2006 00:50:39 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3573D43D5C for ; Fri, 17 Nov 2006 00:50:38 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 2003A1A3C1E; Thu, 16 Nov 2006 16:50:38 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id EB07E51316; Thu, 16 Nov 2006 19:50:25 -0500 (EST) Date: Thu, 16 Nov 2006 19:50:25 -0500 From: Kris Kennaway To: Jessica Han Message-ID: <20061117005025.GA72346@xor.obsecurity.org> References: <455D068A.2090503@juniper.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline In-Reply-To: <455D068A.2090503@juniper.net> User-Agent: Mutt/1.4.2.2i Cc: marcel@xcllnt.net, freebsd-arch@freebsd.org Subject: Re: A Patch for kgdb X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Nov 2006 00:50:39 -0000 --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 16, 2006 at 04:47:06PM -0800, Jessica Han wrote: > I got an infinite loop while trying to debug a kernel core on FreeBSD 6.1. > # uname -sr > FreeBSD 6.1-RELEASE > #kgdb kernel vmcore.0 > kgdb: kvm_read: invalid address (0x50012) > kgdb: kvm_read: invalid address (0x7) > kgdb: kvm_read: invalid address (0xf5c) > kgdb: kvm_read: invalid address (0xf5c) > kgdb: kvm_read: invalid address (0xf5c) >=20 > The attached patch fixed it, can somebody review it for me and commit it= =20 > if it is okay? Thanks, This means that the kernel you're running against didn't match the core - were you actually able to get a valid trace out of it? Kris --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFXQdRWry0BWjoQKURAh6tAJ4lpUvwKkqPpI6x6XgDJRTZaswSNQCfba7t WdUlQq82knWN2thWnNnh4uM= =uuQO -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW--