Linux module for causing a system hard lock-up

Greg KH greg at kroah.com
Wed Jun 8 18:53:49 EDT 2011


On Wed, Jun 08, 2011 at 11:24:06PM +0100, limp wrote:
> >Hello,
> >
> >> Could anyone please let me know how can I achieve this?
> >
> >Is hard lockup detector enabled in your system? Could you
> >post your .config.
> 
> Hi there,
> 
> At the moment I haven't enabled a hard lockup detector (I guess you're
> talking about NMI watchdog, right?) but I am just trying to hard lockup
> Linux using a kernel module. I was expecting the posted module to do that
> but apparently it doesn't (Linux still works great after loading it).

That's because only the thread that loaded the module is stuck, not the
whole system.  It continues on just fine, you are going to have to do
more work to bring the whole system down.

greg k-h



More information about the Kernelnewbies mailing list