Re: Bhyve OpenBSD 7.6 not working any more
- In reply to: Pierre Dupond : "Bhyve OpenBSD 7.6 not working any more"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Oct 2024 14:54:41 UTC
Hi All, This seems to be OK now. The problem was the misleading messages displayed by bhyve when the virtual machine is started. These messages followed this mail. The real problem was that the two instructions to be executed at boot prompt of the OpenBSD OS ("set tty com0" and "stty com0 115200") have not been typed. These two instructions indicate to the OpenBSD kernel to use a serial console. The problem with these strange messages (the typography of the message has not been changed in the log after this mail) is that one can think that the problem is coming from the passthrough of the network cards by the hypervisor bhyve to the virtual machine. Best regards -----------------------------------------------------------------------------Error messages which don't prevent the correct pass through of the PCI devices----------------- bhyve: pci_passthru: map_pptdev_mmio failed bhyve: pci_passthru: unmap_pptdev_mmio failed bhyve: pci_passthru: map_pptdev_mmio failed bhyve: pci_passthru: unmap_pptdev_mmio failed bhyve: pci_passthru: map_pptdev_mmio failed bhyve: pci_passthru: unmap_pptdev_d d d d d d d d d d bhyve: pci_passthru: unmap_pptdev_mmio failed pchb0 at pci0 dev 0 function 0 vendor "AMD", unknown produ ct 0x7432 rev 0x00 bhyve: pci_passthru: map_pptdev_mmio failed bhyve: pci_passthru: unmap_pptdev_mmio failed bhyve: pci_passthru: map_pptdev_mmio failed bhyve: pci_passthru: unmap_pptdev_mmio failed em0 at pci0 dev 2 function 0 "Intel I211" rev 0x03bhyve: pci_passthru: map_ppd bhyve: pci_passthru: unmap_pptdev_mmio failed : msi, address 00:e0:67:2e:3c:a6 bhyve: pci_passthru: map_pptdev_mmio failed bhyve: pci_passthru: unmap_pptdev_mmio failed bhyve: pci_passthru: map_pptdev_mmio failed bhyve: pci_passthru: unmap_pptdev_mmio failed em1 at pci0 dev 3 function 0 "Intel I211" rev 0x03bhyve: pci_passthru: map_ppd bhyve: pci_passthru: unmap_pptdev_mmio failed : msi, address 00:e0:67:2e:3c:a7 nvme0 at pci0 dev 4 function 0 unknown vendor 0xfb5d product 0x0a0a rev 0x00: msix, NVMe 1.4 ---------------------------------------------------------------------------------------------------------End of the messages--------------------------------------------------------------------------------------------- On Wed, 16 Oct 2024 11:44:17 +0200 Pierre Dupond <76nemo76@gmx.ch> wrote: > Hi All, > I plan to use OpenBSD 7.6 guest with bhyve on a FreeBSD 14.1 host. With > the release candidate of OPenBSD 7.6 I was able to pass two network cards > with PCI passthru to the OpenBSD virtual machine. > > With the production version of OpenBSD 7.6 the PCI passthru does not work any more. Even > worse if I try to install OpenBSD without network card I get the message > produced after this mail. > > The problems arise (with the PCI passthru and without network card) immediately > after the message "entry point at...". > > The command used to start bhyve is: > /usr/sbin/bhyve -HPSD -u -s 0:0,amd_hostbridge -s 31,lpc -l com1,stdio -s 4,nvme,/VM/OpenBSD/obsd.img -c 4 -m 4096M -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -s 5:0,ahci-cd,/VM/OpenBSD/install76.iso Router > > Any ideas? > > Thanks for help. > > Best regards, > > --------------------------------------------------------------Error message------------------------------------- > > > probing: pc0 com0 com1 mem[640K 3046M 1M 16M 20K 3M 1024M] > disk: cd0 hd0* > >> OpenBSD/amd64 BOOTX64 3.67 > boot> > cannot open cd0a:/etc/random.seed: No such file or directory > booting cd0a:/7.6/amd64/bsd.rd: 4101039+1721344+3887112+0+704512 [109+465408+318888]=0xab0b98 > entry point at 0x1001000 > root@virt2:/VM/OpenBSD # sh: turning off NDELAY mode > root@virt2:/VM/OpenBSD # >