From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 18 06:45:15 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BAEA1065673 for ; Sun, 18 Jan 2009 06:45:15 +0000 (UTC) (envelope-from grog@lemis.com) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) by mx1.freebsd.org (Postfix) with ESMTP id 054108FC14 for ; Sun, 18 Jan 2009 06:45:14 +0000 (UTC) (envelope-from grog@lemis.com) Received: from dereel.lemis.com (ozlabs.org [203.10.76.45]) by ozlabs.org (Postfix) with ESMTP id 267BADE09E; Sun, 18 Jan 2009 17:33:56 +1100 (EST) Received: by dereel.lemis.com (Postfix, from userid 1004) id C577EA1DDA; Sun, 18 Jan 2009 15:22:06 +1100 (EST) Date: Sun, 18 Jan 2009 15:22:06 +1100 From: Greg 'groggy' Lehey To: Kamlesh Patel Message-ID: <20090118042206.GH5043@dereel.lemis.com> References: <568396.13362.qm@web45414.mail.sp1.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="doKZ0ri6bHmN2Q5y" Content-Disposition: inline In-Reply-To: <568396.13362.qm@web45414.mail.sp1.yahoo.com> User-Agent: Mutt/1.4.2.3i Organization: The FreeBSD Project Phone: +61-3-5346-1370 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: freebsd-hackers@freebsd.org Subject: Re: Remote kernel debugging in FreeBSD using serial communication X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2009 06:45:15 -0000 --doKZ0ri6bHmN2Q5y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Saturday, 17 January 2009 at 17:57:10 -0800, Kamlesh Patel wrote: > Hi All, > > I am trying remote kernel debugging in FreeBSD using serial > communication. I got the following link. > > http://www.ibm.com/developerworks/aix/library/au-debugfreebsd.html#list1 This article is inaccurate in a number of points, notably building the kernel. I'd recommend that you read the document at http://www.lemis.com/grog/Papers/Debug-tutorial/, which also gives you much more information about the debugging process. > My problem is my developing and target system does not have DS25 > female port. It doesn't have to be DB25, and it doesn't have to be female. > Anyone have any idea about Remote kernel debugging in FreeBSD using > DS9 F/F Serial cable or any other remote debugging idea? That should work just as well. There's nothing special about the link. But if you have any alternatives, don't use an async serial cable for kernel debugging. It's glacially slow, and people have had all sorts of problems with it in the course of time. Firewire is much better, and you may even find that the hardware is cheaper. Greg -- See complete headers for address and phone numbers. --doKZ0ri6bHmN2Q5y Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklyrm0ACgkQIubykFB6QiPnNACfY6Uk5Ylq5ci27w6plrUe67wY ITIAn3QZ4zfhw/qx/sJtEYvRJPf4m2bP =bxHx -----END PGP SIGNATURE----- --doKZ0ri6bHmN2Q5y--