Sponsored Content
Operating Systems AIX AIX 5.3 Boot Hangs On Power4 Hardware Post 302495796 by aix-guy on Friday 11th of February 2011 08:49:28 AM
Old 02-11-2011
more questions to go with the others has this ever been connected to a HMC and did you do any upgrades to the system? Is this a P570
Also do you have maintenance support for this HW from IBM.
Did somebody make a change to the inittab like try and comment out a line and used a # instead of a : some of the older system really did not like that to happen.
And as stated the code is c32 A directly attached display (HFT) was selected. The normal code is a 0C33 on machines I have worked on.
c33 A TTY terminal attached to serial ports S1 or S2 was selected.

So you need to boot to a maintenance shell. But if wrong display settings that won't help. Does it have HMC ports?
So a console fis procedure is as follows (if you can get the system viewable)
Code:
 Instructions follow
NOTE: Your device names returned may be different than shown below. 
Please substitute your device names.


1) Log into your system over telnet, ssh, modem, or serial connection. Do not use the console.

2) Redirect console messages (from a telnet or other remote session)
# touch /tmp/console
# swcons /tmp/console

3) Disable getty temporarily.
If you dont do this, you might not be able to remove the vty or vsa device. 
# vi /etc/inittab

change:
cons:0123456789:respawn:/usr/sbin/getty /dev/console
to:
cons:0123456789:off:/usr/sbin/getty /dev/console


3.5) Reprocess the inittab file
# telinit q

4) Check your existing console entry, adapters and devices:
# lscons (used only to see current setting)
/dev/vty0

# lsdev -C | grep sa
vsa0 available
vsa1 defined
vsa2 defined

OR
sa0 available


# lsdev -Cc tty
vty0 available
vty1 defined
vty2 defined
tty0 available



5) Remove all the devices, adapters, and syscons entries from 
ODM.

# odmdelete -q name=vsa0 -o CuDv
0518-307 odmdelete: 1 objects deleted.

# odmdelete -q name=vsa1 -o CuDv
0518-307 odmdelete: 1 objects deleted.

# odmdelete -q name=vsa2 -o CuDv
0518-307 odmdelete: 1 objects deleted.

# odmdelete -q name=sa0 -o CuDv
0518-307 odmdelete: 1 objects deleted.



6) Remove all vty's or the tty for your console

# odmdelete -q name=vty0 -o CuDv
0518-307 odmdelete: 1 objects deleted.

# odmdelete -q name=vty1 -o CuDv
0518-307 odmdelete: 1 objects deleted.

# odmdelete -q name=vty2 -o CuDv
0518-307 odmdelete: 1 objects deleted.

# odmdelete -q name=tty0 -o CuDv
0518-307 odmdelete: 1 objects deleted.



7) Very important. Remove the syscons entry from ODM.

# odmdelete -q attribute=syscons -o CuAt
0518-307 odmdelete: 1 objects deleted.


8) Run the bosboot command and save ODM changes with
savebase.

# bosboot -ad /dev/ipldevice
# sync
# savebase


9) Reboot

At boot, the configuration manager (cfgmgr) will reconfigure vsa0 
and vty0 (or tty) and prompt you to assign the console - this, since 
"syscons" is no longer set.


TROUBLESHOOT

If you are unable to get a login prompt after the above steps
and you still have a login over network via telnet or ssh, do
the following:

1) On command line run
# kdb

At the (0)> prompt type in "f 1" and enter
On the second line of the output, it should have a number
something like [0006fB48] et_wait+#######

et_wait is normal operation for the console - nothing is
holding the port from being opened successfully. If it
is anything else, the system may be blocked from 
spawning a getty to your console due to a program
or application error in the /etc/inittab file.

These applications are often started in the "wait"
mode where the system will start them and wait
for them to return/complete before continuing (even
though the system boots OK).

2) If you still have problems with console, try adding
"clocal" to the stty attributes for runtime and attibutes
for login (it must be set in both).

you may have to follow the above procedure to
edit inittab and swcons so you can access/change
the device.
 


 

10 More Discussions You Might Find Interesting

1. AIX

AIX Hangs

Hai I am new to AIX, currently in our shop we use AIX 4.3.3 , where we have hosted the websphere 3.5 applicaiton on it. The AIX server is getting hanged very frequently, when analyse we found the swap memory is increasing once it reaches the memory 100 the system is totaly in hung state, so... (5 Replies)
Discussion started by: vipin77
5 Replies

2. AIX

AIX 5.1 POWER4 support help

Can anyone let me know the output of command 'uname -aL' on AIX 5.1 POWER4 support? (6 Replies)
Discussion started by: arnab84
6 Replies

3. AIX

RS6K B50 Hangs at E140 on Boot

I've got an RS6K B50, and i've installed AIX 5.3, TL5. It installs fine, the only customisations i make to the BOS are to change the locale / keyboard layout to UK, and to choose not to install graphical software. I have no video card in this box, and i connect via a serial console (null modem... (4 Replies)
Discussion started by: craigp84
4 Replies

4. Solaris

Boot hangs up on solaris

Hi all, I have a SUN server Sun-Fire-V890 running solaris 9, with a remote system console . Both the IP adresses of the server and the console are in a private network (address 10.67.xxx). For some reasons I need to give the access to the server from outside address 194.xxx, but I prefer that... (2 Replies)
Discussion started by: aribault
2 Replies

5. AIX

AIX hangs on boot

Hi guys, Got a tiny bit of a problem on one of our servers here at work. I installed AIX 5.3 on the server and that went fine. Then I upgraded to ML 5300-05-01, but now the system just hangs on boot. The system starts up and the monitor comes on in few minutes, but a few seconds later when... (6 Replies)
Discussion started by: drchris
6 Replies

6. AIX

AIX hangs through the boot process

To All: I have this AIX machine (see boot process below). The problem was it hangs at: The ctrmc Subsystem has been started. Subsystem PID is 11906.. I checked with other forums but their advise were just "strong punches in the air" with no specific explanation. I really appreciate if... (6 Replies)
Discussion started by: aix_xia
6 Replies

7. Ubuntu

Boot hangs while adding swap

Boot process hangs after reaching the following line: Adding 5853176k swap on /dev/mapper/mch-swap_1. Priority:-1 extents:1 across:5853176kUsing knoppix 6.2 as LiveCD, and mounting the partitions, I got the following: # /etc/fstab: static file system information. # # Use 'blkid -o value -s... (0 Replies)
Discussion started by: fzaker
0 Replies

8. Solaris

All Hardware information in Ok Boot Prompt

Can anyone tell me the command to check all the hardware information in Ok boot Prompt. Like the hard disk space memory size ..... (3 Replies)
Discussion started by: newbi8321
3 Replies

9. Solaris

Server Hangs at boot

Hi Guys, I have a SunBlade 1500 which I use to practice at home. Suddenly when I power on the server it just displays the solaris banner and Boot device: disk File and args: Then it stops and says " rebooting with command: boot" It doesn't boot to the kernel. Is there anyway I can possibly... (5 Replies)
Discussion started by: cjashu
5 Replies

10. Solaris

Solaris 10 - hangs during boot

Power server up runs through diagnostics. Goes to the boot section and then the bit where the cursor is spinning and thats it. Hangs completely. Any ideas? (10 Replies)
Discussion started by: psychocandy
10 Replies
All times are GMT -4. The time now is 02:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy