Jump to content

phoanglong

Members
  • Posts

    23
  • Joined

  • Last visited

Posts posted by phoanglong

  1. i found the best method currently implementing on my system is to open either UDP port 7 or 9 just for WOL package to arrive at our server (even if you don't have static public IP, you can always use dynamic free-ish service like no-ip, changeip etc...)

     

    Then after you have woke your UnRaid, OpenVPN-AS to your server and woala, full control of the whole system #!

  2. hi guys,

    I'm trying to passthrough the LSI 9210-8i flashed IT-mode, I have followed these two threads but could not get my RAID controller to passthrough to my VM. Could someone please point me to the right direction, many thanks.

     

     

    1. My system devices

    IOMMU as following

    Quote

    IOMMU group 0
        [8086:0c08] 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3 Processor DRAM Controller (rev 06)
    IOMMU group 1
        [8086:0c01] 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
    IOMMU group 2
        [8086:041a] 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3 Processor Integrated Graphics Controller (rev 06)
    IOMMU group 3
        [8086:0c0c] 00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
    IOMMU group 4
        [8086:8c31] 00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
    IOMMU group 5
        [8086:8c3a] 00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
        [8086:8c3d] 00:16.3 Serial controller: Intel Corporation 8 Series/C220 Series Chipset Family KT Controller (rev 04)
    IOMMU group 6
        [8086:153a] 00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 05)
    IOMMU group 7
        [8086:8c2d] 00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
    IOMMU group 8
        [8086:8c20] 00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
    IOMMU group 9
        [8086:8c10] 00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
    IOMMU group 10
        [8086:8c16] 00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
    IOMMU group 11
        [8086:8c1a] 00:1c.5 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #6 (rev d5)
    IOMMU group 12
        [8086:8c1c] 00:1c.6 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #7 (rev d5)
    IOMMU group 13
        [8086:8c1e] 00:1c.7 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #8 (rev d5)
    IOMMU group 14
        [8086:8c26] 00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
    IOMMU group 15
        [8086:8c56] 00:1f.0 ISA bridge: Intel Corporation C226 Series Chipset Family Server Advanced SKU LPC Controller (rev 05)
        [8086:8c02] 00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
        [8086:8c22] 00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
        [8086:8c24] 00:1f.6 Signal processing controller: Intel Corporation 8 Series Chipset Family Thermal Management Controller (rev 05)
    IOMMU group 16
        [1000:0072] 01:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
    IOMMU group 17
        [111d:8018] 02:00.0 PCI bridge: Integrated Device Technology, Inc. [IDT] PES12N3A PCI Express Switch (rev 04)
    IOMMU group 18
        [111d:8018] 03:00.0 PCI bridge: Integrated Device Technology, Inc. [IDT] PES12N3A PCI Express Switch (rev 04)
    IOMMU group 19
        [111d:8018] 03:01.0 PCI bridge: Integrated Device Technology, Inc. [IDT] PES12N3A PCI Express Switch (rev 04)
    IOMMU group 20
        [8086:10a4] 04:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
        [8086:10a4] 04:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
    IOMMU group 21
        [8086:10a4] 05:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
        [8086:10a4] 05:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
    IOMMU group 22
        [8086:1533] 06:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
    IOMMU group 23
        [10e3:8113] 07:00.0 PCI bridge: Tundra Semiconductor Corp. Device 8113 (rev 01)
        [104c:8023] 08:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx]
    IOMMU group 24
        [1912:0015] 09:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
    IOMMU group 25
        [1b21:0612] 0a:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)

     

    Trying to passthrough this:

    Quote

    IOMMU group 16
        [1000:0072] 01:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)

     

    and I have included this in my VM's XML:

    Quote

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

     

    This is my dmesg | grep -e DMAR -e IOMMU output

    Quote

    root@LILOTOWER:~# dmesg | grep -e DMAR -e IOMMU
    [    0.000000] Warning: PCIe ACS overrides enabled; This may allow non-IOMMU protected peer-to-peer DMA
    [    0.000000] ACPI: DMAR 0x00000000D98B2440 0000B8 (v01 INTEL  BDW      00000001 INTL 00000001)
    [    0.000000] DMAR: IOMMU enabled
    [    0.017232] DMAR: Host address width 39
    [    0.017314] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
    [    0.017398] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap c0000020660462 ecap f0101a
    [    0.017485] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
    [    0.017567] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c20660462 ecap f010da
    [    0.017650] DMAR: RMRR base: 0x000000d9eab000 end: 0x000000d9eb9fff
    [    0.017731] DMAR: RMRR base: 0x000000dc000000 end: 0x000000de1fffff
    [    0.017815] DMAR-IR: IOAPIC id 8 under DRHD base  0xfed91000 IOMMU 1
    [    0.017896] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
    [    0.017975] DMAR-IR: x2apic is disabled because BIOS sets x2apic opt out bit.
    [    0.018041] DMAR-IR: Use 'intremap=no_x2apic_optout' to override the BIOS setting.
    [    0.018421] DMAR-IR: Enabled IRQ remapping in xapic mode
    [    7.140217] DMAR: No ATSR found
    [    7.140547] DMAR: dmar0: Using Queued invalidation
    [    7.140636] DMAR: dmar1: Using Queued invalidation
    [    7.217791] DMAR: Software identity mapping for device 0000:00:00.0
    [    7.217878] DMAR: Software identity mapping for device 0000:00:01.0
    [    7.217962] DMAR: Software identity mapping for device 0000:00:02.0
    [    7.218048] DMAR: Software identity mapping for device 0000:00:03.0
    [    7.218130] DMAR: Software identity mapping for device 0000:00:14.0
    [    7.218211] DMAR: Software identity mapping for device 0000:00:16.0
    [    7.218297] DMAR: Software identity mapping for device 0000:00:16.3
    [    7.218378] DMAR: Software identity mapping for device 0000:00:19.0
    [    7.218460] DMAR: Software identity mapping for device 0000:00:1a.0
    [    7.218542] DMAR: Software identity mapping for device 0000:00:1b.0
    [    7.218623] DMAR: Software identity mapping for device 0000:00:1c.0
    [    7.218704] DMAR: Software identity mapping for device 0000:00:1c.3
    [    7.218786] DMAR: Software identity mapping for device 0000:00:1c.5
    [    7.218867] DMAR: Software identity mapping for device 0000:00:1c.6
    [    7.218948] DMAR: Software identity mapping for device 0000:00:1c.7
    [    7.219030] DMAR: Software identity mapping for device 0000:00:1d.0
    [    7.219112] DMAR: Software identity mapping for device 0000:00:1f.0
    [    7.219193] DMAR: Software identity mapping for device 0000:00:1f.2
    [    7.219279] DMAR: Software identity mapping for device 0000:00:1f.3
    [    7.219361] DMAR: Software identity mapping for device 0000:00:1f.6
    [    7.219446] DMAR: Software identity mapping for device 0000:01:00.0
    [    7.219536] DMAR: Software identity mapping for device 0000:02:00.0
    [    7.219626] DMAR: Software identity mapping for device 0000:03:00.0
    [    7.219713] DMAR: Software identity mapping for device 0000:03:01.0
    [    7.219798] DMAR: Software identity mapping for device 0000:04:00.0
    [    7.219885] DMAR: Software identity mapping for device 0000:04:00.1
    [    7.219969] DMAR: Software identity mapping for device 0000:05:00.0
    [    7.220054] DMAR: Software identity mapping for device 0000:05:00.1
    [    7.220139] DMAR: Software identity mapping for device 0000:06:00.0
    [    7.220229] DMAR: Software identity mapping for device 0000:09:00.0
    [    7.220322] DMAR: Software identity mapping for device 0000:0a:00.0
    [    7.220408] DMAR: Setting RMRR:
    [    7.220484] DMAR: Setting identity map for device 0000:00:02.0 [0xdc000000 - 0xde1fffff]
    [    7.220727] DMAR: Setting identity map for device 0000:00:14.0 [0xd9eab000 - 0xd9eb9fff]
    [    7.220818] DMAR: Setting identity map for device 0000:00:1a.0 [0xd9eab000 - 0xd9eb9fff]
    [    7.220903] DMAR: Setting identity map for device 0000:00:1d.0 [0xd9eab000 - 0xd9eb9fff]
    [    7.220988] DMAR: Prepare 0-16MiB unity mapping for LPC
    [    7.221067] DMAR: Setting identity map for device 0000:00:1f.0 [0x0 - 0xffffff]
    [    7.221266] DMAR: Intel(R) Virtualization Technology for Directed I/O
    [    7.257459] AMD IOMMUv2 driver by Joerg Roedel <[email protected]>
    [    7.257541] AMD IOMMUv2 functionality not available on this system
    [    7.273046] DMAR: 32bit 0000:00:1a.0 uses non-identity mapping
    [    7.273154] DMAR: Setting identity map for device 0000:00:1a.0 [0xd9eab000 - 0xd9eb9fff]
    [    7.284321] DMAR: 32bit 0000:00:1d.0 uses non-identity mapping
    [    7.284430] DMAR: Setting identity map for device 0000:00:1d.0 [0xd9eab000 - 0xd9eb9fff]
     

     

    This is my current Syslinux Configuration

    Quote

    default /syslinux/menu.c32
    menu title Lime Technology, Inc.
    prompt 0
    timeout 50
    label unRAID OS
      menu default
      kernel /bzimage
      append intel_iommu=on iommu=pt vfio_iommu_type1.allow_unsafe_interrupts=1 pcie_acs_override=downstream vfio-pci.ids=1000:0072 initrd=/bzroot
    label unRAID OS GUI Mode
      kernel /bzimage
      append pcie_acs_override=downstream initrd=/bzroot,/bzroot-gui
    label unRAID OS Safe Mode (no plugins, no GUI)
      kernel /bzimage
      append pcie_acs_override=downstream initrd=/bzroot unraidsafemode
    label unRAID OS GUI Safe Mode (no plugins)
      kernel /bzimage
      append pcie_acs_override=downstream initrd=/bzroot,/bzroot-gui unraidsafemode
    label Memtest86+
      kernel /memtest
     

     

    This is the error i got from running the VM (from logs)

     

    Quote

    DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 
    DR6=00000000ffff0ff0 DR7=0000000000000400
    EFER=0000000000000000
    FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
    FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
    FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
    FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
    FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
    XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000
    XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000
    XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000
    XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000
    CPU #3:
    EAX=00000000 EBX=00000000 ECX=00000000 EDX=000306c3
    ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000
    EIP=0000fff0 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
    ES =0000 00000000 0000ffff 00009300
    CS =f000 ffff0000 0000ffff 00009b00
    SS =0000 00000000 0000ffff 00009300
    DS =0000 00000000 0000ffff 00009300
    FS =0000 00000000 0000ffff 00009300
    GS =0000 00000000 0000ffff 00009300
    LDT=0000 00000000 0000ffff 00008200
    TR =0000 00000000 0000ffff 00008b00
    GDT= 00000000 0000ffff
    IDT= 00000000 0000ffff
    CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000
    DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 
    DR6=00000000ffff0ff0 DR7=0000000000000400
    EFER=0000000000000000
    FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
    FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
    FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
    FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
    FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
    XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000
    XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000
    XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000
    XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000
    2017-12-08 16:00:35.380+0000: shutting down, reason=crashed

     

    I have been banging my head to wall for the last 24 hours desperately trying to find a way to make this work. Could someone please help..

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

  3. LOl.. right after I posted this thread, I found the LSI, never thought it would be on the very top like that. But now I'm facing another problem, everytime i tried to passthrough the RAID card to VM, my vm crashed, could you please have a look.. don't know what happened though.

    my syslinux

    default /syslinux/menu.c32
    menu title Lime Technology, Inc.
    prompt 0
    timeout 50
    label unRAID OS
      menu default
      kernel /bzimage
      append intel_iommu=on vfio_iommu_type1.allow_unsafe_interrupts=1 pcie_acs_override=downstream vfio-pci.ids=1000:0072 initrd=/bzroot
    label unRAID OS GUI Mode
      kernel /bzimage
      append pcie_acs_override=downstream initrd=/bzroot,/bzroot-gui
    label unRAID OS Safe Mode (no plugins, no GUI)
      kernel /bzimage
      append pcie_acs_override=downstream initrd=/bzroot unraidsafemode
    label unRAID OS GUI Safe Mode (no plugins)
      kernel /bzimage
      append pcie_acs_override=downstream initrd=/bzroot,/bzroot-gui unraidsafemode
    label Memtest86+
      kernel /memtest

    My sample XPenology (Linux)

    <domain type='kvm'>
      <name>XPenology</name>
      <uuid>956cccfa-d597-41e4-cdbc-e8bbf75b0d7d</uuid>
      <description>xpenology</description>
      <metadata>
        <vmtemplate xmlns="unraid" name="Linux" icon="debian.png" os="linux"/>
      </metadata>
      <memory unit='KiB'>4194304</memory>
      <currentMemory unit='KiB'>4194304</currentMemory>
      <memoryBacking>
        <nosharepages/>
      </memoryBacking>
      <vcpu placement='static'>4</vcpu>
      <cputune>
        <vcpupin vcpu='0' cpuset='0'/>
        <vcpupin vcpu='1' cpuset='1'/>
        <vcpupin vcpu='2' cpuset='2'/>
        <vcpupin vcpu='3' cpuset='3'/>
      </cputune>
      <os>
        <type arch='x86_64' machine='pc-q35-2.7'>hvm</type>
        <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
        <nvram>/etc/libvirt/qemu/nvram/956cccfa-d597-41e4-cdbc-e8bbf75b0d7d_VARS-pure-efi.fd</nvram>
      </os>
      <features>
        <acpi/>
        <apic/>
      </features>
      <cpu>
        <topology sockets='1' cores='4' threads='1'/>
      </cpu>
      <clock offset='utc'>
        <timer name='rtc' tickpolicy='catchup'/>
        <timer name='pit' tickpolicy='delay'/>
        <timer name='hpet' present='no'/>
      </clock>
      <on_poweroff>destroy</on_poweroff>
      <on_reboot>restart</on_reboot>
      <on_crash>restart</on_crash>
      <devices>
        <emulator>/usr/local/sbin/qemu</emulator>
        <disk type='file' device='disk'>
          <driver name='qemu' type='raw' cache='writeback'/>
          <source file='/mnt/user/isos/ds3617/synoboot.img'/>
          <target dev='hdc' bus='sata'/>
          <boot order='1'/>
          <address type='drive' controller='0' bus='0' target='0' unit='2'/>
        </disk>
        <disk type='block' device='disk'>
          <driver name='qemu' type='raw' cache='writeback'/>
          <source dev='/dev/disk/by-id/ata-WDC_WD40EFRX-68WT0N0_WD-WCC4E0AF9SNS'/>
          <target dev='hdd' bus='sata'/>
          <address type='drive' controller='0' bus='0' target='0' unit='3'/>
        </disk>
        <disk type='block' device='disk'>
          <driver name='qemu' type='raw' cache='writeback'/>
          <source dev='/dev/disk/by-id/ata-ST4000DM000-1F2168_Z304WSRY'/>
          <target dev='hde' bus='sata'/>
          <address type='drive' controller='0' bus='0' target='0' unit='4'/>
        </disk>
        <controller type='usb' index='0' model='ich9-ehci1'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci1'>
          <master startport='0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci2'>
          <master startport='2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci3'>
          <master startport='4'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
        </controller>
        <controller type='sata' index='0'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
        </controller>
        <controller type='pci' index='0' model='pcie-root'/>
        <controller type='pci' index='1' model='dmi-to-pci-bridge'>
          <model name='i82801b11-bridge'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
        </controller>
        <controller type='virtio-serial' index='0'>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>
        </controller>
        <controller type='pci' index='2' model='pci-bridge'>
          <model name='pci-bridge'/>
          <target chassisNr='2'/>
          <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
        </controller>
        <interface type='bridge'>
          <mac address='52:54:00:6f:5c:77'/>
          <source bridge='br0'/>
          <model type='e1000'/>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
        </interface>
        <interface type='bridge'>
          <mac address='52:54:00:58:20:bc'/>
          <source bridge='br0'/>
          <model type='e1000'/>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/>
        </interface>
        <serial type='pty'>
          <target port='0'/>
        </serial>
        <console type='pty'>
          <target type='serial' port='0'/>
        </console>
        <channel type='unix'>
          <target type='virtio' name='org.qemu.guest_agent.0'/>
          <address type='virtio-serial' controller='0' bus='0' port='1'/>
        </channel>
        <input type='tablet' bus='usb'>
          <address type='usb' bus='0' port='1'/>
        </input>
        <input type='mouse' bus='ps2'/>
        <input type='keyboard' bus='ps2'/>
        <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-us'>
          <listen type='address' address='0.0.0.0'/>
        </graphics>
        <video>
          <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
        </video>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x04' function='0x0'/>
        </hostdev>
        <memballoon model='virtio'>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x05' function='0x0'/>
        </memballoon>
      </devices>
    </domain>

    My IOMMU groups

    
    IOMMU group 0
    	[8086:0c08] 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3 Processor DRAM Controller (rev 06)
    IOMMU group 1
    	[8086:0c01] 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
    IOMMU group 2
    	[8086:041a] 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3 Processor Integrated Graphics Controller (rev 06)
    IOMMU group 3
    	[8086:0c0c] 00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
    IOMMU group 4
    	[8086:8c31] 00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
    IOMMU group 5
    	[8086:8c3a] 00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
    	[8086:8c3d] 00:16.3 Serial controller: Intel Corporation 8 Series/C220 Series Chipset Family KT Controller (rev 04)
    IOMMU group 6
    	[8086:153a] 00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 05)
    IOMMU group 7
    	[8086:8c2d] 00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
    IOMMU group 8
    	[8086:8c20] 00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
    IOMMU group 9
    	[8086:8c10] 00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
    IOMMU group 10
    	[8086:8c16] 00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
    IOMMU group 11
    	[8086:8c1a] 00:1c.5 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #6 (rev d5)
    IOMMU group 12
    	[8086:8c1c] 00:1c.6 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #7 (rev d5)
    IOMMU group 13
    	[8086:8c1e] 00:1c.7 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #8 (rev d5)
    IOMMU group 14
    	[8086:8c26] 00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
    IOMMU group 15
    	[8086:8c56] 00:1f.0 ISA bridge: Intel Corporation C226 Series Chipset Family Server Advanced SKU LPC Controller (rev 05)
    	[8086:8c02] 00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
    	[8086:8c22] 00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
    	[8086:8c24] 00:1f.6 Signal processing controller: Intel Corporation 8 Series Chipset Family Thermal Management Controller (rev 05)
    IOMMU group 16
    	[1000:0072] 01:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
    IOMMU group 17
    	[111d:8018] 02:00.0 PCI bridge: Integrated Device Technology, Inc. [IDT] PES12N3A PCI Express Switch (rev 04)
    IOMMU group 18
    	[111d:8018] 03:00.0 PCI bridge: Integrated Device Technology, Inc. [IDT] PES12N3A PCI Express Switch (rev 04)
    IOMMU group 19
    	[111d:8018] 03:01.0 PCI bridge: Integrated Device Technology, Inc. [IDT] PES12N3A PCI Express Switch (rev 04)
    IOMMU group 20
    	[8086:10a4] 04:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
    	[8086:10a4] 04:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
    IOMMU group 21
    	[8086:10a4] 05:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
    	[8086:10a4] 05:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
    IOMMU group 22
    	[8086:1533] 06:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
    IOMMU group 23
    	[10e3:8113] 07:00.0 PCI bridge: Tundra Semiconductor Corp. Device 8113 (rev 01)
    	[104c:8023] 08:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx]
    IOMMU group 24
    	[1912:0015] 09:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
    IOMMU group 25
    	[1b21:0612] 0a:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)
    

    My error im keep getting

     

    
    DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 
    DR6=00000000ffff0ff0 DR7=0000000000000400
    EFER=0000000000000000
    FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
    FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
    FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
    FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
    FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
    XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000
    XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000
    XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000
    XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000
    CPU #3:
    EAX=00000000 EBX=00000000 ECX=00000000 EDX=000306c3
    ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000
    EIP=0000fff0 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
    ES =0000 00000000 0000ffff 00009300
    CS =f000 ffff0000 0000ffff 00009b00
    SS =0000 00000000 0000ffff 00009300
    DS =0000 00000000 0000ffff 00009300
    FS =0000 00000000 0000ffff 00009300
    GS =0000 00000000 0000ffff 00009300
    LDT=0000 00000000 0000ffff 00008200
    TR =0000 00000000 0000ffff 00008b00
    GDT= 00000000 0000ffff
    IDT= 00000000 0000ffff
    CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000
    DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 
    DR6=00000000ffff0ff0 DR7=0000000000000400
    EFER=0000000000000000
    FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
    FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
    FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
    FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
    FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
    XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000
    XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000
    XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000
    XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000
    2017-12-08 11:53:01.819+0000: shutting down, reason=crashed
    
    

     

    Many thanks guys

  4. Hi there,

    Thank you for your reply, i have tried the option "PCIe ACS Override", it does separate into 4 different groups but as I'm not trying to pass through a pair of NICs, but more like all quad port to Xpenology, what is the safest way to do so? And even when i tried to pass through, it does not appear in VM management page.. :((

    Sent from my SM-G935S using Tapatalk

  5. Hi guys,

    first of all, please excuse my english as it is not my first language.

    I'm trying to passthrough my quad NIC to my VM, could someone please help, the Quad NIC is in two different IOMMU group which are 16 and 17.

     

    Many thanks in advance

     

    Quote

    IOMMU group 0
        [8086:0c08] 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3 Processor DRAM Controller (rev 06)
    IOMMU group 1
        [8086:041a] 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3 Processor Integrated Graphics Controller (rev 06)
    IOMMU group 2
        [8086:0c0c] 00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
    IOMMU group 3
        [8086:8c31] 00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
    IOMMU group 4
        [8086:8c3a] 00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
        [8086:8c3d] 00:16.3 Serial controller: Intel Corporation 8 Series/C220 Series Chipset Family KT Controller (rev 04)
    IOMMU group 5
        [8086:153a] 00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 05)
    IOMMU group 6
        [8086:8c2d] 00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
    IOMMU group 7
        [8086:8c20] 00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
    IOMMU group 8
        [8086:8c10] 00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
    IOMMU group 9
        [8086:8c16] 00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
    IOMMU group 10
        [8086:8c1a] 00:1c.5 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #6 (rev d5)
    IOMMU group 11
        [8086:8c1c] 00:1c.6 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #7 (rev d5)
    IOMMU group 12
        [8086:8c1e] 00:1c.7 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #8 (rev d5)
    IOMMU group 13
        [8086:8c26] 00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
    IOMMU group 14
        [8086:8c56] 00:1f.0 ISA bridge: Intel Corporation C226 Series Chipset Family Server Advanced SKU LPC Controller (rev 05)
        [8086:8c02] 00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
        [8086:8c22] 00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
        [8086:8c24] 00:1f.6 Signal processing controller: Intel Corporation 8 Series Chipset Family Thermal Management Controller (rev 05)
    IOMMU group 15
        [111d:8018] 01:00.0 PCI bridge: Integrated Device Technology, Inc. [IDT] PES12N3A PCI Express Switch (rev 04)
    IOMMU group 16
        [111d:8018] 02:00.0 PCI bridge: Integrated Device Technology, Inc. [IDT] PES12N3A PCI Express Switch (rev 04)
        [8086:10a4] 03:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
        [8086:10a4] 03:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
    IOMMU group 17
        [111d:8018] 02:01.0 PCI bridge: Integrated Device Technology, Inc. [IDT] PES12N3A PCI Express Switch (rev 04)
        [8086:10a4] 04:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
        [8086:10a4] 04:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
    IOMMU group 18
        [8086:1533] 05:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
    IOMMU group 19
        [10e3:8113] 06:00.0 PCI bridge: Tundra Semiconductor Corp. Device 8113 (rev 01)
        [104c:8023] 07:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx]
    IOMMU group 20
        [1912:0015] 08:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
    IOMMU group 21
        [1b21:0612] 09:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)

     

  6.  

    Reverse proxy for Deluge-VPN questions

     

    Deluge-VPN docker is running absolutely amazing, I just could not get the reverse proxy to work.

     

    Here is the log for letsencrypt
     

    -------------------------------------
    _ _ _
    | |___| (_) ___
    | / __| | |/ _ \
    | \__ \ | | (_) |
    |_|___/ |_|\___/
    |_|
    
    Brought to you by linuxserver.io
    We gratefully accept donations at:
    https://www.linuxserver.io/donations/
    -------------------------------------
    GID/UID
    -------------------------------------
    User uid: 99
    User gid: 100
    -------------------------------------
    
    [cont-init.d] 10-adduser: exited 0.
    [cont-init.d] 20-config: executing...
    [cont-init.d] 20-config: exited 0.
    [cont-init.d] 30-keygen: executing...
    using keys found in /config/keys
    [cont-init.d] 30-keygen: exited 0.
    [cont-init.d] 50-config: executing...
    2048 bit DH parameters present
    SUBDOMAINS entered, processing
    Sub-domains processed are: -d www.[my_external_domain] -d cloud.[my_external_domain] -d download.[my_external_domain] -d sickrage.[my_external_domain] -d couchpotato.[my_external_domain] -d plex.[my_external_domain]
    <------------------------------------------------->
    
    <------------------------------------------------->
    cronjob running on Tue May 23 10:21:39 ICT 2017
    Running certbot renew
    Saving debug log to /var/log/letsencrypt/letsencrypt.log
    
    -------------------------------------------------------------------------------
    Processing /etc/letsencrypt/renewal/[my_external_domain].conf
    -------------------------------------------------------------------------------
    Cert not yet due for renewal
    No renewals attempted, so not running post-hook
    
    The following certs are not due for renewal yet:
    /etc/letsencrypt/live/[my_external_domain]/fullchain.pem (skipped)
    No renewals were attempted.
    Server ready
    [cont-init.d] 50-config: exited 0.
    [cont-init.d] done.
    [services.d] starting services
    [services.d] done.

    Here is the configuration for letsencrypt nginx

    upstream backend {
    	server 192.168.0.29:19999;
    	keepalive 64;
    }
    
    server {
    	listen 443 ssl default_server;
    	listen 80 default_server;
    	root /config/www;
    	index index.html index.htm index.php;
    
    	server_name _;
    
    	ssl_certificate /config/keys/letsencrypt/fullchain.pem;
    	ssl_certificate_key /config/keys/letsencrypt/privkey.pem;
    	ssl_dhparam /config/nginx/dhparams.pem;
    	ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA';
    	ssl_prefer_server_ciphers on;
    
    	client_max_body_size 0;
    
    	location / {
    		include /config/nginx/proxy.conf;
    		proxy_pass http://192.168.0.29:82/;
    	}
    	#HeadPhones
    	location /headphones {
    	include /config/nginx/proxy.conf;
    	proxy_pass http://192.168.0.29:8181/headphones;
    	}
    	
    	location /downloads {
    	include /config/nginx/proxy.conf;
    	proxy_pass http://192.168.0.29:8112/;
    	proxy_set_header X-Deluge-Base “/downloads/”;
    	add_header X-Frame-Options SAMEORIGIN;
    	}
    	
    	# Radarr
    	#location /radarr {
    	#include /config/nginx/proxy.conf;
    	#proxy_pass http://192.168.0.29:7878/radarr;
    	#proxy_set_header X-Real-IP $remote_addr;
    	#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    	#}
    	
    	# Transmission
    	#location /transmission {
    	#proxy_pass http://192.168.0.29:9091;
    	#proxy_set_header Host $host;
    	#proxy_set_header X-Real-IP $remote_addr;
    	#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    	#}
    	
    	# CouchPotato
    	location /couchpotato {
    	include /config/nginx/proxy.conf;
    	proxy_pass http://192.168.0.29:5050;
    	}
    	
    	# SickRage
    	location /sickrage {
    	include /config/nginx/proxy.conf;
    	proxy_pass http://192.168.0.29:8081;
    	}
    	
    	#PLEX
    	location /web {
    		# serve the CSS code
    		proxy_pass http://192.168.0.29:32400;
    	}
    
    	# Main /plex rewrite
    	location /plex {
    		# proxy request to plex server
    		proxy_pass http://192.168.0.29:32400/web;
    	}
    
    	location /nextcloud {
    		include /config/nginx/proxy.conf;
    		proxy_pass https://192.168.0.29:444;
    	}
    	
    	location /unifi {
    		include /config/nginx/proxy.conf;
    		proxy_pass https://192.168.0.18/;
    	}
    	
    	location ~ /netdata/(?<ndpath>.*) {
    		proxy_set_header X-Forwarded-Host $host;
    		proxy_set_header X-Forwarded-Server $host;
    		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    		proxy_pass http://backend/$ndpath$is_args$args;
    		proxy_http_version 1.1;
    		proxy_pass_request_headers on;
    		proxy_set_header Connection "keep-alive";
    		proxy_store off;
    	}
    }

    proxy.conf

    client_max_body_size 10m;
    client_body_buffer_size 128k;
    
    #Timeout if the real server is dead
    proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;
    
    # Advanced Proxy Config
    send_timeout 5m;
    proxy_read_timeout 240;
    proxy_send_timeout 240;
    proxy_connect_timeout 240;
    
    # Basic Proxy Config
    proxy_set_header Host $host:$server_port;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto https;
    proxy_redirect  http://  $scheme://;
    proxy_http_version 1.1;
    proxy_set_header Connection "";
    proxy_cache_bypass $cookie_session;
    proxy_no_cache $cookie_session;
    proxy_buffers 32 4k;

    this is the error i get when i tried to connect to my deluge WEB through MY_EXTERNAL_DOMAIN_ADDRESS

    web.Server Traceback (most recent call last):
    exceptions.TypeError: normalize() argument 2 must be unicode, not str
    /usr/lib/python2.7/site-packages/twisted/web/server.py:185 in process
    184        try:
    185            resrc = self.site.getResourceFor(self)
    186            if resource._IEncodingResource.providedBy(resrc):
    /usr/lib/python2.7/site-packages/twisted/web/server.py:791 in getResourceFor
    790        request.sitepath = copy.copy(request.prepath)
    791        return resource.getChildForRequest(self.resource, request)
    792
    /usr/lib/python2.7/site-packages/twisted/web/resource.py:98 in getChildForRequest
    97        request.prepath.append(pathElement)
    98        resource = resource.getChildWithDefault(pathElement, request)
    99    return resource
    /usr/lib/python2.7/site-packages/deluge/ui/web/server.py:559 in getChildWithDefault
    558
    559        request.base = base.encode('idna')
    560
    /usr/lib/python2.7/encodings/idna.py:164 in encode
    163        for label in labels:
    164            result.append(ToASCII(label))
    165        # Join with U+002E
    /usr/lib/python2.7/encodings/idna.py:76 in ToASCII
    75    # Step 2: nameprep
    76    label = nameprep(label)
    77
    /usr/lib/python2.7/encodings/idna.py:21 in nameprep
    20            continue
    21        newlabel.append(stringprep.map_table_b2(c))
    22    label = u"".join(newlabel)
    /usr/lib/python2.7/stringprep.py:197 in map_table_b2
    196    al = map_table_b3(a)
    197    b = unicodedata.normalize("NFKC", al)
    198    bl = u"".join([map_table_b3(ch) for ch in b])
    exceptions.TypeError: normalize() argument 2 must be unicode, not str

    Thank you so much.

     

     

     

     

     

     

     

     

     

     

     

     

     

     

×
×
  • Create New...