Remote kernel debugging in FreeBSD using serial communication

Bakul Shah bakul at bitblocks.com
Sat Jan 17 18:52:45 PST 2009


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


More information about the freebsd-hackers mailing list