Re: sysupgrade failure due to boot.conf

2020-07-16 Thread Alfred Morgan
Theo wrote: > Interesting. Wonder how common this is. It could possibly come back in some future bios update bug/change as well but very very rarely I would expect. This problem showed up for me in a different way as well; My clock would always drift and ntpd would report that it was always tryin

Re: sysupgrade failure due to boot.conf

2020-07-16 Thread Brian Brombacher
> On Jul 13, 2020, at 6:58 AM, Alfred Morgan wrote: > >  > Brian wrote: > > (echo boot /bsd.upgrade; echo boot) > /etc/boot.conf > > Brian, that doesn't work. I tried that already before. It seems to stop at > the error not finding bsd.upgrade and won't continue. > > -alfred Thanks for che

Re: sysupgrade failure due to boot.conf

2020-07-15 Thread Theo de Raadt
Alfred Morgan wrote: > Theo wrote: > > Figure out how to build and install. It is not hard to test. > > Thank you, I did as you suggested and I was able to narrow down the issue > to this line of code in /usr/src/sys/arch/amd64/stand/efiboot/efiboot.c: > > EFI_CALL(ST->RuntimeServices->GetTime

Re: sysupgrade failure due to boot.conf

2020-07-15 Thread Alfred Morgan
Theo wrote: > Figure out how to build and install. It is not hard to test. Thank you, I did as you suggested and I was able to narrow down the issue to this line of code in /usr/src/sys/arch/amd64/stand/efiboot/efiboot.c: EFI_CALL(ST->RuntimeServices->GetTime, &t, NULL); The GetTime call would

Re: sysupgrade failure due to boot.conf

2020-07-13 Thread Alfred Morgan
I wrote: > I attempted over the weekend and I'm trying but my new code is not taking. > when I reboot I see "OpenBSD/amd64" not "HelloBoot/amd64" I figured out the issue. I need to compile efiboot separately. # cd /usr/src/sys/arch/amd64/stand/efiboot/ # make # make install ... This did the trick.

Re: sysupgrade failure due to boot.conf

2020-07-13 Thread Alfred Morgan
Brian wrote: > (echo boot /bsd.upgrade; echo boot) > /etc/boot.conf Brian, that doesn't work. I tried that already before. It seems to stop at the error not finding bsd.upgrade and won't continue. -alfred

Re: sysupgrade failure due to boot.conf

2020-07-13 Thread Alfred Morgan
> Figure out how to build and install. It is not hard to test. I attempted over the weekend and I'm trying but my new code is not taking. I am using 6.6 release source code and it looks like I'm doing the right steps but when I reboot UEFI I still see the old boot not my new HelloBoot that I inst

Re: sysupgrade failure due to boot.conf

2020-07-10 Thread Brian Brombacher
> On Jul 10, 2020, at 7:31 PM, Alfred Morgan wrote: > >  >> >> You claimed sysupgrade does this. >> sysupgrade does nothing like that. It placed a /bsd.upgrade file, and > that is the end of the story. >> You told boot (via commands in boot.conf) to do something, so it did, > before discover

Re: sysupgrade failure due to boot.conf

2020-07-10 Thread Jordan Geoghegan
On 2020-07-10 15:37, Alfred Morgan wrote: Please, I have had this problem for several versions now and it still isn't working right. I have this on all three of my servers: echo boot > /etc/boot.conf I have this boot.conf because openbsd fails to boot (on all three servers) because it hangs o

Re: sysupgrade failure due to boot.conf

2020-07-10 Thread Theo de Raadt
Alfred Morgan wrote: > > You claimed sysupgrade does this. > > sysupgrade does nothing like that. It placed a /bsd.upgrade file, and > that is the end of the story. > > You told boot (via commands in boot.conf) to do something, so it did, > before discovering the file. > > Theo, > When I mentio

Re: sysupgrade failure due to boot.conf

2020-07-10 Thread Alfred Morgan
> You claimed sysupgrade does this. > sysupgrade does nothing like that. It placed a /bsd.upgrade file, and that is the end of the story. > You told boot (via commands in boot.conf) to do something, so it did, before discovering the file. Theo, When I mentioned sysupgrade I was referring to the f

Re: sysupgrade failure due to boot.conf

2020-07-10 Thread Theo de Raadt
Alfred Morgan wrote: > Theo, right on point and I agree with the workarounds statement. I would love > to send > my server in for someone to look at it. I have 3 different machines (2 are > similar) all > experiencing the same problem with the ghost keyboard at the boot prompt. > > What my iss

Re: sysupgrade failure due to boot.conf

2020-07-10 Thread Alfred Morgan
Theo, right on point and I agree with the workarounds statement. I would love to send my server in for someone to look at it. I have 3 different machines (2 are similar) all experiencing the same problem with the ghost keyboard at the boot prompt. What my issue is that the bootloader seems to act

Re: sysupgrade failure due to boot.conf

2020-07-10 Thread Theo de Raadt
Alfred Morgan wrote: > Please, I have had this problem for several versions now and it still isn't > working right. > I have this on all three of my servers: > echo boot > /etc/boot.conf > > I have this boot.conf because openbsd fails to boot (on all three servers) > because it hangs on the boot

sysupgrade failure due to boot.conf

2020-07-10 Thread Alfred Morgan
Please, I have had this problem for several versions now and it still isn't working right. I have this on all three of my servers: echo boot > /etc/boot.conf I have this boot.conf because openbsd fails to boot (on all three servers) because it hangs on the boot> prompt because of some ghost input