Jump to content

richardb

Members
  • Posts

    60
  • Joined

  • Last visited

Posts posted by richardb

  1. Hey all, I am building an Unraid system on a computator built around an Asus Z9PE-D8 motherboard. It is mostly working fine, except I have come across an issue with one of the disk controllers. This is a Marvell controller that has the issue that it fails when Unraid starts up with Vt-d enabled (which I need to run VMs). This bug is described in a few places on this forum, but it isn't clear if this has been fixed or if there is a consistent workaround. Can anyone clarify if there is a good workaround for this, or should I just buy a non-marvell controller?

     

    Thanks,

     

    Richard

  2. Okay, so in tools/system devices, I see...

     

    04:00.0 USB controller: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller (rev 03)
    05:00.0 USB controller: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller (rev 03)

     

    So that means that my new entry in the XML for this VM should be this, yes:

     

        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x01' slot='0x04' function='0x0'/>
          </source>
        </hostdev>

  3. Hey all, I am trying to follow this, but I am getting an unusual result. When I do the readlink thing on usb1 (the usb bus I want to pass to the vm), I get this:

     

    root@Bernard:~# readlink /sys/bus/usb/devices/usb1
    ../../../devices/pci0000:00/0000:00:03.0/0000:04:00.0/usb1

     

    if I do the same on usb2 (which is another port on the same card) I get the same result

     

    root@Bernard:~# readlink /sys/bus/usb/devices/usb2
    ../../../devices/pci0000:00/0000:00:03.0/0000:04:00.0/usb2

     

    It looks like the PCI card has two bus addresses. Is that correct? This is a rosewill USB 3 card with 4 ports on it.

     

    Ideally, I want to pass all of the ports on this card to the VM using the hostdev mode. What PCI addresses should I be using?

     

    Thanks,

     

    Richard

     

     

     

     

     

×
×
  • Create New...