[Bug 250802] bhyve exited with status 134 when GPU PCI passthrough

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 5 09:20:41 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250802

--- Comment #10 from mr.xanto at gmail.com ---
(In reply to Konstantin Belousov from comment #9)

bhyve options:
  [bhyve options: -c 1 -m 3G -Hwl
bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -U
7bd95998-1d4b-11eb-b522-70f3951447ea -S]
  [bhyve devices: -s 0,hostbridge -s 31,lpc -s
4:0,ahci,hd:/mnt/Data/vm/bsd_test/disk0.img -s
5:0,virtio-net,tap0,mac=58:9c:fc:0a:22:9a -s 6:0,passthru,1/0/0 -s
6:1,passthru,1/0/1 -s 7:0,xhci,tablet]
  [bhyve console: -l com1,stdio]
  [bhyve iso device: -s
3:0,ahci-cd,/mnt/Data/vm/.iso/FreeBSD-12.1-STABLE-amd64-20200827-r364849-bootonly.iso,ro]

log errors:
bhyve exited with status 4
bhyve: failed to initialize BARs for PCI 1/0/0
device emulation initialization error: No such file or directory

# pciconf -lvcb
ppt0 at pci0:1:0:0:        class=0x030000 card=0x38991642 chip=0x0a6310de rev=0xa2
hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'GT218 [GeForce 310]'
    class      = display
    subclass   = VGA
    bar   [10] = type Memory, range 32, base 0xfa000000, size 16777216, enabled
    bar   [14] = type Prefetchable Memory, range 64, base 0xc0000000, size
268435456, enabled
    bar   [1c] = type Prefetchable Memory, range 64, base 0xd0000000, size
33554432, enabled
    bar   [24] = type I/O Port, range 32, base 0xe000, size 128, enabled
    cap 01[60] = powerspec 3  supports D0 D3  current D0
    cap 05[68] = MSI supports 1 message, 64 bit
    cap 10[78] = PCI-Express 2 endpoint max data 128(128) RO NS
                 max read 128
                 link x16(x16) speed 2.5(2.5) ASPM disabled(L0s/L1) ClockPM
enabled
    cap 09[b4] = vendor (length 20)
    ecap 0002[100] = VC 1 max VC0
    ecap 0004[128] = Power Budgeting 1
    ecap 000b[600] = Vendor 1 ID 1
ppt1 at pci0:1:0:1:        class=0x040300 card=0x38991642 chip=0x0be310de rev=0xa1
hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'High Definition Audio Controller'
    class      = multimedia
    subclass   = HDA
    bar   [10] = type Memory, range 32, base 0xfb080000, size 16384, enabled
    cap 01[60] = powerspec 3  supports D0 D3  current D0
    cap 05[68] = MSI supports 1 message, 64 bit
    cap 10[78] = PCI-Express 2 endpoint max data 128(128) NS
                 max read 128
                 link x16(x16) speed 2.5(2.5) ASPM L0s/L1(L0s/L1) ClockPM
enabled

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-virtualization mailing list