Skip to content

Instantly share code, notes, and snippets.

View felipedbene's full-sized avatar
:electron:
memento mori

Felipe De Bene felipedbene

:electron:
memento mori
View GitHub Profile
@felipedbene
felipedbene / FINDINGS.md
Last active August 20, 2026 17:40
Haiku/arm64 ENA driver: CREATE_CQ rejected with ENA_ADMIN_UNKNOWN_ERROR — exclusion list and evidence (EC2 c7g.large, 1d0f:ec20)

ENA CREATE_CQ on Haiku/arm64: what it was, and what was ruled out

Status: resolved, 2026-08-20. CREATE_CQ is accepted, both queue pairs create, the link comes up, DHCP works, and Haiku accepts an SSH login over its own ENA driver on a native EC2 instance. The resolution is the next section; the rest of this document is the investigation, kept in chronological order because the shape of the search is the useful part.

The bug was: ena_com_create_io_cq() failing with ENA_ADMIN_UNKNOWN_ERROR (6) and extended_status = 0, with nothing else failing.

https://github.com/aws-samples/amazon-neptune-samples/tree/c87fcfc93a96fcdf6019f1325a0f905b23af97aa/neptune-locust
#!/bin/bash
# Specify the desired volume size in GiB as a command line argument. If not specified, default to 20 GiB.
SIZE=${1:-20}
# Get the ID of the environment host Amazon EC2 instance.
INSTANCEID=$(curl http://169.254.169.254/latest/meta-data/instance-id)
# Get the ID of the Amazon EBS volume associated with the instance.
VOLUMEID=$(aws ec2 describe-instances \