HP Integrity rx2800 Kernel Debugging Guide - Page 26

Connect to the debug port

Page 26 highlights

1. At the EFI Shell prompt, enter the following command: EFI Shell> kd -on Now the shared port on the core cell is enabled for kernel debugging. The state of the port is consistent across reboots. However, removing power to the system reverts the debug port back to its default state. The system displays the following KD Kernel Debug Port Enabler The KD port has been turned ON Any changes to the KD port will remain persistent across reboots and power down, as long as power is supplied to the server. EFI Shell> 2. When debugging operations are complete, enter the following at the EFI command line to revert the debugging port back to its default state: EFI Shell> kd -off To display the current port state at any time, enter the kd command without any options. Connect to the debug port When you know which cell is the core cell, you can connect the 4-pair CAT-5 cable to the RJ45 port on that cell. For example, on the HP Integrity rx8620 server shown in following image, if the operating system instance that must be debugged is installed in nPartition 1, and the core cell for that nPartition is cell 1, then you must connect the RJ45 connector to cell 1, as shown by the arrow. Connect one end of the 4-pair CAT-5 cable to the RJ45-to-DB9F converter and the other end to that debugging port on the server. Figure 1-10 Debugging port on the rx8620 On the HP Integrity Superdome, connect the 4-pair CAT-5 cable to one of the RJ45 ports shown in the following image. You can install HP Integrity Superdome cells in two possible orientations: with ports above the handle or with ports below the handle. 26 Debugging the kernel locally

  • 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

1.
At the EFI Shell prompt, enter the following command:
EFI Shell> kd -on
Now the shared port on the core cell is enabled for kernel debugging. The state of the port
is consistent across reboots. However, removing power to the system reverts the debug port
back to its default state.
The system displays the following:
============================
KD Kernel Debug Port Enabler
============================
The KD port has been turned ON
Any changes to the KD port will remain persistent across reboots
and power down, as long as power is supplied to the server.
EFI Shell>
2.
When debugging operations are complete, enter the following at the EFI command line to
revert the debugging port back to its default state:
EFI Shell> kd -off
To display the current port state at any time, enter the
kd
command without any options.
Connect to the debug port
When you know which cell is the core cell, you can connect the 4-pair CAT-5 cable to the RJ45
port on that cell. For example, on the HP Integrity rx8620 server shown in following image, if
the operating system instance that must be debugged is installed in nPartition 1, and the core
cell for that nPartition is cell 1, then you must connect the RJ45 connector to cell 1, as shown by
the arrow. Connect one end of the 4-pair CAT-5 cable to the RJ45-to-DB9F converter and the
other end to that debugging port on the server.
Figure 1-10 Debuggingport on the rx8620
On the HP Integrity Superdome, connect the 4-pair CAT-5 cable to one of the RJ45 ports shown
in the following image. You can install HP Integrity Superdome cells in two possible orientations:
with ports above the handle or with ports below the handle.
26
Debugging the kernel locally