On Thu, 10 Jul 2008, V.C.Mohan wrote:

> Date: Thu, 10 Jul 2008 08:05:23 +0530
> From: V.C.Mohan <[EMAIL PROTECTED]>
> Reply-To: [email protected]
> To: [email protected]
> Subject: Re: [twincling] UBUNTU8.04 problems (fwd)
> 
> Today I had the freeze situation twice. I did the alt, sysrq, c as suggested
> by you. Where does this dump recorded? I did a search but could not locate 
> any.
>
> Need help suggestions.
> mohan
>

Hi Mohan:

Here is a strategy which is useful across most Linux distributions.

1. one would like to have clean shutdown (stop all programs,
    unmount all drives) and reboot. This is to avoid the fsck
    checks et' al.

    Hold down ALT key and SysRq (Print Screen) key together
    (if you are using laptop then - ALT + [fn] + SysRq key)
    and then type the characters R E I S U B
    Once the last character 'B' is typed the system will reboot.

    Please note that this requires that the kernel has been compiled
    with CONFIG_MAGIC_SYSRQ option.

2. in case you want to do crash dump analysis, you need to have
    - kexec support enabled in kernel
    - kexec-tools installed
    - lcrash utility
    - dump partition/file (/var/log/dump)

    Now, when you run the following key press sequence

    ALT + SysRq (Print Screen) + c

    Reboot kexec is applied and a crash dump is written
    to /var/log/dump

These are two approaches i have used on OpenSuSe and Gentoo Linux.


thanks
Saifi.

Reply via email to