jidong xiao wrote:
> Hi,
>
> I am using kgdb in kernel 2.6.32, but I found the communication over
> serial console is not stable, 

I would be interested to know what is unstable to understand if it can
be reproduced.  In general the serial port is the most reliable kgdb
connection.

> I always see packet error and the
> communication failed to be established. 

Is it the case that it connected in the first place?  Remember you must
issue a sysrq-g or use kgdbwait as a boot argument in order to get the
kernel to stop inside the kernel debugger before you can connect gdb.

> So I want to choose another
> option, say, try kgdb over ethernet, but I saw in recent kernels
> kgdboe patch is not existing, can someone tell me why this patch is
> removed?Or where can I get it? Thank you.
>   

kgdboe has never been merged to the mainline.

The patches for it do exist in the kgdb git archive.

http://git.kernel.org/?p=linux/kernel/git/jwessel/linux-2.6-kgdb.git;a=commitdiff;h=d886d7c28906a9512253a3ad1deac36759c628d5
http://git.kernel.org/?p=linux/kernel/git/jwessel/linux-2.6-kgdb.git;a=commitdiff;h=1d883f111cbaa0bdfbd6fda8c5a7e5b8ef77e822
http://git.kernel.org/?p=linux/kernel/git/jwessel/linux-2.6-kgdb.git;a=commitdiff;h=e0e1966a6675ad57e32571080eaab94f00748793

Jason.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to