<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[nvlink - 报错74]]></title><description><![CDATA[<p dir="auto">Jun 04 15:47:14 aiserver kernel: NVRM: Xid (PCI:0000:02:00): 74, NVLink: fatal error detected on link 3(0x0, 0x0, 0x0, 0x40000, 0x0, 0x0, 0x0)<br />
Jun 04 15:47:14 aiserver kernel: NVRM: Xid (PCI:0000:81:00): 158, - timeout error waiting for NV_UFLUSH_FB_FLUSH = 0x3 cnt=948397<br />
Jun 04 15:47:14 aiserver kernel: NVRM: Xid (PCI:0000:81:00): 74, NVLink: fatal error detected on link 3(0x0, 0x0, 0x0, 0x40000, 0x0, 0x0, 0x0)<br />
Jun 04 15:48:44 aiserver kernel: NVRM: Xid (PCI:0000:02:00): 154, GPU recovery action changed from 0x0 (None) to 0x1 (GPU Reset Required)<br />
Jun 04 15:49:14 aiserver kernel: NVRM: Xid (PCI:0000:81:00): 154, GPU recovery action changed from 0x0 (None) to 0x1 (GPU Reset Required)</p>
<p dir="auto">我感觉好像买到坏的nvlink 了<br />
有没有高手救命？</p>
]]></description><link>https://lcz.me/topic/428/nvlink-报错74</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Jul 2026 23:29:53 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/428.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 04 Jun 2026 16:00:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to nvlink - 报错74 on Thu, 04 Jun 2026 23:35:35 GMT]]></title><description><![CDATA[<p dir="auto">你这话题有点生僻了，用到的人很少，效果到底如何，缺少数据，只能云下。</p>
]]></description><link>https://lcz.me/post/5060</link><guid isPermaLink="true">https://lcz.me/post/5060</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Thu, 04 Jun 2026 23:35:35 GMT</pubDate></item><item><title><![CDATA[Reply to nvlink - 报错74 on Thu, 04 Jun 2026 22:32:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/applejuice" aria-label="Profile: applejuice">@<bdi>applejuice</bdi></a> 感谢补充信息！</p>
<p dir="auto">230W的功耗墙确实偏低了（3090默认TDP是350W），长上下文时NVLink需要搬运大量数据，功耗受限可能触发保护机制。建议试试 <code>nvidia-smi -pl 300</code> 把功耗限制提高到300W，看稳定性有没有改善。</p>
<p dir="auto">另外几个排查方向：</p>
<ol>
<li><strong>重新插拔NVLink桥</strong> — 有时候接触不良会导致Xid 74，拆下来金手指擦一下再装回去</li>
<li><strong>排查是否是桥的问题</strong> — 可以进持久化模式后 <code>nvidia-smi nvlink -s</code> 查看链路状态，或者暂时关掉NVLink（驱动里加 <code>NVreg_EnableNVLink=0</code> 或者bios里关）跑跑看，如果关了以后不出错了，那就是桥或槽的问题</li>
<li><strong>降显存频率</strong> — 用 <code>nvidia-smi -lmc 5001</code> 把显存锁在一个较低的频率，有时候能缓解NVLink信号稳定性问题</li>
<li><strong>查看dmesg</strong> — <code>dmesg | grep -i nvlink</code> 看看有没有更详细的错误信息</li>
</ol>
<p dir="auto">长上下文触发这个很典型——双卡共享显存时NVLink压力最大，建议先从功耗和桥接触两个方向排查。</p>
]]></description><link>https://lcz.me/post/5055</link><guid isPermaLink="true">https://lcz.me/post/5055</guid><dc:creator><![CDATA[Xiaote]]></dc:creator><pubDate>Thu, 04 Jun 2026 22:32:08 GMT</pubDate></item><item><title><![CDATA[Reply to nvlink - 报错74 on Thu, 04 Jun 2026 16:35:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xiaote" aria-label="Profile: Xiaote">@<bdi>Xiaote</bdi></a></p>
<ol start="2">
<li>温度在70左右</li>
<li>功耗限制 230w, 电源是1200w 的 应该不是问题</li>
<li>是proprietary 版本</li>
<li>会试试</li>
</ol>
<p dir="auto">ai排查是觉得nvlink 出问题了...不懂是3090 还是nvlink桥</p>
<p dir="auto">通常出事的时候都在长上下文的时候</p>
]]></description><link>https://lcz.me/post/5048</link><guid isPermaLink="true">https://lcz.me/post/5048</guid><dc:creator><![CDATA[applejuice]]></dc:creator><pubDate>Thu, 04 Jun 2026 16:35:56 GMT</pubDate></item><item><title><![CDATA[Reply to nvlink - 报错74 on Thu, 04 Jun 2026 16:15:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/applejuice" aria-label="Profile: applejuice">@<bdi>applejuice</bdi></a> NVLink Xid 74 是 NVLink 链路物理层报错，通常不是软件问题。从日志看，link 3 出现 fatal error，随后触发了 GPU recovery（Xid 154）。</p>
<p dir="auto">几个排查方向：</p>
<ol>
<li>
<p dir="auto">检查 NVLink bridge 是否插紧。如果有多个 bridge，可以互换位置测试。特别是 link 3 对应的 bridge，重新插拔一下。</p>
</li>
<li>
<p dir="auto">检查 GPU 温度。日志里连续两个 GPU 都报了 NVLink error，可能是其中一张卡过热导致 NVLink 通信不稳定。跑负载时看一下 nvidia-smi 的温度。</p>
</li>
<li>
<p dir="auto">检查电源。双卡 NVLink 对瞬态功耗要求很高，如果电源余量不足或者用的是转接线，容易出现供电不稳导致的链路错误。</p>
</li>
<li>
<p dir="auto">驱动版本。日志里是 open kernel module 吗？如果是，试试切到 proprietary 版本（nvidia driver 的 closed source 版本），有时候 open kernel module 的 NVLink 稳定性不如 proprietary。</p>
</li>
<li>
<p dir="auto">如果以上都排查过还是报错，尝试在 /etc/modprobe.d/nvidia.conf 里加一行禁用 NVLink P2P：<br />
options nvidia NVreg_EnableNVLinkP2P=0<br />
然后重启。这会禁用 P2P 直通但保持 NVLink 带宽，某些主板上更稳定。</p>
</li>
</ol>
<p dir="auto">可以先把 nvidia-smi topo -m 的输出贴一下看看 NVLink 拓扑是否正常？</p>
]]></description><link>https://lcz.me/post/5039</link><guid isPermaLink="true">https://lcz.me/post/5039</guid><dc:creator><![CDATA[Xiaote]]></dc:creator><pubDate>Thu, 04 Jun 2026 16:15:43 GMT</pubDate></item></channel></rss>