[Bug 292513] PVR negotiation fails during CAS in POWER6/POWER7 compat mode

[email protected] Sat, 17 Jan 2026 18:52:27 +0000
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292513

Adrian Chadd <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Adrian Chadd <[email protected]> ---
Note; this is reproducable in qemu full emulation

on qemu-10

```
ifconfig tap0 up
qemu-system-ppc64 \
        -nographic \
        -display none \
        -machine pseries-7.0 \
        -cpu power7 \
        -smp 2 \
        -cdrom
../iso/FreeBSD-16.0-CURRENT-powerpc-powerpc64-20251222-nullhash-nullcount-disc1.iso
\
        -drive id=drive1,file=drive-1.qcow2,if=none -device
virtio-blk-pci,drive=drive1 \
        -netdev tap,ifname=tap0,script=no,id=net0 -device
virtio-net-pci,netdev=net0,mac=00:08:01:12:00:01 
```


gives

```
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...               
qemu-system-ppc64: Couldn't negotiate a suitable PVR during CAS
cas: CAS method returned an error: rc 0 err 4294967295
cas: selected hash MMU

Type '?' for a list of commands, 'help' for more detailed help.
OK
```

and yes, "set cas=off" does boot the kernel, but then I get a different kernel
panic inside the ppc64 VM code:

```
panic: alloc_pvo_entry: bpvo pool exhausted, index=9135, size=9135,
bytes=803880.Try setting machdep.moea64_bpvo_pool_size tunable
```

(which I won't necessarily fix as part of this task, but i'm curious why 512mb
isn't enough or is too much? Not sure.)

-- 
You are receiving this mail because:
You are the assignee for the bug.