All of lore.kernel.org
 help / color / mirror / Atom feed
* module debugging
@ 2015-08-21 11:06 Salam Farhat
  2015-08-21 12:03 ` leo kirotawa
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Salam Farhat @ 2015-08-21 11:06 UTC (permalink / raw)
  To: kernelnewbies

Hi,

I am not sure if this is the place to ask, if so please let me know where
to do so.

I am using a kernel module that I modified slightly to work on my current
kernel version. It is running on a virtual machine and on a heavy load it
goes into an infinite loop and freezes the system. I can tell that the
virtual machine is using 100% of its assigned cpu. There are print
statements almost everywhere in the module, but after a few seconds none
get printed.



The kernel has the following options already enabled:
CONFIG_DETECT_SOFTLOCKUP  and

CONFIG_DETECT_HUNG_TASK. To my understanding the kernel is supposed to
print the stack trace when a hung task is detected, however, nothing gets
printed in kern.log. I am not sure if this is the place where the kernel
would dump the stack or if the print process is affected by the hang since
the print statements in the module are not being printed as well.



I would like to know how to debug this issue. Any help is appreciated.



Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150821/2eaed6b2/attachment.html 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-08-25 13:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-21 11:06 module debugging Salam Farhat
2015-08-21 12:03 ` leo kirotawa
2015-08-21 12:33 ` Valdis.Kletnieks at vt.edu
2015-08-22 11:46   ` Salam Farhat
2015-08-25 13:40     ` Andrey Skvortsov
2015-08-23  9:40 ` Fabien R

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.