This document applies to AIX Versions 3.1 or 3.2.
WARNING: Voice support is no longer available for AIX Versions 3.x. Therefore, use of this document is at your own risk. If the directions provided do not solve the problem, then for reasons of time and the integrity of your AIX operating system, the best alternative may be to reinstall AIX.
An LED C31 during an IPL in AIX 3.1 or 3.2 may be caused by an incorrect console configuration, by a corrupt Object Data Manager (ODM), or by a non-terminal device, such as a modem or printer, plugged into port 1 or 2.
To resolve the LED C31, check for a non-terminal device plugged into port 1 or 2. If that is not the problem, boot up in Service mode and change the console with the chcons command as in the following steps.
WARNING: If you boot a 3.2 system with 3.1 media, or boot a
3.1
system with 3.2 media, then you will not be able to use
the standard scripts (getrootfs or /etc/continue) to
bring your workstation into full maintenance mode.
Moreover, performing the scripts on a 3.1 system with
3.2 boot media may actually remove some files and
prevent your system from booting successfully in Normal
mode until missing files (/etc/mount and /etc/umount) are
replaced on the disk.
Follow the prompts to the installation/maintenance menu.
Execute the following command:
getrootfs
The output indicates the disk that should be used with the getrootfs command in the next step.
Execute the following command:
lqueryvg -Atp <hdisk#> | grep hd5for each hdisk# (hdisk0, hdisk1, etc.) until you get output similar to the following:
00005264feb3631c.2 hd5 1The exact output you get will be different but will follow the form:
large_number.x hd5 1
You may find more than one disk with this output. These will all be disks which belong to the rootvg volume group. Any of the disks identified to be in rootvg may be used in the following step.
For AIX 3.1 only, enter:
/etc/continue <hdisk#>
For AIX 3.2 only, enter:
getrootfs <hdisk#>
If you get errors from /etc/continue or getrootfs, do not continue with the rest of this procedure. Correct the problem causing the error.
ODMDIR=/dev/objrepos
If your console is an hft (6091), enter the following:
chcons -a login=enable /dev/hft/0
If your console is a tty (ibm3151), enter the following:
chcons -a login=enable /dev/tty0
shutdown -Fr
If the system still stops on LED C31 during reboot and you are running AIX 3.1, repeat steps 2-6 and then go to step 11.
If the system still stops on LED C31 during reboot and you are running AIX 3.2, repeat steps 2-5 and then go to step 12.
mkdir /etc/objrepos/bak cp /etc/objrepos/Cu* /etc/objrepos/bak cp /etc/objrepos/boot/Cu* /etc/objrepos
Determine which disk is the boot disk with the lslv command. The boot disk will be shown in the PV1 column of the lslv output.
lslv -m hd5
Save the clean ODM database to the boot logical volume. # is the number of the fixed disk, determined with the previous command.
savebase -d /dev/<hdisk#>Go to step 13.
getrootfs <hdisk#> sh mount /dev/hd4 /mnt mount /dev/hd2 /usr mkdir /mnt/etc/objrepos/bak cp /mnt/etc/objrepos/Cu* /mnt/etc/objrepos/bak cp /etc/objrepos/Cu* /mnt/etc/objrepos /etc/umount all exit
Determine which disk is the boot disk with the lslv command. The boot disk will be shown in the PV1 column of the lslv output.
lslv -m hd5
Save the clean ODM database to the boot logical volume. # is the number of the fixed disk, determined with the previous command.
savebase -d /dev/<hdisk#>Continue with step 13.
shutdown -Fr
[ Doc Ref: 90605198314830 Publish Date: Oct. 16, 2000 4FAX Ref: 1991 ]