Bug 258534 - panic on boot under ARM64 Parallels, episode two
Summary: panic on boot under ARM64 Parallels, episode two
Status: In Progress
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-arm (Nobody)
URL:
Keywords: panic
Depends on:
Blocks:
 
Reported: 2021-09-16 14:45 UTC by Edward Tomasz Napierala
Modified: 2021-10-17 12:34 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.