Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2009 18:35:53 -0800
From:      Bakul Shah <bakul@bitblocks.com>
To:        shilp.kamal@yahoo.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Remote kernel debugging in FreeBSD using serial communication 
Message-ID:  <20090118023553.8E7C45B11@mail.bitblocks.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>

index | next in thread | previous in thread | raw e-mail

On Sat, 17 Jan 2009 17:57:10 PST Kamlesh Patel <shilp.kamal@yahoo.com>  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 


help

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