HP Integrity rx2800 Kernel Debugging Guide - Page 36

Enable IPMI LAN access and the debugging option

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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37

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:
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=<MP IP address or hostname>,ipport=<port number of
partition>
where:
<IP address or hostname>
is the server MP IP address or host name, and
<port number
of partition>
is the output port number having the format 472
nn
, 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