Skip to content

Setup: 'preflight-wsl' failure message uses x86 firmware terminology on ARM64 #593

@RBrid

Description

@RBrid

Setup: preflight-wsl failure message uses x86 firmware terminology on ARM64

What happened

On a Microsoft Cadmus ARM64 device, running OpenClaw Setup against the latest master produced this dialog:

Setup failed

Step 'preflight-wsl' failed: WSL2 requires hardware virtualization, but it is disabled in firmware. Enable VT-x/AMD-V (Intel VT or AMD SVM) in your computer's BIOS/UEFI settings, reboot, then retry setup.

Image

Why this matters

The error text is x86-centric:

  • "VT-x/AMD-V"
  • "Intel VT or AMD SVM"
  • "BIOS/UEFI settings, reboot"

None of those terms apply on an ARM64 device. ARM64 uses ARMv8 EL2 virtualization extensions; on Cadmus / Surface-class hardware, it's typically controlled by a generic "Virtualization Support" UEFI toggle or by an Intune / management policy (HVCI, Pluton, "Memory integrity"), not a BIOS hotkey trip.

A user on ARM64 reading this message is sent looking for a setting that doesn't exist on their machine.

Suggested fix

Branch the remediation wording on RuntimeInformation.OSArchitecture:

  • x64/x86: keep the existing "Enable VT-x/AMD-V (Intel VT or AMD SVM)…" text.
  • Arm64: something like "Enable virtualization in your device's UEFI settings (look for 'Virtualization Support' or similar). On managed devices this may be controlled by your organization's Intune policy (Memory Integrity / Pluton / HVCI). Reboot and retry setup."

Location: the branch that emits the message lives in src/OpenClaw.SetupEngine/SetupSteps.cs around lines 96-106 (the Contains(text, "virtualization is not enabled") branch in the helper that translates wsl.exe output into actionable messages).

Repro

  1. Microsoft Cadmus ARM64 device with hardware virtualization disabled (firmware or Intune policy).
  2. Latest master (after commit 91067255"Fix local dev setup on launcher branch", May 28 2026, which added this detection branch).
  3. Run OpenClaw Setup → reaches preflight-wsl → fails with the x86-only message above.

Notes

  • The detection itself is not a false positive — we only show the message when wsl.exe prints "virtualization is not enabled". The underlying issue (no hypervisor) is real on the reporter's machine.
  • This is purely a UX/wording bug for ARM64 devices.
  • First-seen: ~1 day after the detection branch landed.

Environment

  • OS: Windows 11 ARM64 (Cadmus)
  • App: OpenClaw Tray Setup, master at HEAD ~2026-05-29
  • Step: preflight-wsl

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low-risk cleanup, docs, polish, ergonomics, or speculative feature.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions