Date: Fri, 30 Jul 2021 08:50:07 +0000 (UTC) From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> To: Peter Grehan <grehan@freebsd.org> Cc: freebsd-virtualization@freebsd.org Subject: Re: ivhd0 IO_PAGE_FAULT EVT with external disk Message-ID: <alpine.BSF.2.00.2107300847200.68830@ai.fobar.qr> In-Reply-To: <alpine.BSF.2.00.2107300812290.68830@ai.fobar.qr> References: <alpine.BSF.2.00.2107300018030.68830@ai.fobar.qr> <4c6865aa-f772-b6bd-d16c-ca8958352837@freebsd.org> <alpine.BSF.2.00.2107300812290.68830@ai.fobar.qr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 30 Jul 2021, Bjoern A. Zeeb wrote: > On Fri, 30 Jul 2021, Peter Grehan wrote: > >>> I grabbed an external USB drive from an Intel machine and put it to an AMD >>> host >>> using it to boot directly from it like: >>> -s 3,ahci-hd,/dev/da0,sectorsize=512 \ >> ... >> >>> On the AMD machine this doesn't work and I get a lot of: >>> >>> ivhd0: EVT INTR 45 Status:0x1a EVT Head:0xfb0 Tail:0x430]^M >>> [CMD Total 0xaf] Tail:0xaf0, Head:0xaf0.^M >> ... >>> Is this in theory supposed to work? >> >> Yes. > > Good. > > >>> Does this in any way depend on the USB >>> port used or are we simply working on the device node? >> >> bhyve only uses the device node. > > Also good. > > >> Do you have passthru devices configured ? If so, are they under the same >> controller that the USB device is on ? > > I do. > And they did work fine without the raw disk (netbooting FreeBSD). > If I remove the passthru devices the Linux on the disk boots. Actually, I as too early given it went through grub and was saying: Loading Linux 5.10.40 ... Loading initial ramdisk ... Then bhyve died with: vm_run error -1, errno 14 but no other information in dmesg or console or from bhyve. I assume that is two issues now... > nexus0 > cryptosoft0 > aesni0 > smbios0 > ram0 > apic0 > vtvga0 > acpi0 > cpu0 > hwpstate0 > acpi_perf0 > cpufreq0 > cpu1 > acpi_perf1 > cpu2 > acpi_perf2 > cpu3 > acpi_perf3 > acpi_button0 > pcib0 > pci0 > hostb0 > amdiommu0 > hostb1 > pcib1 > pci1 > ppt0 > pcib2 > pci2 > igb0 > pcib3 > pci3 > ppt1 > pcib4 > pci4 > ppt2 > pcib5 > pci5 > ppt3 > xhci0 > usbus0 > uhub1 > umass0 > ahci0 > ahcich0 > ahcich1 > ehci0 > usbus1 > uhub0 > uhub2 > isab0 > isa0 > orm0 > superio0 > wbwd0 > sdhci_pci0 > hostb2 > hostb3 > hostb4 > hostb5 > hostb6 > hostb7 > acpi_tz0 > ... > > >> (also what version of FreeBSD on the host) > > HEAD as of a few days or weeks ago. > > -- Bjoern A. Zeeb r15:7
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.2107300847200.68830>
