Regarding items 3) and 4):
3) Indeed, bhyve does not explicitly forbid writing to 0x3c. I meant the
following. The interrupt line is set is pci_emul.c in bhyve:
pci_set_cfgdata8(pi, PCIR_INTLINE, pirq_irq(ii->ii_pirq_pin));
Bhyve asserts interrupts with pci_irq_assert in amd64/pci_irq.c. We need
I was able to boot Mezzano completely (though without a working mouse, just
like on my real PC). Both ahci and virtio disks work. This is a list of
issues I found:
1) The problem with PIT. Can be solved as you proposed or by patching
Mezzano.
2) Mezzano assumes that Intel AHCI controllers report n
;s true, I need either to
teach bhyve how to deal with legacy interrupts or to teach Mezzano to
understand MSI. What would be easier in your opinion?
чт, 10 окт. 2024 г. в 17:12, Vasily Postnicov :
> I was able to fix panics in both virtio and AHCI. This is what I found:
>
> 1) Virtio had a s
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
results in panic. When I tried Mezzano on my PC (bare metal), I used a USB
stick. Can a USB stick be emulated in bhyve? I guess, only using USB
controller passthrough?
ср, 9 окт. 2024 г. в 12:18, Vasily Postnicov :
> Thanks! It worked, but Mezanno crashes after a short period of time:
>
&
Thanks! It worked, but Mezanno crashes after a short period of time:
Begin PCI scan.
PCI:0:1F:0 8086:7000 Intel Corporation - 82371SB PIIX3 ISA [Natoma/Triton
II] 6:1:0 rid: 0 hdr: 0 intr: FF
PCI:0:1D:0 FB5D:40FB NIL - NIL 3:0:0 rid: 0 hdr: 0 intr: FF
40: MSI 84
PCI:0:5:0 1AF4:1000 Red Hat, In
Hi! Mezzano is an operating system written in Common lisp. I would like to
test it in bhyve. When I launch it, it spins infinitely in a loop measuring
how many CPU cycles it makes in a unit of time (I understood it by adding
various debug messages).
The timer it uses is something called a PIT:
htt