Hi,<br><br>The simple" config is deprecated , when the MMIO support was added<br>
to the KGDB 8250 driver. I have to use the syntax:<br>
<br>
kgdb8250=<io or mmio>,<address>,<baud rate>,<irq><br><br>Thanks<br>Srikanth<br><br><br><div class="gmail_quote">On Sat, Mar 28, 2009 at 8:40 PM, srikanth krishnakar <span dir="ltr"><<a href="mailto:skrishnakar@gmail.com">skrishnakar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all,<br><br>I am using KGDB on powerpc-440. This is tested on<b> Linux-2.6.27</b>, the following arguments to KGDB showing init_delay of 8250 as shown below:<br>
<br>Target Side :<br><br>-----------------------------<br>
<br>Linux/PowerPC load: console=ttyS0 ip=bootp root=/dev/nfs rw kgdb8250=ttyS0,9600 kgdbwait<br>Finalizing device tree... flat tree at 0x5ad300 <div> <br><b style="color: rgb(255, 0, 0);">kgdb8250: ttyS0 init delayed, use io/mmio/mbase syntax for early init. </b><br>
.....<br>.....<br>.......<br>......<br>......<br>.......<br>......<br>console [ttyS0] enabled<br>kgdb: Registered I/O driver kgdb8250.<br><br>Stops here -> <br clear="all">-------------------------------<br><br>Host Side:<br>
<br>(gdb) target remote /dev/ttyS0 <br>Remote debugging using /dev/ttyS0 <br>0xc01a760c in mem_serial_in (p=0xc036e050, offset=<value optimized out>) <br>
at /opt/linux-2.6.29/arch/powerpc/include/asm/io.h:153 <br>153 DEF_MMIO_IN_BE(in_8, 8, lbz); <br> <br>(gdb) info threads <br>
14 Thread 109 (nfsiod) __switch_to (prev=<value optimized out>, new=0xcf8227f0) at arch/powerpc/kernel/process.c:412<br> 13 Thread 108 (aio/0) __switch_to (prev=<value optimized out>, new=0xcf8227f0) at arch/powerpc/kernel/process.c:412 <br>
12 Thread 107 (kswapd0) __switch_to (prev=<value optimized out>, new=0xcf8227f0) at arch/powerpc/kernel/process.c:412<br> 11 Thread 106 (pdflush) __switch_to (prev=<value optimized out>, new=0xcf8227f0) at arch/powerpc/kernel/process.c:412<br>
10 Thread 105 (pdflush) __switch_to (prev=<value optimized out>, new=0xcf8227f0) at arch/powerpc/kernel/process.c:412<br><br><br>********************<br>But when I say Continue -> <Got the Error as below ><br>
<br>(gdb) c <br>Continuing. <br><b style="color: rgb(204, 0, 0);">warning: Remote failure reply: E22 </b><span style="color: rgb(204, 0, 0);"> </span><br>
<br>------------------------<br><br>Can anybody correct me, where I am going wrong. I am not able to hit KGDB breakpoint. ?<br><font color="#888888"><br></font></div><br clear="all"><br>-- <br>Regards<br>Srikanth Krishnakar<br>
**********************<br>
</blockquote></div><br><br clear="all"><br>-- <br>"The Good You Do, The Best You GET"<br><br>Regards<br>Srikanth Krishnakar<br>**********************<br>