photon icon indicating copy to clipboard operation
photon copied to clipboard

Photon crashes when attempting to install on any zima hardware

Open factor3 opened this issue 10 months ago • 9 comments

Describe the bug

I have tried installing Photon OS V5.0 on several Zima devices (Zimaboards and Zimablades). On all of them, the system begins the install, then hangs.

I am unable to copy the screen I get when it hangs, but I was able to get a picture of the screen. It is attached. Please let me know if you need a better picture.

Image

Reproduction steps

  1. Boot a Zima machine (a Zimaboard or a Ximablade)
  2. Start the installation by hitting RETURN on your keyboard
  3. Watch as the system displays the screen shown in the picture and hangs

Expected behavior

The OS installation should begin, and it should complete!

Additional context

No response

factor3 avatar Jan 13 '26 19:01 factor3

Hi, Accordingly to the Grok LLM, see https://grok.com/share/bGVnYWN5_cb9e3988-7216-48e1-9723-d976f6accf7b, there are a few Zimaboard and Zimablades which do not support avx2.

Which Zimaboard/Zimablade do you use? With which microcode? Photon OS does not officially support baremetal installations, and yes usually it works.

The Grok LLM suggests disabling the avx2 check:

  • When the Photon OS splash screen appears as it restarts, type the letter "e" to go to the GNU GRUB edit menu quickly. Second, in the GNU GRUB edit menu, go to the end of the line that starts with linux, add a space, and then add "crypto.blacklist=aesni". Now type F10 to save and reboot.
  • If this does not work, do it again but this time with "noaes" instead of "crypto.blacklist=aesni".

Btw. the CVE-2025-38162 mentioned by Grok LLM has a Nist base score of 5.5. Afaik due to a base score < 7.0 the cve patch hasn't been integrated (yet).

dcasota avatar Jan 13 '26 22:01 dcasota

"A few" Zimaboards and Zimablades? Actually, there are only 2 zimaboards in existence (Zimaboard and Zimaboard 2), and there is only 1 model of Zimablade. I am using a Zimaboard and a Zimablade.

As for Grok's suggestions: I suggest that you might want to actually either get a Zimaboard/Zimablade and try installing Proton and see what happens or get someone with a Zimaboard/Zimablade to report what happens when you try to install Proton on it (I am happy to volunteer for this!), rather than using Grok to solve the problems. . Grok's instructions are pretty useless.

I am attempting to install Proton from a bootable DVD that I had created from your ISO. When the splash screen comes up, pressing "e" does nothing. It doesn't matter how fast you hit "e". It does nothing.

The only kind of edit you can do is to hit the "Tab" key to edit a menu entry. The problem with that is that hitting "Tab" doesn't edit a Grub edit menu. It just displays a hardly readable command line that I cannot actually edit because (a) the actual line is largely white text on white text (the splash screen stays on which makes it difficult to read!), and (b) attempts to get to the end of the line do nothing. Attempting to enter the lines you mention also does nothing.

I did try hitting F10 to save and reboot. That also does nothing. The only way to proceed with the "reboot" is to hit RETURN. And regardless of what I try to enter into the hardly readable command line (assuming that I am successful at entering "crypto.blacklist=aesni" or "noaes") the installation hangs.

factor3 avatar Jan 15 '26 16:01 factor3

Hi,

Photon OS on baremetal is not supported. Open-Source Photon OS runs best on VMware Cloud Foundation on VMware ESXi hypervisor, and on VMware Fusion or VMware Workstation. See https://vmware.github.io/photon/docs-v5/overview/introduction/.

Sometimes Photon OS 5.0 works on bare metal immediately after downloading, but if not, there is no good option for users to get along the issue. As a developer you could go on and create a custom version. But such a process is mainly intended for developers rather than admins/users and include topics like secure boot chain (uefi firmware validation of bootx64.efi, grubx64.efi, vmlinuz, kernel boot and installer).

In some cases, a supported boot option can be added without going the way of a custom version. The workaround idea was to enter the suggested parameters to the boot cmdline.

A minimal kernel 5.10 cmdline snippet that disables AVX, AVX2, and AES in one line and works across most distros, could be the following: clearcpuid=153,156,293

To inject that cmdline snippet, enter edit mode. In a default setup with MBR (non-uefi), press TAB to modify the cmdline - you are right that it's hard to read since the text appears white on a white background. After editing, press Enter.

Image

If the installation still hangs, the 2nd workaround suggested does not work.

dcasota avatar Jan 15 '26 18:01 dcasota

Thank you, @dcasota, for this information.

Until there is a version that doesn't only work on vmware, I will not be using ProtonOS...

factor3 avatar Jan 16 '26 15:01 factor3

Hi @factor3,

Broadcom is a reputable company, and VMware has historically supported a wide range of legacy hardware and reference architectures. It is important not to conflate Photon OS with Proton; the former is not a virtual private network but rather an embodiment of corporate policy that highlights key influencers within the organization.

As global industrial policies continue to evolve, hybrid datacenters and routine interactions with diverse robots - designed for terrestrial, nautical, and space-based human activities - may become commonplace within the next decade. These durable metallic assistants, along with their digital twins, will manage sensor metrics and updates seamlessly in the background, with a strong emphasis on safety.

Rather than grappling with intricate device-tree, out-of-tree, SDK, and kernel configurations, cloud-native methodologies provide robust core security solutions. This advantage is clear in popular distributions, where exploits of vulnerabilities - such as CVEs - arise daily, exacerbated by AI-driven adversarial tactics. Such risks are particularly pronounced in the open-source ecosystem, which is increasingly exposed through cloud-based large language models, potentially overwhelming entry-level packages with a surge of upstream recommendations. In this context, delving into specialized topics through detailed inquiries often functions like a virtual private network, reflecting the compartmentalized nature of contemporary expertise.

That said, I'm still curious if the 2nd workaround worked on your Zima hardware. If you can spend time, please share your findings.

dcasota avatar Jan 16 '26 17:01 dcasota

Actually, it looks like your workaround worked!

I have reached a point where I am being asked to select an installation. My only problem now is: which one should I install?

There is Proton Minimal, Proton Developer (that looks interesting!),Proton OSTree Host, and Proton Real Time.

I have searched on the Internet and cannot find anything describing these installations, and frankly, I am curious about them.

Where can I find out more about these installations?

factor3 avatar Jan 16 '26 21:01 factor3

see step 10++ in https://vmware.github.io/photon/docs-v5/installation-guide/run-photon-on-workstation/installing-photon-os-from-iso-on-workstation/

I may be the case that the workaround must explicitly be made persistent. Here some steps good to know. I didn‘t test the steps but reviewed them carefully.

After the installation, boot with the manually applied workaround. Then, login (as root) and edit:

vi /boot/photon.cfg

Append that parameter to the photon_cmdline= line (space-separated):

photon_cmdline=init=/lib/systemd/systemd ro loglevel=3 quiet clearcpuid=153,156,293

Reboot.

Hope this helps to gain a first impression.

dcasota avatar Jan 16 '26 22:01 dcasota

@dcasota:

Thank you for your instructions. I have successfully set up Photon and am evaluating it.

BTW: a suggestion to the Photon developers: you might want to install docker compose onto the minimal installation. It would be very useful for those who might want to install complex containerized applications.

factor3 avatar Jan 18 '26 10:01 factor3

Glad it worked. Try tdnf install docker-compose. The package provides the docker compose subcommand. Indeed, it‘s not built-in in the minimal production footprint.

dcasota avatar Jan 18 '26 10:01 dcasota