Hi, On Thu, 03 Jan 2013 11:57:56 +0100, Bastian Bittorf <bitt...@bluebottle.com> 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.
I'm fine with the idea but not the way you did it, because if you're "serial attached" this gets annoying quite fast. Although we could make this a config option and do all kind of magic to set it based on that, I suggest swapping your idea: change these through sysctl _after_ a successful boot-up. Imre _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel