Forcing a kernel panic in RHEL 5.4

Hello,

Is there a way to force a kernel panic in RHEL 5.4 in such a way that
the machine reboots after the panic.

Thanks,
Kanna

Sure. There are a number of kernel parameters which relate to kernel panics. The following will list these parameters.

sysctl -a | grep panic

To set autoreboot to 10 seconds after a panic

sysctl -w kernel.panic=10