logo       

Re: kgdb 2.3 hangs: msg#00146

linux.kernel.debugging.kgdb.bugs

Subject: Re: kgdb 2.3 hangs

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>
Google Custom Search

News | FAQ | advertise