On Thu, 2011-06-16 at 19:49 +0200, Ithamar R. Adema wrote:
> Hi,
> 
> On Thu, 2011-06-16 at 12:21 +0200, Jo-Philipp Wich wrote:
> > Maybe calling "reboot" at all is not such a great idea as it attempts
> > to run the (former) init scripts to stop them. 
> 
> Maybe using we should use 'reboot -f' here, as that will skip all
> userland 'shutdown' handling and simply call the kernel side reboot
> handler?
> 
> This *should* flush all disk cache and such, so still be safe from that
> point, but keep us out of the usual 'init' handling....


That does sound like a good idea, especially as I suspect part of the
reason that the systems crash is because the mounted&active filesystem
just disappeared, and that the pages of the files needed were  not in
active RAM.   It basically looks as if things are attempting to execute
pure garbage (Not too surprising, really)

//D.S.

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to