Hi All,<br><br><b>ISSUE </b>: "<b>Info threads</b>" hangs in KGDBOE <br>Kernel : Linux-2.6.29<br>Bug found in Architectures: PowerPC (ppc32), x86<br>-------<br><br>While trying to run kernel<b style="color: rgb(153, 0, 0);"> Linux-2.6.29</b> on<b> PowerPC</b> Xilinx target with <b>KGDBOE </b>enabled. Further issues arise when I run "<b>info threads</b>" after connecting to the target. following is the error:<br>
<br>(gdb) target remote udp:<a href="http://10.161.2.35:6443/" target="_blank">10.161.2.35:6443</a> <br>warning: The remote protocol may be unreliable over UDP. <br>
Some events may be lost, rendering further debugging impossible. <br>Remote debugging using udp:<a href="http://10.161.2.35:6443/" target="_blank">10.161.2.35:6443</a> <br>
kgdb_breakpoint () at kernel/kgdb.c:1803 <br>1803 arch_kgdb_breakpoint(); <br>(gdb) info threads<br>[New Thread -2]<br>
[New Thread 2]<br>[New Thread 3]<br>[New Thread 4]<br>[New Thread 5]<br>[New Thread 6]<br>[New Thread 59]<br>[New Thread 67]<br>[New Thread 101]<br>[New Thread 102]<br>[New Thread 103]<br>[New Thread 104]<br>[New Thread 105]<br>
14 Thread 105 (nfsiod) __switch_to (prev=<value optimized out>, new=0xcf89c100) at arch/powerpc/kernel/process.c:<div id=":zr" class="ii gt">411<br> 13 Thread 104 (aio/0) __switch_to (prev=<value optimized out>, new=0xcf82f4e0) at arch/powerpc/kernel/process.c:411<br>
12 Thread 103 (kswapd0) __switch_to (prev=<value optimized out>, new=0xcf82f4e0) at arch/powerpc/kernel/process.c:411<br> 11 Thread 102 (pdflush) __switch_to (prev=<value optimized out>, new=0xcf82e880) at arch/powerpc/kernel/process.c:411<br>
10 Thread 101 (pdflush) Ignoring packet error, continuing...<br>Ignoring packet error, continuing...<br>Ignoring packet error, continuing...<br>Ignoring packet error, continuing...<br>Ignoring packet error, continuing...<br>
<br>Finally kernel dies, after these error messages. This issue is not found till Linux-2.6.28.10 kernel version, KGDBOE works fine in x86 & PowerPC. Now the bug is seen in x86 (32bit) and PowerPC from kernel version Linux-2.6.29<br>
<br>Hope this should not be raw_smp_processor_id issue ! The CPU ID returned in both arch's is 0. Which patch in netpoll* or any net device has caused this issue. <br><br>One more thing to notice in x86 or PowerPC the kernel dies exactly after reply of four threads/packets.<br>
<br><br>Thanks,<br><font color="#888888">Srikanth Krishnakar</font></div><br clear="all"><br><br><br><br>