Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jun 2024 10:53:52 +0300
From:      Oleksandr Kryvulia <shuriku@shurik.kiev.ua>
To:        virtualization@freebsd.org
Subject:   bhyve passthru problem
Message-ID:  <a63589a8-2cb2-4952-83b1-7a97e2f8cd44@shurik.kiev.ua>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------zY2Rz0Oq5VWlZiOupxa5K6mz
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

I'm trying to passthru a wwan-adapter to linux guest using 
sysutils/vm-bhyve-devel.

ppt0@pci0:8:0:0:        class=0x0d4000 rev=0x01 hdr=0x00 vendor=0x8086 
device=0x7560 subvendor=0x1cf8 subdevice=0x8654
    vendor     = 'Intel Corporation'
    device     = 'XMM7560 LTE Advanced Pro Modem'
    class      = wireless controller
    subclass   = cellular controller/modem

The guest does not start with an error:

bhyve: passthru device 8/0/0 BAR 2: base 0xbc201000 or size 0x100 not 
page aligned
bhyve: failed to initialize BARs for PCI 8/0/0
Device emulation initialization error: No such file or directory

What I am doing wrong?
--------------zY2Rz0Oq5VWlZiOupxa5K6mz
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    I'm trying to passthru a wwan-adapter to linux guest using
    sysutils/vm-bhyve-devel.<br>
    <br>
    <span style="font-family:monospace"><span
        style="color:#000000;background-color:#ffffff;">ppt0@pci0:8:0:0:
               class=0x0d4000 rev=0x01 hdr=0x00 vendor=0x8086
        device=0x7560 subvendor=0x1cf8 subdevice=0x8654
      </span><br>
         vendor     = 'Intel Corporation'
      <br>
         device     = 'XMM7560 LTE Advanced Pro Modem'
      <br>
         class      = wireless controller
      <br>
         subclass   = cellular controller/modem<br>
    </span><br>
    The guest does not start with an error:<br>
    <br>
    <span style="font-family:monospace"><span
        style="color:#000000;background-color:#ffffff;">bhyve: passthru
        device 8/0/0 BAR 2: base 0xbc201000 or size 0x100 not page
        aligned
      </span><br>
      bhyve: failed to initialize BARs for PCI 8/0/0
      <br>
      Device emulation initialization error: No such file or directory<br>
      <br>
      What I am doing wrong?<br>
    </span>
  </body>
</html>

--------------zY2Rz0Oq5VWlZiOupxa5K6mz--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a63589a8-2cb2-4952-83b1-7a97e2f8cd44>