From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 18 02:52:44 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 BF52F106566B for ; Sun, 18 Jan 2009 02:52:44 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id A23978FC23 for ; Sun, 18 Jan 2009 02:52:44 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 8E7C45B11; Sat, 17 Jan 2009 18:35:53 -0800 (PST) To: shilp.kamal@yahoo.com In-reply-to: Your message of "Sat, 17 Jan 2009 17:57:10 PST." <568396.13362.qm@web45414.mail.sp1.yahoo.com> References: <568396.13362.qm@web45414.mail.sp1.yahoo.com> Comments: In-reply-to Kamlesh Patel message dated "Sat, 17 Jan 2009 17:57:10 -0800." Date: Sat, 17 Jan 2009 18:35:53 -0800 From: Bakul Shah Message-Id: <20090118023553.8E7C45B11@mail.bitblocks.com> 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 02:52:45 -0000 On Sat, 17 Jan 2009 17:57:10 PST 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 > > My problem is my developing and target system does not have DS25 female port. > > Anyone have any idea about Remote kernel debugging in FreeBSD using DS9 F/F S > erial cable or any other remote debugging idea? Get one or more modular kits like the one below: http://www.cablesnmor.com/modular-kit-db9f-rj45.aspx Now wire it according to the pinouts here: http://yost.com/computers/RJ45-serial/index.html If (in the unlikely event) you have any more RS-232 devices, you can attach a similar db{9,25}{f,m}-rj45 adapter to each -- just make sure that on the RJ-45 side signals come out as specified in the web page above (also reproduced below). Now you can use a "half-twist" 8 conductor cable to connect *any* two such devices. You can even use a 4 or 6 conductor half-twist cable with the same RJ-45 jacks since the layout is such that the more important signals are towards the middle. 1 2 3 4 5 6 7 8 CTS DCD RD SG SG TD DTR RTS