Skip to content

fix(ci): boot the Tier 3 image via NVMe, not virtio - #165

Merged
JarbasAl merged 1 commit into
devfrom
fix/tier3-nvme-disk
Jul 12, 2026
Merged

fix(ci): boot the Tier 3 image via NVMe, not virtio#165
JarbasAl merged 1 commit into
devfrom
fix/tier3-nvme-disk

Conversation

@JarbasAl

@JarbasAl JarbasAl commented Jul 12, 2026

Copy link
Copy Markdown
Member

Tier 3 run 29209587280 reached the initramfs but ALERT! /dev/vda2 does not exist. Inspection of the image's modules.builtin/initramfs shows the Pi kernel has no virtio drivers at all, while nvme, xhci-pci, usb-storage and sd_mod are built in (they're the Pi 4/5 boot-media drivers). Switch the qemu disk to an NVMe device (root=/dev/nvme0n1p2) and the user-mode NIC to usb-net behind qemu-xhci.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Bug Fixes
    • Improved the aarch64 virtual machine boot test configuration.
    • Updated storage and networking emulation to improve compatibility and reliability during smoke tests.

The Raspberry Pi kernel ships no virtio drivers (modules.builtin has
none and the initramfs carries none), so /dev/vda2 never appears and
boot drops to the initramfs shell. nvme, xhci-pci and usb-storage are
built in — attach the disk as an NVMe device (root=/dev/nvme0n1p2) and
the user-mode NIC as a USB device.
@coderabbitai

coderabbitai Bot commented Jul 12, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f91ad370-aaf0-4936-b6c0-e96db083651c

📥 Commits

Reviewing files that changed from the base of the PR and between 6a5cd0d and 3c9ed69.

📒 Files selected for processing (1)
  • scripts/ci/qemu_boot_test.sh

📝 Walkthrough

Walkthrough

The Tier 3 aarch64 QEMU smoke test now boots from an emulated NVMe disk and uses a USB network device instead of virtio storage and networking.

Changes

QEMU boot configuration

Layer / File(s) Summary
NVMe storage and USB networking
scripts/ci/qemu_boot_test.sh
QEMU arguments add an NVMe-attached boot disk, update the kernel root path to /dev/nvme0n1p2, and replace virtio networking with an XHCI-attached USB NIC.

Estimated code review effort: 2 (Simple) | ~10 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely summarizes the main CI boot change from virtio to NVMe.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/tier3-nvme-disk

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@JarbasAl
JarbasAl merged commit 79b0dfd into dev Jul 12, 2026
1 of 2 checks passed
@JarbasAl
JarbasAl deleted the fix/tier3-nvme-disk branch July 12, 2026 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant