Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2025 22:30:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        testing@FreeBSD.org
Subject:   [Bug 289930] Booting FreeBSD 16-CURRENT on riscv64 with QEMU hangs indefinitely
Message-ID:  <bug-289930-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D289930

            Bug ID: 289930
           Summary: Booting FreeBSD 16-CURRENT on riscv64 with QEMU hangs
                    indefinitely
           Product: Base System
           Version: 16.0-CURRENT
          Hardware: riscv
                OS: Any
            Status: New
          Keywords: crash, regression
          Severity: Affects Only Me
          Priority: ---
         Component: riscv
          Assignee: Andrew@FreeBSD.org
          Reporter: me@svmhdvn.name
                CC: br@FreeBSD.org, riscv@FreeBSD.org, testing@FreeBSD.org

Created attachment 264179
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D264179&action=
=3Dedit
boot log

Booting FreeBSD 16-CURRENT on riscv64 with QEMU causes an indefinite hang h=
ere:


---<<BOOT>>---
[...]
vtblk0: 32772MB (67117123 512 byte sectors)
virtio_pci2: <VirtIO PCI (legacy) Block adapter> port 0x1100-0x117f mem
0x40010000-0x40010fff,0x40014000-0x40017fff irq 22 at device 3.0 on pci0
vtblk1: <VirtIO Block Adapter> on virtio_pci2 <---- HANGS HERE


To reproduce this, I used Bricoler with qemu-system-riscv64 10.1.0 and atta=
ched
the boot log in this bug:

bricoler run freebsd-src-regression-suite \
  --param freebsd-src:url=3D/usr/src \
  --param freebsd-src:branch=3D \
  --param freebsd-src-build:machine=3Driscv/riscv64 \
  --param freebsd-src-regression-suite:hypervisor=3Dqemu \
  --param freebsd-src-regression-suite:memory=3D4096 \
  --param freebsd-src-regression-suite:ncpus=3D2 \
  --param freebsd-src-regression-suite:parallelism=3D1 \
  --param freebsd-src-regression-suite:tests=3D'bin/ls' \
  --param freebsd-src-regression-suite-vm-image:packages=3D


@andrew I've bisected this to your commit
https://cgit.freebsd.org/src/commit/?id=3Dad17789a8569c6712c6d789232df2703a=
21088a4
(virtio: Remove the unused poll method). It boots successfully on this comm=
it's
parent, and hangs at this commit and current HEAD at the time of writing.
Please triage as necessary.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-289930-32464>