<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://cmp.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Card_not_detected_or_BAR_allocation_fails</id>
	<title>Card not detected or BAR allocation fails - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://cmp.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Card_not_detected_or_BAR_allocation_fails"/>
	<link rel="alternate" type="text/html" href="https://cmp.wiki/w/index.php?title=Card_not_detected_or_BAR_allocation_fails&amp;action=history"/>
	<updated>2026-10-31T10:16:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://cmp.wiki/w/index.php?title=Card_not_detected_or_BAR_allocation_fails&amp;diff=347&amp;oldid=prev</id>
		<title>ImportBot: Detection, link width and BAR1 problems from the cmpunlocker Discord (2026-10-04 to 10-28) and community repos (cmpunlocker, club-170hx, Consensus-Protocol, asm64-hooligan, Proxmox guide); credits inline; sources: @c133, @djpandaman, @darkmaniac7, @globalapathy, @68x0, @_orrorin, @matstatman, @chonsworth, @rrickk420, @analyticeth, @programmerboi, @civiloid (+29 more); GitHub 18gogogo/170hx-hosttovm-passthrough, Consensus-Protocol/cmp170hx, HalfVulpes/CMP170HX-GPU, Johnnydaboy</title>
		<link rel="alternate" type="text/html" href="https://cmp.wiki/w/index.php?title=Card_not_detected_or_BAR_allocation_fails&amp;diff=347&amp;oldid=prev"/>
		<updated>2026-10-30T08:45:52Z</updated>

		<summary type="html">&lt;p&gt;Detection, link width and BAR1 problems from the cmpunlocker Discord (2026-10-04 to 10-28) and community repos (cmpunlocker, club-170hx, Consensus-Protocol, asm64-hooligan, Proxmox guide); credits inline; sources: @c133, @djpandaman, @darkmaniac7, @globalapathy, @68x0, @_orrorin, @matstatman, @chonsworth, @rrickk420, @analyticeth, @programmerboi, @civiloid (+29 more); GitHub 18gogogo/170hx-hosttovm-passthrough, Consensus-Protocol/cmp170hx, HalfVulpes/CMP170HX-GPU, Johnnydaboy&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:45, 30 October 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l89&quot;&gt;Line 89:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 89:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&quot;&gt;&lt;div&gt;| {{Source|handle=lxtend|date=2026-10-19|link=https://discord.com/channels/1518634379604136178/1518695328008638516/1561646019870064710|repo=https://github.com/lixiangwuxian/170hx_tips}}&amp;lt;br /&amp;gt;{{Source|handle=lxtend|date=2026-10-19|link=https://discord.com/channels/1518634379604136178/1518695328008638516/1561811130291200154}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&quot;&gt;&lt;div&gt;| {{Source|handle=lxtend|date=2026-10-19|link=https://discord.com/channels/1518634379604136178/1518695328008638516/1561646019870064710|repo=https://github.com/lixiangwuxian/170hx_tips}}&amp;lt;br /&amp;gt;{{Source|handle=lxtend|date=2026-10-19|link=https://discord.com/channels/1518634379604136178/1518695328008638516/1561811130291200154}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| Damaged PCIe edge contacts on arrival&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;| Damaged PCIe edge contacts on arrival &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(a card from Alifond)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&quot;&gt;&lt;div&gt;| Shipping or handling damage&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&quot;&gt;&lt;div&gt;| Shipping or handling damage&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&quot;&gt;&lt;div&gt;| The card still passed stress tests after repeated insertion; long-term effect unknown&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&quot;&gt;&lt;div&gt;| The card still passed stress tests after repeated insertion; long-term effect unknown&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l159&quot;&gt;Line 159:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 159:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;bar1-resize-unlock.patch&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; has caused trouble on some hosts: behind VFIO it led to BAR2/MMU initialisation failures (BAR1 left small), and on an 8-card server with two PEX8796 switches it hung the board and was removed (mailbox P2P runs without it). {{Status|Reported}}&amp;lt;br /&amp;gt;{{Source|handle=darkmaniac7|date=2026-10-19|note=lab notes}}&amp;lt;br /&amp;gt;{{Source|repo=https://github.com/Johnnydaboy/cmpunlocker}}&amp;lt;br /&amp;gt;{{Source|repo=https://github.com/cebeuq/glm53-cmp170hx-recipe}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;bar1-resize-unlock.patch&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; has caused trouble on some hosts: behind VFIO it led to BAR2/MMU initialisation failures (BAR1 left small), and on an 8-card server with two PEX8796 switches it hung the board and was removed (mailbox P2P runs without it). {{Status|Reported}}&amp;lt;br /&amp;gt;{{Source|handle=darkmaniac7|date=2026-10-19|note=lab notes}}&amp;lt;br /&amp;gt;{{Source|repo=https://github.com/Johnnydaboy/cmpunlocker}}&amp;lt;br /&amp;gt;{{Source|repo=https://github.com/cebeuq/glm53-cmp170hx-recipe}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;A longer write-up by @vipic on compute &lt;/del&gt;hangs after the BAR1 resize patch &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in &lt;/del&gt;a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;passthrough &lt;/del&gt;VM &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;exists; see &lt;/del&gt;[https://discord.com/channels/1518634379604136178/1518692084729511967/1561427071157272727 Discord].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=== Compute &lt;/ins&gt;hangs &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in a passthrough VM &lt;/ins&gt;after the BAR1 resize patch &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;In &lt;/ins&gt;a &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Debian 13 VM, the unlock showed 64 GB and &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;verify.sh&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; passed, but any compute job hung, nvidia-smi stopped answering and the &lt;/ins&gt;VM &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;could not reboot cleanly. Removing the unlock stopped the hangs but put the card back to 8 GB. Building cmpunlocker without &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;bar1-resize-unlock.patch&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (drop the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;bar1_resize&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; entry from &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;common/constants.yaml&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and the patch from &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;PATCH_ORDER&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;driver/build.sh&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;) stopped the hangs and kept all 64 GB. That patch writes the BAR1 XVE registers on 0x20C2 and 0x2082 cards and turns on &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;NVreg_EnableResizableBar&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. Full write-up on &lt;/ins&gt;[https://discord.com/channels/1518634379604136178/1518692084729511967/1561427071157272727 Discord].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Status|Reported}}&amp;lt;br /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Source|handle=vipic|date=2026-10-18|link=https://discord.com/channels/1518634379604136178/1518692084729511967/1561427071157272727}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&quot;&gt;&lt;div&gt;== VMs and passthrough ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&quot;&gt;&lt;div&gt;== VMs and passthrough ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key cmp_wiki:diff:1.41:old-301:rev-347:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>ImportBot</name></author>
	</entry>
	<entry>
		<id>https://cmp.wiki/w/index.php?title=Card_not_detected_or_BAR_allocation_fails&amp;diff=301&amp;oldid=prev</id>
		<title>ImportBot: Detection, link width and BAR1 problems from the cmpunlocker Discord (2026-10-04 to 10-28) and community repos (cmpunlocker, club-170hx, Consensus-Protocol, asm64-hooligan, Proxmox guide); credits inline; sources: @c133, @djpandaman, @darkmaniac7, @globalapathy, @68x0, @_orrorin, @matstatman, @chonsworth, @rrickk420, @analyticeth, @programmerboi, @civiloid (+28 more); GitHub 18gogogo/170hx-hosttovm-passthrough, Consensus-Protocol/cmp170hx, HalfVulpes/CMP170HX-GPU, Johnnydaboy</title>
		<link rel="alternate" type="text/html" href="https://cmp.wiki/w/index.php?title=Card_not_detected_or_BAR_allocation_fails&amp;diff=301&amp;oldid=prev"/>
		<updated>2026-10-30T08:17:19Z</updated>

		<summary type="html">&lt;p&gt;Detection, link width and BAR1 problems from the cmpunlocker Discord (2026-10-04 to 10-28) and community repos (cmpunlocker, club-170hx, Consensus-Protocol, asm64-hooligan, Proxmox guide); credits inline; sources: @c133, @djpandaman, @darkmaniac7, @globalapathy, @68x0, @_orrorin, @matstatman, @chonsworth, @rrickk420, @analyticeth, @programmerboi, @civiloid (+28 more); GitHub 18gogogo/170hx-hosttovm-passthrough, Consensus-Protocol/cmp170hx, HalfVulpes/CMP170HX-GPU, Johnnydaboy&lt;/p&gt;
&lt;a href=&quot;https://cmp.wiki/w/index.php?title=Card_not_detected_or_BAR_allocation_fails&amp;amp;diff=301&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>ImportBot</name></author>
	</entry>
</feed>