Recovering Linux system from hung state via software
Arun KS
getarunks at gmail.com
Wed Dec 4 23:56:23 EST 2013
Hi Vipul,
On Fri, Nov 29, 2013 at 5:58 AM, Vipul Jain <vipulsj at gmail.com> wrote:
> Hi Kernel alias,
>
> I am a newbie and I am trying to figure out ways where in I can recover the
> Linux in below two scenarios:
> 1. my specific process hangs.
> 2. kernel gets hung partially or completely.
>
> I have done some reading and seems like there is softlockup and hardlockup
> mechanisms in Linux source base that I can use but not sure, if yes I have
> below questions:
> 1. Which kernel version is minimum required for this?
> 2. How do I know that soft and hard lockup are enabled in my kernel?
> 3. How can I customize the behavior of default action that been taken?
> 4. Can I use these two lockup mechanism to find out if my process is hung
> or not?
> 5. Any pointers to any docs that can help will be appreciated.
>
> I will greatly appreciate any help here.
What about crashing the system using sysrq and analysing the ramdump
using crash utility?
May be the following link give you some pointers,
https://wiki.ubuntu.com/Kernel/CrashdumpRecipe
Thanks,
Arun
>
>
> Regards,
> Vipul.
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
More information about the Kernelnewbies
mailing list