[nvmewin] Turning on Storportdebugprint()

Robles, Raymond C raymond.c.robles at intel.com
Thu May 3 15:22:01 PDT 2012


You can enable prints within your WinDbg session by typing the following command:

ed Kd_StorMiniport_Mask 0xf

Note that the mask indicates the level of verbosity.  The verbosity is set for each print in the code by the first parameter (in your example below, INFO is the verbosity level). You can also enter a registry value for enabling prints from the Windows NVMe miniport... however, I would not recommend this if you are going to be running normal I/O as the performance will come to a crawl during reads and writes.  But there are many articles on how to do this... you'll just need to find the correct nvme.sys location in registry. Here is an OSR article on how to enable in the registry. Keep in mind if you just want the nvme.sys debug prints, you'll need to find the correct location for the nvme.sys driver in the registry.

http://www.osronline.com/article.cfm?article=295

If you want to enable it in the registry, let me know and I'll look for it on my test system.

Thanks,
Ray

From: nvmewin-bounces at lists.openfabrics.org [mailto:nvmewin-bounces at lists.openfabrics.org] On Behalf Of Freyensee, James P
Sent: Thursday, May 03, 2012 2:44 PM
To: nvmewin at lists.openfabrics.org
Subject: [nvmewin] Turning on Storportdebugprint()

Hi all,

Sorry for the elementary question, but how does one turn on print messages like:

StorPortDebugPrint(INFO,
                       "NVMeEnumNumaCores: # of NUMA node(s) = %d.\n",
                       Node + 1);

Can a function() or a #define be written/set in code?  Does it have to be compiled in a debug compile? How is this seen?  Could it be viewed in debugview.exe?

Thanks!

Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/nvmewin/attachments/20120503/e2702288/attachment.html>


More information about the nvmewin mailing list