lkml.org 
[lkml]   [2002]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: lan based kgdb
    Linus Torvalds wrote:
    >
    > In article <334960000.1037397999@flay>,
    > Martin J. Bligh <mbligh@aracnet.com> wrote:
    > >> Is there a source level remote kernel debugger that
    > >> communicates over an ethernet interface? The debugger
    > >> kgdb from kgdb.sourceforge.net works only with serial port.
    > >
    > >A cheap terminal server might work ...
    >
    > Well, apart from the fact that a lot of machines don't even _have_
    > serial ports..
    >
    > I dunno. I might even be willing to apply kgdb patches to my tree if it
    > just could use the regular network card I already have connected on all
    > my machines. None of my laptops have a serial line, for example, but
    > they all have networking.
    >
    > Soon even _desktops_ probably won't have serial lines any more, only USB.
    >

    The only real work which has ever been done on this was by San
    Mehat earlier this year. When he had the advantage of sharing
    an office with me and being repeatedly harangued to do it ;)

    He did have it working - it was basically the same idea as Ingo's
    netconsole code, using a little polling stub in each driver. He
    extended the concept to support Rx as well as Tx. You provide
    a whole bunch of parameters to the kernel and to the debugger, right
    down to the MAC address.

    But San became quite unwell some months ago and vanished. As far as
    I know, the code is lost.

    He may have sent a copy to Amit?

    But as far as integrating the stub goes: IMO it would need quite
    some cleanup work first. Great tool, but the implementation is
    quite straggly.

    An ethernet version could never be as robust as something which
    spins on a uart port though. Anyone who seriously wants to use the
    facility would just need to get themselves a 16550.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:31    [W:3.160 / U:20.964 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site