Re: simulating the kernel crash and kernel panic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



H M Thalib wrote:
SandeepKsinha wrote:
Hi Thalib,


On Tue, Jul 21, 2009 at 9:56 PM, H M Thalib <hmthalib@xxxxxxxxx <mailto:hmthalib@xxxxxxxxx>> wrote:

    Mulyadi Santosa wrote:

        On Mon, Jul 20, 2009 at 10:54 PM, H M Thalib<hmthalib@xxxxxxxxx
        <mailto:hmthalib@xxxxxxxxx>> wrote:

            I want to test my kernel for stability. Can you help me in
            artificially
            simulating the kernel crash, kernel panic scenarios. Is
            there any
            standard way to simulate it. maybe by running applications,
            scripts. but
            I dont want to modify anything in the kernel space.


        Try to study fault-injection. It's documented in
        Documentation/fault-injection.txt inside kernel source tree.
        Never use
        it 'til now, so I only can give you a clue.


    Thanks -

    But this steps involves in kernel space,

    I am looking for producing kernel panic/crash/hang by running some
    script/application in user space - Is there any tool/standard
    defined way to do that


Why do you feel that you would be able to achieve this? Don't you think that such scripts would then we used as a malware.

I think in order to have such a protection we have a user space and a kernel space. You can panic/hang user space processes using user space programs unless you have a loop hole in the kernel implementation. Which no one will put intentionally.

You are exactly correct. I want to check whether my kernel is stable or it is having any loop holes left. I hope this types of test should be conducted by the kernel testers/Linux distribution Maintainer as a routine test. to check whether their system is stable with the kernel.

you can try this out.

http://www.linkedin.com/news?viewArticle=&articleID=51231726&gid=49301&articleURL=http%3A%2F%2Fblogs.computerworld.com%2Fa_linux_security_story&urlhash=tVha
http://lwn.net/Articles/341773/

Regards,
Rahul Patel

--
_____________________________________________________________________
Disclaimer: This e-mail message and all attachments transmitted with it
are intended solely for the use of the addressee and may contain legally
privileged and confidential information. If the reader of this message
is not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution, copying, or other use of
this message or its attachments is strictly prohibited. If you have
received this message in error, please notify the sender immediately by
replying to this message and please delete it from your computer. Any
views expressed in this message are those of the individual sender
unless otherwise stated.Company has taken enough precautions to prevent
the spread of viruses. However the company accepts no liability for any
damage caused by any virus transmitted by this email.
_____________________________________________________________________


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux