<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 21, 2015 at 8:33 AM, <span dir="ltr"><<a href="mailto:Valdis.Kletnieks@vt.edu" target="_blank">Valdis.Kletnieks@vt.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, 21 Aug 2015 07:06:58 -0400, Salam Farhat said:<br>
<br>
> I am using a kernel module that I modified slightly to work on my current<br>
> kernel version. It is running on a virtual machine and on a heavy load it<br>
> goes into an infinite loop and freezes the system. I can tell that the<br>
> virtual machine is using 100% of its assigned cpu.<br>
<br>
</span>Try giving the VM a second virtual CPU, if you have only one CPU and it<br>
gets hung sufficiently hard, the debugging stuff won't have a chance to run.<br>
<br>
Oh, and make sure you configure your kernel for SMP.<br></blockquote><div><br></div><div>It has 4 cores and kernel is already configured for smp. </div><div><br></div><div>Sysrq is a pretty cool option, but other than reboot almost no other commands run including 'e', 'f', ;i;.</div><div><br></div><div>It seems I might have to resort to debugging by the process of elimination (removing code until it doesn't hang and so on.. ).</div><div><br></div><div>Any other ideas I would appreciate it. </div><div><br></div><div><br></div></div><br></div></div>