DCGM icon indicating copy to clipboard operation
DCGM copied to clipboard

How to inject XID errors using DCGMI

Open yangchou19 opened this issue 10 months ago • 2 comments

I am currently working with NVIDIA DCGM and would like to know how to inject XID errors using DCGMI. I have been looking through the documentation and some online resources, but I am still unclear on the exact steps and parameters required for this process. Specifically, I am interested in the following:

  • Steps to inject XID errors:

    • What are the exact steps to inject an XID error using DCGMI?
    • Are there any specific commands or parameters that need to be used?
  • Example Commands:

    • Can you provide an example command to inject a specific XID error?
    • How can I verify that the error has been successfully injected?

yangchou19 avatar Feb 13 '25 11:02 yangchou19

@yangchou19,

Do you need to inject some specific XID? DCGM testing framework uses this kernel to generate XID 43.

If you inject an XID (or any other metric) into DCGM, it will be only placed into DCGM's internal cache and will not affect any other software. For example, such an XID will not trigger any NVML event.

If you still want to inject XID into DCGM, you may take a look at this test

nikkon-dev avatar Feb 14 '25 05:02 nikkon-dev

Thank you for the answer!

yangchou19 avatar Feb 14 '25 09:02 yangchou19