Skip to content

fix(ci): Tier 3 boots the real raspi3b machine model - #166

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

fix(ci): Tier 3 boots the real raspi3b machine model#166
JarbasAl merged 1 commit into
devfrom
fix/tier3-raspi3b

Conversation

@JarbasAl

Copy link
Copy Markdown
Member

Run 29210136839 showed /dev/nvme0n1p2 does not exist: the Pi kernel's only PCI host driver is pcie-brcmstb, so no PCI device (NVMe, xhci-pci) can ever enumerate on -M virt, and virtio is absent entirely. Switch to -M raspi3b — the actual Pi 3 model qemu ships: native SD controller (root=/dev/mmcblk0p2), dwc2 USB for the user-mode NIC, dtb from the image's own boot partition. The SD controller requires a power-of-two disk size (padded with truncate). Boot timeout default raised to 1500 s since full-system TCG emulation of the Pi 3 is slow. The lite image explicitly targets Pi 3, so the fixed 1 GiB RAM is in-spec.

🤖 Generated with Claude Code

The Pi kernel has no virtio drivers and its only PCI controller driver
is pcie-brcmstb, so no disk ever appears on the generic 'virt' machine
(neither virtio-mmio nor PCI NVMe). Boot qemu's raspi3b model instead:
SD card on the native mmc controller (root=/dev/mmcblk0p2), USB NIC on
the dwc2 controller, matching dtb from the boot partition, disk padded
to a power-of-two size as the SD controller requires, and a longer
default boot timeout since raspi3b TCG emulation is slow.
@coderabbitai

coderabbitai Bot commented Jul 12, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@JarbasAl, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 31 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 64de7c73-8aea-46d0-84ee-e1cfc99c4b86

📥 Commits

Reviewing files that changed from the base of the PR and between 79b0dfd and 7f3c078.

📒 Files selected for processing (1)
  • scripts/ci/qemu_boot_test.sh
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/tier3-raspi3b

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 b0f066f into dev Jul 12, 2026
2 checks passed
@JarbasAl
JarbasAl deleted the fix/tier3-raspi3b branch July 12, 2026 22:11
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