[rescue] 7043-260 serial console help - no login prompt

Scott Mickey mickey at denver.net
Thu Aug 30 13:02:10 CDT 2007


Wise Rescuers, 
I have an IBM 7043-260 (headless), with a 9600-8-N-1 serial cable on tty0. 
Installation of AIX 5.2 goes fine using the serial console, and after 
install I am able to telnet into the box OK.  However, I get no login 
prompt on the serial cable console. 
The terminal server hardware I'm using works OK with all Sun SPARC and 
HP PA-RISC machines, and OK with the IBM 7043-260 during install.  It 
appears the IBM serial port changes it's behavior after AIX 5.2 boots. 
This web page says this is the case, anyway: 
http://www.linuxquestions.org/questions/showthread.php?t=314384
I would like to have login access on the serial port in case I ever 
fat finger an `ifconfig` command and loose network access.  I have tried 
a few things, as shown below, but no success yet.  Your help is much 
appreciated. 

On the console at boot: 
 
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000                                 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000       STARTING SOFTWARE         RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000         PLEASE WAIT...          RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000                                 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
 -

-------------------------------------------------------------------------------
                                Welcome to AIX.
                       boot image timestamp: 04:17 08/23
                 The current time and date: 15:34:56 08/30/2007
                number of processors: 2    size of memory: 4096Mb
boot device: /pci at fef00000/scsi at c/sd at 8:2
closing stdin and stdout...
-------------------------------------------------------------------------------

Saving Base Customize Data to boot disk
Starting the sync daemon
Starting the error daemon
System initialization completed.
Starting Multi-user Initialization
 Performing auto-varyon of Volume Groups 
 Activating all paging spaces 
0517-075 swapon: Paging device /dev/hd6 is already active.

****************

****************
 Performing all automatic mounts 
1+0 records in.
1+0 records out.
Multi-user initialization completed
Checking for srcmstr active...complete
Starting tcpip daemons:
0513-059 The syslogd Subsystem has been started. Subsystem PID is 114922.
0513-059 The portmap Subsystem has been started. Subsystem PID is 73806.
0513-059 The inetd Subsystem has been started. Subsystem PID is 118956.
Finished starting tcpip daemons.
Starting NFS services:
0513-059 The biod Subsystem has been started. Subsystem PID is 172120.
0513-059 The rpc.statd Subsystem has been started. Subsystem PID is 151640.
0513-059 The rpc.lockd Subsystem has been started. Subsystem PID is 139348.
Completed NFS services.

-Then no more output, until shutdown.  No login prompt.  No response to keypress. 

If I telnet in, everything is working OK. 
These commands put the word  test  on the console: 
# echo "test" > /dev/console
# echo "test" > /dev/tty0

test
    test
        _

# lscons
/dev/tty0

# ps -ef | fgrep getty | fgrep -v fgrep
    root 159842      1   0 10:39:08      -  0:00 /usr/sbin/getty /dev/console 

# lsattr -El tty0 -a login
login disable Enable LOGIN True

One web page I found says this needs to read: 
login enable Enable LOGIN True

# smit -C chgtty

Changed:
Enable LOGIN  from "disable" to "enable".

# lsattr -El tty0 -a login
login enable Enable LOGIN True

No response to a keypress on the console.  No login prompt. 
Tried changing -clocal to clocal: 

# stty -a < /dev/console
speed 9600 baud; 0 rows; 0 columns; 
eucw 1:1:0:0, scrw 1:1:0:0:
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^A; eol = ^@
eol2 = ^?; start = ^Q; stop = ^S; susp = ^Z; dsusp = ^Y; reprint = ^R
discard = ^O; werase = ^W; lnext = ^V
-parenb -parodd cs8 -cstopb hupcl cread -clocal -parext 
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -iuclc 
ixon -ixany ixoff -imaxbel 
-isig -icanon -xcase -echo echoe -echok -echonl -noflsh 
-tostop -echoctl -echoprt -echoke -flusho -pending -iexten 
-opost -olcuc -onlcr -ocrnl -onocr -onlret -ofill -ofdel 

# stty clocal < /dev/console

# stty -a < /dev/console
speed 9600 baud; 0 rows; 0 columns; 
eucw 1:1:0:0, scrw 1:1:0:0:
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^A; eol = ^@
eol2 = ^?; start = ^Q; stop = ^S; susp = ^Z; dsusp = ^Y; reprint = ^R
discard = ^O; werase = ^W; lnext = ^V
-parenb -parodd cs8 -cstopb hupcl cread clocal -parext 
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -iuclc 
ixon -ixany ixoff -imaxbel 
-isig -icanon -xcase -echo echoe -echok -echonl -noflsh 
-tostop -echoctl -echoprt -echoke -flusho -pending -iexten 
-opost -olcuc -onlcr -ocrnl -onocr -onlret -ofill -ofdel 

Still no response to a keypress on the console.  No login prompt. 
Instead of modifying parameters on the 7043-260, should I be changing 
how `tip` connects to the machine?   My terminal server is a 
Solaris x86 machine with a Digi Xem PCI card that connects to two 
Digi Ports/16em boxes, for 32 serial ports total.   I run 
`tip -9600 /dev/dty/b012s` to connect to the 7043-260 and run the 
AIX 5.2 OS installation.  I believe all RS232 wires are present to 
support hardware flow control.  I am logging into the Solaris x86 
terminal server machine using SecureCRT in vt100 mode.  I selected 
vt100 as the console type during the AIX 5.2 install. 
Any suggestions are welcome.  I will post a summary. 
 
Scott Mickey 
 

-------- Original Message --------
Subject: Re: [rescue] 7044-170 won't boot CD (sorta)
Date: Thu, 30 Aug 2007 07:48:08 -0400
From: Eric Webb <ttlchaos at randomc.com>

Right, this is exactly what I was expecting to find...  the gfx adapter is a 
1-V (GXT4000P) and the box was running 4.3.3 already.  I'll throw a serial 
cable on it tonight and see what happens.

-E.



More information about the rescue mailing list