June 3, 201412 yr Has anyone had any luck with pci passthrough with this setup? when i try to attach, i get: root@Tower:~# xl pci-attach windows 06:00.0 libxl: error: libxl_pci.c:1045:libxl__device_pci_add: PCI device 0000:06:00.0 cannot be assigned - no IOMMU? Although I have iommu set to 128mb and SVM enabled for each cpu on the bios. dmesg does not show anything concerning iommu. this is my append line in syslinux.cfg: append /xen xsave=1 cpufreq=xen:performance dom0_max_vcpus=2 dom0_vcpus_pin iommu=1 --- /bzimage console=tty0 --- /bzroot also, thought this may be a problem as well: root@Tower:~# grep -i agp /var/log/syslog Jun 2 19:45:23 Tower kernel: No AGP bridge found any ideas? really just trying to passthrough usb3 controller, but will want a video card eventually too.
June 3, 201412 yr forget it, this MB simply does not support IOMMU. I have been fighting it for almost a year and have given it up already. I am parting out my server as we speak, and will be putting MB and CPUs for sale. as a plain unraid NAS system it works well, using it for unraid as host with no passing through anything, might work well too (haven't tried it my self can not say any bad or good) but if you plan to run windows guest on it there might be some issues. but doing a pass-through is simply not supported. I had give up will be replacing the MB/CPU with Asrock Extream3 rev 2 and FX8320 8 core. will see what end result will be.
June 3, 201412 yr Author heh thanks I've seen your posts before, you are using the TAMS 24 bay server correct? Is the new mobo/cpu you're planning on using going to fit directly into that case? Ram transferable too? the sata adapters will also fit?
June 3, 201412 yr MB fits, it is smaller than original so you need only 8 posts. RAM id DDR3 so no can not reuse the RAM. will be selling the MB CPU and RAM the new MB have 2 PCI slots and since the PCI-X works in older PCI I can transfer 2 cards so will be selling one as well. over all I am loosing 4 cores as I have 2x6 core opterons now (12 core total) and new CPU is 8 core. will be loosing a lot of ram as I have 48 GB now but only got 16GB for new MB and for now will only have 19HD 16 on sas cards + 4 on MB. will reserve 1 for XenServer install. if I need it later I will get a PCIe card to add more drives. and maybe add more RAM too. also if you read my profile I have mod the case to use regular ATX PSU and new 120mm fans instead of the fan wall. so have space to spare. :-)
June 3, 201412 yr No luck on PCI (I agree doesn't seem possible given the MB). However, I have been able to pass through USB ports (not sure if USB 3.0 would work though since I think Unraid has to recognize the card to be able to hand off the USB device). For USB passthrough, just add this to your VM config, with the host for your USB device, the host can be found by lsusb, and is tied to a device, not a specific port: #Use these 2 for usb passthrough usb = '0' usbdevice=[ 'host:10bf:0002']
June 4, 201412 yr I think the only SuperMicro Socket 1207 (socket F) boards that will work for passthrough are the ones with the AMD SR5690 + SP5100 Chipset. http://www.supermicro.com/Aplus/motherboard/Opteron2000/ The ones in the "SR56x0/SP5100 BOARDS" *should* work. The H8DIi+-F , H8DIi+, H8DI3+-F, H8DI3+, H8DAi+-F, H8DAi+, H8DA6+-F, and H8DA6+ are the only models that I am aware of with that chipset from SuperMicro Also the TYAN S8212 based boards should work too as they use the AMD SR5690 + SP5100 chipset. Models: S8212GM3NR S8212WGM3NR
June 4, 201412 yr Author No luck on PCI (I agree doesn't seem possible given the MB). However, I have been able to pass through USB ports (not sure if USB 3.0 would work though since I think Unraid has to recognize the card to be able to hand off the USB device). For USB passthrough, just add this to your VM config, with the host for your USB device, the host can be found by lsusb, and is tied to a device, not a specific port: #Use these 2 for usb passthrough usb = '0' usbdevice=[ 'host:10bf:0002'] unraid definitely recognizes my usb3.0 card, and any usb drive that i insert. Think i've tried this already, but will try again tonight and report back Did you do the usb passthrough to windows or a linux vm? Any special drivers needed for windows?
June 4, 201412 yr I did the passthrough to a Windows VM (XP in my case), and there weren't any special drivers required in Windows. The one "gotcha" that I had that seems counter intuitive as to set usb='0' instead of usb='1'. If you don't have that, it won't pass anything through.
June 4, 201412 yr Author hmm, so i just tried this and no cigar. Is there anyway to check that the pass through is "active"? I mean having it recognized by windows is one problem, but how do i know that xen is actually attempting to pass the usb device through? maybe you can look over my config file: name = 'windows' builder = 'hvm' vcpus = '2' memory = '4096' device_model_version="qemu-xen-traditional" disk = [ 'phy:/mnt/cache/cache_only/VM/Windows/windows.img,hda,w', # 'phy:/dev/cache/secondexample/example.img,hdb,w', # 'file:/mnt/user/Apps/Microsoft.Windows.Sever.2012/en_server_install_disc_windows_server_2012_essentials_x64_dvd_1022281.iso,hdc:cdrom,r' ] vif = [ 'mac=00:16:3e:03:03:03,bridge=br0,model=e1000' ] #on_poweroff = 'destroy' #on_reboot = 'restart' #on_crash = 'restart' acpi = '1' apic = '1' xen_platform_pci='1' sdl = '0' stdvga = '0' viridian = '1' boot = 'dc' usb = '0' #usbdevice = 'tablet' #usb passthrough usbdevice = ['host:125f:db8a'] #vnc vnc = '1' vnclisten = '0.0.0.0' vncpasswd = '' also, you were successful with this on a h8dme-2?
June 5, 201412 yr The nVidia MCP55 Pro chipset which your board uses does *not* support PCI passthrough. If you read my post above you can see which Socket F/Socket 1207 boards *do* support passthrough.
June 5, 201412 yr Author thanks kwiksilver, i was under the assumption that usb passthrough and pci passthrough had different requirements, guess not
June 5, 201412 yr thanks kwiksilver, i was under the assumption that usb passthrough and pci passthrough had different requirements, guess not they do, with usb as shown, you passing trough the device not the controller, it might not work for running unraid as DomU with a license. as it sometimes not expose the device UID . that means you can see the usb device in DomU and even use it but if your license depends on being able to read the device UID it will fail. on the MB in question H8DME-2 IOMMU is not working thus PCI passthrough is not working. you can pass through the usb device but I am not sure if it is a full pass through or virtual one.
June 5, 201412 yr hmm, so i just tried this and no cigar. Is there anyway to check that the pass through is "active"? I mean having it recognized by windows is one problem, but how do i know that xen is actually attempting to pass the usb device through? maybe you can look over my config file: name = 'windows' builder = 'hvm' vcpus = '2' memory = '4096' device_model_version="qemu-xen-traditional" disk = [ 'phy:/mnt/cache/cache_only/VM/Windows/windows.img,hda,w', # 'phy:/dev/cache/secondexample/example.img,hdb,w', # 'file:/mnt/user/Apps/Microsoft.Windows.Sever.2012/en_server_install_disc_windows_server_2012_essentials_x64_dvd_1022281.iso,hdc:cdrom,r' ] vif = [ 'mac=00:16:3e:03:03:03,bridge=br0,model=e1000' ] #on_poweroff = 'destroy' #on_reboot = 'restart' #on_crash = 'restart' acpi = '1' apic = '1' xen_platform_pci='1' sdl = '0' stdvga = '0' viridian = '1' boot = 'dc' usb = '0' #usbdevice = 'tablet' #usb passthrough usbdevice = ['host:125f:db8a'] #vnc vnc = '1' vnclisten = '0.0.0.0' vncpasswd = '' also, you were successful with this on a h8dme-2? I was successful on the H8dme-2 board with passing through a USB device. When I initially tested, I tried passing through my UPS, and as soon as you pass the device through it is no longer available to unraid, and shows up in the guest VM. Here are the differences between your config and mine that works: you have device_model_version as quemu-xen-traditional, which I don't have - This would be my most likely reason why mine works and yours doesn't you have the onpweroff, on rebbot and on crash lines commented I don't think this matters you have stdvga = 0, and I have stdvga = 1 - I don't think this matters.
June 12, 201412 yr Author Ok, so i think the usb passthrough is "working". While i am able to passthrough some usb devices, i cant seem to get a usb storage drive to work. In windows, i do see a "usb mass storage device, yet it doesnt seem to find a driver for it and is never able to start. Have you successfully plugged in a usb harddrive/pendrive and been able to see it in the windows host?
June 12, 201412 yr Just out of curiosity, what setting got it working for you? I just tried adding a flash drive, and Windows sees it in devices, and it is listed as working correctly, a drive letter is assigned correctly. To get it to work I had to turn off the VM, update the config file with the info for the new USB device, and then boot the VM. I don't know if you can remove the device while the VM is running or not.
Archived
This topic is now archived and is closed to further replies.