ashman70 Posted January 12, 2016 Share Posted January 12, 2016 I am soon going to be attempting an OSX VM using a Gigabyte motherboard that has Thunderbolt, do you think I might be able to pass that through to the OSX VM? Quote Link to comment
archedraft Posted January 12, 2016 Author Share Posted January 12, 2016 I am soon going to be attempting an OSX VM using a Gigabyte motherboard that has Thunderbolt, do you think I might be able to pass that through to the OSX VM? No idea what a thunderbolt is? Quote Link to comment
ashman70 Posted January 12, 2016 Share Posted January 12, 2016 So thunderbolt was created by Intel and initially only available on Mac's its sort of the next step beyond USB. The initial thunderbolt release was capable of 10GB/s of transfer and it can support monitors as well, you can daisy chain peripherals although only storage devices, not storage devices with monitors. Since its initial release there has been a second one, thunderbolt 2 if you will, which has essentially doubled the transfer speed to 20GB/s. It is no longer exclusive to Macs and is available as an add on card for some motherboards and some come with it built in. I believe its supported by Windows 10 but not 100% sure. Quote Link to comment
archedraft Posted January 12, 2016 Author Share Posted January 12, 2016 Huh that's pretty cool. I would suspect you should be able to pass it though. Report back with your results, in sure others will be interested in this. Quote Link to comment
Inenting Posted January 12, 2016 Share Posted January 12, 2016 I'm also getting stuck at [iOBluetoothFamily][start] -- completed I tried stuff like: -x dart=0 nv_disable=1 but nothing seems to work I also can't delete the graphic kexts from the iso (it keeps saying no space when trying from single mode) I also tried pc-q35-2.2, that didn't work either. Also I can't figure out how to extract the OSK key so I used one from the internet but I think it would be better if I got it from my macbook instead (mid 2012, will that work?) or I can use the iMac from work. Also am I supposed to get the osk1 or osk0 key? I did manage to dual boot this pc with windows and mac os yosemite a few months ago and I got everything to work so it should work in a vm aswell right? Quote Link to comment
gswarriorfan Posted January 13, 2016 Share Posted January 13, 2016 Can someone help me out getting the OSK key? I am running the smc_read in terminal, and its giving me a message about not stealing. I think it's because I updated my wife's Macbook Air to El Capitan last night. Quote Link to comment
archedraft Posted January 13, 2016 Author Share Posted January 13, 2016 Can someone help me out getting the OSK key? I am running the smc_read in terminal, and its giving me a message about not stealing. I think it's because I updated my wife's Macbook Air to El Capitan last night. No and please refrain from asking in this forum. Quote Link to comment
boyin Posted January 14, 2016 Share Posted January 14, 2016 Big thanks to archedraft for the guide, I was able to get el capitan running with gpu 1 but I am running into problems trying to get it to start with gpu2 if anyone can give me so insight, it would be greatly appreciated Eventually I'd like to have both windows VM and this running at the same time, but I notice the group the second gpu is in (group8) has a few other essential devices, is this going to be a problem? some info: i7 4770 MSI z97 pc mate r9 280x ati hd5670 (not certain if this works in OSX, but the vm itself won't start) This is the error I'm getting: internal error: process exited while connecting to monitor: 2016-01-14T19:11:50.964206Z qemu-system-x86_64: -device vfio-pci,host=02:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on: vfio: error, group 8 is not viable, please ensure all devices within the iommu_group are bound to their vfio bus driver. This is what I'm using and works with the 280x, the second gpu is at 02:00.0, so I 'm replacing 01:00.0 with 02:00.0 etc <qemu:arg value='vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=01:00.1,bus=root.1,addr=00.2'/> This is a list of my devices: 00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06) 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06) 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06) 00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06) 00:14.0 USB controller: Intel Corporation 9 Series Chipset Family USB xHCI Controller 00:16.0 Communication controller: Intel Corporation 9 Series Chipset Family ME Interface #1 00:1a.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2 00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller 00:1c.0 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 (rev d0) 00:1c.5 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 6 (rev d0) 00:1c.6 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d0) 00:1c.7 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 8 (rev d0) 00:1d.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1 00:1f.0 ISA bridge: Intel Corporation 9 Series Chipset Family Z97 LPC Controller 00:1f.2 SATA controller: Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode] 00:1f.3 SMBus: Intel Corporation 9 Series Chipset Family SMBus Controller 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X] 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT HDMI Audio [Radeon HD 7970 Series] 02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Juniper PRO [Radeon HD 5750] 02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Juniper HDMI Audio [Radeon HD 5700 Series] 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c) 04:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 03) 06:00.0 USB controller: VIA Technologies, Inc. VL80x xHCI USB 3.0 Controller (rev 02) /sys/kernel/iommu_groups/0/devices/0000:00:00.0 /sys/kernel/iommu_groups/1/devices/0000:00:01.0 /sys/kernel/iommu_groups/1/devices/0000:01:00.0 /sys/kernel/iommu_groups/1/devices/0000:01:00.1 /sys/kernel/iommu_groups/2/devices/0000:00:02.0 /sys/kernel/iommu_groups/3/devices/0000:00:03.0 /sys/kernel/iommu_groups/4/devices/0000:00:14.0 /sys/kernel/iommu_groups/5/devices/0000:00:16.0 /sys/kernel/iommu_groups/6/devices/0000:00:1a.0 /sys/kernel/iommu_groups/7/devices/0000:00:1b.0 /sys/kernel/iommu_groups/8/devices/0000:00:1c.0 /sys/kernel/iommu_groups/8/devices/0000:00:1c.5 /sys/kernel/iommu_groups/8/devices/0000:00:1c.6 /sys/kernel/iommu_groups/8/devices/0000:00:1c.7 /sys/kernel/iommu_groups/8/devices/0000:02:00.0 /sys/kernel/iommu_groups/8/devices/0000:02:00.1 /sys/kernel/iommu_groups/8/devices/0000:03:00.0 /sys/kernel/iommu_groups/8/devices/0000:04:00.0 /sys/kernel/iommu_groups/8/devices/0000:06:00.0 /sys/kernel/iommu_groups/9/devices/0000:00:1d.0 /sys/kernel/iommu_groups/10/devices/0000:00:1f.0 /sys/kernel/iommu_groups/10/devices/0000:00:1f.2 /sys/kernel/iommu_groups/10/devices/0000:00:1f.3 Quote Link to comment
archedraft Posted January 14, 2016 Author Share Posted January 14, 2016 Looks like your group 8 has a whole bunch of stuff on it. You can try turning on PCIe ACS Override in your KVM settings. Hopefully that will split apart group 8. Just make sure that group 8 doesn't contain any SATA controllers. Quote Link to comment
GreenEyedMonster Posted January 15, 2016 Share Posted January 15, 2016 I'm also getting stuck at [iOBluetoothFamily][start] -- completed I tried stuff like: -x dart=0 nv_disable=1 but nothing seems to work I also can't delete the graphic kexts from the iso (it keeps saying no space when trying from single mode) I also tried pc-q35-2.2, that didn't work either. Also I can't figure out how to extract the OSK key so I used one from the internet but I think it would be better if I got it from my macbook instead (mid 2012, will that work?) or I can use the iMac from work. Also am I supposed to get the osk1 or osk0 key? I did manage to dual boot this pc with windows and mac os yosemite a few months ago and I got everything to work so it should work in a vm aswell right? Same for me. No idea at this point on what to do. Quote Link to comment
ashman70 Posted January 15, 2016 Share Posted January 15, 2016 I am on step 20 of Archedraft's guide and I am getting the following error when I try to start the VM after editing the XML. Here is the XML for my OSX VM. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> <name>OSX-El-Capitan-10.11-VNC</name> <uuid>0ba39646-7ba1-4d41-9602-e2968b2fe36d</uuid> <metadata> <type>None</type> </metadata> <memory unit='KiB'>4194304</memory> <currentMemory unit='KiB'>4194304</currentMemory> <vcpu placement='static'>2</vcpu> <cputune> <vcpupin vcpu='0' cpuset='1'/> <vcpupin vcpu='1' cpuset='2'/> </cputune> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='pc-q35-2.3'>hvm</type> <kernel>/mnt/virtualization/enoch_rev2795_boot</kernel> <boot dev='hd'/> <bootmenu enable='yes'/> </os> <features> <acpi/> </features> <cpu mode='custom' match='exact'> <model fallback='allow'>core2duo</model> </cpu> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw'/> <source file='/mnt/virtualization/ElCapitan.img'/> <target dev='hda' bus='sata'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <controller type='usb' index='0'> <address type='pci' domain='0x0000' bus='0x02' slot='0x01' 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='dmi-to-pci-bridge'> <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/> </controller> <controller type='pci' index='2' model='pci-bridge'> <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:00:20:30'/> <source bridge='br0'/> <model type='e1000-82545em'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/> </interface> <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='vmvga' vram='16384' heads='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> </video> <memballoon model='none'/> </devices> <seclabel type='none' model='none'/> <qemu:commandline> <qemu:arg value='-device'/> <qemu:arg value='usb-kbd'/> <qemu:arg value='-device'/> <qemu:arg value='usb-mouse'/> <qemu:arg value='-device'/> <qemu:arg value='isa-applesmc,osk=xxxxxxxxxxxxxxxxxxxx'/> <qemu:arg value='-smbios'/> <qemu:arg value='type=2'/> <qemu:arg value='-device'/> </qemu:commandline> </domain> Quote Link to comment
archedraft Posted January 15, 2016 Author Share Posted January 15, 2016 Just thought I would chime in and say that I haven't had any time to mess with El Capitan recently. Honestly I am still running a Yoesmite VM so I am not sure if the 10.11.2 update broke anything or not. I do plan on revisiting this once unRAID 6.2 is released. I want to try my luck with OS X and OVMF. In summary, until 6.2 comes out and I have time to revisit this I can't really say if this guide is working anymore. Quote Link to comment
CHBMB Posted January 15, 2016 Share Posted January 15, 2016 Just thought I would chime in and say that I haven't had any time to mess with El Capitan recently. Honestly I am still running a Yoesmite VM so I am not sure if the 10.11.2 update broke anything or not. I do plan on revisiting this once unRAID 6.2 is released. I want to try my luck with OS X and OVMF. In summary, until 6.2 comes out and I have time to revisit this I can't really say if this guide is working anymore. It's working, I borked my machine the other day and started from scratch.... Quote Link to comment
CHBMB Posted January 15, 2016 Share Posted January 15, 2016 Ash, looks a generic message to me. Can you make any other VMs? Quote Link to comment
ashman70 Posted January 15, 2016 Share Posted January 15, 2016 I guess, I don't know, this is my first, what do you want me to try? Quote Link to comment
ashman70 Posted January 15, 2016 Share Posted January 15, 2016 I added the XML back and was able to start the VM, however when I follow step #20 and remove the XML lines I get the same error when trying to start the VM? Any ideas? CHBMB can you check your XML against mine? Thanks AM Quote Link to comment
CHBMB Posted January 15, 2016 Share Posted January 15, 2016 Ash, you're missing these bits at the end... <qemu:arg value='-smbios'/> <qemu:arg value='type=2'/> <qemu:arg value='-device'/> <qemu:arg value='ide-drive,bus=ide.1,drive=MacDVD'/> <qemu:arg value='-drive'/> <qemu:arg value='id=MacDVD,if=none,snapshot=on,file=/mnt/cache/vm_images/Install_OS_X_10.11_El_Capitan.iso'/> </qemu:commandline> </domain> Now no more help until you learn how to wrap the code on the forum.... Quote Link to comment
ashman70 Posted January 15, 2016 Share Posted January 15, 2016 Step #20 of the guide says to remove those lines? Quote Link to comment
CHBMB Posted January 15, 2016 Share Posted January 15, 2016 Oh yeah, sorry forgot I hadn't finished mine.... What are you using as a text editor for the org.chameleon.boot.plist file? Quote Link to comment
ashman70 Posted January 15, 2016 Share Posted January 15, 2016 I haven't even gotten to that part, I'm stuck on removing the lines in step #20. I've created the Extra folder and put the org.chameleon.boot.plist file in there, that's it. Quote Link to comment
ashman70 Posted January 15, 2016 Share Posted January 15, 2016 Also if I can ask for someones help getting my GTX 960 to passthrough too at some point, that would be immensely helpful. Quote Link to comment
CHBMB Posted January 15, 2016 Share Posted January 15, 2016 You downloaded that plist file or created your own? If you created your own, what text editor did you use? Quote Link to comment
ashman70 Posted January 15, 2016 Share Posted January 15, 2016 No it was part of the files downloaded from Archedraft's guide, I haven't done anything with it yet, not even opened it. Quote Link to comment
CHBMB Posted January 15, 2016 Share Posted January 15, 2016 No it was part of the files downloaded from Archedraft's guide, I haven't done anything with it yet, not even opened it. So you've got it all installed on a virtual disk and can boot into OSX, until you remove those lines from the XML? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.