kalua: initial work for saving date over reboot via crashlog (4/4)