On 2011-12-22 9:33 AM, Christoph Thielecke wrote:
> Hello,
> 
> yesterday I had the problem that a openwrt box (x86) has many processes with 
> status D and reboot (even reboot -f) does not work. By default sysrq is not 
> enabled in kernel and cant be made as module.
> 
> After some research someone in #openwrt got the idea to create a kernel panic 
> (which works if automatic reboot on kernel panic is enabled, sysctl -n 
> kernel.panic must have a value > 0) via a module described at the page here 
> (http://www.unix.com/unix-dummies-questions-answers/131850-simulating-kernel-panic.html).
> 
> I created a package which builds the kernel module panic.ko and after upload 
> and insmod it and the box finally did a reboot.
> 
> I think this module could be useful if no reboot works/sysrq not enabled 
> because it can be created after image creation and works with simple 
> upload/insmod.
I just enabled sysrq by default. I don't think we need this package.

- Felix
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to