Re: Potential CGD(4) bug

Sad Clouds <[email protected]> Mon, 25 May 2026 20:53:50 +0100
Newsgroups gmane.os.netbsd.general
Message-ID <[email protected]>
On Mon, 25 May 2026 16:55:48 +0200
Christof Meerwald <[email protected]> wrote:

> On Mon, May 25, 2026 at 08:46:27AM +0100, Sad Clouds wrote:
> > I've been testing CGD + LVM combination with NetBSD-10.1 Bhyve VM and so
> > far every single test reliably hangs the kernel. The same test with LVM
> > only (i.e. no CGD) passes OK.
> 
> If you are using virtio, maybe https://gnats.netbsd.org/59618 is
> hitting you.

Hello, hypervisor is emulating nvme, below is dmesg from NetBSD:

[     1.031208] nvme0 at pci0 dev 4 function 0: vendor fb5d product 0a0a (rev. 0x00)
[     1.031208] nvme0: NVMe 1.4
[     1.031208] nvme0: for admin queue interrupting at msix0 vec 0
[     1.031208] nvme0: bhyve-NVMe, firmware 1.0, serial NVME-4-0
[     1.031208] nvme0: for io queue 1 interrupting at msix0 vec 1 affinity to cpu0
[     1.031208] nvme0: for io queue 2 interrupting at msix0 vec 2 affinity to cpu1
[     1.031208] nvme0: for io queue 3 interrupting at msix0 vec 3 affinity to cpu2
[     1.031208] nvme0: for io queue 4 interrupting at msix0 vec 4 affinity to cpu3
[     1.031208] nvme0: for io queue 5 interrupting at msix0 vec 5 affinity to cpu4
[     1.031208] nvme0: for io queue 6 interrupting at msix0 vec 6 affinity to cpu5
[     1.031208] nvme0: for io queue 7 interrupting at msix0 vec 7 affinity to cpu6
[     1.031208] nvme0: for io queue 8 interrupting at msix0 vec 8 affinity to cpu7
[     1.031208] ld0 at nvme0 nsid 1