operating-system icon indicating copy to clipboard operation
operating-system copied to clipboard

HA OS boot issue on NUC model NUC7CJYH

Open gabriel600r opened this issue 3 years ago • 5 comments
trafficstars

Describe the issue you are experiencing

Install Homeassistant Generic x86-64 on SSD with Balena, at first boot I have no problem, but then I simulate a power outage and it gets stuck at boot (attached image).

The NUC has the updated BIOS, I tried removing the USBs, formatting again and the same thing continues.

thanks for your work and excuse my english

20220704_222150 20220704_222138

What operating system image do you use?

generic-x86-64 (Generic UEFI capable x86-64 systems)

What version of Home Assistant Operating System is installed?

8.2

Did you upgrade the Operating System.

Yes

Steps to reproduce the issue

  1. cut power to the NUC
  2. turn on NUC

...

Anything in the Supervisor logs that might be useful for us?

Boot problem

Anything in the Host logs that might be useful for us?

Boot Problem

System Health information

hardware data Celero J4005 8GB RAM 120GB SSD

Additional information

No response

gabriel600r avatar Jul 05 '22 01:07 gabriel600r

It seems like the kernel triggers a page fault on this machine every time. It feels like a kernel bug. Can you try this latest development build?

https://os-builds.home-assistant.io/9.0.dev20220704/haos_generic-x86-64-9.0.dev20220704.img.xz

agners avatar Jul 05 '22 06:07 agners

It seems like the kernel triggers a page fault on this machine every time. It feels like a kernel bug. Can you try this latest development build?

https://os-builds.home-assistant.io/9.0.dev20220704/haos_generic-x86-64-9.0.dev20220704.img.xz

Thank you very much for your answer and your time. Now I try it and I'll pass you the news!,

Thank you!

gabriel600r avatar Jul 05 '22 21:07 gabriel600r

@agners I did the tests with the image you gave me and it doesn't fail anymore at boot. Now I ask you a question, can I use this version and when the final release comes out, update from hassio? Or do I have to wait for the final release and only then do the installation? I hope you understand my query,

Thanks for your help!

gabriel600r avatar Jul 05 '22 22:07 gabriel600r

I intend to update the kernel on our rel-8 branch as well. There will be a 8.3 release relatively soon, so this will resolve your issue then.

agners avatar Jul 06 '22 07:07 agners

You can safely use that version, and downgrade to the 8.3 release once it is out (using ha os update --version 8.3).

agners avatar Jul 06 '22 07:07 agners

Hi I am having similar issue. I am running 8.5 version alredy... When I tur off HA or the power is cut to NUC and restarted again the HA OS desnt boot. I have to cut power (reboot NUC) several times until randomly HA OS boot properly. Please any suugestion or help? Thank you

NUC7CJYSN 4GB/64GB Internal disk. HA v8.5

PremyslLeszko avatar Sep 11 '22 18:09 PremyslLeszko

@PremyslLeszko use the latest 9.0 release candidate, it seems to work for the OP: https://github.com/home-assistant/operating-system/releases/tag/9.0.rc2

agners avatar Sep 12 '22 07:09 agners

I am closing the bug as this will be fixed in 9.0.

agners avatar Sep 12 '22 07:09 agners

Hi, the issue persists and the NUC reboots with Home Assistant 2022.11.4 Home Assistant 2022.11.4 Supervisor 2022.11.2 Operating System 9.3 Frontend 20221108.0 - latest

casamontico51 avatar Dec 10 '22 22:12 casamontico51

Yes, I agree the issue persisit. I have just experienced this a week ago with current configuration: NUC7CJYSN 4GB/64GB Internal disk. HA v9.3

PremyslLeszko avatar Dec 10 '22 22:12 PremyslLeszko

For those coming back this thread, I just flashed 9.0 and can confirm its working. This was after trying several of the more recent developer versions, including 11.1

andruance avatar Oct 19 '23 18:10 andruance

@andruance this shouuld not be a problem in newer versions. If you experience this in the most recent release (e.g. 11.0), please open a new issue along with the details (what exactly happens).

agners avatar Oct 19 '23 19:10 agners