Repository navigation
Description
NVIDIA Open GPU Kernel Modules Version
[root@A11-R42-I61-42-5504045 ~]# cat /proc/driver/nvidia/params ResmanDebugLevel: 4294967295 RmLogonRC: 1 ModifyDeviceFiles: 1 DeviceFileUID: 0 DeviceFileGID: 0 DeviceFileMode: 438 InitializeSystemMemoryAllocations: 1 UsePageAttributeTable: 4294967295 EnableMSI: 1 EnablePCIeGen3: 0 MemoryPoolSize: 0 KMallocHeapMaxSize: 0 VMallocHeapMaxSize: 0 IgnoreMMIOCheck: 0 EnableStreamMemOPs: 0 EnableUserNUMAManagement: 1 NvLinkDisable: 0 RmProfilingAdminOnly: 1 PreserveVideoMemoryAllocations: 0 EnableS0ixPowerManagement: 0 S0ixPowerManagementVideoMemoryThreshold: 256 DynamicPowerManagement: 3 DynamicPowerManagementVideoMemoryThreshold: 200 RegisterPCIDriver: 1 EnablePCIERelaxedOrderingMode: 0 EnableResizableBar: 0 EnableGpuFirmware: 18 EnableGpuFirmwareLogs: 2 RmNvlinkBandwidthLinkCount: 0 EnableDbgBreakpoint: 0 OpenRmEnableUnsupportedGpus: 1 DmaRemapPeerMmio: 1 ImexChannelCount: 2048 CreateImexChannel0: 0 GrdmaPciTopoCheckOverride: 0 RegistryDwords: "" RegistryDwordsPerDevice: "" RmMsg: "" GpuBlacklist: "" TemporaryFilePath: "" ExcludedGpus: ""
Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.
- I confirm that this does not happen with the proprietary driver package.
Operating System and Version
[root@A11-R42-I61-42-5504045 ~]# cat /etc/openeuler-release openeuler release 2.0 (LTS-SP2) [root@A11-R42-I61-42-5504045 ~]#
Kernel Release
[root@A11-R42-I61-42-5504045 ~]# uname -a Linux A11-R42-I61-42-5504045. 6.6.0-100. SMP Fri Aug 22 10:50:04 CST 2025 x86_64 x86_64 x86_64 GNU/Linux
[root@A11-R42-I61-42-5504045 ~]# uname -r 6.6.0-100
Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
- I am running on a stable kernel release.
Hardware: GPU
B200
Describe the bug
nvidia-smi hangs indefinitely after ~66 days 12 hours uptime with driver 570.133.20 OpenRM on B200
[root@A11-R42-I61-42-5504045 ~]# dmesg -T | grep -i nvrm | head -n 10
[Sat Nov 22 05:08:50 2025] NVRM: knvlinkUpdatePostRxDetectLinkMask_IMPL: Failed to update Rx Detect Link mask!
[Sat Nov 22 05:08:50 2025] NVRM: knvlinkDiscoverPostRxDetLinks_GH100: Getting peer1's postRxDetLinkMask failed!
[Sat Nov 22 05:08:54 2025] NVRM: knvlinkUpdatePostRxDetectLinkMask_IMPL: Failed to update Rx Detect Link mask!
[Sat Nov 22 05:08:54 2025] NVRM: knvlinkDiscoverPostRxDetLinks_GH100: Getting peer1's postRxDetLinkMask failed!
[Sat Nov 22 05:08:58 2025] NVRM: knvlinkUpdatePostRxDetectLinkMask_IMPL: Failed to update Rx Detect Link mask!
[Sat Nov 22 05:08:58 2025] NVRM: knvlinkDiscoverPostRxDetLinks_GH100: Getting peer1's postRxDetLinkMask failed!
[Sat Nov 22 05:09:02 2025] NVRM: knvlinkUpdatePostRxDetectLinkMask_IMPL: Failed to update Rx Detect Link mask!
[Sat Nov 22 05:09:02 2025] NVRM: knvlinkDiscoverPostRxDetLinks_GH100: Getting peer0's postRxDetLinkMask failed!
[Sat Nov 22 05:09:06 2025] NVRM: knvlinkUpdatePostRxDetectLinkMask_IMPL: Failed to update Rx Detect Link mask!
[Sat Nov 22 05:09:06 2025] NVRM: knvlinkDiscoverPostRxDetLinks_GH100: Getting peer1's postRxDetLinkMask failed!
[root@A11-R42-I61-42-5504045 ~]#
[root@A11-R42-I61-42-5504045 ~]# uptime
22:50:02 up 67 days, 6:11, 2 users, load average: 17.40, 16.73, 18.67
[root@A11-R42-I61-42-5504045 ~]# last reboot
reboot system boot 6.6.0-100. Tue Sep 16 16:38 still running
reboot system boot 6.6.0-100 Tue Sep 9 17:02 - 16:34 (6+23:32)
To Reproduce
nvidia-smi hangs indefinitely after ~66 days 12 hours uptime with driver 570.133.20 OpenRM on B200 and kernel 6.6.0
Bug Incidence
Once
nvidia-bug-report.log.gz
no
More Info
No response
Activity
mtijanic commentedon Nov 24, 2025
Hey there. Thanks for the report, but unfortunately there's not a whole lot to go on there without the logs. Was
nvidia-bug-report.shunable to run and collect the logs, or are you unable to post them? Or at least the full dmesg. If it's a matter of not posting them publicly, feel free to email to[email protected]. Also feel free to redact individual info if you want and just leave a[redacted]marker.Other than that, it would also help to know:
nvidia-smirunning? Was it called with--loopargument and then suddenly hung, or was it constantly invoked on a timer and then suddenly stopped responding?nvidia-smiand any threads inside the NV kernel modules would be very helpfulnickasam commentedon Nov 24, 2025
The
nvidia-bug-report.shscript will run very slowly.Many programs use
nvidia-smi, such asnvidia-smi topo -p2p r,nvidia-smi -L, and some other programs that use the GPU. Yes, they will run so slowly that they may not function properly.nvidia-smi -pm 1is already set.dmesg.log
strace_nvidia_smi.log
Deadshot0x7 commentedon Dec 8, 2025
@mtijanic , is this issue still open to work ?
t-shunsuke01 commentedon Dec 15, 2025
Thank you for reporting this critical issue regarding the indefinite hang of
nvidia-smiafter extended uptime on B200 GPUs. Your detailed report about the hang occurring after approximately 66 days 12 hours is very concerning and valuable.We are experiencing a similar problem in our environment, which appears to be related to this issue.
Our setup:
Symptoms observed:
nvidia-smibecomes unresponsive after approximately 66~67 days of uptime.NVRMerrors in /var/log/syslog and logs related to NVLink, such as:2025-12-02T06:01:41.375200+09:00 xxxx kernel: NVRM: knvlinkUpdatePostRxDetectLinkMask_IMPL: Failed to update Rx Detect Link mask!
2025-12-02T06:01:41.375223+09:00 xxxx kernel: NVRM: knvlinkDiscoverPostRxDetLinks_GH100: Getting peer0's postRxDetLinkMask failed!
We are currently monitoring the situation after updating the driver to 580.105.08, but we suspect the underlying issue might persist.
Please let us know if you need any further information from our side.
mtijanic commentedon Dec 16, 2025
Thanks for the report! Is it just
nvidia-smithat is responsive, or do all apps that talk to the GPU hang?From what I can tell, cross-nvlink communication fails after this period, but individual GPUs should still be responsive.
This is being looked at by our nvlink team through nvbugs 5746052 and 5607938.
t-shunsuke01 commentedon Dec 17, 2025
We have not run any applications that use only a single GPU. As a test, we attempted to run the 8-GPU HPL included in the NGC container using Singularity on an affected node when the problem occurred, but it failed to execute.
I believe it likely failed because, as you mentioned, it relies on cross-nvlink.
Unfortunately, I have already restarted the affected nodes, and their uptimes are now below 66 days.
I appreciate your effort in investigating this issue.
junousi commentedon Dec 30, 2025
In addition to 570 series mentioned in Issue title, I see @t-shunsuke01 reporting impact to 580.
@mtijanic May I ask, has this been confirmed on Nvidia side to be impacting 580 series?
I am currently suspecting to have hit this issue on B200 with at least drivers 580.82.07 and 580.95.05.
Is the information from nvbugs publicly available by any chance?
lmacken commentedon Jan 6, 2026
I can confirm that this is a real driver bug that occurs after ~66 days. I had 2 B200's crash today with the same error message, hanging nvidia-smi, and it required a reboot.
mtijanic commentedon Jan 8, 2026
Yes. Fix is in the works, but as usual I can't give any concrete timeline, sorry. Hopefully it doesn't take 66 days to verify the fix :)
No, these are opaque IDs you can use to refer to a bug when talking to an NV representative. We sometimes reference them in the changelog too, but not always consistently. I'll update here as soon as a driver release with the fix is available.
jquesnelle commentedon Jan 24, 2026
we were hit with this on a 256 gpu b200 cluster -- at day 66 all our jobs started randomly failing
harikb commentedon Jan 25, 2026
5746052 may be opaque, but that bug number as a number of seconds is 66 days, 12 hours... :)
(sorry couldn't resist)
ma-ts commentedon Jan 25, 2026
I unfortunately don't have access to one of these machines, but can you check the following?
I investigated this issue a little bit, and it seems with a CONFIG_HZ of 750, the jiffies-based timing wraps exactly around this time. I could be completely wrong here, but it seems we should just always use
ktime_get_raw_ts64anyway, the PR #1014 should fix that.lmacken commentedon Jan 25, 2026
CONFIG_HZ=1000(Ubuntu 24.04 LTS)1 remaining item
mtijanic commentedon Jan 26, 2026
Hello HackerNews, Twitter and friends!
Everyone loves a good counter overflow bug (and that is indeed where my mind went immediately too), but I must disappoint, this does not seem to be the issue here. Conceptually I think its closer to a producer/consumer queue getting filled up after a while.
The issue is in nvlink specific firmware (not GSP, different microcontroller), and has nothing to do with CONFIG_HZ, floating point arithmetic or really anything in this codebase here.
We haven't verified this exact issue yet, but we have fixed one bug that could cause this exact behavior. I'll update once there is more concrete info.
nickasam commentedon Feb 9, 2026
How can the machines currently used in production avoid this bug? ToT
jasmineliu0519 commentedon Feb 17, 2026
When will the fix and new driver version with patch be out? We are currently doing reboot to fix the issue. Is this a suggested method to do?
t-shunsuke01 commentedon Feb 24, 2026
For your information, this problem occurred with GPU driver 580.105.08 also.
nickasam commentedon Feb 28, 2026
update log
所有错误都发生在系统运行约66天后:
t-shunsuke01 commentedon Apr 2, 2026
Hi, we’re closely monitoring this issue as it affects our B200 cluster.
If possible, could you share whether this is still being actively worked on, or if there are any updates?
Even a brief confirmation would be very helpful for our internal tracking.
We really appreciate your work on this complex issue.
aritger commentedon Apr 2, 2026
Hi. I apologize that this issue has dragged out. It is definitely receiving attention, but I cannot say when a fix will be released.
johnTheDiver commentedon Apr 7, 2026
Hi, we are experiencing the same issue on our B200 cluster.
Environment:
I have a few questions:
Proprietary driver as a workaround: The original report mentions this issue does not occur with the proprietary driver. Can anyone confirm that switching from OpenRM (
nvidia-open) to the proprietary driver (nvidia) on the same driver version resolves this issue?Proprietary vs. NVIDIA .run installer: If the proprietary driver is indeed a valid workaround, is there any difference between the proprietary driver installed via the distro package manager (e.g.,
apt install nvidia-driver-580) and the one downloaded directly from NVIDIA's website (.run installer)? Are they functionally the same kernel module?Fix in R595: Has this bug been fixed in the 595.58.03 release? I don't see it mentioned in the release notes, but the driver codebase has changed significantly since R570/R580. Has anyone tested R595 with 66+ days of uptime on B200?
Scope of impact: Is this issue affecting all B200 users globally who run OpenRM for 66+ days, or is it specific to certain configurations (e.g., NVLink topology, kernel version, firmware version)? It's hard to tell from a single report whether this is a universal B200 OpenRM bug or a corner case.
Any insights would be greatly appreciated. Thanks!
johnTheDiver commentedon Apr 8, 2026
One more question regarding the symptoms:
In our environment, after hitting the ~66-day uptime mark, we're observing the following behavior:
Can anyone confirm this matches the expected behavior of this bug? Specifically, that existing GPU processes/contexts remain functional, but any new GPU initialization (nvidia-smi, new CUDA context, new model deployment) hangs indefinitely?
This would be consistent with the jiffies overflow theory — the timer wraps and new operations that depend on it get stuck, while already-established contexts don't need to re-acquire the affected resource.
jstewartk8-cloud commentedon Jul 6, 2026
apparently this issue is fixed in firmware 1.4.30. We plan on upgrading to confirm the fix. Nvidia support has advised on the upgrade. https://docs.nvidia.com/dgx/dgxb200-fw-update-guide/firmware-changes.html
SergioZ3R0 commentedon Jul 13, 2026
This is still happening in today's environment.
OS: 5.14.0-611.38.1.el9_7.x86_64
CUDA version: 13.2
Driver version: 595.45.04
Does anyone know of a workaround or solution besides rebooting the nodes before 66 days?
SergioZ3R0 commentedon Jul 14, 2026
I have developed a user-friendly systemd timer for rebooting the b200 nodes in batches: batch1 for the even nodes and batch2 for the pair nodes. This assumes that Slurm is being used as the workload manager.
https://github.com/doitnowgroup/gpu-batch-reboot
porthorian commentedon Sep 20, 2026
@nickasam you resolved this by upgrading to latest driver version correct?
jiecloud commentedon Sep 30, 2026
Ubuntu 24.04.4 LTS
Linux 6.8.0-117-generic x86_64
NVIDIA-SMI 580.159.04
Driver Version: 580.159.04
CUDA Version: 13.0
NVIDIA B200
[Wed Sep 30 11:18:10 2026] NVRM: knvlinkUpdatePostRxDetectLinkMask_IMPL: Failed to update Rx Detect Link mask!
[Wed Sep 30 11:18:14 2026] NVRM: knvlinkUpdatePostRxDetectLinkMask_IMPL: Failed to update Rx Detect Link mask!
[Wed Sep 30 11:18:18 2026] NVRM: knvlinkUpdatePostRxDetectLinkMask_IMPL: Failed to update Rx Detect Link mask!