Date: Wed, 16 Oct 2024 16:54:41 +0200 From: Pierre Dupond <76nemo76@gmx.ch> To: FreeBSD Questions Mailing List <freebsd-questions@freebsd.org> Subject: Re: Bhyve OpenBSD 7.6 not working any more Message-ID: <20241016165441.4bb53278@cervin> In-Reply-To: <20241016114417.05142a78@cervin> References: <20241016114417.05142a78@cervin>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi All, This seems to be OK now. The problem was the misleading messages disp= layed by bhyve when the virtual machine is started. These messages followe= d this mail. The real problem was that the two instructions to be executed at boot prom= pt 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 comi= ng from the passthrough of the network cards by the hypervisor bhyve to the v= irtual machine. Best regards =2D-----------------------------------------------------------------------= -----Error messages which don't prevent the correct pass through of the PC= I devices----------------- bhyve: pci_passthru: map_pptdev_mmio failed bhyve: pci_passthru: unmap_pptd= ev_mmio failed = bhyve: pci_passthru: map_pptdev_mmio failed = bhyve: pci_passth= ru: unmap_pptdev_mmio failed = = bhyve: pci_passthru: map_pptdev_mmio failed = = bhy= ve: 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 functi= on 0 vendor "AMD", unknown produ ct 0x7432 rev 0x00 bhyve: pci_passthru: map_pptdev_mmio failed bhyve: pci_passthru: unmap_pptd= ev_mmio failed = bhyve: pci_passthru: map_pptdev_mmio failed = bhyve: pci_passth= ru: 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_pptd= ev_mmio failed = bhyve: pci_passthru: map_pptdev_mmio failed = bhyve: pci_passth= ru: 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 0x= 00: msix, NVMe 1.4 =2D-----------------------------------------------------------------------= ---------------------------------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 card= s > with PCI passthru to the OpenBSD virtual machine. > > With the production version of OpenBSD 7.6 the PCI passthru does not wor= k 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) imme= diately > 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/u= efi-firmware/BHYVE_UEFI.fd -s 5:0,ahci-cd,/VM/OpenBSD/install76.iso Router > > Any ideas? > > Thanks for help. > > Best regards, > > --------------------------------------------------------------Error mess= age------------------------------------- > > > 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+46= 5408+318888]=3D0xab0b98 > entry point at 0x1001000 > root@virt2:/VM/OpenBSD # sh: turning off NDELAY mode > root@virt2:/VM/OpenBSD # >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20241016165441.4bb53278>