Capturing Boot Debug
Question
Capturing Boot DebugAnswer
This document can be used to assist in capturing boot debug information which may help determine why a system is hanging during IPL.These steps are valid for AIX 5L and AIX 6.1.HMC environment
Setting up the software
Using SSH session to capture console output
- Configure an SSH client (eg putty) to log session output to a local file.
- Open a connection to the HMC and login as user 'hscroot'.
- Run the command vtmenu.
- At the vtmenu, select the server to which you desire a console session.
- Select the LPAR from which you need boot debug.
- Wait for "Open Completed" message (if LPAR were Running you would get a Console: login)
Booting the HMC to Open Firmware (OK) prompt
- From a WebSM session, under Server Managment, right click the Partition name and choose 'Activate' from the popup menu.
- From the Activate Logical Partition popup window, click the "Advanced" button.
- From the Activate Logical Partition - Advanced popup window, click "Open Firmware OK Prompt" from the Boot Mode drop down list.
Enabling the debug boot image
- Back in the SSH console session window, wait for the open firmware prompt - "0>"
- For AIX 5.3 and greater, use:
At the 0> prompt, enter "boot -s verbose"
0> boot -s verbose
- For AIX 5.2 or earlier use:
At the 0> prompt, enter "boot -s trap"
0> boot -s trap
For cdrom boot debug enter:
0> boot cdrom:\ppc\chrp\bootfile.exe -s trap
KDB(0)> mw enter_dbg enter_dbg+000000: 00000000 = 42 enter_dbg+000004: 00000000 = . KDB(0)>g
At this point, the LPAR will continue to boot and debug information will be sent to the console.
Capturing the debug information
- The console session is being run via the SSH connection to the HMC and the output will be captured in the log file configured in step 1. Once the system boot fails or hangs, stop the LPAR and send the boot debug log file to IBM Support for review.
http://www-01.ibm.com/support/docview.wss?uid=isg3T1000628
No comments:
Post a Comment