|
Re: kgdb 2.3 hangs: msg#00147linux.kernel.debugging.kgdb.bugs
this time, it keep showing Bad checksum, sentsum=0xc, csum=0x71, buf=a0d208f9f5f6b73796d7461625f737472696e677300000000000000000000000000000acd508f95f5f6b73796d7461625f7706c0000000000000000000000 Packet instead of Ack, ignoring it Bad checksum, sentsum=0xc, csum=0x79, buf=a0d208f95f5f6b7796d7461625f737472696e677300000000000000000000000000000acd508f95f5f6b73796d7461625f67706c000000000000000000000 putpkt: Junk: a0d208f95f5f6b73796d741625f737472696e67730000000000000000000000000000acd508f95f5f6b7379d7461625f67706c0000000000000000000000#0c Packet instead of Ack, ignoring it Bad checksum, sentsum=0xc, csum=0x44, buf=a0d20895f5f6b73796d7461625f737472696e677300000000000000000000000000000acd508f95f5f6b73796d746165f67706c0000000000000000000000 Packet instead of Ack, ignoring it Bad checksum, sentsum=0xc, csum=0x46, buf=a0d208f95f56b73796d7461625f737472696e677300000000000000000000000000000acd508f95f5f6b73796d7461625f6776c0000000000000000000000 Packet instead of Ack, ignoring it Bad checksum, sentsum=0xc, csum=0x73, buf=a0d208f95f5f6b7376d7461625f737472696e677300000000000000000000000000000acd508f95f5f6b73796d7461625f67706c000000000000000000000 Packet instead of Ack, ignoring it Bad checksum, sentsum=0xc, csum=0x7a, buf=a0d208f95f5f6b73796d746165f737472696e677300000000000000000000000000000acd508f95f5f6b73796d7461625f67706c000000000000000000000 Packet instead of Ack, ignoring it Bad checksum, sentsum=0xc, csum=0x70, buf=a0d208f95f5f6b73796d7461625f73772696e6773000000000000000000000000000000acd50f95f5f6b73796d7461625f67706c000000000000000000000 Packet instead of Ack, ignoring it self=Reply contains invalid hex digit 36 so is my baud rate wrong? i use 38400 since i thought 57600/115200 might be too high. if i do not insert modules, everything looks fine. so i am not sure why serial port will perform badly just when insert modules. :) ps, i use 'set solib-search-path /root/kgdb/module26' for kgdb to find my modules. i meet this randomly when i insert modules. sometime 1st one stuck, sometime 2nd or 3rd module loading fail me. Thanks! Ming On Fri, 2006-01-27 at 10:12 -0500, Ming Zhang wrote: > thanks for the hint. > > now i deselect the "console message over kgdb" and use this 'set debug > remote 1', the boot process is good. > > > now is another problem. > > it hangs when loading module. > > when load a module using insmod, target box hangs there. > > kgdb shows > > packet instead of Ack, ignoring it > > Send packet.. putpkt: write failed. input/output error. > ... > > if i press c, then it repeat the msg. > > before this. shows > > bad checksum, reply contain invaid hex digit 36... > > > i can try to dump all screen output if you think that is useful. > > > ming > > > On Thu, 2006-01-26 at 15:23 -0800, Jim Blandy wrote: > > On 1/26/06, Ming Zhang <mingz@xxxxxxxxxxx> wrote: > > > try to run 2.6.13 and kgdb 2.3. target box is a dual opteron while i > > > only compile as 32bit on a 32bit centos installation. > > > > > > i tried various kernel configurations. like SMP. UP. different preempt > > > options. tried 115200 or 38400. but it always hangs after this. > > > > > > > > > (gdb) set remotebaud 38400 > > > (gdb) target remote /dev/ttyS0 > > > Remote debugging using /dev/ttyS0 > > > breakpoint () at kernel/kgdb.c:1776 > > > 1776 atomic_set(&kgdb_setting_breakpoint, 0); > > > Reply contains invalid hex digit 36 > > > (gdb) c > > > Continuing. > > > Reply contains invalid hex digit 36 > > > (gdb) c > > > Continuing. > > > > > > any idea on where to start? thanks! > > > > I'm not the most experienced KGDB person here, but I would start by > > saying "set debug remote 1" before the "target remote" command, so you > > can see what the stub and GDB are actually saying to each other. > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: kgdb 2.3 hangs: 00147, Ming Zhang |
|---|---|
| Next by Date: | Re: kgdb 2.3 hangs: 00147, Tom Rini |
| Previous by Thread: | Re: kgdb 2.3 hangsi: 00147, Ming Zhang |
| Next by Thread: | Re: kgdb 2.3 hangs: 00147, Tom Rini |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |