https://wiki.xenproject.org/index.php?title=PCI_Passthrough_with_Debian_Wheezy&feed=atom&action=historyPCI Passthrough with Debian Wheezy - Revision history2024-03-28T16:58:42ZRevision history for this page on the wikiMediaWiki 1.31.3https://wiki.xenproject.org/index.php?title=PCI_Passthrough_with_Debian_Wheezy&diff=12331&oldid=prevLee: /* permissive option */2014-07-18T21:41:42Z<p><span dir="auto"><span class="autocomment">permissive option</span></span></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 21:41, 18 July 2014</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 13:</td>
<td colspan="2" class="diff-lineno">Line 13:</td>
</tr>
<tr>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td>
</tr>
<tr>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== permissive option ==</div></td>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== permissive option ==</div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"></td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>In case you need the permissive option for a device:</div></td>
</tr>
<tr>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td>
</tr>
<tr>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>It can be a good idea to give the permissive option as a kernel parameter to dom0 even when xen-pciback is loaded as a module. At least it doesn't seem to hurt --- it works for me with it given both as kernel option and as module option.</div></td>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>It can be a good idea to give the permissive option as a kernel parameter to dom0 even when xen-pciback is loaded as a module. At least it doesn't seem to hurt --- it works for me with it given both as kernel option and as module option.</div></td>
</tr>
</table>Leehttps://wiki.xenproject.org/index.php?title=PCI_Passthrough_with_Debian_Wheezy&diff=12329&oldid=prevLee: some notes about things issues I encountered when trying to get pci passthrough to work2014-07-18T21:29:34Z<p>some notes about things issues I encountered when trying to get pci passthrough to work</p>
<p><b>New page</b></p><div>= PCI Passthrough with Debian Wheezy =<br />
<br />
== Order of module loading ==<br />
<br />
Following the instructions about [[Xen_PCI_Passthrough]] with a Debian Wheezy dom0, I encountered the problem that the module for the device I wanted to pass through (a network card) was loaded from the initramfs '''before''' the xen-pciback module was loaded. This made it impossible to pass the device through to a domU.<br />
<br />
Blacklisting the module for the device I wanted to pass through didn't help. To work around the problem, I edited /etc/initramfs-tools/initramfs.conf so that not "most" modules were included into the image but only the ones that are required: "MODULES=dep" instead of "MODULES=most". After making this change, you need to update the initrd image.<br />
<br />
On a side note, I recommend to use the lastest kernel from Debian backports. It works a lot better for me than older versions.<br />
<br />
The point is that you need to make sure to load the xen-pciback module '''before''' loading the module for the device you want to pass through. This is probably true regardless of which distribution you're using.<br />
<br />
<br />
== permissive option ==<br />
<br />
It can be a good idea to give the permissive option as a kernel parameter to dom0 even when xen-pciback is loaded as a module. At least it doesn't seem to hurt --- it works for me with it given both as kernel option and as module option.</div>Lee