1) I do not have snoop enabled on any of my serial ports. This is only needed if you want to be able to force some action (such as reboot) by sending a string to a serial port.
2) what is needed is figuring out a way to get the console to head to the serial port for maintenance.
Note: this is much easier if you have the VIOS DVD because then you can do a normal maintenance boot (option 3). For now I am assuming you do not have that DVD.
3) start the system in SMS mode - from the ASMI interface
a) from the PowerOn/Off Menu use option 4 to set to boot in SMS mode. Your screen should look like this:
Power On/Off System
Current system power state: Off
Current firmware boot side: Temporary
Current system server firmware state: Not running
1. System boot speed
Currently: Fast
2. Firmware boot side for the next boot
Currently: Temporary
3. System operating mode
Currently: Normal
4. AIX/Linux partition mode boot
Currently: Boot to SMS menu
5. Boot to system server firmware
Currently: Running
6. System power off policy
Currently: Power off
7. i5/OS partition mode boot
Currently: A
8. Power on
98. Return to previous menu
99. Log out
Now choose option 8 to start the system, eventually you will see:
PowerPC Firmware
Version SF240_418
LKM 1.6 (c) Copyright IBM Corp. 2000,2005 All rights reserved.
-------------------------------------------------------------------------------
Language Selection Menu
Current Language : ISO8859-1 English (United States)
1. Change Language
2. Continue to Password Entry
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Type menu item number and press Enter:
Choose option 2, and enter the "admin" password again.
Now the SMS menu is open.
Just to be sure, choose option 4 to specify the console. If you also have a VGA screen and a USB keyboard attached you will be able to switch between the two as console.
I am assuming you are continuing with the serial port, and press 0 to select the serial port as console.
4) Now choose option 5 - Select Boot Options -
Choose option 1, I will say option 7 to list all, for simplicity.
When the list completes: choose the VIOS DVD if you have it (then you do not need to know root password to login). Also note - you may need to press N to see the next page.
Again, assuming you do not have the DVD, choose the hardisk with VIOS on it. AND on the next screen, choose option 3 -- Service Boot
PowerPC Firmware
Version SF240_418
SMS 1.6 (c) Copyright IBM Corp. 2000,2005 All rights reserved.
-------------------------------------------------------------------------------
Select Task
SCSI 73407 MB Harddisk, part=2 (VIOS 2.2.2)
( loc=U788C.001.AAA4403-P1-T11-L4-L0 )
1. Information
2. Normal Mode Boot
3. Service Mode Boot
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:
As it boots, the connection may disconnect - keep trying to restablish a connection. Eventually, it will say "Connected". If it does not disconnect - it will be much easier as you will not need to answer prompts in the blind.
michael@x054:[/home/michael]cu -l tty1
Connected
Lost carrier.
The connection is ended.
michael@x054:[/home/michael]cu -l tty1
Connected
Lost carrier.
The connection is ended.
michael@x054:[/home/michael]cu -l tty1
Connected
Lost carrier.
The connection is ended.
michael@x054:[/home/michael]cu -l tty1
Connected
Lost carrier.
The connection is ended.
michael@x054:[/home/michael]cu -l tty1
Connected
I am connected, but I did not get to see the prompt - so I just enter some string that is an error: aaaaaa
Now I get the prompt for the FUNCTION SELECTION (Service Boot):
michael@x054:[/home/michael]cu -l tty1
Connected
aaaaa
FUNCTION SELECTION
1. Diagnostic Routines
This selection will test the machine hardware. Wrap plugs and
other advanced functions will not be used.
2. Advanced Diagnostic Routines
This selection will test the machine hardware. Wrap plugs and
other advanced functions will be used.
3. Task Selection(Diagnostics, Advanced Diagnostics, Service Aids, etc.)
This selection will list the tasks supported by these procedures.
Once a task is selected, a resource menu may be presented showing
all resources supported by the task.
4. Resource Selection
This selection will list the resources in the system that are supported
by the diagnostic programs. Once a resource is selected, a task menu will
be presented showing all tasks that can be run on the resource(s).
5. Single User Mode
The system will enter single-user mode for software maintenance.
To make a selection, type the number and press Enter [1]:
5) Choose option 5 here. Again, you may lose connection as the system starts to boot in maintenance mode - you will need to know the root password (not padmin!)
To make a selection, type the number and press Enter [1]:5
Be careful as you "reconnect" - there will come a moment that you are connected, and nothing happens. NOW the system is waiting for the root password to start maintenance mode.
Unfortunately - I do not know my root password - so I will have to boot normally, change the root password, and then proceed with the post.