FastRealm wrote:Relax buddy,
Let's go back to the basic.
1) You are using X79 chipset with Intel Core i7-4820K. Both VTd and VTx capable.
2) 2 graphic cards. ATI 7970 and ATI 7770. You want to passthrough ATI 7770.
3) Using Linux Mint Debian and not Linux Mint or any of the Ubuntu variant
4) I assume you got Xen4.3 installl with all PCI passthrough working.
5) Now can you boot into Xen 4.3 without problem?
1. BIOS 4502 - 10/25/2013, Vt-d/x CAPABLE (grey color under CPU capabilities), Intel Virtualization : ENABLE (DISABLED)
2. I have the 7770 for DomU, but once I get everything running I will switch slots therefore the 7970 will be for DomU
3. Linux Current Version: Linux Mint Debian Testing Jessie (started from LMDE --> updated --> added repo Debiant Testing with priority 900 and updated again --> 1 Gb to update + CINNAMON (removed)
Conclusion: the system works really fast.
4. xen-4.3 installed, follow the steps and I ran the VM.
5. Boot in Xen 4.3 with no issue, the only thing is the FAIL message stating my CPU is nos capable
Other than that .... nothing that I recall
When I go to the VM, select add hardware --> PCI --> select 2nd vga --> Does not allow me Vt-d (IOMMU) error
1. EDIT 13.1.2014: The following is partly incorrect! VT-d has worked and is still working for the Asus Sabertooth X79 in conjunction with Sandybridge-E (SB-E) processors. The information on the vip.asus.com forum seems incorrect, at least I didn't find any issue with BIOS 2104, nor with the latest 4608 release.
Outdated/incorrect information (see above):
Some time last year Asus introduced a BIOS bug that made VT-d unworkable, at least that what was reported on the Asus forum. See here: http://vip.asus.com/forum/view.aspx?id=20120806185452699&board_id=1&model=SABERTOOTH+X79&page=1&SLanguage=en-us
.Important: This bug was introduced more than a year ago. By now Asus has published several newer BIOS releases. However, it's quite possible that Asus never fixed the bug. If nothing helps, please contact Asus.
Read the "hardware" section at the beginning with some more information on how and who to contact at Asus (GizmoChicken had some successful interaction with them and Asus actually fixed bugs in some of their AMD boards).
Note: I have the same board as you - the Asus Sabertooth X79 - but mine is older and I run it with an old BIOS that was not affected by the bug [EDIT: there is no bug regarding SB-E CPUs]. See also in my how-to.
Note 2: The fact that you can enable VT-d (or IOMMU) doesn't necessarily mean it's working. If you read the hardware section and follow the links to the Xen forum, you will find some detailed information on BIOS bugs, though the Sabertooth X79 most probably is a different bug. Again, I very much hope that Asus has fixed that by now, and you should first make sure that your configuration is OK.
2. This is not a good idea! You should insert your VGA cards into the proper slots and install the corresponding drivers. So if you want to use the 7770 for dom0 (Linux) and the 7970 for Windows, install the latter one in the second PCI-E slot.
3. Unless you have a really good reason to go with a "testing" release - don't. In fact, the closer you stick to this how-to, the better the chances that it will work. People here reported success with Linux Mint 13/14 but also 15 and 16 using various desktops. Xen 4.3 has a bug in the xl toolstack that wouldn't allow you to restart the domU (the first time you run Windows will be OK, but closing it and restarting it will probably freeze the PC). There is a work-around for this bug, but it requires some utility be installed in Windows and changing some shutdown script.Note: The instructions in this how-to were written for the xm toolstack. The xl instructions and its domU config file are different.
I suggest using the xm toolstack for now, until the bug fix has been applied to Ubuntu / Linux Mint.
4. and 5. I need to see the entire win7.cfg file to comment on that. Also, make sure you followed all steps.
Here is what I would do now:
a) Find the PCI ID of one of you USB hosts (preferably a host/ports you are not using now). Then pass that through: add the PCI ID in the /etc/xen/pciback.cfg and in the /etc/xen/win7.cfg files.
- Code: Select all
just to make sure your /etc/default/grub file settings are being used.
c) Reboot and enter:
- Code: Select all
sudo xm pci-list-assignable-devices
You should get the graphics card plus the PCI IDs of the USB host you are going to pass through.
d) Check which USB port(s) have been passed through by using a USB memory stick. Once you found the port, remove the stick.
e) Start the Windows VM. Once Windows is running insert the USB disk into the USB port you had passed through. If PCI passthrough is working Windows should recognize the stick, install a driver, and mount it.
Please report your results, particularly the last step.
P.S.: Don't forget sharing the full /etc/xen/win7.cfg (domU) config file. You should replace the MAC address(es) before posting.
Asus Sabertooth X79, i7 3930K CPU, 8x4GB Kingston DDR3 RAM, Noctua NH-D14 CPU cooler, Gigabyte GTX 970 + PNY Quadro 2000 GPU, Asus Xonar Essence STX, Sandisk Extreme 120GB + Samsung EVO 850 250GB SSD + 5 HDD, Corsair 500R case, SeaSonic 660W Gold X PS