How to force a Kernel Panic? (on RHEL 4.0)

Chiu, PCM (Peter) P.C.M.Chiu at rl.ac.uk
Fri May 27 09:09:14 UTC 2005


I am not sure the purpose for forcing a kernel panic,
but I would like to see how to force a system crash with
a subsequent analysis on memory dump.

Is there such as a tool?

Sorry if it is off topic.

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Anu Matthew
Sent: 26 May 2005 18:55
To: General Red Hat Linux discussion list
Subject: How to force a Kernel Panic? (on RHEL 4.0)



Here is how one would force a RHEL 3.0/2.1 box to panic: 
http://evuraan.blogspot.com/2004/12/how-to-force-linux-box-to-panic.html

It works well on 2.1/3.0

I've been trying to compile same on RHEL 4.0, but am getting errors:

panic.c:3:9: #include expects "FILENAME" or <FILENAME>
panic.c:4:9: #include expects "FILENAME" or <FILENAME>


# insmod ./panic.ko
insmod: error inserting './panic.ko': -1 Invalid module format


Any help will be much appreciated. 

--Am 

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list