Jump to content

Cor4eyh

Members
  • Posts

    22
  • Joined

  • Last visited

Posts posted by Cor4eyh

  1. I followed @SpaceInvaderOne video to the t everything. And didn’t see an option or easy way to use a bare metal ssd to install on. It only installs on the array correct? 
     

    im also having some trouble reinstalling after fixing/messing up XML files. Im getting an error when it downloads macOS onto the purposed 500g hdd I used in the template. 
     

    my system is a i9 9900 non k with 64gb ram a 6600xt and hoping to utilize all of that pretty well. 
     

    if I can get Mac to run I sometimes have issue without passing through the video card that my onboard video is very low so the whole MacOS system runs super slow.

     

    anyone who’s playing with this as well feel free to assist. If not I will edit this as I continue to learn and figure it out and leave the information for the next person. 
     

    I also read the article tips for baremetal macOS. I didn’t see any best bios for hackintoshish. 
     

    thank you for any help and hopefully I solve all the problems on my own ;)

  2. On 2/6/2022 at 4:38 PM, cat2devnull said:

     

    So it looks like QEMU is having issue with accessing your card (assuming it is on address 04:00.0 and 04:00.1

     

    When trying to debug an issue with passing a video card to the VM there are many things to consider/try.

     

    1) Ensure the card is in its own IOMMU group and not sharing a group with any other hardware.

    Also ensure that it is stubbed so that the host OS doesn't take control of the card.

    118039272_ScreenShot2022-02-07at11_16_51am.thumb.png.b66f2b8a3391a4daf2076bc1f7f11539.png

     

    2) Ensure your config is correct. Here is an example from my config. My card is on bus 0x12 and I pass it to bus 0x04.

        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x12' slot='0x00' function='0x0'/>
          </source>
          <rom file='/mnt/user/isos/vbios/Yeston-RX550-4G-LP-D5.rom'/>
          <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0' multifunction='on'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x12' slot='0x00' function='0x1'/>
          </source>
           <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x1'/>
        </hostdev>

     

    3) Try passing the VBIOS

    The goto place for VBIOS files is TechPowerUp but most people recommend that you rip your own BIOS. Spaceinvader has written some software and made a video that is easy to follow. 


    4) If it is the primary GPU in the system you will need to prevent the Linux OS from using the virtual frame buffer to display the boot process. So under Main -> Flash you can add video=efifb:off to the Unraid boot option. More details can be found in this blog.607533261_ScreenShot2022-02-07at11_23_17am.png.ea99fdf09bf97f2f3f04a6ec72393721.png

     

    If you need more help than this, you will need to provide us more information.

    - The motherboard, CPU and video card(s) details.

    - Also the relevant logs from the Unraid OS and VM.

     

    Also be aware that weird things can happen when you upgrade Unraid (aka upgrade the host OS kernel). I ran for years without needing to do anything but then after one upgrade I suddenly needed to stub the card. Then another upgrade and I had to pass a VBIOS. Then last upgrade to 6.10.0-rc2 I needed to enable efifb:off.

    Good Luck!

    The only thing I havent tried is the Vbios. Does the config look ok though? these last lines appear wether i use vnc or video card

     

    I'm using an rx 6600xt. Its a 9900 non k as well. 

     

    2022-06-21 21:13:00.858+0000: starting up libvirt version: 8.2.0, qemu version: 6.2.0, kernel: 5.15.46-Unraid, hostname: StreamingMACPC
    LC_ALL=C \
    PATH=/bin:/sbin:/usr/bin:/usr/sbin \
    HOME='/var/lib/libvirt/qemu/domain-1-Macinabox BigSur' \
    XDG_DATA_HOME='/var/lib/libvirt/qemu/domain-1-Macinabox BigSur/.local/share' \
    XDG_CACHE_HOME='/var/lib/libvirt/qemu/domain-1-Macinabox BigSur/.cache' \
    XDG_CONFIG_HOME='/var/lib/libvirt/qemu/domain-1-Macinabox BigSur/.config' \
    /usr/local/sbin/qemu \
    -name 'guest=Macinabox BigSur,debug-threads=on' \
    -S \
    -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-1-Macinabox BigSur/master-key.aes"}' \
    -blockdev '{"driver":"file","filename":"/mnt/user/system/custom_ovmf/Macinabox_CODE-pure-efi.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \
    -blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \
    -blockdev '{"driver":"file","filename":"/etc/libvirt/qemu/nvram/b73727e7-8fb6-49ef-91b9-a5ab62b8c222_VARS-pure-efi.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' \
    -blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}' \
    -machine pc-q35-4.2,usb=off,dump-guest-core=off,mem-merge=off,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format,memory-backend=pc.ram \
    -accel kvm \
    -cpu host,migratable=on,host-cache-info=on,l3-cache=off \
    -m 24064 \
    -object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":25232932864}' \
    -overcommit mem-lock=off \
    -smp 8,sockets=1,dies=1,cores=4,threads=2 \
    -uuid b73727e7-8fb6-49ef-91b9-a5ab62b8c222 \
    -display none \
    -no-user-config \
    -nodefaults \
    -chardev socket,id=charmonitor,fd=36,server=on,wait=off \
    -mon chardev=charmonitor,id=monitor,mode=control \
    -rtc base=utc,driftfix=slew \
    -global kvm-pit.lost_tick_policy=delay \
    -no-hpet \
    -no-shutdown \
    -boot strict=on \
    -device pcie-root-port,port=16,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x2 \
    -device pcie-root-port,port=17,chassis=2,id=pci.2,bus=pcie.0,addr=0x2.0x1 \
    -device pcie-root-port,port=18,chassis=3,id=pci.3,bus=pcie.0,addr=0x2.0x2 \
    -device pcie-root-port,port=19,chassis=4,id=pci.4,bus=pcie.0,addr=0x2.0x3 \
    -device ich9-usb-ehci1,id=usb,bus=pcie.0,addr=0x7.0x7 \
    -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pcie.0,multifunction=on,addr=0x7 \
    -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pcie.0,addr=0x7.0x1 \
    -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pcie.0,addr=0x7.0x2 \
    -device virtio-serial-pci,id=virtio-serial0,bus=pci.2,addr=0x0 \
    -blockdev '{"driver":"file","filename":"/mnt/user/domains/Macinabox BigSur/macos_disk.img","node-name":"libvirt-1-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
    -blockdev '{"node-name":"libvirt-1-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-1-storage"}' \
    -device ide-hd,bus=ide.2,drive=libvirt-1-format,id=sata0-0-2,bootindex=1,write-cache=on \
    -netdev tap,fd=37,id=hostnet0,vhost=on,vhostfd=39 \
    -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:68:03:51,bus=pci.1,addr=0x0 \
    -chardev pty,id=charserial0 \
    -device isa-serial,chardev=charserial0,id=serial0,index=0 \
    -chardev socket,id=charchannel0,fd=35,server=on,wait=off \
    -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \
    -device usb-tablet,id=input0,bus=usb.0,port=1 \
    -audiodev '{"id":"audio1","driver":"none"}' \
    -device vfio-pci,host=0000:03:00.0,id=hostdev0,bus=pci.3,addr=0x0 \
    -device usb-host,hostdevice=/dev/bus/usb/001/004,id=hostdev1,bus=usb.0,port=2 \
    -device usb-host,hostdevice=/dev/bus/usb/001/007,id=hostdev2,bus=usb.0,port=3 \
    -device usb-host,hostdevice=/dev/bus/usb/001/009,id=hostdev3,bus=usb.0,port=4 \
    -usb \
    -device usb-kbd,bus=usb-bus.0 \
    -device '************************' \
    -smbios type=2 \
    -cpu Penryn,kvm=on,vendor=GenuineIntel,+kvm_pv_unhalt,+kvm_pv_eoi,+hypervisor,+invtsc,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+avx2,+aes,+fma,+fma4,+bmi1,+bmi2,+xsave,+xsaveopt,+rdrand,check \
    -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
    -msg timestamp=on
    char device redirected to /dev/pts/0 (label charserial0)
    2022-06-21T21:13:01.008331Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.fma4 [bit 16]
    2022-06-21T21:13:01.009064Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.fma4 [bit 16]
    2022-06-21T21:13:01.009556Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.fma4 [bit 16]
    2022-06-21T21:13:01.010095Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.fma4 [bit 16]
    2022-06-21T21:13:01.010602Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.fma4 [bit 16]
    2022-06-21T21:13:01.011134Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.fma4 [bit 16]
    2022-06-21T21:13:01.011652Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.fma4 [bit 16]
    2022-06-21T21:13:01.012206Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.fma4 [bit 16]
    2022-06-21T21:13:02.697948Z qemu-system-x86_64: vfio: Cannot reset device 0000:03:00.0, depends on group 14 which is not owned.
    2022-06-21T21:13:02.701920Z qemu-system-x86_64: vfio: Cannot reset device 0000:03:00.0, depends on group 14 which is not owned.
    2022-06-21T21:13:59.852969Z qemu-system-x86_64: terminating on signal 15 from pid 3234 (/usr/sbin/libvirtd)
    2022-06-21 21:14:02.655+0000: shutting down, reason=destroyed

  3. So i have a few pc's laying around and im ok partin some out to make the ultimate build here. 

     

    The Important things i'd like is 10GB ethernet, Video card for decoding plex, and a lsi sas card for many more HDD's

     

    I currently have 3 pc's i can mangle into one baller PC

     

    Looking for a mobo that can handle this.

     

    Intel xeon 2126g

    ryzen 5 5600x

    intel 9900 non k

    many sticks of ram 

     

     

    what's the best solution here?

  4. “disk3 is not defined / installed in the array. This will cause errors when writing to the array. Fix it here:  NOTE: Because of how the UI works, disk3 will not appear in on this page. You will need to make a change (any change), then revert the change and hit apply to fix this issue”


    no obviously I did what it says but the message doesn’t go away. 
     

    do I need to reboot the server first?

  5. I followed the WireGuard video by SpaceInvaderOne to the t. Got it up and running but when I try to enter my duckdns.org it takes me to my home’s unifi router. 
     

    maybe I’m missing something else. 
     

    I did the port forwards but it takes me to my unifi router lol. 

  6. Edit: after following SpaceInvaderone’s video using WireGuard i completed the setup and when I remotely connected to a computer off my network and tried to access my network it gave me a direct connection to my homes router ip

     

    which was super weird maybe im mixing two tutorials either way with WireGuard im able to type in the ip for my unraid server as if I was there and add it to my work network shares. 
     

    Going on vacation soon and wanted to be able to deposit photos/videos so I don’t have to take a bunch of hard drives lol!

     

    Thanks for reading and helping on this journey!

     

     

     

    Hello all,

     

    I've tried many many ways to try to remotely connect to my unraid server.

     

    I've followed spaceinvaderones video's and i say video's because i've literally tried them all. 

    OPENVPN

    GUACAMOLE

     

     

    I want to securely access my shares and files from say work, or on vacation to my home unraid server.

     

    Is there a simpler way to connect to unraid outside of my home network say from my mac laptop easily? 

     

    Maybe im just missing something not sure.

     

    The guacamole one i just tried i cannot ssh into the server at all its really wierd. I can access a windows vm on my unraid server via guacamole but cannot access the ssh server.

     

    Any help is appreciated.

  7. My unraid server doesnt have network connection. Wierd thing is my Windows VM uses the same network connection and does have internet. What am i missing?

     

    I've tried the dns server 8.8.8.8 and dns 2 8.8.4.4 

    I've removed the tips and tweaks application

    i removed community applications cannot reinstall now 

     

     

    has someone else had this issue and fixed it?

     

    I did a google search a few times and read quite a few threads followed along to no fix.

     

    Any help is appreaciated. 

     

    i'm not super familiar with unraid and console stuff but if you need screen shots to help let me know

     

     

    Attached is the server diagnostics

    backupserver-diagnostics-20210413-2050.zip

  8. Edit: I see my nvme called Sandisk extreme is in the same sata controller as 4 other drives in the unraid array. Also with vfio pci config i cannot seperate it out away from unraid. Am i using the wrong Nvme slot?

    Hello,

     

    My unraid windows 10vm has worked fine for a long time I have very little added to vfio and wondering if there’s something I can do to fix it.

     

    This is my current vfio config

     

    [url=https://pastebin.com/kcDxMqPW]https://pastebin.com/kcDxMqPW[/url]

     

    I was trying to get thunderbolt to work but took that back out and back to a default setting.

     

    I’m passing through my nvme as an unassigned Device also using a 2060 super as a pass through is my config ok?

     

    What can I change?

     

    When I start the vm windows mouse moves normal for a short time then it slows to unusable really quickly sometimes it works for a bit other times it’s like right as I login.

     

     

    Sent from my iPhone using Tapatalk Pro

  9. Hello,

     

    My unraid windows 10vm has worked fine for a long time I have very little added to vfio and wondering if there’s something I can do to fix it.

     

    This is my current vfio config

     

    https://pastebin.com/kcDxMqPW

     

    I was trying to get thunderbolt to work but took that back out and back to a default setting.

     

    I’m passing through my nvme as an unassigned Device also using a 2060 super as a pass through is my config ok?

     

    What can I change?

     

    When I start the vm windows mouse moves normal for a short time then it slows to unusable really quickly sometimes it works for a bit other times it’s like right as I login.

     

     

    Sent from my iPhone using Tapatalk Pro

  10. I did some searching and couldnt seem to find a solid answer maybe I'm using the wrong terminology or wrong wording sometimes I get stuck in my ways of search and need some help.

     

    I have a Unraid server which i transferred a ton of files on to to free up my portable drives. Well in the millions of files. I tried using a program to sort them which this program failed so of course i didnt delete either files and am now sorting through millions of files to delete duplicates.

     

    My problem is sorting through these files via a gigabit ethernet connection to either my wireless macbook or my wired desktop seems to be an OK way but not the most efficient the loading times to the files seem to be a bit atrocious. 

     

    Is there a way to directly connect to the storage server say with a USB of some kind or another way to add direct connection from the VM running on the unraid server to my server files with less latency and bigger throughput?

     

    I have 10gb ethernet card being used by unraid unsure if i could get this 10gb and split the ports and set one to the vm and one to the unraid? I guess that would give me much bigger throughput. 

     

    The process of sorting files is daunting enough much less needing to wait to delete or wait to move files just trying to streamline this task a bit. Any help would be amazing.

     

    Thank you

  11. On 11/22/2020 at 3:26 AM, mrbilky said:

    Have you looked into WireGuard that works great and easy to setup

    Well this if fabulous kind of what i was looking for. Although this is a direct tunnel meaning i cannot do anything else but get directly to my server. Maybe i was unclear in my description but i want access to the files on my unraid server similar to mapping a drive to my computer but be able to do it remotely. How can one do that?

  12. Hey all,

     

    I have unifi and maybe i'm just not using the right search terms but im interested in being able to access my home server when i am not at my home so say for instance while at work to access some files. I could setup next cloud but directly adding a folder to my computer would be much more helpful.

     

    Is there a guide that works with UNIFI and UNRAID remotely connecting?

     

    Where is this guide?

  13. As per the videos by unraid I followed them to the t! I am having a weird issue. I got windows to boot up and it worked perfectly for like 4 days. I even used it as a streaming pc for my gaming pc. Worked flawlessly amazing stuff.

     

    Today I went to use it and it got stuck. No big deal I force stopped the VM. Restarted it it got to the windows turning dial turned a bit then stops amd the screen starts going off and on. 
     

     

    hardware is a gigabyte designaire z390 mobo with i5 9600k 32 Gb ram and a rx570 video card

     

    added in a sas card for extra hard drives also a usb 3.0 controller that I actually pushed unraid to boot from so I could use onboard usb of the mobo. Also a 10gb Ethernet card. 

     

    i have the video card, sound for video card and the usb controller all passing through to the vm.

     

    i tried the q35 that worked at first but changing it does nothing now

    i tried seabios vs ovmf

    i reduced the ram

    and the cores of the cpu 

    I disconnected everything and tried barebones usb devices and such.

     

     

    my problems now are it is in a stuck boot mode. It begins to boot then gets hung up at the loading screen. I’ve gotten it to boot under vnc but why is this video card such a big deAl? 
     

    am I missing something simple is there something I missed. Any help would be appreciated!

     

    photo is current vm settings. 
     

     

     

    74C77C92-E73E-4E8B-92E6-625868F708C0.png

  14. 7 hours ago, rachid596 said:

    Try to enable pci acs patch. Your iommu is not great

    Envoyé de mon HD1913 en utilisant Tapatalk

     

    I got it to boot after resetting unraid again. I first got it to boot with the video card working. then it stopped working and wont finish booting from the video card. If i use the onboard graphics it works if i use vnc it works but not the rx580


     

     

  15. -smp 1,sockets=1,cores=1,threads=1 \
    -uuid 911857f3-f381-08cd-c6f5-a9fd5f549abd \
    -display none \
    -no-user-config \
    -nodefaults \
    -chardev socket,id=charmonitor,fd=33,server,nowait \
    -mon chardev=charmonitor,id=monitor,mode=control \
    -rtc base=localtime \
    -no-hpet \
    -no-shutdown \
    -boot strict=on \
    -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x7.0x7 \
    -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x7 \
    -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x7.0x1 \
    -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x7.0x2 \
    -device ahci,id=sata0,bus=pci.0,addr=0x3 \
    -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 \
    -blockdev '{"driver":"file","filename":"/mnt/user/isos/Windows.iso","node-name":"libvirt-3-storage","auto-read-only":true,"discard":"unmap"}' \
    -blockdev '{"node-name":"libvirt-3-format","read-only":true,"driver":"raw","file":"libvirt-3-storage"}' \
    -device ide-cd,bus=sata0.0,drive=libvirt-3-format,id=sata0-0-0,bootindex=2 \
    -blockdev '{"driver":"file","filename":"/mnt/user/isos/virtio-win-0.1.173-2.iso","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}' \
    -blockdev '{"node-name":"libvirt-2-format","read-only":true,"driver":"raw","file":"libvirt-2-storage"}' \
    -device ide-cd,bus=sata0.1,drive=libvirt-2-format,id=sata0-0-1 \
    -blockdev '{"driver":"file","filename":"/mnt/disks/SanDisk_SSD_PLUS_240GB_193412801927/Windows 10/vdisk1.img","node-name":"libvirt-1-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
    -blockdev '{"node-name":"libvirt-1-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-1-storage"}' \
    -device ide-hd,bus=sata0.2,drive=libvirt-1-format,id=sata0-0-2,bootindex=1,write-cache=on \
    -netdev tap,fd=35,id=hostnet0,vhost=on,vhostfd=36 \
    -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:5b:da:39,bus=pci.0,addr=0x2 \
    -chardev pty,id=charserial0 \
    -device isa-serial,chardev=charserial0,id=serial0 \
    -chardev socket,id=charchannel0,fd=37,server,nowait \
    -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \
    -device usb-tablet,id=input0,bus=usb.0,port=2 \
    -device vfio-pci,host=0000:02:00.0,id=hostdev0,bus=pci.0,addr=0x5 \
    -device usb-host,hostbus=1,hostaddr=4,id=hostdev1,bus=usb.0,port=1 \
    -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
    -msg timestamp=on
    2020-07-20 07:08:01.991+0000: Domain id=1 is tainted: high-privileges
    2020-07-20 07:08:01.991+0000: Domain id=1 is tainted: host-cpu
    char device redirected to /dev/pts/0 (label charserial0)

  16. Hello,

     

    Been unraiding for a couple years now. Recently decided i wanted to use this unraid server as a second windows machine. After following the wiki page to install i got the windows vm installed but i cant seem to run it. This is the error message i get when i start the VM

     

    Execution error

    internal error: qemu unexpectedly closed the monitor: 2020-07-19T20:42:49.502359Z qemu-system-x86_64: -device vfio-pci,host=0000:00:1f.3,id=hostdev1,bus=pci.0,addr=0x6: vfio 0000:00:1f.3: group 13 is not viable Please ensure all devices within the iommu_group are bound to their vfio bus driver.

     

     

    Here is my LOG

    ErrorWarningSystemArrayLogin


    -smp 4,sockets=1,cores=4,threads=1 \
    -uuid 2cc054ae-d2da-8075-b6fa-18046a049ad9 \
    -display none \
    -no-user-config \
    -nodefaults \
    -chardev socket,id=charmonitor,fd=33,server,nowait \
    -mon chardev=charmonitor,id=monitor,mode=control \
    -rtc base=localtime \
    -no-hpet \
    -no-shutdown \
    -boot strict=on \
    -device nec-usb-xhci,p2=15,p3=15,id=usb,bus=pci.0,addr=0x7 \
    -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x3 \
    -blockdev '{"driver":"file","filename":"/mnt/disks/SanDisk_SSD_PLUS_240GB_193412801927/Windows 10/vdisk1.img","node-name":"libvirt-3-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
    -blockdev '{"node-name":"libvirt-3-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-3-storage"}' \
    -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=libvirt-3-format,id=virtio-disk2,bootindex=1,write-cache=on \
    -blockdev '{"driver":"file","filename":"/mnt/user/isos/virtio-win-0.1.173-2.iso","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}' \
    -blockdev '{"node-name":"libvirt-2-format","read-only":true,"driver":"raw","file":"libvirt-2-storage"}' \
    -device ide-cd,bus=ide.0,unit=0,drive=libvirt-2-format,id=ide0-0-0,bootindex=2 \
    -blockdev '{"driver":"file","filename":"/mnt/user/isos/virtio-win-0.1.173-2.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \
    -blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \
    -device ide-cd,bus=ide.0,unit=1,drive=libvirt-1-format,id=ide0-0-1 \
    -netdev tap,fd=35,id=hostnet0,vhost=on,vhostfd=36 \
    -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:0c:19:3e,bus=pci.0,addr=0x2 \
    -chardev pty,id=charserial0 \
    -device isa-serial,chardev=charserial0,id=serial0 \
    -chardev socket,id=charchannel0,fd=37,server,nowait \
    -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \
    -device vfio-pci,host=0000:02:00.0,id=hostdev0,bus=pci.0,addr=0x5 \
    -device vfio-pci,host=0000:00:1f.3,id=hostdev1,bus=pci.0,addr=0x6 \
    -device usb-host,hostbus=1,hostaddr=4,id=hostdev2,bus=usb.0,port=1 \
    -device usb-host,hostbus=1,hostaddr=5,id=hostdev3,bus=usb.0,port=2 \
    -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
    -msg timestamp=on
    2020-07-19 20:42:48.394+0000: Domain id=2 is tainted: high-privileges
    2020-07-19 20:42:48.394+0000: Domain id=2 is tainted: host-cpu
    char device redirected to /dev/pts/0 (label charserial0)
    2020-07-19T20:42:49.502359Z qemu-system-x86_64: -device vfio-pci,host=0000:00:1f.3,id=hostdev1,bus=pci.0,addr=0x6: vfio 0000:00:1f.3: group 13 is not viable
    Please ensure all devices within the iommu_group are bound to their vfio bus driver.
    2020-07-19 20:42:49.532+0000: shutting down, reason=failed

     

    SysLinux.config

    default menu.c32
    menu title Lime Technology, Inc.
    prompt 0
    timeout 50
    label Unraid OS
      menu default
      kernel /bzimage
      append pcie_acs_override=downstream 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 initrd=/bzroot unraidsafemode
    label Unraid OS GUI Safe Mode (no plugins)
      kernel /bzimage
      append initrd=/bzroot,/bzroot-gui unraidsafemode
    label Memtest86+
      kernel /memtest

     

     

    Any help would be appreciated!

  17. Here is the error I got after installing the VM and trying to run it.

     

    internal error: qemu unexpectedly closed the monitor: 2020-03-17T06:04:21.062715Z qemu-system-x86_64: -device vfio-pci,host=0000:02:00.1,id=hostdev0,bus=pci.1,addr=0x0: vfio 0000:02:00.1: failed to setup container for group 18: Failed to set iommu for container: Operation not permitted

     

    Here is my vm advanced view.

    <?xml version='1.0' encoding='UTF-8'?>
    <domain type='kvm'>
      <name>PFSense</name>
      <uuid>e24c543d-ea5b-b33c-ea97-0d633f0efc48</uuid>
      <metadata>
        <vmtemplate xmlns="unraid" name="FreeBSD" icon="default.png" os="freebsd"/>
      </metadata>
      <memory unit='KiB'>3145728</memory>
      <currentMemory unit='KiB'>3145728</currentMemory>
      <memoryBacking>
        <nosharepages/>
      </memoryBacking>
      <vcpu placement='static'>4</vcpu>
      <cputune>
        <vcpupin vcpu='0' cpuset='9'/>
        <vcpupin vcpu='1' cpuset='21'/>
        <vcpupin vcpu='2' cpuset='11'/>
        <vcpupin vcpu='3' cpuset='23'/>
      </cputune>
      <os>
        <type arch='x86_64' machine='pc-q35-4.2'>hvm</type>
        <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
        <nvram>/etc/libvirt/qemu/nvram/e24c543d-ea5b-b33c-ea97-0d633f0efc48_VARS-pure-efi.fd</nvram>
      </os>
      <features>
        <acpi/>
        <apic/>
      </features>
      <cpu mode='host-passthrough' check='none'>
        <topology sockets='1' cores='2' threads='2'/>
        <cache mode='passthrough'/>
      </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='cdrom'>
          <driver name='qemu' type='raw'/>
          <source file='/mnt/user/isos/pfSense-CE-2.4.4-RELEASE-p3-amd64.iso'/>
          <target dev='hda' bus='sata'/>
          <readonly/>
          <boot order='2'/>
          <address type='drive' controller='0' bus='0' target='0' unit='0'/>
        </disk>
        <disk type='file' device='disk'>
          <driver name='qemu' type='qcow2' cache='writeback'/>
          <source file='/mnt/user/domains/PFSense/vdisk1.img'/>
          <target dev='hdc' bus='sata'/>
          <boot order='1'/>
          <address type='drive' controller='0' bus='0' target='0' unit='2'/>
        </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' multifunction='on'/>
        </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='pci' index='3' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='3' port='0x12'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
        </controller>
        <controller type='pci' index='4' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='4' port='0x13'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
        </controller>
        <controller type='pci' index='5' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='5' port='0x14'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
        </controller>
        <controller type='pci' index='6' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='6' port='0x15'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
        </controller>
        <controller type='pci' index='7' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='7' port='0x16'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
        </controller>
        <controller type='virtio-serial' index='0'>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
        </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='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='1' port='0x10'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
        </controller>
        <controller type='pci' index='2' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='2' port='0x11'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
        </controller>
        <serial type='pty'>
          <target type='isa-serial' port='0'>
            <model name='isa-serial'/>
          </target>
        </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='0x01' slot='0x00' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x02' slot='0x00' function='0x1'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
        </hostdev>
        <memballoon model='none'/>
      </devices>
    </domain>

     

    I followed Space invader's tutorial on pfSense and am at the point in his video 11:50 installing of pfSense but got an error as I started it.

  18. 2 hours ago, Cor4eyh said:

    I am using a dell r710 server with unraid installed i recently decided to upgrade my routing capabilites and was drawn towards using PFSense. I was following along on the video from SpaceInvaderOne's youtube. Following step by step. The r710 has 1 four port ethernet built in. I added a mellanox 10gb dual nic and a asus 10gb nic.

     

    The general idea here is to use the dell's onboard nic as my router and the other 2 nics to go to both my mac and my windows computer.

     

    As i was following along in the video i got to point of adding the vfio-pci ids exempting the onboard nic to be the nic used for PFSense and after i rebooted i am no longer recieving an ip address. 

     

    I cannot access web gui and have lost access from my other machines directly to the 10gb connections.

     

    Preface to this i had setup the other two nics to be used alone and wasnt really using the other 4 port onboard nic. 

     

    I cannot seem to find the config file to edit out this option and cannot access a gui from my directly connected monitor nor can i access the server from the local network of anykind.

     

    Any help would be appreciated

     

    It does boot up and shows me an ip address of 169.145.45.100 which my network is 192.168.86.xx 

     

    i will go do a diagnostics and put the log into this thread

     

    EDIT:

     

    Upon booting it up with a monitor attached it gave me an ip address so i used it to login directly from a laptop which worked since i couldnt get to the GUI. Got to the gui and set a static IP address for my network. Now im going to try this PFSense again!

    Has anyone else done an unraid server with PFSense on a dell r710? Am i missing something from the installation one Space Invader's video because i cant seem to get PFSense to install.

  19. I am using a dell r710 server with unraid installed i recently decided to upgrade my routing capabilites and was drawn towards using PFSense. I was following along on the video from SpaceInvaderOne's youtube. Following step by step. The r710 has 1 four port ethernet built in. I added a mellanox 10gb dual nic and a asus 10gb nic.

     

    The general idea here is to use the dell's onboard nic as my router and the other 2 nics to go to both my mac and my windows computer.

     

    As i was following along in the video i got to point of adding the vfio-pci ids exempting the onboard nic to be the nic used for PFSense and after i rebooted i am no longer recieving an ip address. 

     

    I cannot access web gui and have lost access from my other machines directly to the 10gb connections.

     

    Preface to this i had setup the other two nics to be used alone and wasnt really using the other 4 port onboard nic. 

     

    I cannot seem to find the config file to edit out this option and cannot access a gui from my directly connected monitor nor can i access the server from the local network of anykind.

     

    Any help would be appreciated

     

    It does boot up and shows me an ip address of 169.145.45.100 which my network is 192.168.86.xx 

     

    i will go do a diagnostics and put the log into this thread

     

    EDIT:

     

    Upon booting it up with a monitor attached it gave me an ip address so i used it to login directly from a laptop which worked since i couldnt get to the GUI. Got to the gui and set a static IP address for my network. Now im going to try this PFSense again!

×
×
  • Create New...