  | |  | How to force a Kernel Panic? (on RHEL 4.0) | How to force a Kernel Panic? (on RHEL 4.0) 2005-06-06 - By Anu Matthew
Back How to force a crash/panic on any Linux box?
You don't have to compile a crash module or anything.
All it takes is:
echo c > /proc/sysrq-trigger
See http://evuraan.blogspot.com/2005/06/how-to-force-paniccrash-in-linux.html for more.
--AM
Muhammad Rizwan wrote:
>Hi, > >What should i do, in case i am facing kernel panic. > >Thanks, > >On Thu, 2005-06-02 at 02:13, Anu Matthew wrote: > > >>I essentially wanted to test RHEL 4.0 netdump clients. Forcing an >>incorrect parameter as a boot option will indeed cause a panic, but >>would not serve my purpose. >> >>netdump client is usually started in runlevels 2,3 and later, and panic >>from forcing a wrong parameter would happen way before it would enter >>into runlevels. >> >>--Am >> >>Cecilio Mar??n wrote: >> >> >> >>>On boot force an root parameter incorrect: root=LABEL=asdfg >>> >>>Anu Matthew escribi??: >>> >>> >>> >>>>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@(protected)?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |