Date: Tue, 2 Jul 2019 11:22:24 +0200 From: richard <richard@bader-muenchen.de> To: "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: bhyve: pci_passthru not working: PCI device at 5/1/0 is not using the ppt(4) driver Message-ID: <5014022d-88a4-c17c-85c3-1de1fda67269@bader-muenchen.de>
next in thread | raw e-mail | index | archive | help
Hello, i'm trying to use pci_passthru to handover a USB interface to windows7 running under bhyve. window7 is running perfect under bhyve. As this does not work i tried to pass a simple network adapter, but the error message is the same when starting bhyve: bhyve: PCI device at 5/1/0 is not using the ppt(4) driver here the details: uname -a: FreeBSD main2rest2.bader.loc 11.2-RELEASE-p10 FreeBSD 11.2-RELEASE-p10 #1 r349319: Mon Jun 24 06:27:24 CEST 2019 root@main2rest2.bader.loc:/usr/obj/usr/src/sys/MYKERNEL amd64 cat /boot/loader.conf: vmm_load="YES" pptdevs="5/1/0" hw.vmm.topology.threads_per_core=2 hw.vmm.topology.cores_per_package=4 pciconf -v -l: ppt0@pci0:5:1:0: class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTL-8100/8101L/8139 PCI Fast Ethernet Adapter' class = network subclass = ethernet the commandline for starting bhyve: bhyve -S -c 7 -m 5G -w -H \ -s 0,hostbridge\ -s 3,ahci-cd,./empty.iso\ -s 4,ahci-hd,./06_win7bac4.img,sectorsize=512\ -s 5,virtio-net,tap13\ -s 7,passthru,5/1/0\ -s 29,fbuf,tcp=192.168.16.109:5905,w=1024,h=800\ -s 31,lpc -l com1,stdio\ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd 06win7bac4 any ideas, thanks richard
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5014022d-88a4-c17c-85c3-1de1fda67269>