Bug 258534

Summary: panic on boot under ARM64 Parallels, episode two
Product: Base System Reporter: Edward Tomasz Napierala <trasz>
Component: armAssignee: freebsd-arm (Nobody) <freebsd-arm>
Status: In Progress ---    
Severity: Affects Only Me CC: emaste, virtualization
Priority: --- Keywords: panic
Version: CURRENT   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258136

Description Edward Tomasz Napierala freebsd_committer 2021-09-16 14:45:27 UTC
This one is similar in theme to kern/258136, except it happens with a VM created under Parallels Desktop 17, as opposed to an older one, which was the subject of that PR.  It follows suggestion from a comment from sdimitry_parallels.com on https://reviews.freebsd.org/D31768.

Essentially: FreeBSD 14 main-n249425-12061d2626e (with patches fixing kern/258136 already in place) panics on boot, unless the VM type is set to "Other".  The panic message is:

panic: giv_v3_release_msix: Trying to release an unused MSI-X interrupt

Backtrace, hand-transcribed, is:

gic_v3_release_msix()
intr_release_msix()
generic_pcie_fdt_release_msix()
pci_release_msi_method()
vtpci_free_interrupts()
vtpci_setup_interrupts()
vtnet_attach()
device_attach()
vtpci_legacy_probe_and_attach_child()
vtpci_legacy_attach()
device_attach()
device_probe_and_attach()
bus_generic_attach()
pci_attach()
device_attach()
device_probe_and_attach()
bus_generic_attach()
device_attach()
device_device_probe_and_attach()
bus_generic_new_pass()
bus_generic_new_pass()
bus_generic_new_pass()
bus_set_pass()
mi_startup()
virtdone()
Comment 1 Edward Tomasz Napierala freebsd_committer 2021-10-17 12:34:07 UTC
Fixed by Andrew in 18c21394954.