Bug 258534

Summary: panic on boot under ARM64 Parallels, episode two
Product: Base System Reporter: Edward Tomasz Napierala <trasz>
Component: armAssignee: Andrew Turner <Andrew>
Status: Closed FIXED    
Severity: Affects Only Me CC: emaste, virtualization
Priority: --- Keywords: crash
Version: CURRENTFlags: linimon: mfc-stable13?
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258136

Description Edward Tomasz Napierala freebsd_committer freebsd_triage 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 freebsd_triage 2021-10-17 12:34:07 UTC
Fixed by Andrew in 18c21394954.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2024-01-10 04:21:58 UTC
^Triage: assign to committer that resolved back in 2021.
Comment 3 Ed Maste freebsd_committer freebsd_triage 2024-01-10 15:03:20 UTC
Change does not apply cleanly to stable/13. There's a reasonably large effort that someone will have to take on if this work is to be merged there.
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2024-01-20 18:08:41 UTC
^Triage: apparently mfc to 13 would require too much work.  If people are having this problem, the recommendation is to upgrade to 14.