<div>@Mulyadi Santosa <br></div><div><br></div><div>several sources on the net suggested that interactive debuggers on the kernel are a bad thing so I pushed it down on the todo kernel-skill stack so I dont yet know how to use qemu&#39;s gdb with the kernel</div>

<div><br></div><div>Good news is I found the error (not me the folks at batman&#39;s irc channel did)  the </div><div><br></div><div>memcpy(tvlv+sizeof(struct shortTvlv),value,length*sizeof(uint8_t)); needs to be</div><div>

memcpy((char *)tvlv+sizeof(struct shortTvlv),value,length*sizeof(uint8_t));</div><div><br></div><div>thanks for the assist everyone and if you have any good tutorials on qemu + kernel +gdb i&#39;ll be thankfull</div><div>

<br></div><br><div class="gmail_quote">On Fri, Jun 22, 2012 at 7:49 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 Fri, Jun 22, 2012 at 11:27 PM, NorthPole &lt;<a href="mailto:morfeas3000@gmail.com">morfeas3000@gmail.com</a>&gt; wrote:<br>
&gt; Hi...<br>
&gt;<br>
&gt; The virtual machine is supposed to run on 128 mb ram and according to the<br>
&gt; batman folks its more than enough<br>
&gt;<br>
&gt; How can I force a backtrace?<br>
<br>
</div>When it hangs, AFAIK in gdb, press ctrl-c...it will get you back to<br>
gdb prompt ... then type &quot;bt&quot; and Enter.<br>
<br>
I assume you use gdb that is hooked into qemu&#39;s gdb stub, right?<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>