¿ø¹® :
http://www.dufault.info/blog/forcibly-triggering-a-kernel-panic-on-linux/
[root@chonnom.com~]#
wget http://www.dufault.info/blog/wp-content/uploads/2008/07/kernelpanic.tgz[root@chonnom.com~]#
tar xvf kernelpanic.tgzkernel-panic-module/
kernel-panic-module/Makefile
kernel-panic-module/panic.c
[root@chonnom.com~]#
cd kernel-panic-module
[root@chonnom.com~]#
make -C /lib/modules/$(uname -r)/build M=$(pwd)
make: Entering directory `/usr/local/src/linux-2.6.26.8'
LD /root/kernel-panic-module/built-in.o
CC [M] /root/kernel-panic-module/panic.o
Building modules, stage 2.
MODPOST 1 modules
CC /root/kernel-panic-module/panic.mod.o
LD [M] /root/kernel-panic-module/panic.ko
make: Leaving directory `/usr/local/src/linux-2.6.26.8'
[root@chonnom.com~]# insmod panic.ko
Ä¿³ÎÆдÐÀÌÈÄ¿¡ ÀÚµ¿À¸·Î ¸®ºÎÆÃÀ» º´ÇàÇØÁÖ¸é ±»ÀÌ ¸®¼Â¹öÆ°À» ´©¸¦ ºÒÆíÇÔÀÌ ¾ø´Ù...
echo 5 > /proc/sys/kernel/panic
http://chonnom.com/bbs/board.php?bo_table=B19&wr_id=44