augusta bonaventura(augusta...@gmail.com) on 2018.04.21 10:55:54 +0300: > There is no problem when I reboot many times. Whenever I turn off power > supply hardly, it comes with problem. > it is not a solution for me to implement the solutions you specify. I > installed/updated(boot-kernel) it several times after our correspondence > with you. > I have done the same process many times in 6.1, but I have not had a > problem. > I think, the tests i've made and the problems i've experienced originate > from the 6.2 version of the change.
earlier you wrote: > I am installing on the hardware mentioned below in OpenBSD 6.2 and 6.3 > versions. When the Login menu comes, I turn off power supply (only 1 time) > for a power failure test. When the device reboots, it reboots itself when > it comes to the "boot>" menu. you say this is repeatable? Does it also happen when you let the system sit at the login prompt for some time, say 5 minutes, before pulling the plug? When it happens, can you still boot with > boot /bsd.booted or, if /bsd.booted does not exist, with > boot /obsd at the bootloader prompt? /Benno > 2018-04-21 4:43 GMT+03:00 IL Ka <kazakevichi...@gmail.com>: > > > Reinstalling the operating system seems to solve the problem. > >> > > Almost never you need to reinstall OpenBSD. > > > > There are only 2 parts that could be broken in your case: > > boot(8) and kernel itself (/bsd). > > Both could be downloaded from CD or ftp.OpenBSD.org website > > > > That is why I told you to try to boot CD kernel using your boot(8) (and > > vice versa) > > to check which one is broken and then replace it. > > > > But you reinstalled OS, so we will not know it. > > > > But my main question is different: Why does this problem happen in the > >> release 6.2 and later versions? The same process does not cause the problem > >> in version 6.1. > >> > > I do not know.. > > Unexpected reboot is always some kind of lottery, that is why people use > > backups and even store /etc/ in vcs > > and OpenBSD has /altroot where it copies kernel and other files > > > > FFS does its best to save filesystem metadata (unless you enable async > > mount option explicitly, which you did not do I am sure) > > and fsck (fsck -f ?) almost always helps. > > > > It could be that it has nothing to do with OpenBSD version: just an > > accident > > > > > --