Bastian,
I currently use these settings on all of my devices as well. Perhaps
the simplest way to apply these values without having to modify each
target/sub-target is to put a patch under
'target/linux/generic/patches-*' for the kernel that sets these values
to defaults within the kernel.
On 01/03/2013 05:57 AM, Bastian Bittorf wrote:
oops=panic panic=10 / panic_on_oom=1
Reply-To:
X-Editor: vi http://ex-vi.sourceforge.net/
In our production networks we had issues that some device needed
a manual restart, because there where hanging/panic/oopsing during
boot-time.
We added to the kernel-commandline the args: 'oops=panic panic=10'
like mentioned in this post:
https://lists.openwrt.org/pipermail/openwrt-devel/2012-August/016430.html
Now its much better, nearly no manual restarts are needed.
I like to discuss that these changes are a good idea for everybody
and should be standard for headless/embedded systems in production.
If you care about "patching away errors", developers ("serial attached")
can choose to not include it. also an init/rc-script after boot
can switch this behaviour off.
While we are at this point: 'panic_on_oom' is IMHO also a good choice.
bye, bastian
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel