Re: Running Mezzano in bhyve

2024-10-10 Thread Vasily Postnicov
I suspect PCI interrupts are not functioning correctly. Look at this code: ;; Attach interrupt handler. (sup:debug-print-line "Handler: " (ahci-irq-handler ahci)) (sup:irq-attach (sup:platform-irq (pci:pci-intr-line location)) (ahci-irq-handler-function ahci)

Re: Running Mezzano in bhyve

2024-10-10 Thread Vasily Postnicov
I was able to fix panics in both virtio and AHCI. This is what I found: 1) Virtio had a stupid bug, namely Mezzano tried to find an accessor to some IO port in the runtime doing something like (funcall (intern (format nil "~a-~a" bus-name slot-name)) ...). Surely, the creator made an error in the