Article ID: 259855 - Last Review: February 28, 2007 - Revision: 4.2 How to enable debug prints in IEEE 1394 drivers
This article was previously published under Q259855 On This PageSUMMARY
The Institute of Electrical and Electronics Engineers (IEEE) 1394 drivers, 1394Bus.sys and Ohci1394.sys, print debug messages to the kernel debugger depending upon the current debug level. By enabling debug message printing, you can see all the debug messages that are being printed by the driver. These debug messages are very useful for developers who are building their driver or application around the 1394 drivers.
MORE INFORMATION
The current debug level is stored in a global variable that is defined in the respective driver. This value must be changed in order to see the debug messages. By default, this value is set to 0 (zero) and can be increased to a larger value. Larger values result in more verbose messages. The debug message is available only in checked build binaries. The checked build version of Windows 2000 should be used to get the debug messages. To get the debug messages in the retail build of Windows 2000, replace the 1394Bus.sys and Ohci1394.sys files with checked build binaries. Also, the symbols are required in the host computer to change the debug level. Changing the Debug Level for 1394Bus.sysThis can be done by typing the following command in the kernel debugger:ed 1394bus!BusDebugLevel 2
-or-
ed 1394bus!BusDebugLevel
This will print the current value and prompt for a new value as follows:
0xBFF94CFC 00000000> 2 0xBFF94D00 bff94e20> Changing the Debug Level for Ohci1394.sysThis can be done by typing the following command in the kernel debugger:ed ohci1394!OhciDebugLevel 2
-or-
ed ohci1394!OhciDebugLevel
This will print the current value and prompt for a new value as follows:
0xBFF94CFC 00000000> 2 0xBFF94D00 bff94e20> When you change the value, the following error message may appear:
Unable to modify memory
> ed ohci1394!OhciDebugLevel 0x00000001 ????????> .opt masmeval on
To check the current setting of the expression evaluator, use the following command:
.opt masmeval
This command displays either "MasmEval off" or "MasmEval on", which indicates the state of expression evaluator.
| Other Resources Other Support Sites
CommunityArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top