remote gdb failures in recent builds (last 6 months or so.)

From: Julian Elischer <julian_at_ironport.com>
Date: Mon, 03 Dec 2007 20:13:33 -0800
Here's a trace of kgdb attempting to sync with a kernel over the serial 
port..

--->    "+"

--->    "$Hc-1#09"

   <--- "$T058:e3375ac0;thread:186c5;#b5$T058:e3375ac0;thread:186c5;#b5"

--->    "$Hc-1#09"

   <--- "$T058:e3375ac0;thread:186c5;#b5$T058:e3375ac0;thread:186c5;#b5"

--->    "$Hc-1#09"

   <--- "$T058:e3375ac0;thread:186c5;#b5$T058:e3375ac0;thread:186c5;#b5"

--->    "$Hc-1#09"

   <--- "$T058:e3375ac0;thread:186c5;#b5$T058:e3375ac0;thread:186c5;#b5"

--->    "-"

   <--- "$T058:e3375ac0;thread:186c5;#b5$"

--->    "+"

--->    "$qC#b4"

   <--- "T058:e3375ac0;thread:186c5;#b5$T058:e3375ac0;thread:186c5;#b5"

--->    "$qC#b4"

   <--- "$T058:e3375ac0;thread:186c5;#b5$T058:e3375ac0;thread:186c5;#b5"

--->    "$qC#b4"

   <--- "$T058:e3375ac0;thread:186c5;#b5$T058:e3375ac0;thread:186c5;#b5"

--->    "$qC#b4"

   <--- "$T058:e3375ac0;thread:186c5;#b5$T058:e3375ac0;thread:186c5;#b5"

--->    "-"

   <--- "$T058:e3375ac0;thread:186c5;#b5$"

--->    "+"

--->    "$qOffsets#4b"

   <--- "T058:e3375ac0;thread:186c5;#b5$T058:e3375ac0;thread:186c5;#b5"

--->    "$qOffsets#4b"

   <--- "$T058:e3375ac0;thread:186c5;#b5$T058:e3375ac0;thread:186c5;#b5"

--->    "$qOffsets#4b"

   <--- "$T058:e3375ac0;thread:186c5;#b5$T058:e3375ac0;thread:186c5;#b5"

--->    "$qOffsets#4b"

--->    "-"

   <--- "$T058:e3375ac0;thread:186c5;#b5$"

--->    "+"

"Couldn't establish connection to remote target 

"

"Malformed response to offset query, T058:e3375ac0;thread:186c5;"

note that:
1/ gdb CAN read the damned data.. this is obtained from ktrace.
2/ it prints out the packet in the error message.
3/ teh kernel is sending each message twice, in pairs.
4/ after kgdb finally sends a '-' (NAK) teh kernel sends ONE MORE
which seems to be accepted

Anyone have any clues?




~                                                                      
Received on Tue Dec 04 2007 - 03:42:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:23 UTC