HP Integrity rx2800 Kernel Debugging Guide - Page 36
Enable IPMI LAN access and the debugging option
View all HP Integrity rx2800 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 36 highlights
3. Enable the debugger for the desired boot entry: C:\>bcdedit /debug {identifier_of_boot_entry_targeted_for_kernel_debugging} ON For a complete description this tool, refer to the Microsoft documentation found here: http://technet.microsoft.com/en-us/library/cc709667(WS.10).aspx Enable IPMI LAN access and the debugging option Enable the Windows debugging option and enable LAN access to the management processor (MP) by completing the following steps: 1. Log in to the server's MP. 2. Issue an SA command to display MP access parameters. 3. Enter G to enable the Windows debug client, and y to confirm. The system displays the following: [manic] MP:CM> sa This command displays and allows modification of access parameters. T - Telnet access : Enabled H - Secure Shell access : Enabled N - Network Diagnostics : Disabled D - DIAG Menu : Disabled I- IPMI Lan access : Disabled G - Windows Debug Client : Disabled A - HP SIM Identification : Disabled Select access mode to change : g Are you sure you want to enable the Windows Debug ports(Y/N) ? : y Windows Debug enabled for new connections for 1 hour. This enables the debug port for 1 hour, complexwide, for every partition, so you can have multiple kernel debugging sessions active at the same time if you want. When a debug session is started on a partition, it remains active until the session is disconnected, irrespective of the 1-hour timer. The timer for the debugging port is only used for new connections and debugging sessions. 4. If IPMI access is currently disabled, enter I to enable it, and y to confirm. Connect with the target machine and initiate debugging Now you must connect to the Windows debugger using the WinDbg command with the -k option. Enter the WinDbg command using the following format: WinDbg -k com:port=,ipport= where: is the server MP IP address or host name, and is the output port number having the format 472nn, with nn as the partition number (partition number 1 = 01, partition number 2 = 02, and so on). For example, to connect to the debug output of partition number 3 on the server named manic, enter the following command: WinDbg -k com:port=manic.hp.com,ipport=47203 36 Debugging the kernel remotely