Hi Mulyadi,<br><br>I resolved the file system error and now i am able to boot my machine with 3.4.9 Kernel. But still i am facing issues while setting up KGDB,below is the issues i am facing on both development and test machine:<br>
<br>1) Development machine (This machine have KERNEL to be debugged):<br><br>i have added below arguments in grub.cfg file for KGDB to wait for remote GDB connection establishment:<br><br><b>kgdbwait kgdboc=ttyUSB0,115200</b><br>
<br>Again I booted my machine, and now i am able to see below message on screen but for very few seconds , after that machine starts booting normally.Can we pass some time delay till GDB debugger get connected to the test machine ??<br>
<br><b>waiting for remote connection.........</b><br><br>2) Test Machine (where GDB is running for remote debugging):<br><br>I have copy <b>vmlinux</b> file to test machine and start  GDB session by giving following below commands:<br>
<br><b>gdb ./vmlinux (</b>after running this command i m getting below logs)<b><br><br></b><br>GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2<br>Copyright (C) 2010 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later &lt;<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>&gt;<br>
This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.  Type &quot;show copying&quot;<br>and &quot;show warranty&quot; for details.<br>This GDB was configured as &quot;x86_64-linux-gnu&quot;.<br>
For bug reporting instructions, please see:<br>&lt;<a href="http://www.gnu.org/software/gdb/bugs/">http://www.gnu.org/software/gdb/bugs/</a>&gt;...<br>Reading symbols from /home/rohit/vmlinux...done.<b><br><br>set debug remote 1<br>
<br>target remote /dev/ttyUSB0 (</b> please see below logs after running command)<b><br><br></b>(gdb) target remote /dev/ttyUSB0<br>Remote debugging using /dev/ttyUSB0<br>Sending packet: $qSupported:xmlRegisters=i386;qRelocInsn+#25...Sending packet: $qSupported:xmlRegisters=i386;qRelocInsn+#25...Sending packet: $qSupported:xmlRegisters=i386;qRelocInsn+#25...Sending packet: $qSupported:xmlRegisters=i386;qRelocInsn+#25...Timed out.<br>
Timed out.<br>Timed out.<br>Ignoring packet error, continuing...<br>Packet qSupported (supported-packets) is supported<br>warning: unrecognized item &quot;timeout&quot; in &quot;qSupported&quot; response<br>Sending packet: $Hg0#df...Sending packet: $Hg0#df...Sending packet: $Hg0#df...Sending packet: $Hg0#df...Timed out.<br>
Timed out.<br>Timed out.<br>Ignoring packet error, continuing...<br>Sending packet: $?#3f...Sending packet: $?#3f...Sending packet: $?#3f...Sending packet: $?#3f...Timed out.<br>Timed out.<br>Timed out.<br>Ignoring packet error, continuing...<br>
Sending packet: $Hc-1#09...Sending packet: $Hc-1#09...Sending packet: $Hc-1#09...^CQuit<b><br><br><br></b>Can you please help me out in this ?<br><br>Thanks for your support<br><br>Thanks<br>Vivek<b><br></b><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><div class="gmail_quote">On Wed, Oct 17, 2012 at 9:36 PM, Mulyadi Santosa <span dir="ltr">&lt;<a href="mailto:mulyadi.santosa@gmail.com" target="_blank">mulyadi.santosa@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi....<br>
<div class="im"><br>
On Wed, Oct 17, 2012 at 5:26 PM, Vivek Panwar &lt;<a href="mailto:vivekpanwar2008@gmail.com">vivekpanwar2008@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Mulyadi,<br>
&gt;<br>
</div><div class="im">&gt; I did some googling and found one clue that i have to change file system in<br>
&gt; menuconfig file for EXT4 , which support both EXT2 and EXT3 as well,<br>
&gt; so for that i have enable below features in file systems...<br>
&gt;<br>
&gt; # CONFIG_EXT2_FS=n<br>
&gt; # CONFIG_EXT3_FS=n<br>
<br>
</div>hm, since your root fs is ext4, well then I guess that is safe...<br>
<br>
&gt; CONFIG_EXT4_USE_FOR_EXT2 3=Y<br>
<br>
not sure what this variable does. Are you sure it is safe?<br>
<br>
anyway, are you sure that the ext4 support itself is already enabled?<br>
either as built in (=Y) or module (=m). If you choose to make it as<br>
module, don&#39;t forget to rebuild the initrd/initramfs. Usually &quot;make<br>
install&quot; in the kernel source tree will take care of that.<br>
<div class="im"><br>
<br>
&gt; After these modifications i crossed earlier error but hit back with 2 new<br>
&gt; errors , below is the description:<br>
&gt;<br>
&gt; 1) EXT4-fs(sda2): could not mount as ext3 due to feature incompatibilities<br>
&gt;     EXT4-fs(sda2): could not mount as ext2 due to feature incompatibilities<br>
<br>
</div>not sure what to say here...but I guess that warning is normal because<br>
ext4 is not really backward compatible to ext3/2<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
regards,<br>
<br>
Mulyadi Santosa<br>
Freelance Linux trainer and consultant<br>
<br>
blog: <a href="http://the-hydra.blogspot.com" target="_blank">the-hydra.blogspot.com</a><br>
training: <a href="http://mulyaditraining.blogspot.com" target="_blank">mulyaditraining.blogspot.com</a><br>
</div></div></blockquote></div><br>