SPARC: How to Boot a System With the Kernel
Debugger (kmdb) Enabled
This procedure shows how to load the kernel debugger (kmdb)
on a SPARC based system.
Use the reboot
command and the halt
with the –d
option if you do not have time to debug the system
interactively. Running the halt
command with the –d
requires a manual reboot of the system afterward. However, if you use the reboot
command, the system boots automatically. See the reboot(1M)
for more information.
- Halt the system, causing it to display the ok prompt.
To halt the system cleanly, use the halt command.
- Type boot –k to request the
loading of the kernel debugger. Press return.
- Access the kernel debugger.
The method used to enter
the debugger depends on the type of console that is used to access the system:
- If you are using a locally attached keyboard, press Stop-A or
L1–A, depending on the type of keyboard.
- If you are using a serial console, send a break by using the method
that is appropriate for your type of serial console.
A welcome message is displayed when you enter the kernel debugger for
the first time.
Rebooting with command: kadb
Boot device: /iommu/sbus/espdma@4,800000/esp@4,8800000/sd@3,0
SPARC: Booting a System With the Kernel Debugger (kmdb
The following example shows how to boot a SPARC based system with the
kernel debugger (kmdb) enabled.
ok boot -k
Executing last command: boot kmdb -d
Boot device: /pci@1f,0/ide@d/disk@0,0:a File and args: kmdb -d